ado

package
v1.226.0-protecode-cus... Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildClient

type BuildClient interface {
	UpdateVariables(variables []Variable) error
}

func NewBuildClient

func NewBuildClient(organization string, personalAccessToken string, project string, pipelineID int) (BuildClient, error)

NewBuildClient Create a client to interact with the Build area

type BuildClientImpl

type BuildClientImpl struct {
	// contains filtered or unexported fields
}

func (*BuildClientImpl) UpdateVariables

func (bc *BuildClientImpl) UpdateVariables(variables []Variable) error

UpdateVariables updates variables in build definition or creates them if they are missing

type Variable

type Variable struct {
	Name          string
	Value         string
	IsSecret      bool
	AllowOverride bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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