Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlackMesseger ¶
type SlackMesseger struct { Callback *slack.InteractionCallback Slacker *slacker.Slacker }
type Stage ¶
type Stage struct { Stage string `mapstructure:"stage" validate:"nonzero"` ID string `mapstructure:"id,omitempty" validate:"nonzero,nowhitespace"` Script []string `mapstructure:"script" validate:"nonzero"` If string `mapstructure:"if,omitempty"` Clean bool `mapstructure:"clean,omitempty"` Env []Env `mapstructure:"env,omitempty"` Artifacts []string `mapstructure:"artifacts,omitempty"` Image string `mapstructure:"image,omitempty"` Needs string `mapstructure:"needs,omitempty" validate:"nowhitespace"` Import []Import `mapstructure:"import,omitempty"` }
type Workflow ¶
type Workflow struct { ID string `mapstructure:"id" validate:"nonzero,nowhitespace"` Image string `mapstructure:"image" validate:"nonzero,nowhitespace"` Description string `mapstructure:"description"` Env []Env `mapstructure:"env"` Input []Input `mapstructure:"input"` // Mount bool `mapstructure:"mount"` Stages []Stage `mapstructure:"stages" validate:"nonzero"` Repo string `mapstructure:"repository,omitempty"` // To be filled automatically. Not part of YAML. // contains filtered or unexported fields }
type WorkflowArgument ¶
type WorkflowArgument struct { Repo string `json:"repo" xml:"repo" form:"repo" query:"repo" mapstructure:"repo" validate:"nonzero"` Workflow string `json:"workflow" xml:"workflow" form:"workflow" query:"workflow" mapstructure:"workflow" validate:"nonzero"` Args map[string]string `json:"args" xml:"args" form:"args" query:"args" mapstructure:"args" validate:"nonzero"` }
type WorkflowQuery ¶
Click to show internal directories.
Click to hide internal directories.