Documentation ¶
Index ¶
- Constants
- func NewStatefulSetReconciler(mgr manager.Manager) reconciler.SecondaryResourceReconciler
- type ReconcileStatefulSet
- func (in *ReconcileStatefulSet) GetReconciler() reconcile.Reconciler
- func (in *ReconcileStatefulSet) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (in *ReconcileStatefulSet) ReconcileAllResourceOfKind(ctx context.Context, request reconcile.Request, ...) (reconcile.Result, error)
Constants ¶
View Source
const ( CreateMessage string = "successfully created StatefulSet for Coherence resource '%s'" FailedToScaleMessage string = "failed to scale Coherence resource %s from %d to %d due to error\n%s" FailedToPatchMessage string = "failed to patch Coherence resource %s due to error\n%s" EventReasonScale string = "Scaling" )
Variables ¶
This section is empty.
Functions ¶
func NewStatefulSetReconciler ¶
func NewStatefulSetReconciler(mgr manager.Manager) reconciler.SecondaryResourceReconciler
NewStatefulSetReconciler returns a new StatefulSet reconciler.
Types ¶
type ReconcileStatefulSet ¶
type ReconcileStatefulSet struct { reconciler.ReconcileSecondaryResource // contains filtered or unexported fields }
func (*ReconcileStatefulSet) GetReconciler ¶
func (in *ReconcileStatefulSet) GetReconciler() reconcile.Reconciler
func (*ReconcileStatefulSet) Reconcile ¶
func (in *ReconcileStatefulSet) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the Services for a deployment and makes changes based on the state read and the desired state based on the parent Coherence resource.
func (*ReconcileStatefulSet) ReconcileAllResourceOfKind ¶
func (in *ReconcileStatefulSet) ReconcileAllResourceOfKind(ctx context.Context, request reconcile.Request, deployment coh.CoherenceResource, storage utils.Storage) (reconcile.Result, error)
ReconcileAllResourceOfKind will process the specified reconcile request for the specified deployment. The previous state being reconciled can be obtained from the storage parameter.
Click to show internal directories.
Click to hide internal directories.