gcb

package
v0.0.18-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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