Documentation
¶
Index ¶
- Constants
- func NewNotReadyCondition(obj client.Object, msg string) metav1.Condition
- func NewNotReadySecretStatusCondition(obj client.Object, msg string) *sopsv1alpha1.SopsSecretItemStatus
- func NewReadyCondition(obj client.Object) metav1.Condition
- func NewReadySecretStatusCondition(obj client.Object) *sopsv1alpha1.SopsSecretItemStatus
Constants ¶
View Source
const ( // ReadyCondition indicates the resource is ready and fully reconciled. // If the Condition is False, the resource SHOULD be considered to be in the process of reconciling and not a // representation of actual state. ReadyCondition string = "Ready" NotReadyCondition string = "NotReady" // SucceededReason indicates a condition or event observed a success. SucceededReason string = "Loaded" // FailedReason indicates a condition or event observed a failure. FailedReason string = "Failed" // FailedReason indicates a condition or event observed a failure. NotSopsEncryptedReason string = "NotSopsEncrypted" // FailedReason indicates a condition or event observed a failure. DecryptionFailedReason string = "DecryptionFailure" // FailedReason indicates a condition or event observed a failure. SecretsReplicationFailedReason string = "ReplicationFailure" )
View Source
const ( // This is mainly to keep reconciles performance. //nolint:gosec KeySecretLabel = "sops.addons.projectcapsule.dev" )
Variables ¶
This section is empty.
Functions ¶
func NewNotReadyCondition ¶
func NewNotReadySecretStatusCondition ¶
func NewNotReadySecretStatusCondition(obj client.Object, msg string) *sopsv1alpha1.SopsSecretItemStatus
func NewReadyCondition ¶
Should be used on translator level.
func NewReadySecretStatusCondition ¶
func NewReadySecretStatusCondition(obj client.Object) *sopsv1alpha1.SopsSecretItemStatus
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.