controller

package
v0.0.0-...-a0f3bdc Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 71 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// grpcCallNames
	OnboardConsumer  = "OnboardConsumer"
	OffboardConsumer = "OffboardConsumer"
	GetStorageConfig = "GetStorageConfig"

	VolumeGroupSnapshotClassCrdName    = "volumegroupsnapshotclasses.groupsnapshot.storage.k8s.io"
	OdfVolumeGroupSnapshotClassCrdName = "volumegroupsnapshotclasses.groupsnapshot.storage.openshift.io"
	ObjectBucketClaimCrdName           = "objectbucketclaims.objectbucket.io"
	ObjectBucketCrdName                = "objectbuckets.objectbucket.io"
)
View Source
const (

	// AlertPollIntervalKey is the ConfigMap key for the client alert polling interval.
	AlertPollIntervalKey = "alertPollInterval"
)
View Source
const (
	MaintenanceModeCRDName = "maintenancemodes.ramendr.openshift.io"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CrdsPresenceReconciler

type CrdsPresenceReconciler struct {
	client.Client
	AvailableCrds     map[string]bool
	ShutdownContainer func()
	// contains filtered or unexported fields
}

func (*CrdsPresenceReconciler) Reconcile

func (r *CrdsPresenceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*CrdsPresenceReconciler) SetupWithManager

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

type MaintenanceModeReconciler

type MaintenanceModeReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

MaintenanceModeReconciler reconciles a ClusterVersion object

func (*MaintenanceModeReconciler) Reconcile

func (*MaintenanceModeReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ObcReconciler

type ObcReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ObcReconciler reconciles a ObjectBucketClaim object

func (*ObcReconciler) Reconcile

func (r *ObcReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ObcReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager

type OperatorConfigMapReconciler

type OperatorConfigMapReconciler struct {
	client.Client
	OperatorNamespace       string
	ConsolePort             int32
	Scheme                  *runtime.Scheme
	AvailableCrds           map[string]bool
	UpdateAlertPollInterval func(time.Duration)
	// contains filtered or unexported fields
}

OperatorConfigMapReconciler reconciles a ClusterVersion object

func (*OperatorConfigMapReconciler) Reconcile

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*OperatorConfigMapReconciler) SetupWithManager

func (c *OperatorConfigMapReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type StorageClientReconciler

type StorageClientReconciler struct {
	client.Client
	Scheme            *runtime.Scheme
	OperatorNamespace string
	OperatorPodName   string
	AvailableCrds     map[string]bool
	// contains filtered or unexported fields
}

StorageClientReconciler reconciles a StorageClient object

func (*StorageClientReconciler) Reconcile

func (r *StorageClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*StorageClientReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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