Documentation ¶
Index ¶
- type CAPIProvider
- func (c *CAPIProvider) AddEventHandler(handler cache.ResourceEventHandler) (cache.ResourceEventHandlerRegistration, error)
- func (c *CAPIProvider) HasSynced() bool
- func (c *CAPIProvider) Key(obj runtime.Object) []string
- func (c *CAPIProvider) KubeConfig(clusterKey string) (clientcmd.ClientConfig, error)
- func (c *CAPIProvider) Name() string
- func (c *CAPIProvider) Start(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAPIProvider ¶
type CAPIProvider struct {
// contains filtered or unexported fields
}
func NewCAPIProvider ¶
func NewCAPIProvider(kubeconfig *rest.Config) *CAPIProvider
func (*CAPIProvider) AddEventHandler ¶
func (c *CAPIProvider) AddEventHandler(handler cache.ResourceEventHandler) (cache.ResourceEventHandlerRegistration, error)
func (*CAPIProvider) HasSynced ¶
func (c *CAPIProvider) HasSynced() bool
func (*CAPIProvider) KubeConfig ¶
func (c *CAPIProvider) KubeConfig(clusterKey string) (clientcmd.ClientConfig, error)
func (*CAPIProvider) Name ¶
func (c *CAPIProvider) Name() string
func (*CAPIProvider) Start ¶
func (c *CAPIProvider) Start(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.