Documentation ¶
Overview ¶
Package common provides the common types and interfaces for the controllers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeReconciler ¶
FakeReconciler only for the test purpose
func (*FakeReconciler) FeatureGate ¶
func (f *FakeReconciler) FeatureGate() string
func (*FakeReconciler) FeatureGroup ¶
func (f *FakeReconciler) FeatureGroup() string
func (*FakeReconciler) FeatureName ¶
func (f *FakeReconciler) FeatureName() string
func (*FakeReconciler) SetupWithManager ¶
func (f *FakeReconciler) SetupWithManager(mgr ctrl.Manager) error
type FeaturedReconciler ¶
type FeaturedReconciler interface { Reconciler FeatureGroup() string FeatureName() string FeatureGate() string }
FeaturedReconciler represents a featured reconciler
type FeaturedReconcilerGroup ¶
type FeaturedReconcilerGroup struct {
// contains filtered or unexported fields
}
FeaturedReconcilerGroup groups a set of reconcilers
func NewFeaturedReconcilerGroup ¶
func NewFeaturedReconcilerGroup() *FeaturedReconcilerGroup
NewFeaturedReconcilerGroup creates the FeaturedReconcilerGroup instance
func (*FeaturedReconcilerGroup) Init ¶
func (g *FeaturedReconcilerGroup) Init(featureSlice []string, featureGate string, mgr ctrl.Manager) (err error)
Init setups all the controllers
func (*FeaturedReconcilerGroup) Put ¶
func (g *FeaturedReconcilerGroup) Put(reconciler FeaturedReconciler)
Put puts a reconciler
Click to show internal directories.
Click to hide internal directories.