unversioned

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiSourceValue

type MultiSourceValue struct {
	// Env is the name of environment variable to read value from
	Env string `json:"env,omitempty"`
	// Path is the path to the file to read value from
	Path string `json:"path,omitempty"`
	// Value is the literal value
	Value string `json:"value,omitempty"`
}

MultiSourceValue defines a type with multiple value sources

func (MultiSourceValue) IsEmpty

func (v MultiSourceValue) IsEmpty() bool

IsEmpty determines if this multi-source value is empty

func (*MultiSourceValue) Set

func (v *MultiSourceValue) Set(value string)

Set sets the literal value for the multi-source value

Jump to

Keyboard shortcuts

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