Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ParameterCodec = func() runtime.ParameterCodec { var scheme = runtime.NewScheme() util.Must(corev1.AddToScheme(scheme)) return runtime.NewParameterCodec(scheme) }()
ParameterCodec is a default parameter codec for Kubernetes API
Functions ¶
func DefaultKubeconfigPath ¶
func DefaultKubeconfigPath() string
DefaultKubeconfigPath returns default kubeconfig path ($HOME/.kube/config)
func NewClientset ¶
func NewClientset(config *rest.Config) (*kubernetes.Clientset, error)
NewClientset returns a new kubernetes.Clientset from the reset.Config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.