helper

package
v1.87.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCARotationPhase

GetCARotationPhase returns the specified garden CA rotation phase or an empty string

func GetETCDEncryptionKeyRotationPhase added in v1.66.0

func GetETCDEncryptionKeyRotationPhase(credentials *operatorv1alpha1.Credentials) gardencorev1beta1.CredentialsRotationPhase

GetETCDEncryptionKeyRotationPhase returns the specified shoot ETCD encryption key rotation phase or an empty string.

func GetServiceAccountKeyRotationPhase added in v1.66.0

func GetServiceAccountKeyRotationPhase(credentials *operatorv1alpha1.Credentials) gardencorev1beta1.CredentialsRotationPhase

GetServiceAccountKeyRotationPhase returns the specified shoot service account key rotation phase or an empty string.

func HighAvailabilityEnabled added in v1.68.0

func HighAvailabilityEnabled(garden *operatorv1alpha1.Garden) bool

HighAvailabilityEnabled returns true if the high-availability is enabled.

func IsObservabilityRotationInitiationTimeAfterLastCompletionTime added in v1.79.0

func IsObservabilityRotationInitiationTimeAfterLastCompletionTime(credentials *operatorv1alpha1.Credentials) bool

IsObservabilityRotationInitiationTimeAfterLastCompletionTime returns true when the lastInitiationTime in the .status.credentials.rotation.observability field is newer than the lastCompletionTime. This is also true if the lastCompletionTime is unset.

func MutateCARotation

func MutateCARotation(garden *operatorv1alpha1.Garden, f func(rotation *gardencorev1beta1.CARotation))

MutateCARotation mutates the .status.credentials.rotation.certificateAuthorities field based on the provided mutation function. If the field is nil then it is initialized.

func MutateETCDEncryptionKeyRotation added in v1.66.0

func MutateETCDEncryptionKeyRotation(garden *operatorv1alpha1.Garden, f func(*gardencorev1beta1.ETCDEncryptionKeyRotation))

MutateETCDEncryptionKeyRotation mutates the .status.credentials.rotation.etcdEncryptionKey field based on the provided mutation function. If the field is nil then it is initialized.

func MutateObservabilityRotation added in v1.79.0

func MutateObservabilityRotation(garden *operatorv1alpha1.Garden, f func(*gardencorev1beta1.ObservabilityRotation))

MutateObservabilityRotation mutates the .status.credentials.rotation.observability field based on the provided mutation function. If the field is nil then it is initialized.

func MutateServiceAccountKeyRotation added in v1.66.0

func MutateServiceAccountKeyRotation(garden *operatorv1alpha1.Garden, f func(*gardencorev1beta1.ServiceAccountKeyRotation))

MutateServiceAccountKeyRotation mutates the .status.credentials.rotation.serviceAccountKey field based on the provided mutation function. If the field is nil then it is initialized.

func TopologyAwareRoutingEnabled added in v1.68.0

func TopologyAwareRoutingEnabled(settings *operatorv1alpha1.Settings) bool

TopologyAwareRoutingEnabled returns true if the topology-aware routing is enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL