Documentation ¶
Overview ¶
Package gcb helps with cloudbuild triggers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TriggerDeployment ¶
type TriggerDeployment struct { Artifacts struct { Ctx context.Context `yaml:"-"` BuildTrigger cloudbuild.BuildTrigger EnvironmentName string InstanceName string ServiceName string ProjectsTriggersService *cloudbuild.ProjectsTriggersService } Settings struct { Solution ram.SolutionSettings Service struct { GCB struct { BuildTimeout string `yaml:"buildTimeout"` } } } }
TriggerDeployment settings and artifacts structure
func NewTriggerDeployment ¶
func NewTriggerDeployment() *TriggerDeployment
NewTriggerDeployment create deployment structure
func (*TriggerDeployment) CleanCreateInstanceTrigger ¶
func (triggerDeployment *TriggerDeployment) CleanCreateInstanceTrigger() (err error)
CleanCreateInstanceTrigger create or update a cloud build trigger to deploy a microservice instance
Click to show internal directories.
Click to hide internal directories.