Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientConfig ¶
func NewClientConfig(config *ClientConfig) (*rest.Config, error)
NewClientConfig returns a configuration object that can be used to configure a client in order to contact an API server with.
func NewClientWithConfig ¶
func NewClientWithConfig(config *ClientConfig) (*client.Clientset, error)
NewClientWithConfig will create a new client able to talk to a Kubernetes API server.
Types ¶
type ClientConfig ¶
type ClientConfig struct { CertificateAuthority string ClientCertificate string ClientKey string Cluster string Context string Insecure bool Kubeconfig string Password string Server string Token string User string Username string }
ClientConfig holds configuration options for API server clients.
Click to show internal directories.
Click to hide internal directories.