Documentation ¶
Index ¶
- type Config
- type IGAZs
- type IGLinks
- type IGProperties
- type IGStemcell
- type InstanceGroup
- type Job
- type LintableManifest
- type Manifest
- type Network
- type NetworkAssociation
- type RootProperties
- type StaticIPs
- type Stemcell
- type TopLevelJobs
- type TopLevelNetworks
- type VarInterpolation
- type Variable
- type YAMLAnchors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ManifestName check.Config `yaml:"manifest_name"` RootProperties check.Config `yaml:"root_properties"` TopLevelJobs check.Config `yaml:"top_level_jobs"` TopLevelNetworks check.Config `yaml:"top_level_networks"` YAMLAnchors check.Config `yaml:"yaml_anchors"` VarInterpolation check.Config `yaml:"var_interpolation"` StemcellAlias check.Config `yaml:"stemcell_alias"` IGName check.Config `yaml:"instance_group_name"` IGAZs check.Config `yaml:"instance_group_azs"` IGStemcell check.Config `yaml:"instance_group_stemcell"` IGProperties check.Config `yaml:"instance_group_properties"` IGLinks check.Config `yaml:"instance_group_links"` StaticIPs check.Config `yaml:"static_ips"` VariableName check.Config `yaml:"variable_name"` }
type IGAZs ¶
func (IGAZs) Description ¶
func (c IGAZs) Description() check.Description
type IGLinks ¶
todo IGLinks should really be fatally validated in the Director
func NewIGLinks ¶
func (IGLinks) Description ¶
func (c IGLinks) Description() check.Description
type IGProperties ¶
func NewIGProperties ¶
func NewIGProperties(context check.Context, props interface{}, config check.Config) IGProperties
func (IGProperties) Check ¶
func (c IGProperties) Check() ([]check.Suggestion, error)
func (IGProperties) Description ¶
func (c IGProperties) Description() check.Description
type IGStemcell ¶
func NewIGStemcell ¶
func NewIGStemcell(context check.Context, stemcell interface{}, config check.Config) IGStemcell
func (IGStemcell) Check ¶
func (c IGStemcell) Check() ([]check.Suggestion, error)
func (IGStemcell) Description ¶
func (c IGStemcell) Description() check.Description
type InstanceGroup ¶
type InstanceGroup struct { Name string AZs *[]string Stemcell interface{} Properties interface{} Consumes interface{} Provides interface{} Networks []NetworkAssociation }
type LintableManifest ¶
type LintableManifest struct {
// contains filtered or unexported fields
}
func NewLintableManifest ¶
func NewLintableManifest(bytes []byte, config Config) (LintableManifest, error)
func (LintableManifest) Lint ¶
func (m LintableManifest) Lint() ([]check.Description, []check.Suggestion, error)
type NetworkAssociation ¶
type RootProperties ¶
func NewRootProperties ¶
func NewRootProperties(context check.Context, props interface{}, config check.Config) RootProperties
func (RootProperties) Check ¶
func (c RootProperties) Check() ([]check.Suggestion, error)
func (RootProperties) Description ¶
func (c RootProperties) Description() check.Description
type StaticIPs ¶
func NewStaticIPs ¶
func (StaticIPs) Description ¶
func (c StaticIPs) Description() check.Description
type TopLevelJobs ¶
func NewTopLevelJobs ¶
func (TopLevelJobs) Check ¶
func (c TopLevelJobs) Check() ([]check.Suggestion, error)
func (TopLevelJobs) Description ¶
func (c TopLevelJobs) Description() check.Description
type TopLevelNetworks ¶
func NewTopLevelNetworks ¶
func (TopLevelNetworks) Check ¶
func (c TopLevelNetworks) Check() ([]check.Suggestion, error)
func (TopLevelNetworks) Description ¶
func (c TopLevelNetworks) Description() check.Description
type VarInterpolation ¶
func NewVarInterpolation ¶
func (VarInterpolation) Check ¶
func (c VarInterpolation) Check() ([]check.Suggestion, error)
func (VarInterpolation) Description ¶
func (c VarInterpolation) Description() check.Description
type YAMLAnchors ¶
func NewYAMLAnchors ¶
func (YAMLAnchors) Check ¶
func (c YAMLAnchors) Check() ([]check.Suggestion, error)
func (YAMLAnchors) Description ¶
func (c YAMLAnchors) Description() check.Description
Click to show internal directories.
Click to hide internal directories.