Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
type ClientFactory interface { // GetSTDClient gets the Kubernetes standard client (pods, services...). GetSTDClient() (kubernetes.Interface, error) // GetCRDClient gets the Kubernetes client for the CRDs described in this application. GetCRDClient() (crdcli.Interface, error) // GetAPIExtensionClient gets the Kubernetes api extensions client (crds...). GetAPIExtensionClient() (apiextensionscli.Interface, error) }
ClientFactory knows how to get Kubernetes clients.
func NewFactory ¶
func NewFactory(config *rest.Config) ClientFactory
NewFactory returns a new kubernetes client factory.
Click to show internal directories.
Click to hide internal directories.