gcb

package
v0.0.23-rc05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL