resolve

package
v0.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalPath

func CanonicalPath(app, key string) string

func DecodePayload

func DecodePayload(data []byte) (string, error)

func DecodePayloadTyped

func DecodePayloadTyped(data []byte) (string, string, error)

func TemplateReferences

func TemplateReferences(text string, app string) ([]string, error)

Types

type Result

type Result struct {
	Values     map[string]*Value
	App        string
	Identities []age.Identity
}

func Env

func Env(env *yaml.Node, app string, identities []age.Identity) (*Result, error)

func (*Result) AppKeys

func (r *Result) AppKeys() []string

func (*Result) Resolve

func (r *Result) Resolve(path string) error

func (*Result) Value

func (r *Result) Value(path string) (*Value, bool)

type Value

type Value struct {
	Path         string
	App          string
	Raw          string
	Kind         envelope.Kind
	Type         string
	RecipientSet string
	Value        string
	Resolved     string
	References   []string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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