runner

package
v0.7.19 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package runner resolves skill-declared secrets from environment variables in the form CRONFOUNDRY_SECRET_<UPPER(name)>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver looks up skill secrets from an environment snapshot.

func New

func New(env map[string]string) *Resolver

New returns a Resolver backed by the given environment map, typically the process environment parsed into key/value form.

func (*Resolver) AllValues

func (r *Resolver) AllValues() []string

AllValues returns every secret value known to the resolver, for use by the redactor. Order is not guaranteed.

func (*Resolver) Get

func (r *Resolver) Get(name string) (string, error)

Get returns the value of the named secret, or an error naming the missing environment variable the caller must export.

Jump to

Keyboard shortcuts

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