secrets

package
v0.0.0-...-a618dbc Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver interface {
	Resolve(ctx context.Context, path string) (string, error)
}

type Secret

type Secret struct {
	Path  string
	Value string
}

func (*Secret) Resolve

func (s *Secret) Resolve(ctx context.Context, resolver Resolver) (string, error)

func (Secret) String

func (s Secret) String() string

func (*Secret) UnmarshalYAML

func (s *Secret) UnmarshalYAML(node *yaml.Node) error

type Secrets

type Secrets struct {
	Path string
	// contains filtered or unexported fields
}

func (*Secrets) Get

func (s *Secrets) Get(key string) *Secret

func (*Secrets) UnmarshalYAML

func (s *Secrets) UnmarshalYAML(node *yaml.Node) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳