Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployParams ¶
type DeployParams struct {
Environment string
Branch string
Tags string
DeploymentBranch string
InitiatedBy string
From string
// contains filtered or unexported fields
}
func (*DeployParams) ParsedDeploymentBranch ¶
func (p *DeployParams) ParsedDeploymentBranch(branch string) string
ParsedDeploymentBranch returns the default, or a user-specified branch name used in the `deployment/` repo.
func (*DeployParams) ParsedTags ¶
func (p *DeployParams) ParsedTags() string
ParsedTags returns *default* or user-specified tags
func (*DeployParams) String ¶
func (p *DeployParams) String() string
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
func (*Deployer) ChatHandler ¶
func (*Deployer) InitPlugin ¶
type DeployerConfig ¶
type DeployerConfig struct {
RepositoryPath string `json:"repository_path" mapstructure:"repository_path"`
AnnounceRoom string `json:"announce_room" mapstructure:"announce_room"`
ProgressRoom string `json:"progress_room" mapstructure:"progress_room"`
DefaultDeploymentBranch string `json:"default_deployment_branch" mapstructure:"default_deployment_branch"`
DefaultStreambedBranch string `json:"default_streambed_branch" mapstructure:"default_streambed_branch"`
AllowedProdBranches []string `json:"allowed_prod_branches" mapstructure:"allowed_prod_branches"`
}
Click to show internal directories.
Click to hide internal directories.