buildbucket

package
Version: v0.0.0-...-51f9457 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package buildbucket is a client library for Buildbucket service.

Index

Constants

View Source
const (
	ExperimentBBCanarySoftware = "luci.buildbucket.canary_software"
	ExperimentNonProduction    = "luci.non_production"

	ExperimentBBAgent   = "luci.buildbucket.use_bbagent"
	ExperimentUseRealms = "luci.use_realms"
)

Well-known experiment strings.

See the Builder.experiments field documentation.

View Source
const BuildTokenHeader = "x-build-token"

BuildTokenHeader is the name of gRPC metadata header indicating the build token (see BuildSecrets.BuildToken). It is required in UpdateBuild RPC. Defined in https://chromium.googlesource.com/infra/infra/+/c189064/appengine/cr-buildbucket/v2/api.py#35

Variables

View Source
var (
	// DisallowedAppendTagKeys is the set of tag keys which cannot be set via
	// UpdateBuild. Clients calling UpdateBuild must strip these before making
	// the request.
	DisallowedAppendTagKeys = stringset.NewFromSlice("build_address", "buildset", "builder")
)

WellKnownExperiments is the list of all well-known experiments.

Functions

func StripDisallowedTagKeys

func StripDisallowedTagKeys(tags *[]*pb.StringPair)

StripDisallowedTagKeys modifies `tags` in-place to remove tags with DisallowedAppendTagKeys keys.

This does not preserve the order of `tags`.

Types

This section is empty.

Source Files

Directories

Path Synopsis
Package access is DEPRECATED.
Package access is DEPRECATED.
appengine
frontend
Package main is the main entry point for the app.
Package main is the main entry point for the app.
model
Package model contains datastore model implementation.
Package model contains datastore model implementation.
rpc
Package rpc contains rpc service implementation.
Package rpc contains rpc service implementation.
tasks
Package tasks contains task queue implementations.
Package tasks contains task queue implementations.
tasks/defs
Package taskdefs contains task queue task definitions.
Package taskdefs contains task queue task definitions.
Package cli implements CLI client for buildbucket service.
Package cli implements CLI client for buildbucket service.
cmd
bb
bbagent
Command bbagent is Buildbucket's agent running in swarming.
Command bbagent is Buildbucket's agent running in swarming.
Package deprecated is deprecated part of the buildbucket library.
Package deprecated is deprecated part of the buildbucket library.
Package buildbucketpb is generated from Buildbucket .proto files.
Package buildbucketpb is generated from Buildbucket .proto files.
Package protoutil provides utility functions for protobuf messages in ../proto package.
Package protoutil provides utility functions for protobuf messages in ../proto package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to