Documentation ¶
Index ¶
- func DefaultKubeconfigPath() string
- func GetNamespaces(namespace string) []string
- func PrintConfigMapTable(clusterName string, configMaps []v1.ConfigMap)
- func PrintDeploymentTable(clusterName string, deployments []appsv1.Deployment)
- func PrintIngressTable(clusterName string, ingresses []networkingv1.Ingress)
- func PrintNamespaceTable(clusterName string, namespaces []v1.Namespace)
- func PrintNodeTable(clusterName string, nodes []v1.Node)
- func PrintPodLogs(clusterName, namespace, podName string, logs io.ReadCloser, follow bool)
- func PrintPodTable(clusterName string, pods []v1.Pod, statusFilter string)
- func PrintSecretTable(clusterName string, secrets []v1.Secret)
- func PrintServiceTable(clusterName string, services []v1.Service)
- func SetConfigDefault() string
- func ValidateConfig(cmd *cobra.Command, configFlagName, envVarName string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultKubeconfigPath ¶
func DefaultKubeconfigPath() string
func GetNamespaces ¶
func PrintConfigMapTable ¶
func PrintDeploymentTable ¶
func PrintDeploymentTable(clusterName string, deployments []appsv1.Deployment)
func PrintIngressTable ¶
func PrintIngressTable(clusterName string, ingresses []networkingv1.Ingress)
func PrintNamespaceTable ¶
func PrintNodeTable ¶
func PrintPodLogs ¶
func PrintPodLogs(clusterName, namespace, podName string, logs io.ReadCloser, follow bool)
func PrintSecretTable ¶
func PrintServiceTable ¶
func SetConfigDefault ¶
func SetConfigDefault() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.