secrets

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct{}

Environment resolves workflow secrets from process environment variables.

func (Environment) Resolve

func (Environment) Resolve(name string) (string, error)

Resolve returns the value of the named environment variable.

type SecretResolver

type SecretResolver interface {
	Resolve(name string) (string, error)
}

SecretResolver resolves a named secret for workflow configuration.

Implementations must not include resolved secret values in returned errors. Returning the secret name in an error is acceptable.

Jump to

Keyboard shortcuts

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