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 Admission admissionregcontrollers.Interface Batch batchcontrollers.Interface Apply apply.Apply Dynamic *dynamic.Controller ClientConfig clientcmd.ClientConfig RESTConfig *rest.Config CachedDiscovery discovery.CachedDiscoveryInterface RESTMapper meta.RESTMapper FactoryOptions *generic.FactoryOptions }
func New ¶
func New(clientConfig clientcmd.ClientConfig, opts *generic.FactoryOptions) (*Clients, error)
func NewFromConfig ¶
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.