Documentation
¶
Index ¶
- func AreSecretsEqual(secret corev1.Secret, other corev1.Secret) bool
- func NewSecret(name string, namespace string, data map[string][]byte) *corev1.Secret
- func ValidateCertificateExpiration(certData []byte, renewalThreshold time.Duration, now time.Time) (bool, error)
- type SecretQuery
- func (query SecretQuery) Create(ctx context.Context, secret corev1.Secret) error
- func (query SecretQuery) CreateOrUpdate(ctx context.Context, secret corev1.Secret) error
- func (query SecretQuery) Get(ctx context.Context, objectKey client.ObjectKey) (corev1.Secret, error)
- func (query SecretQuery) Update(ctx context.Context, secret corev1.Secret) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecretQuery ¶
type SecretQuery struct {
// contains filtered or unexported fields
}
func NewSecretQuery ¶
func (SecretQuery) CreateOrUpdate ¶
Click to show internal directories.
Click to hide internal directories.