Documentation ¶
Index ¶
Constants ¶
View Source
const ( FunctionBuild = "build" FunctionRebuild = "rebuild" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildData ¶
type BuildData struct { JobName string `yaml:"job_name"` Limit int `yaml:"limit"` Parameters map[string]string `yaml:"parameters"` }
build data
type PluginConfig ¶
type PluginConfig struct { ServerURL string `yaml:"server_url"` Insecure bool `yaml:"insecure"` Username string `yaml:"username"` Password string `yaml:"password"` Timeout time.Duration `yaml:"timeout"` }
plugin configuration
type ProviderConfig ¶
type ProviderConfig struct { Function string `yaml:"function"` Config TaskConfig `yaml:"config"` Data []interface{} `yaml:"data"` }
Provider configuration
func (*ProviderConfig) GetBuildData ¶
func (p *ProviderConfig) GetBuildData() ([]BuildData, error)
converts the data to build data
Click to show internal directories.
Click to hide internal directories.