controllers

package
v0.0.0-...-17071f4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionTypeSyncing string = "Syncing"
	ConditionTypeReady   string = "Ready"

	IndexSetSyncingReasonNotSyncing IndexSetSyncingReason = "NotSyncing"
	IndexSetSyncingReasonSyncing    IndexSetSyncingReason = "Syncing"

	IndexSetReadyReasonUnknown        IndexSetReadyReason = "Unknown"
	IndexSetReadyReasonInSync         IndexSetReadyReason = "InSync"
	IndexSetReadyReasonOutOfSync      IndexSetReadyReason = "OutOfSync"
	IndexSetReadyReasonPaused         IndexSetReadyReason = "Paused"
	IndexSetReadyReasonJobFailed      IndexSetReadyReason = "JobFailed"
	IndexSetReadyReasonConfigMapError IndexSetReadyReason = "ConfigMapError"
	IndexSetReadyReasonCouchbaseError IndexSetReadyReason = "CouchbaseError"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CouchbaseIndexSetReconcileContext

type CouchbaseIndexSetReconcileContext struct {
	Ctx     context.Context
	Request ctrl.Request
	logr.Logger
	Reconciler *CouchbaseIndexSetReconciler

	IndexSet         v1beta1.CouchbaseIndexSet
	ConnectionString string
	AdminSecretName  string
	DeletingIndexes  []cbim.GlobalSecondaryIndexIdentifier
	IsDeleting       bool
}

type CouchbaseIndexSetReconciler

type CouchbaseIndexSetReconciler struct {
	client.Client
	record.EventRecorder
	Scheme    *runtime.Scheme
	CbimImage string
}

CouchbaseIndexSetReconciler reconciles a CouchbaseIndexSet object

func (*CouchbaseIndexSetReconciler) Reconcile

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.8.3/pkg/reconcile

func (*CouchbaseIndexSetReconciler) SetupWithManager

func (r *CouchbaseIndexSetReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type IndexSetReadyReason

type IndexSetReadyReason string

type IndexSetSyncingReason

type IndexSetSyncingReason string

Jump to

Keyboard shortcuts

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