Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
func (*FS) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (FS) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*FS) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
type RegexpSlice ¶ added in v1.26.0
func (RegexpSlice) MarshalText ¶ added in v1.26.0
func (s RegexpSlice) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface.
func (RegexpSlice) String ¶ added in v1.26.0
func (s RegexpSlice) String() string
String returns the string representation of the RegexpSlice.
func (*RegexpSlice) UnmarshalJSON ¶ added in v1.26.0
func (s *RegexpSlice) UnmarshalJSON(jsonBytes []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*RegexpSlice) UnmarshalText ¶ added in v1.26.0
func (s *RegexpSlice) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface.
func (*RegexpSlice) UnmarshalYAML ¶ added in v1.26.0
func (s *RegexpSlice) UnmarshalYAML(data *yaml.Node) error
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Secret ¶
type Secret string
Secret represents a secret value that can be a plain string or a file path. If the value starts with "file://", it is treated as a file path, and the secret value is read from the file. The "file://" syntax supports environment variables. For example, "file://$HOME/my_secret.txt" would read the secret from the "my_secret.txt" file in the user's home directory.
func (Secret) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Secret) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface for Secret
func (*Secret) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface for Secret
type StringSlice ¶
type StringSlice []string
func (StringSlice) MarshalText ¶
func (s StringSlice) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface.
func (StringSlice) String ¶
func (s StringSlice) String() string
String returns the string representation of the URL.
func (*StringSlice) UnmarshalJSON ¶
func (s *StringSlice) UnmarshalJSON(jsonBytes []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*StringSlice) UnmarshalText ¶
func (s *StringSlice) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface.
func (*StringSlice) UnmarshalYAML ¶ added in v1.26.0
func (s *StringSlice) UnmarshalYAML(data *yaml.Node) error
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Template ¶
func NewTemplate ¶
func (*Template) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Template) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Template) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
type URL ¶
func (*URL) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (URL) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface.
func (*URL) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.