Documentation ¶
Index ¶
- type ControlPlaneOperatorConfig
- func (c *ControlPlaneOperatorConfig) Config() *rest.Config
- func (c *ControlPlaneOperatorConfig) Fatal(err error, msg string)
- func (c *ControlPlaneOperatorConfig) InitialCA() string
- func (c *ControlPlaneOperatorConfig) KubeClient() kubeclient.Interface
- func (c *ControlPlaneOperatorConfig) Logger() logr.Logger
- func (c *ControlPlaneOperatorConfig) Manager() ctrl.Manager
- func (c *ControlPlaneOperatorConfig) Namespace() string
- func (c *ControlPlaneOperatorConfig) Scheme() *runtime.Scheme
- func (c *ControlPlaneOperatorConfig) Start(ctx context.Context) error
- func (c *ControlPlaneOperatorConfig) TargetConfig() *rest.Config
- func (c *ControlPlaneOperatorConfig) TargetConfigClient() configclient.Interface
- func (c *ControlPlaneOperatorConfig) TargetConfigInformers() configinformers.SharedInformerFactory
- func (c *ControlPlaneOperatorConfig) TargetKubeClient() kubeclient.Interface
- func (c *ControlPlaneOperatorConfig) TargetKubeInformersForNamespace(namespace string) informers.SharedInformerFactory
- func (c *ControlPlaneOperatorConfig) TargetKubeInformersForNamespaceWithInterval(namespace string, syncInterval time.Duration) informers.SharedInformerFactory
- func (c *ControlPlaneOperatorConfig) TargetNamespace() string
- func (c *ControlPlaneOperatorConfig) Versions() map[string]string
- type ControllerSetupFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlPlaneOperatorConfig ¶
type ControlPlaneOperatorConfig struct {
// contains filtered or unexported fields
}
func NewControlPlaneOperatorConfig ¶
func NewControlPlaneOperatorConfig(targetKubeconfig, namespace string, initialCA []byte, versions map[string]string, controllers []string, controllerFuncs map[string]ControllerSetupFunc) *ControlPlaneOperatorConfig
func NewControlPlaneOperatorConfigWithRestConfig ¶
func NewControlPlaneOperatorConfigWithRestConfig(config, targetConfig *rest.Config, namespace string, initialCA []byte, versions map[string]string, controllers []string, controllerFuncs map[string]ControllerSetupFunc) *ControlPlaneOperatorConfig
func (*ControlPlaneOperatorConfig) Config ¶
func (c *ControlPlaneOperatorConfig) Config() *rest.Config
func (*ControlPlaneOperatorConfig) Fatal ¶
func (c *ControlPlaneOperatorConfig) Fatal(err error, msg string)
func (*ControlPlaneOperatorConfig) InitialCA ¶
func (c *ControlPlaneOperatorConfig) InitialCA() string
func (*ControlPlaneOperatorConfig) KubeClient ¶
func (c *ControlPlaneOperatorConfig) KubeClient() kubeclient.Interface
func (*ControlPlaneOperatorConfig) Logger ¶
func (c *ControlPlaneOperatorConfig) Logger() logr.Logger
func (*ControlPlaneOperatorConfig) Manager ¶
func (c *ControlPlaneOperatorConfig) Manager() ctrl.Manager
func (*ControlPlaneOperatorConfig) Namespace ¶
func (c *ControlPlaneOperatorConfig) Namespace() string
func (*ControlPlaneOperatorConfig) Scheme ¶
func (c *ControlPlaneOperatorConfig) Scheme() *runtime.Scheme
func (*ControlPlaneOperatorConfig) Start ¶
func (c *ControlPlaneOperatorConfig) Start(ctx context.Context) error
func (*ControlPlaneOperatorConfig) TargetConfig ¶
func (c *ControlPlaneOperatorConfig) TargetConfig() *rest.Config
func (*ControlPlaneOperatorConfig) TargetConfigClient ¶
func (c *ControlPlaneOperatorConfig) TargetConfigClient() configclient.Interface
func (*ControlPlaneOperatorConfig) TargetConfigInformers ¶
func (c *ControlPlaneOperatorConfig) TargetConfigInformers() configinformers.SharedInformerFactory
func (*ControlPlaneOperatorConfig) TargetKubeClient ¶
func (c *ControlPlaneOperatorConfig) TargetKubeClient() kubeclient.Interface
func (*ControlPlaneOperatorConfig) TargetKubeInformersForNamespace ¶
func (c *ControlPlaneOperatorConfig) TargetKubeInformersForNamespace(namespace string) informers.SharedInformerFactory
func (*ControlPlaneOperatorConfig) TargetKubeInformersForNamespaceWithInterval ¶
func (c *ControlPlaneOperatorConfig) TargetKubeInformersForNamespaceWithInterval(namespace string, syncInterval time.Duration) informers.SharedInformerFactory
func (*ControlPlaneOperatorConfig) TargetNamespace ¶
func (c *ControlPlaneOperatorConfig) TargetNamespace() string
func (*ControlPlaneOperatorConfig) Versions ¶
func (c *ControlPlaneOperatorConfig) Versions() map[string]string
type ControllerSetupFunc ¶
type ControllerSetupFunc func(*ControlPlaneOperatorConfig) error
Click to show internal directories.
Click to hide internal directories.