Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
type ClientOption func(ff *Kubeclient)
func WithKubeconfig ¶
func WithKubeconfig(path string) ClientOption
type Kubeclient ¶
func New ¶
func New(opts ...ClientOption) (*Kubeclient, error)
func (Kubeclient) Clientset ¶
func (kc Kubeclient) Clientset(context *string, config *rest.Config) (*kubernetes.Clientset, error)
func (Kubeclient) RESTConfig ¶
func (kc Kubeclient) RESTConfig(context *string) (*rest.Config, error)
Click to show internal directories.
Click to hide internal directories.