Discover Packages
github.com/jtarchie/tile-builder
manifest
package
Version:
v0.0.0-...-c746026
Opens a new window with list of versions in this module.
Published: Jun 16, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Features struct {
ConvergeVariables bool `yaml:"converge_variables"`
RandomizeAZPlacement bool `yaml:"randomize_az_placement"`
UseDNSAddresses bool `yaml:"use_dns_addresses"`
UseTmpfsConfig bool `yaml:"use_tmpfs_config"`
UseShortDNSAddresses bool `yaml:"use_short_dns_addresses"`
}
type Payload struct {
Name string `validate:"required"`
Features Features `yaml:",omitempty"`
Releases []Release `validate:"required,dive"`
Stemcells []Stemcell `validate:"required,dive"`
}
func (p *Payload ) Validate() (validator.ValidationErrorsTranslations, error )
type Release struct {
Name string `validate:"required"`
Version string `validate:"required"`
URL string `yaml:",omitempty"`
SHA1 string `yaml:"sha1,omitempty"`
Stemcell []ReleaseStemcell `yaml:",omitempty" validate:"dive"`
ExportedFrom []ReleaseStemcell `yaml:"exported_from,omitempty" validate:"dive"`
}
type ReleaseStemcell struct {
Name string `validate:"required"`
Version string `validate:"required"`
}
type Stemcell struct {
Alias string `validate:"required"`
OS string `yaml:",omitempty" validate:"required_without=Name"`
Version string `validate:"required"`
Name string `yaml:",omitempty" validate:"required_without=OS"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.