Documentation ¶
Index ¶
- Variables
- func CreateNamespace(namespace string) error
- func DeleteNamespace(namespace string) error
- func GetClusterApi() (string, error)
- func GetClusterVersion() (string, error)
- func GetPodsByPrefixNamespace(prefix string) (int, error)
- func GetSecretsInNamespace(namespace string) (*v1.SecretList, error)
- func GetTotalNamespaces() (string, error)
- func GetTotalNamespacesByPrefix(prefix string) (int, error)
- func GetTotalPods() (string, error)
- func Init(local bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Clientset *kubernetes.Clientset Kubeconfig *rest.Config DiscoveryClient *discovery.DiscoveryClient Ctx context.Context )
Functions ¶
func CreateNamespace ¶
func DeleteNamespace ¶
func GetClusterApi ¶
func GetClusterVersion ¶
func GetSecretsInNamespace ¶
func GetSecretsInNamespace(namespace string) (*v1.SecretList, error)
func GetTotalNamespaces ¶
func GetTotalPods ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.