Documentation ¶
Index ¶
- type APIServerControllerSet
- func (cs *APIServerControllerSet) PrepareRun() (preparedAPIServerControllerSet, error)
- func (cs *APIServerControllerSet) WithAPIServiceController(controllerName string, ...) *APIServerControllerSet
- func (cs *APIServerControllerSet) WithClusterOperatorStatusController(clusterOperatorName string, relatedObjects []configv1.ObjectReference, ...) *APIServerControllerSet
- func (cs *APIServerControllerSet) WithConfigUpgradableController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithEncryptionControllers(component string, provider controllers.Provider, ...) *APIServerControllerSet
- func (cs *APIServerControllerSet) WithFinalizerController(targetNamespace string, ...) *APIServerControllerSet
- func (cs *APIServerControllerSet) WithLogLevelController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithRevisionController(targetNamespace string, configMaps []revisioncontroller.RevisionResource, ...) *APIServerControllerSet
- func (cs *APIServerControllerSet) WithStaticResourcesController(controllerName string, manifests resourceapply.AssetFunc, files []string, ...) *APIServerControllerSet
- func (cs *APIServerControllerSet) WithWorkloadController(name, operatorNamespace, targetNamespace, targetOperandVersion, ... string, ...) *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutAPIServiceController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutClusterOperatorStatusController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutConfigUpgradableController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutEncryptionControllers() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutFinalizerController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutLogLevelController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutRevisionController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutStaticResourcesController() *APIServerControllerSet
- func (cs *APIServerControllerSet) WithoutWorkloadController() *APIServerControllerSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServerControllerSet ¶
type APIServerControllerSet struct {
// contains filtered or unexported fields
}
APIServerControllerSet is a set of controllers that maintain a deployment of an API server and the namespace it's running in
func NewAPIServerControllerSet ¶
func NewAPIServerControllerSet( operatorClient v1helpers.OperatorClient, eventRecorder events.Recorder, ) *APIServerControllerSet
func (*APIServerControllerSet) PrepareRun ¶
func (cs *APIServerControllerSet) PrepareRun() (preparedAPIServerControllerSet, error)
func (*APIServerControllerSet) WithAPIServiceController ¶
func (cs *APIServerControllerSet) WithAPIServiceController( controllerName string, getAPIServicesToManageFn apiservice.GetAPIServicesToMangeFunc, apiregistrationInformers apiregistrationinformers.SharedInformerFactory, apiregistrationv1Client apiregistrationv1client.ApiregistrationV1Interface, kubeInformersForTargetNamesace kubeinformers.SharedInformerFactory, kubeClient kubernetes.Interface, ) *APIServerControllerSet
func (*APIServerControllerSet) WithClusterOperatorStatusController ¶
func (cs *APIServerControllerSet) WithClusterOperatorStatusController( clusterOperatorName string, relatedObjects []configv1.ObjectReference, clusterOperatorClient configv1client.ClusterOperatorsGetter, clusterOperatorInformer configv1informers.ClusterOperatorInformer, versionRecorder status.VersionGetter, ) *APIServerControllerSet
func (*APIServerControllerSet) WithConfigUpgradableController ¶
func (cs *APIServerControllerSet) WithConfigUpgradableController() *APIServerControllerSet
WithConfigUpgradableController adds a controller for the operator to check for presence of unsupported configuration and to set the Upgradable condition to false if it finds any
func (*APIServerControllerSet) WithEncryptionControllers ¶
func (cs *APIServerControllerSet) WithEncryptionControllers( component string, provider controllers.Provider, deployer statemachine.Deployer, migrator migrators.Migrator, secretsClient corev1.SecretsGetter, apiServerClient configv1client.APIServerInterface, apiServerInformer configv1informers.APIServerInformer, kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces, ) *APIServerControllerSet
func (*APIServerControllerSet) WithFinalizerController ¶
func (cs *APIServerControllerSet) WithFinalizerController( targetNamespace string, kubeInformersForTargetNamespace kubeinformers.SharedInformerFactory, namespaceGetter corev1client.NamespacesGetter, ) *APIServerControllerSet
func (*APIServerControllerSet) WithLogLevelController ¶
func (cs *APIServerControllerSet) WithLogLevelController() *APIServerControllerSet
WithLogLevelController adds a controller that configures logging for the operator
func (*APIServerControllerSet) WithRevisionController ¶
func (cs *APIServerControllerSet) WithRevisionController( targetNamespace string, configMaps []revisioncontroller.RevisionResource, secrets []revisioncontroller.RevisionResource, kubeInformersForTargetNamespace kubeinformers.SharedInformerFactory, revisionClient revisioncontroller.LatestRevisionClient, configMapGetter corev1client.ConfigMapsGetter, secretGetter corev1client.SecretsGetter, ) *APIServerControllerSet
func (*APIServerControllerSet) WithStaticResourcesController ¶
func (cs *APIServerControllerSet) WithStaticResourcesController( controllerName string, manifests resourceapply.AssetFunc, files []string, kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces, kubeClient kubernetes.Interface, ) *APIServerControllerSet
func (*APIServerControllerSet) WithWorkloadController ¶
func (cs *APIServerControllerSet) WithWorkloadController( name, operatorNamespace, targetNamespace, targetOperandVersion, operandNamePrefix, conditionsPrefix string, kubeClient kubernetes.Interface, delegate workload.Delegate, openshiftClusterConfigClient openshiftconfigclientv1.ClusterOperatorInterface, versionRecorder status.VersionGetter, kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces, informers ...cache.SharedIndexInformer) *APIServerControllerSet
func (*APIServerControllerSet) WithoutAPIServiceController ¶
func (cs *APIServerControllerSet) WithoutAPIServiceController() *APIServerControllerSet
func (*APIServerControllerSet) WithoutClusterOperatorStatusController ¶
func (cs *APIServerControllerSet) WithoutClusterOperatorStatusController() *APIServerControllerSet
func (*APIServerControllerSet) WithoutConfigUpgradableController ¶
func (cs *APIServerControllerSet) WithoutConfigUpgradableController() *APIServerControllerSet
func (*APIServerControllerSet) WithoutEncryptionControllers ¶
func (cs *APIServerControllerSet) WithoutEncryptionControllers() *APIServerControllerSet
func (*APIServerControllerSet) WithoutFinalizerController ¶
func (cs *APIServerControllerSet) WithoutFinalizerController() *APIServerControllerSet
func (*APIServerControllerSet) WithoutLogLevelController ¶
func (cs *APIServerControllerSet) WithoutLogLevelController() *APIServerControllerSet
func (*APIServerControllerSet) WithoutRevisionController ¶
func (cs *APIServerControllerSet) WithoutRevisionController() *APIServerControllerSet
func (*APIServerControllerSet) WithoutStaticResourcesController ¶
func (cs *APIServerControllerSet) WithoutStaticResourcesController() *APIServerControllerSet
func (*APIServerControllerSet) WithoutWorkloadController ¶
func (cs *APIServerControllerSet) WithoutWorkloadController() *APIServerControllerSet
Click to show internal directories.
Click to hide internal directories.