Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Releases []ConfigRelease `yaml:"releases"`
}
type ConfigRelease ¶
type ConfigRelease struct { Crontab string `yaml:"crontab"` Project *string `yaml:"project"` Environments []string `yaml:"environments"` Trigger string `yaml:"trigger"` AutoApprove bool `yaml:"autoApprove"` ReleaseDefinitions struct { SearchText *string `yaml:"searchText"` ArtifactType *string `yaml:"artifactType"` ArtifactSourceId *string `yaml:"artifactSourceId"` Path *string `yaml:"path"` IsExactNameMatch *bool `yaml:"isExactNameMatch"` TagFilter *[]string `yaml:"tagFilter"` DefinitionIdFilter *[]string `yaml:"definitionIdFilter"` SearchTextContainsFolderName *bool `yaml:"searchTextContainsFolderName"` } `yaml:"releaseDefinitions"` }
type Opts ¶
type Opts struct { // general settings DryRun bool `long:"dry-run" env:"DRY_RUN" description:"Dry run (no redeploy triggered)"` ConfigPath string `long:"config" env:"CONFIG" description:"Config file (yaml)" required:"true"` Singleshot bool `long:"singleshot" env:"SINGLESHOT" description:"Trigger deployments and exit (ignoring cron)"` // logger Logger struct { Debug bool ` long:"debug" env:"DEBUG" description:"debug mode"` Verbose bool `short:"v" long:"verbose" env:"VERBOSE" description:"verbose mode"` LogJson bool ` long:"log.json" env:"LOG_JSON" description:"Switch log output to json format"` } // azuredevops AzureDevops OptsAzureDevops // notification Notification OptsNotification // server settings ServerBind string `long:"bind" env:"SERVER_BIND" description:"Server address" default:":8080"` }
type OptsAzureDevops ¶
type OptsNotification ¶
Click to show internal directories.
Click to hide internal directories.