Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶ added in v0.20.0
type Bool struct {
// contains filtered or unexported fields
}
Bool is a YAML bool. It supports YAML serialization and deserialization.
During deserialization it replaces env. variable references with the corresponding values from the environment.
However, it preserves the YAML representation and does not serialize any value from the environment.
func (Bool) MarshalYAML ¶ added in v0.20.0
MarshalYAML returns the Bool's YAML representation.
func (*Bool) UnmarshalYAML ¶ added in v0.20.0
UnmarshalYAML uses the unmarhsal function to unmarshal a YAML block into the Bool.
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
It supports YAML serialization and deserialization.
During deserialization it replaces env. variable references with the corresponding values from the environment.
However, it preserves the YAML representation and does not serialize any value from the environment.
func (Duration) MarshalYAML ¶
MarshalYAML returns the Duration's YAML representation.
func (*Duration) UnmarshalYAML ¶
UnmarshalYAML uses the unmarhsal function to unmarshal a YAML block into the Duration.
type Identity ¶
type Identity struct {
// contains filtered or unexported fields
}
Identity is a KES identity. It supports YAML serialization and deserialization.
During deserialization it replaces env. variable references with the corresponding values from the environment.
However, it preserves the YAML representation and does not serialize any value from the environment.
func (Identity) MarshalYAML ¶
MarshalYAML returns the Identity's YAML representation.
func (*Identity) UnmarshalYAML ¶
UnmarshalYAML uses the unmarhsal function to unmarshal a YAML block into the Identity.
type String ¶
type String struct {
// contains filtered or unexported fields
}
String is a YAML string. It supports YAML serialization and deserialization.
During deserialization it replaces env. variable references with the corresponding values from the environment.
However, it preserves the YAML representation and does not serialize any value from the environment.
func (String) MarshalYAML ¶
MarshalYAML returns the String's YAML representation.
func (*String) UnmarshalYAML ¶
UnmarshalYAML uses the unmarhsal function to unmarshal a YAML block into the String.