Documentation
¶
Index ¶
Constants ¶
View Source
const ( RootStructNameGeneralConfig = "GeneralConfig" RootStructNameSecretsConfig = "SecretsConfig" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Structs ¶
type Structs struct {
// GeneralConfig and SecretsConfig are called the root structs,
// corresponding to the general.yaml and secrets.yaml files respectively.
Roots []*Struct
All map[string]*Struct
}
func NewStructsFromAST ¶
func (*Structs) ResolveEmbeddedStructFields ¶
func (structs *Structs) ResolveEmbeddedStructFields()
For each struct, we remove the embedded struct fields, and add the corresponding promoted fields.
Click to show internal directories.
Click to hide internal directories.