Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Debug bool `long:"debug" description:"Outputs more info than usual"`
}
type ConfigFile ¶
type ConfigFile struct { ProductName string `json:"product-name"` ProductProperties map[string]*ConfigFileProperty `json:"product-properties"` }
type ConfigFileProperty ¶
type JobType ¶
type JobType struct { Name string `json:"name"` PropertyBlueprints []TileProperty `json:"property_blueprints"` }
type MetadataCmd ¶
type MetadataCmd interface {
LoadMetadata(target interface{}) error
}
type Option ¶
type Option struct { Name interface{} `json:"name"` Label interface{} `json:"label"` }
type TileConfig ¶
type TileConfig struct {
Tile string `long:"tile" short:"t" description:"path to product file" required:"true"`
}
type TileProperties ¶
type TileProperties struct { Name string `json:"name"` PropertyBlueprints []TileProperty `json:"property_blueprints"` SelectValue string `json:"select_value"` StemcellCriteria map[string]interface{} `json:"stemcell_criteria"` JobTypes []JobType `json:"job_types"` }
type TileProperty ¶
type TileProperty struct { Name string `json:"name"` Type string `json:"type"` Configurable bool `json:"configurable"` Default interface{} `json:"default"` Optional bool `json:"optional"` Options []Option ChildProperties []TileProperties `json:"option_templates"` PropertyBlueprints []TileProperty `json:"property_blueprints"` }
Click to show internal directories.
Click to hide internal directories.