package
0.1.3
Repository: https://github.com/postfinance/secfs.git
Documentation: pkg.go.dev

# Functions

New returns a Backend.
NewFakeClientset returns a fake clientset for testing.
WithIgnoreAnnotation configures the backend to ignore if the secret is managed with secfs or not.
WithSecretLabels configures a custom secret labels.
WithSecretPrefix configures a custom secret prefix.
WithSecretSuffix configures a custom secret prefix.
WithTimeout configures a custom request timeout.

# Constants

AnnotationKey is the name of the secfs annotation.
AnnotationValue is the secfs version.
DefaultRequestTimeout for k8s requests.
Constants for testing with fake backend.
Constants for testing with fake backend.
ModTimeKey is the name of the modification time annotation.

# Variables

ErrNotManaged for secrets not managed with secfs.

# Interfaces

Backend is the interface that groups the basic Create, Get, Update and Delete methods.
Metadata is the interface for basic metadata information.
Secret is the interface that abstracts the Kubernetes secret.

# Type aliases

Option represents a functional Option.