Documentation ¶
Index ¶
- func ContextExists(name string) bool
- func CopyToPod(namespace, pod, container, source, destination string) error
- func ExecPod(namespace, pod, container string, cmd []string) *script.Pipe
- func Exists() bool
- func FilterImages(namespace, deployment string, filter func(s string) string) ([]string, error)
- func GetCurrentContext() (string, error)
- func GetDeployment(namespace, deployment string) (*apps.Deployment, error)
- func GetMostRecentRunningPodBySelectors(namespace string, selectors map[string]string) (string, error)
- func GetPIDsOf(namespace, pod, container, process string) (pids []string, err error)
- func KillPidsOnPod(namespace, pod, container string, pids []string, murder bool) []error
- func ListContainers(namespace, deployment string) ([]string, error)
- func ListContexts() ([]string, error)
- func ListDeployments(namespace string) ([]string, error)
- func ListImages(namespace, deployment string) ([]string, error)
- func ListNamespaces() ([]string, error)
- func ListPods(namespace, deployment string) ([]string, error)
- func ListRepositories(namespace, deployment string) ([]string, error)
- func PortForwardPod(namespace, pod string, port int) error
- func SetContext(name string) error
- func TempSwitchContext(context string, cb func() error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextExists ¶
func FilterImages ¶
func GetCurrentContext ¶
func GetDeployment ¶
func GetDeployment(namespace, deployment string) (*apps.Deployment, error)
func KillPidsOnPod ¶
func ListContainers ¶
func ListContexts ¶
func ListDeployments ¶
func ListImages ¶
func ListNamespaces ¶
func ListRepositories ¶
func PortForwardPod ¶
func SetContext ¶
func TempSwitchContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.