Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kubectl ¶
type Kubectl interface {
Version() ([3]int, error)
StartProxy(potentialErrorWhenStartingProxy chan error, port int) error
UrlFor(namespace string, extraPathStartingWithSlash string) (*url.URL, error)
ProxyPort() int
}
func MakeKubectl ¶
func MakeKubectl(shell shell.Shell) (Kubectl, error)
type KubernetesApi ¶
type KubernetesApi interface {
MakeSecureTransport() (http.RoundTripper, error)
UrlFor(namespace string, extraPathStartingWithSlash string) (*url.URL, error)
}
func MakeK8sAPi ¶
func MakeK8sAPi(shell shell.Shell, k8sConfigFilesystemPathOverride string, apiHostAndPortOverride string) (KubernetesApi, error)
Click to show internal directories.
Click to hide internal directories.