Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEncryptionConfigAndState ¶
func GetEncryptionConfigAndState( deployer Deployer, secretClient corev1client.SecretsGetter, encryptionSecretSelector metav1.ListOptions, encryptedGRs []schema.GroupResource, ) (current *apiserverconfigv1.EncryptionConfiguration, desired map[schema.GroupResource]state.GroupResourceState, secretsFound bool, transitioningReason string, err error)
Types ¶
type Deployer ¶
type Deployer interface { // DeployedEncryptionConfigSecret returns the deployed encryption config and whether all // instances of the operand have acknowledged it. DeployedEncryptionConfigSecret() (secret *corev1.Secret, converged bool, err error) // AddEventHandler registers a event handler whenever the backing resource change // that might influence the result of DeployedEncryptionConfigSecret. AddEventHandler(handler cache.ResourceEventHandler) []cache.InformerSynced }
Deployer abstracts the deployment machanism like the static pod controllers.
Click to show internal directories.
Click to hide internal directories.