Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Asset ¶
type Asset struct { // AssetURL is a template for Build artifact's publicly available URL, // from where sensu-go agent will be able to download URLs. // There is no default, and this is a required parameter. AssetURL string `yaml:"asset_url"` // Build specifies which build name should be added to the asset. // There is no default, and this is a required parameter. Build string // ID contains the artifact's name used by later stages of the build // pipeline. Archives, and Publishes may refer to this name for // referencing build results. // Default: "sensu-asset". ID string // Output is where the checksum file is going to be created // Default: "{{.ProjectName}}-{{.Version}}-asset.yml" Output string }
type AssetSpec ¶
type AssetSpec struct { Type string `yaml:"type"` APIVersion string `yaml:"api_version"` Metadata MetadataSpec `yaml:"metadata"` Spec struct { Builds []*BuildSpec `yaml:"builds"` } `yaml:"spec"` }
func NewAssetSpec ¶
Click to show internal directories.
Click to hide internal directories.