k8sutil

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubeConfigPath added in v0.2.3

func GetKubeConfigPath() string

GetKubeConfigPath Get kubeconfig path from env KUBECONFIG if env not exist, return ~/.kube/config

func NewFactory added in v0.2.3

func NewFactory(kubeconfigPath string) cmdutil.Factory

NewFactory can generate many kinds of k8s client.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL