Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ErrMalformedV1_0_0YamlPrefix is just the prefix to the error message for when the program is unable to parse // data into the v1.0.0 yaml struct. ErrMalformedV1_0_0YamlPrefix = "Unable to parse yaml data" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct { Certifications []common.Entry `yaml:"certifications"` Systems []common.Entry `yaml:",flow"` Standards []common.Entry `yaml:",flow"` }
Dependencies contains all the dependencies for the system
type Metadata ¶
type Metadata struct { Description string `yaml:"description"` Maintainers []string `yaml:",flow"` }
Metadata contains metadata about the system.
type Schema ¶
type Schema struct { common.Base `yaml:",inline"` Meta Metadata `yaml:"metadata"` Name string `yaml:"name"` Components []string `yaml:",flow"` Certifications []string `yaml:",flow"` Standards []string `yaml:",flow"` Dependencies Dependencies `yaml:"dependencies"` // contains filtered or unexported fields }
Schema contains the structs for the v1.0.0 schema
func (*Schema) GetResources ¶
GetResources will download all the resources that are specified by the v1.0.0 of the schema first by copying the local resources then downloading the remote ones and letting their respective schema version handle how to get their resources.
Click to show internal directories.
Click to hide internal directories.