Documentation ¶
Index ¶
- func NewConditionController(instanceName string, provider Provider, deployer statemachine.Deployer, ...) factory.Controller
- func NewKeyController(instanceName string, unsupportedConfigPrefix []string, provider Provider, ...) factory.Controller
- func NewMigrationController(instanceName string, provider Provider, deployer statemachine.Deployer, ...) factory.Controller
- func NewPruneController(instanceName string, provider Provider, deployer statemachine.Deployer, ...) factory.Controller
- func NewStateController(instanceName string, provider Provider, deployer statemachine.Deployer, ...) factory.Controller
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConditionController ¶
func NewConditionController( instanceName string, provider Provider, deployer statemachine.Deployer, preconditionsFulfilledFn preconditionsFulfilled, operatorClient operatorv1helpers.OperatorClient, apiServerConfigInformer configv1informers.APIServerInformer, kubeInformersForNamespaces operatorv1helpers.KubeInformersForNamespaces, secretClient corev1client.SecretsGetter, encryptionSecretSelector metav1.ListOptions, eventRecorder events.Recorder, ) factory.Controller
func NewKeyController ¶
func NewKeyController( instanceName string, unsupportedConfigPrefix []string, provider Provider, deployer statemachine.Deployer, preconditionsFulfilledFn preconditionsFulfilled, operatorClient operatorv1helpers.OperatorClient, apiServerClient configv1client.APIServerInterface, apiServerInformer configv1informers.APIServerInformer, kubeInformersForNamespaces operatorv1helpers.KubeInformersForNamespaces, secretClient corev1client.SecretsGetter, encryptionSecretSelector metav1.ListOptions, eventRecorder events.Recorder, ) factory.Controller
func NewMigrationController ¶
func NewMigrationController( instanceName string, provider Provider, deployer statemachine.Deployer, preconditionsFulfilledFn preconditionsFulfilled, migrator migrators.Migrator, operatorClient operatorv1helpers.OperatorClient, apiServerConfigInformer configv1informers.APIServerInformer, kubeInformersForNamespaces operatorv1helpers.KubeInformersForNamespaces, secretClient corev1client.SecretsGetter, encryptionSecretSelector metav1.ListOptions, eventRecorder events.Recorder, ) factory.Controller
func NewPruneController ¶
func NewPruneController( instanceName string, provider Provider, deployer statemachine.Deployer, preconditionsFulfilledFn preconditionsFulfilled, operatorClient operatorv1helpers.OperatorClient, apiServerConfigInformer configv1informers.APIServerInformer, kubeInformersForNamespaces operatorv1helpers.KubeInformersForNamespaces, secretClient corev1client.SecretsGetter, encryptionSecretSelector metav1.ListOptions, eventRecorder events.Recorder, ) factory.Controller
func NewStateController ¶
func NewStateController( instanceName string, provider Provider, deployer statemachine.Deployer, preconditionsFulfilledFn preconditionsFulfilled, operatorClient operatorv1helpers.OperatorClient, apiServerConfigInformer configv1informers.APIServerInformer, kubeInformersForNamespaces operatorv1helpers.KubeInformersForNamespaces, secretClient corev1client.SecretsGetter, encryptionSecretSelector metav1.ListOptions, eventRecorder events.Recorder, ) factory.Controller
Types ¶
type Provider ¶
type Provider interface { // EncryptedGRs returns resources that need to be encrypted EncryptedGRs() []schema.GroupResource // ShouldRunEncryptionControllers indicates whether external preconditions are satisfied so that encryption controllers can start synchronizing ShouldRunEncryptionControllers() (bool, error) }
Provider abstracts external dependencies and preconditions that need to be dynamic during a downgrade/upgrade
Source Files ¶
Click to show internal directories.
Click to hide internal directories.