Documentation ¶
Overview ¶
Package gcb helps with Google cloud build
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters ¶
type Parameters struct { BuildTimeout string `yaml:"buildTimeout" valid:"isNotZeroValue"` DeployIAMServiceAccount bool DeployIAMBindings bool ServiceAccountBindings struct { GRM grm.Bindings IAM iamgt.Bindings } `yaml:"serviceAccountBindings"` }
Parameters structure
type TriggerDeployment ¶
type TriggerDeployment struct { Artifacts struct { ProjectsTriggersService *cloudbuild.ProjectsTriggersService `yaml:"-"` BuildTrigger cloudbuild.BuildTrigger } Core *deploy.Core Settings struct { Service struct { GCB Parameters } } }
TriggerDeployment settings and artifacts structure
func NewTriggerDeployment ¶
func NewTriggerDeployment() *TriggerDeployment
NewTriggerDeployment create deployment structure
func (*TriggerDeployment) Deploy ¶
func (triggerDeployment *TriggerDeployment) Deploy() (err error)
Deploy delete is exist, then create a cloud build trigger to deploy a microservice instance
Click to show internal directories.
Click to hide internal directories.