Documentation
¶
Overview ¶
Package ref holds shared contracts for recipe secret backends (similar in role to how honey centralizes crypto provider contracts).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface {
// Name identifies this backend for errors and debugging.
Name() string
// Handles reports whether this backend should resolve ref (typically prefix match).
Handles(ref string) bool
Resolve(ctx context.Context, ref string) (string, error)
}
Backend resolves one family of recipe secret ref prefixes. Implementations live under env/, service/, cloud/, passphrase/, k8s/ — mirroring honey layout.
Click to show internal directories.
Click to hide internal directories.