core

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 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 MapOrEnvArray

type MapOrEnvArray map[string]ValueOrSecret

MapOrEnvArray represents a map or an array of strings as environment variables.

func (MapOrEnvArray) MarshalYAML

func (m MapOrEnvArray) MarshalYAML() (interface{}, error)

MarshalYAML implements the Marshaler interface.

func (*MapOrEnvArray) UnmarshalYAML

func (m *MapOrEnvArray) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the Unmarshaler interface.

type Strings

type Strings []string

Strings represents a list of strings.

func (Strings) MarshalYAML

func (s Strings) MarshalYAML() (interface{}, error)

MarshalYAML implements the Marshaler interface that will write string for single value or array of strings.

func (*Strings) UnmarshalYAML

func (s *Strings) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the Unmarshaler interface that accepts either single string or array of strings.

type ValueOrSecret

type ValueOrSecret struct {
	Value  string
	Secret string
}

Jump to

Keyboard shortcuts

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