ref

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL