Documentation ¶
Overview ¶
Package header helps with marshaling and unmarshaling YAML structs together with header fields.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fields ¶
type Fields struct { // When marshaling, use NewStyleAPIVersion and not OldStyleAPIVersion. NewStyleAPIVersion model.String `yaml:"api_version,omitempty"` // OldStyleAPIVersion only exists to handle a legacy naming apiVersion; the // new, more correct name is "api_version". OldStyleAPIVersion model.String `yaml:"apiVersion,omitempty"` // One of "Template", "GoldenTest", etc. Kind model.String `yaml:"kind"` }
Fields is the set of fields that are present in every "kind" of YAML file used in this program.
Click to show internal directories.
Click to hide internal directories.