secrets

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretsPath string = "/run/secrets"
)

Variables

View Source
var (
	ErrNoPathSet      = errors.Base("no secrets path set")
	ErrZeroLengthFile = errors.Base("file has zero length")
	ErrFileNotFound   = errors.Base("file not found")
	ErrNotAFile       = errors.Base("not a file")
)

Functions

This section is empty.

Types

type Secret

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

func Make

func Make(file string) *Secret

func New

func New() *Secret

func (*Secret) Path

func (s *Secret) Path() string

func (*Secret) Probe

func (s *Secret) Probe() error

func (*Secret) Value

func (s *Secret) Value() string

Jump to

Keyboard shortcuts

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