Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadingRules ¶
func LoadingRules() (*clientcmd.ClientConfigLoadingRules, error)
Types ¶
type Client ¶
type Client struct { runtimeclient.WithWatch Config *rest.Config KubeconfigPath string Namespace string }
func New ¶
New returns a new Client by loading a kubeconfig with the supplied context and namespace. The kubeconfig is discovered like this: * KUBECONFIG environment variable pointing at a file * $HOME/.kube/config if exists
func (*Client) GetConnectionSecret ¶
Click to show internal directories.
Click to hide internal directories.