Documentation ¶
Index ¶
- func ApplyManifest(clientset *kubernetes.Clientset, dynamicClient dynamic.Interface, ...) error
- func CreateK8sClientFromContext(contextName string, kubeconfigPath string) (*kubernetes.Clientset, dynamic.Interface, error)
- func DeleteResource(clientset *kubernetes.Clientset, ...)
- func DescribePod(clientset *kubernetes.Clientset, clusterName, namespace, podName string) error
- func GetConfigMap(clientset *kubernetes.Clientset, clusterName string, namespaces []string, ...)
- func GetPodLogs(clientset *kubernetes.Clientset, ...)
- func GetSecret(clientset *kubernetes.Clientset, clusterName string, namespaces []string, ...)
- func ListConfigMaps(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
- func ListDeployments(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
- func ListIngress(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
- func ListNamespaces(clientset *kubernetes.Clientset, clusterName string)
- func ListNodes(clientset *kubernetes.Clientset, clusterName string)
- func ListPods(clientset *kubernetes.Clientset, clusterName string, namespaces []string, ...)
- func ListSecrets(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
- func ListServices(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyManifest ¶
func DeleteResource ¶
func DeleteResource(clientset *kubernetes.Clientset, clusterName, namespace, resourceType, resourceName string)
func DescribePod ¶
func DescribePod(clientset *kubernetes.Clientset, clusterName, namespace, podName string) error
func GetConfigMap ¶
func GetConfigMap(clientset *kubernetes.Clientset, clusterName string, namespaces []string, name string)
func GetPodLogs ¶
func GetPodLogs(clientset *kubernetes.Clientset, clusterName, namespace, podName, container string, follow bool)
func GetSecret ¶
func GetSecret(clientset *kubernetes.Clientset, clusterName string, namespaces []string, secretName string)
func ListConfigMaps ¶
func ListConfigMaps(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
func ListDeployments ¶
func ListDeployments(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
func ListIngress ¶
func ListIngress(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
func ListNamespaces ¶
func ListNamespaces(clientset *kubernetes.Clientset, clusterName string)
func ListNodes ¶
func ListNodes(clientset *kubernetes.Clientset, clusterName string)
func ListPods ¶
func ListPods(clientset *kubernetes.Clientset, clusterName string, namespaces []string, statusFilter string)
func ListSecrets ¶
func ListSecrets(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
func ListServices ¶
func ListServices(clientset *kubernetes.Clientset, clusterName string, namespaces []string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.