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"` ServiceAccountBindings struct { ResourceManager grm.Bindings `yaml:"resourceManager"` IAM iam.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 create or update a cloud build trigger to deploy a microservice instance
Click to show internal directories.
Click to hide internal directories.