controller

package
v0.0.0-...-1422555 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 75 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"
	VolumeAttributesClassResourceName  = "volumeattributesclasses.storage.k8s.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"
)
View Source
const (
	TLSProfileName = "ocs-tls-profile"
)

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
	TlsProfile              *ocstlsv1.TLSProfile
	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
	AvailCrdsOrResources 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.

type TLSProfileReconciler

type TLSProfileReconciler struct {
	client.Client
	ShutdownContainer func()
	// InitialGeneration is the generation of the TLSProfile at operator startup
	// (0 if it did not exist). The reconciler skips shutdown when the observed
	// generation matches this value so that the informer's initial sync event
	// does not trigger an unnecessary restart.
	InitialGeneration int64
	Namespace         string
}

TLSProfileReconciler restarts the container when the TLSProfile changes so the new TLS settings are applied to all servers on the next startup.

func (*TLSProfileReconciler) Reconcile

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

func (*TLSProfileReconciler) SetupWithManager

func (r *TLSProfileReconciler) 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