Documentation ¶
Index ¶
- func GetClientset(configFlags *genericclioptions.ConfigFlags) (*kubernetes.Clientset, error)
- func GetNamespaces(clientset *kubernetes.Clientset, outputCh chan NamespaceResult)
- func GetPodLogs(clientset *kubernetes.Clientset, grep, container, pod, namespace string, ...) error
- func GetPods(clientset *kubernetes.Clientset, namespace string, outputCh chan PodResult)
- type NamespaceResult
- type PodResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientset ¶
func GetClientset(configFlags *genericclioptions.ConfigFlags) (*kubernetes.Clientset, error)
GetClientset: get kubernetes clientset for interacting with the kubernetes cluster
func GetNamespaces ¶
func GetNamespaces(clientset *kubernetes.Clientset, outputCh chan NamespaceResult)
GetNamespaces: return list of namespaces in the cluster
func GetPodLogs ¶
func GetPodLogs(clientset *kubernetes.Clientset, grep, container, pod, namespace string, follow, onlyMatch bool) error
GetPodLogs: return logs from the provided pod
Types ¶
type NamespaceResult ¶
Click to show internal directories.
Click to hide internal directories.