Documentation
¶
Overview ¶
Package envstore persists plaintext managed environment values. It has no dependency on secret backends or unlock credentials.
Index ¶
Constants ¶
View Source
const FileName = "env.yaml"
Variables ¶
View Source
var (
ErrNotFound = errors.New("environment variable not found")
)
Functions ¶
func ValidateName ¶
Types ¶
type BatchStore ¶
type BatchStore interface {
EnvStore
DeleteValues(contextName string, names []string) error
RestoreValues(contextName string, values []EnvValue) error
}
BatchStore extends environment CRUD with atomic mutations used when a caller must compensate another store's failed operation. Snapshots stay in memory.
Click to show internal directories.
Click to hide internal directories.