statefulset

package
v0.0.0-...-fc29aca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: UPL-1.0 Imports: 20 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL