Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryError ¶
type EntryError struct { // Key the secret key Key string // Properties property names for the key Properties []string }
EntryError represents the missing entries
type Options ¶
type Options struct { SecretClient extsecrets.Interface KubeClient kubernetes.Interface Namespace string // ExternalSecrets the loaded secrets ExternalSecrets []*v1alpha1.ExternalSecret }
Options options for verifying secrets
func (*Options) Verify ¶
func (o *Options) Verify() ([]*SecretError, error)
type SecretError ¶
type SecretError struct { // ExternalSecret the external secret which is not valid ExternalSecret v1alpha1.ExternalSecret // EntryErrors the errors for each secret entry EntryErrors []*EntryError }
SecretError returns an error for a secret
func VerifySecret ¶
func VerifySecret(es *v1alpha1.ExternalSecret, secret *corev1.Secret) (*SecretError, error)
VerifySecret verifies the secret
type SecretPair ¶
type SecretPair struct { // ExternalSecret the external secret which is not valid ExternalSecret v1alpha1.ExternalSecret // Secret the secret if there is one Secret *corev1.Secret }
SecretPair the external secret and the associated Secret an error for a secret
Click to show internal directories.
Click to hide internal directories.