Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultManagedNamespace = "openshift-cloud-controller-manager" OpenshiftConfigNamespace = "openshift-config" OpenshiftManagedConfigNamespace = "openshift-config-managed" )
View Source
const ( ReasonAsExpected = "AsExpected" ReasonInitializing = "Initializing" ReasonSyncing = "SyncingResources" ReasonSyncFailed = "SyncingFailed" ReasonPlatformTechPreview = "PlatformTechPreview" )
The default set of status change reasons.
Variables ¶
This section is empty.
Functions ¶
func GetReleaseVersion ¶
func GetReleaseVersion() string
GetReleaseVersion gets the release version string from the env
Types ¶
type CloudConfigReconciler ¶
type CloudConfigReconciler struct {
ClusterOperatorStatusClient
Scheme *runtime.Scheme
FeatureGateAccess featuregates.FeatureGateAccess
}
func (*CloudConfigReconciler) SetupWithManager ¶
func (r *CloudConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CloudOperatorReconciler ¶
type CloudOperatorReconciler struct {
ClusterOperatorStatusClient
Scheme *runtime.Scheme
ImagesFile string
FeatureGateAccess featuregates.FeatureGateAccess
// contains filtered or unexported fields
}
CloudOperatorReconciler reconciles a ClusterOperator object
func (*CloudOperatorReconciler) Reconcile ¶
func (r *CloudOperatorReconciler) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, error)
Reconcile will process the cloud-controller-manager clusterOperator
func (*CloudOperatorReconciler) SetupWithManager ¶
func (r *CloudOperatorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClusterOperatorStatusClient ¶
type ClusterOperatorStatusClient struct {
client.Client
Recorder record.EventRecorder
Clock clock.PassiveClock
ManagedNamespace string
ReleaseVersion string
}
type ObjectWatcher ¶
type ObjectWatcher interface {
Watch(ctx context.Context, obj client.Object) error
EventStream() <-chan event.GenericEvent
}
func NewObjectWatcher ¶
func NewObjectWatcher(opts WatcherOptions) (ObjectWatcher, error)
type TrustedCABundleReconciler ¶
type TrustedCABundleReconciler struct {
ClusterOperatorStatusClient
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
func (*TrustedCABundleReconciler) SetupWithManager ¶
func (r *TrustedCABundleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.