Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSecretRef ¶
IsSecretRef reports whether value is a secret reference (op:// prefix).
func ResolveAll ¶
func ResolveAll(ctx context.Context, vars map[string]string, resolver Resolver) (map[string]string, error)
ResolveAll resolves op:// references in a map. Non-reference values pass through unchanged. If resolver is nil, uses OpResolver. Returns the original map if no references are found.
Types ¶
type OpResolver ¶
type OpResolver struct {
// contains filtered or unexported fields
}
OpResolver resolves references via `op read <ref>`.
Click to show internal directories.
Click to hide internal directories.