Documentation
¶
Index ¶
Constants ¶
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" )
const (
// AlertPollIntervalKey is the ConfigMap key for the client alert polling interval.
AlertPollIntervalKey = "alertPollInterval"
)
const (
MaintenanceModeCRDName = "maintenancemodes.ramendr.openshift.io"
)
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) 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) SetupWithManager ¶
func (r *MaintenanceModeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ObcReconciler ¶
ObcReconciler reconciles a ObjectBucketClaim object
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 ¶
func (c *OperatorConfigMapReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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) 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) SetupWithManager ¶
func (r *TLSProfileReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager