Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Workers is the number of workers concurrently processing reconciliation requests. Workers int // FeatureGates contains the feature gates to be used by EtcdCopyBackupTask Controller. FeatureGates map[featuregate.Feature]bool }
Config defines the configuration for the EtcdCopyBackupsTask Controller.
func (*Config) CaptureFeatureActivations ¶
func (cfg *Config) CaptureFeatureActivations(fg featuregate.FeatureGate)
CaptureFeatureActivations captures all feature gates required by the controller into controller config
func (*Config) InitFromFlags ¶
InitFromFlags initializes the config from the provided CLI flag set.
type Reconciler ¶
Reconciler reconciles EtcdCopyBackupsTask object.
func NewReconciler ¶
func NewReconciler(mgr manager.Manager, config *Config) (*Reconciler, error)
NewReconciler creates a new reconciler for EtcdCopyBackupsTask.
func NewReconcilerWithImageVector ¶
func NewReconcilerWithImageVector(mgr manager.Manager, config *Config, imageVector imagevector.ImageVector) *Reconciler
NewReconcilerWithImageVector creates a new reconciler for EtcdCopyBackupsTask with an ImageVector. This constructor will mostly be used by tests.
func (*Reconciler) RegisterWithManager ¶
func (r *Reconciler) RegisterWithManager(mgr ctrl.Manager) error
RegisterWithManager registers the EtcdCopyBackupsTask Controller with the given controller manager.
Click to show internal directories.
Click to hide internal directories.