Documentation ¶
Index ¶
- type PlatformConfigReconciler
- func (r *PlatformConfigReconciler) CheckReady(req *workload.Request) (bool, error)
- func (r *PlatformConfigReconciler) GetController() controller.Controller
- func (r *PlatformConfigReconciler) GetEventRecorder() record.EventRecorder
- func (r *PlatformConfigReconciler) GetFieldManager() string
- func (r *PlatformConfigReconciler) GetLogger() logr.Logger
- func (r *PlatformConfigReconciler) GetManager() manager.Manager
- func (r *PlatformConfigReconciler) GetName() string
- func (r *PlatformConfigReconciler) GetResources(req *workload.Request) ([]client.Object, error)
- func (r *PlatformConfigReconciler) GetWatches() []client.Object
- func (r *PlatformConfigReconciler) InitializePhases()
- func (r *PlatformConfigReconciler) Mutate(req *workload.Request, object client.Object) ([]client.Object, bool, error)
- func (r *PlatformConfigReconciler) NewRequest(ctx context.Context, request ctrl.Request) (*workload.Request, error)
- func (r *PlatformConfigReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *PlatformConfigReconciler) SetWatch(watch client.Object)
- func (r *PlatformConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
- type PlatformOperatorsReconciler
- func (r *PlatformOperatorsReconciler) CheckReady(req *workload.Request) (bool, error)
- func (r *PlatformOperatorsReconciler) GetController() controller.Controller
- func (r *PlatformOperatorsReconciler) GetEventRecorder() record.EventRecorder
- func (r *PlatformOperatorsReconciler) GetFieldManager() string
- func (r *PlatformOperatorsReconciler) GetLogger() logr.Logger
- func (r *PlatformOperatorsReconciler) GetManager() manager.Manager
- func (r *PlatformOperatorsReconciler) GetName() string
- func (r *PlatformOperatorsReconciler) GetResources(req *workload.Request) ([]client.Object, error)
- func (r *PlatformOperatorsReconciler) GetWatches() []client.Object
- func (r *PlatformOperatorsReconciler) InitializePhases()
- func (r *PlatformOperatorsReconciler) Mutate(req *workload.Request, object client.Object) ([]client.Object, bool, error)
- func (r *PlatformOperatorsReconciler) NewRequest(ctx context.Context, request ctrl.Request) (*workload.Request, error)
- func (r *PlatformOperatorsReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *PlatformOperatorsReconciler) SetWatch(watch client.Object)
- func (r *PlatformOperatorsReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlatformConfigReconciler ¶
type PlatformConfigReconciler struct { client.Client Name string Log logr.Logger Controller controller.Controller Events record.EventRecorder FieldManager string Watches []client.Object Phases *phases.Registry Manager manager.Manager }
PlatformConfigReconciler reconciles a PlatformConfig object.
func NewPlatformConfigReconciler ¶
func NewPlatformConfigReconciler(mgr ctrl.Manager) *PlatformConfigReconciler
func (*PlatformConfigReconciler) CheckReady ¶
func (r *PlatformConfigReconciler) CheckReady(req *workload.Request) (bool, error)
CheckReady will return whether a component is ready.
func (*PlatformConfigReconciler) GetController ¶
func (r *PlatformConfigReconciler) GetController() controller.Controller
GetController returns the controller object associated with the reconciler.
func (*PlatformConfigReconciler) GetEventRecorder ¶
func (r *PlatformConfigReconciler) GetEventRecorder() record.EventRecorder
GetEventRecorder returns the event recorder for writing kubernetes events.
func (*PlatformConfigReconciler) GetFieldManager ¶
func (r *PlatformConfigReconciler) GetFieldManager() string
GetFieldManager returns the name of the field manager for the controller.
func (*PlatformConfigReconciler) GetLogger ¶
func (r *PlatformConfigReconciler) GetLogger() logr.Logger
GetLogger returns the logger from the reconciler.
func (*PlatformConfigReconciler) GetManager ¶
func (r *PlatformConfigReconciler) GetManager() manager.Manager
GetManager returns the manager object assocated with the reconciler.
func (*PlatformConfigReconciler) GetName ¶
func (r *PlatformConfigReconciler) GetName() string
GetName returns the name of the reconciler.
func (*PlatformConfigReconciler) GetResources ¶
GetResources resources runs the methods to properly construct the resources in memory.
func (*PlatformConfigReconciler) GetWatches ¶
func (r *PlatformConfigReconciler) GetWatches() []client.Object
GetWatches returns the objects which are current being watched by the reconciler.
func (*PlatformConfigReconciler) InitializePhases ¶
func (r *PlatformConfigReconciler) InitializePhases()
InitializePhases defines what phases should be run for each event loop. phases are executed in the order they are listed.
func (*PlatformConfigReconciler) Mutate ¶
func (r *PlatformConfigReconciler) Mutate( req *workload.Request, object client.Object, ) ([]client.Object, bool, error)
Mutate will run the mutate function for the workload. WARN: this will be deprecated in the future. See apis/group/version/kind/mutate*
func (*PlatformConfigReconciler) NewRequest ¶
func (*PlatformConfigReconciler) Reconcile ¶
func (r *PlatformConfigReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile
func (*PlatformConfigReconciler) SetWatch ¶
func (r *PlatformConfigReconciler) SetWatch(watch client.Object)
SetWatch appends a watch to the list of currently watched objects.
func (*PlatformConfigReconciler) SetupWithManager ¶
func (r *PlatformConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
type PlatformOperatorsReconciler ¶
type PlatformOperatorsReconciler struct { client.Client Name string Log logr.Logger Controller controller.Controller Events record.EventRecorder FieldManager string Watches []client.Object Phases *phases.Registry Manager manager.Manager }
PlatformOperatorsReconciler reconciles a PlatformOperators object.
func NewPlatformOperatorsReconciler ¶
func NewPlatformOperatorsReconciler(mgr ctrl.Manager) *PlatformOperatorsReconciler
func (*PlatformOperatorsReconciler) CheckReady ¶
func (r *PlatformOperatorsReconciler) CheckReady(req *workload.Request) (bool, error)
CheckReady will return whether a component is ready.
func (*PlatformOperatorsReconciler) GetController ¶
func (r *PlatformOperatorsReconciler) GetController() controller.Controller
GetController returns the controller object associated with the reconciler.
func (*PlatformOperatorsReconciler) GetEventRecorder ¶
func (r *PlatformOperatorsReconciler) GetEventRecorder() record.EventRecorder
GetEventRecorder returns the event recorder for writing kubernetes events.
func (*PlatformOperatorsReconciler) GetFieldManager ¶
func (r *PlatformOperatorsReconciler) GetFieldManager() string
GetFieldManager returns the name of the field manager for the controller.
func (*PlatformOperatorsReconciler) GetLogger ¶
func (r *PlatformOperatorsReconciler) GetLogger() logr.Logger
GetLogger returns the logger from the reconciler.
func (*PlatformOperatorsReconciler) GetManager ¶
func (r *PlatformOperatorsReconciler) GetManager() manager.Manager
GetManager returns the manager object assocated with the reconciler.
func (*PlatformOperatorsReconciler) GetName ¶
func (r *PlatformOperatorsReconciler) GetName() string
GetName returns the name of the reconciler.
func (*PlatformOperatorsReconciler) GetResources ¶
GetResources resources runs the methods to properly construct the resources in memory.
func (*PlatformOperatorsReconciler) GetWatches ¶
func (r *PlatformOperatorsReconciler) GetWatches() []client.Object
GetWatches returns the objects which are current being watched by the reconciler.
func (*PlatformOperatorsReconciler) InitializePhases ¶
func (r *PlatformOperatorsReconciler) InitializePhases()
InitializePhases defines what phases should be run for each event loop. phases are executed in the order they are listed.
func (*PlatformOperatorsReconciler) Mutate ¶
func (r *PlatformOperatorsReconciler) Mutate( req *workload.Request, object client.Object, ) ([]client.Object, bool, error)
Mutate will run the mutate function for the workload. WARN: this will be deprecated in the future. See apis/group/version/kind/mutate*
func (*PlatformOperatorsReconciler) NewRequest ¶
func (*PlatformOperatorsReconciler) Reconcile ¶
func (r *PlatformOperatorsReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile
func (*PlatformOperatorsReconciler) SetWatch ¶
func (r *PlatformOperatorsReconciler) SetWatch(watch client.Object)
SetWatch appends a watch to the list of currently watched objects.
func (*PlatformOperatorsReconciler) SetupWithManager ¶
func (r *PlatformOperatorsReconciler) SetupWithManager(mgr ctrl.Manager) error