Documentation ¶
Index ¶
- type Clients
- func (c *Clients) Start(ctx context.Context) error
- func (c *Clients) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
- func (c *Clients) ToRESTConfig() (*rest.Config, error)
- func (c *Clients) ToRESTMapper() (meta.RESTMapper, error)
- func (c *Clients) ToRawKubeConfigLoader() clientcmd.ClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients struct { K8s kubernetes.Interface Core corecontrollers.Interface RBAC rbaccontrollers.Interface Apps appcontrollers.Interface CRD crdcontrollers.Interface API apicontrollers.Interface Batch batchcontrollers.Interface Apply apply.Apply ClientConfig clientcmd.ClientConfig RESTConfig *rest.Config CachedDiscovery discovery.CachedDiscoveryInterface RESTMapper meta.RESTMapper // contains filtered or unexported fields }
func New ¶
func New(clientConfig clientcmd.ClientConfig, opts *generic.FactoryOptions) (*Clients, error)
func (*Clients) ToDiscoveryClient ¶
func (c *Clients) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
func (*Clients) ToRESTMapper ¶
func (c *Clients) ToRESTMapper() (meta.RESTMapper, error)
func (*Clients) ToRawKubeConfigLoader ¶
func (c *Clients) ToRawKubeConfigLoader() clientcmd.ClientConfig
Click to show internal directories.
Click to hide internal directories.