Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OperatorFinalizerName is the name of the finalizer. OperatorFinalizerName = "operator.ocean.spot.io" // OperatorVersionAnnotation is the annotation holds the operator version. OperatorVersionAnnotation = "operator.ocean.spot.io/version" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OceanComponentReconciler ¶
type OceanComponentReconciler struct { Scheme *runtime.Scheme Client client.Client ClientGetter genericclioptions.RESTClientGetter Log log.Logger Namespace string }
OceanComponentReconciler reconciles a OceanComponent object
func (*OceanComponentReconciler) Reconcile ¶
func (r *OceanComponentReconciler) Reconcile(ctx context.Context, req 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.9.5/pkg/reconcile
func (*OceanComponentReconciler) SetupWithManager ¶
func (r *OceanComponentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RequestContext ¶
type RequestContext struct { ctrlutil.RequestContext // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.