Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_milo_api_config_project_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_milo_api_config_settings_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BugTemplate

type BugTemplate struct {
	Summary         string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
	Description     string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	MonorailProject string `protobuf:"bytes,3,opt,name=monorail_project,json=monorailProject,proto3" json:"monorail_project,omitempty"`
	// Components identifies the monorail component(s) that the bug should
	// exist under in the hierarchical ">" separated format. For example:
	// "Infra>Client>ChromeOS>CI"
	Components []string `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

BugTemplate defines how to make custom bug links to file Monorail bugs. The intention is for this to be used to insert a bug into a triage queue. The "summary" and "description" fields are templates for generating summary and description text, respectively. The template fields are interpolated with values specific to the context. See https://golang.org/pkg/text/template for the full template specification.

func (*BugTemplate) Descriptor

func (*BugTemplate) Descriptor() ([]byte, []int)

Deprecated: Use BugTemplate.ProtoReflect.Descriptor instead.

func (*BugTemplate) FromProperty

func (p *BugTemplate) FromProperty(prop datastore.Property) error

FromProperty implements datastore.PropertyConverter. It parses a '[]byte' into an embedded 'BugTemplate' when used with the "go.chromium.org/luci/gae" library.

func (*BugTemplate) GetComponents

func (x *BugTemplate) GetComponents() []string

func (*BugTemplate) GetDescription

func (x *BugTemplate) GetDescription() string

func (*BugTemplate) GetMonorailProject

func (x *BugTemplate) GetMonorailProject() string

func (*BugTemplate) GetSummary

func (x *BugTemplate) GetSummary() string

func (*BugTemplate) ProtoMessage

func (*BugTemplate) ProtoMessage()

func (*BugTemplate) ProtoReflect

func (x *BugTemplate) ProtoReflect() protoreflect.Message

func (*BugTemplate) Reset

func (x *BugTemplate) Reset()

func (*BugTemplate) String

func (x *BugTemplate) String() string

func (*BugTemplate) ToProperty

func (p *BugTemplate) ToProperty() (prop datastore.Property, err error)

ToProperty implements datastore.PropertyConverter. It causes an embedded 'BugTemplate' to serialize to an unindexed '[]byte' when used with the "go.chromium.org/luci/gae" library.

type Builder

type Builder struct {

	// Name is the BuilderID of the builders you wish to display for this column
	// in the console. e.g.
	//   * "buildbucket/luci.chromium.try/linux_chromium_rel_ng"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Category describes the hierarchy of the builder on the header of the
	// console as a "|" delimited list.  Neighboring builders with common ancestors
	// will be have their headers merged.
	// In expanded view, each leaf category OR builder under a non-leaf category
	// will have it's own column.  The recommendation for maximum densification
	// is not to mix subcategories and builders for children of each category.
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// ShortName is shorter name of the builder.
	// The recommendation is to keep this name as short as reasonable,
	// as longer names take up more horizontal space.
	ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
	// contains filtered or unexported fields
}

Builder is a reference to a Milo builder.

func (*Builder) Descriptor

func (*Builder) Descriptor() ([]byte, []int)

Deprecated: Use Builder.ProtoReflect.Descriptor instead.

func (*Builder) GetCategory

func (x *Builder) GetCategory() string

func (*Builder) GetName

func (x *Builder) GetName() string

func (*Builder) GetShortName

func (x *Builder) GetShortName() string

func (*Builder) ParseCategory

func (b *Builder) ParseCategory() []string

ParseCategory takes a Builder's Category and parses it into a list of subcategories. The top-level category is listed first.

func (*Builder) ProtoMessage

func (*Builder) ProtoMessage()

func (*Builder) ProtoReflect

func (x *Builder) ProtoReflect() protoreflect.Message

func (*Builder) Reset

func (x *Builder) Reset()

func (*Builder) String

func (x *Builder) String() string

type Console

type Console struct {

	// Id is the reference to the console. The console will be visible at the
	// following URL: /p/<Project>/g/<ID>/console.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name is the longform name of the waterfall, and will be used to be
	// displayed in the title.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// RepoUrl is the URL of the git repository to display as the rows of the console.
	RepoUrl string `protobuf:"bytes,3,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"`
	// Refs are the refs to pull commits from when displaying the console.
	//
	// Users can specify a regular expression to match several refs using
	// "regexp:" prefix, but the regular expression must have:
	//   * a literal prefix with at least two slashes present, e.g.
	//     "refs/release-\d+/foobar" is not allowed, because the literal prefix
	//     "refs/release-" only contains one slash, and
	//   * must not start with ^ or end with $ as they are added automatically.
	//
	// For best results, ensure each ref's has commit's **committer** timestamp
	// monotonically non-decreasing. Gerrit will take care of this if you require
	// each commmit to go through Gerrit by prohibiting "git push" on these refs.
	//
	// Eg. refs/heads/main, regexp:refs/branch-heads/\d+\.\d+
	Refs []string `protobuf:"bytes,14,rep,name=refs,proto3" json:"refs,omitempty"`
	// ExcludeRef is a ref, commits from which are ignored even when they are
	// reachable from the ref specified above. This must be specified as a single
	// fully-qualified ref, i.e. regexp syntax from above is not supported.
	//
	// Note: force pushes to this ref are not supported. Milo uses caching
	// assuming set of commits reachable from this ref may only grow, never lose
	// some commits.
	//
	// E.g. the config below allows to track commits from all release branches,
	// but ignore the commits from the main branch, from which these release
	// branches are branched off:
	//   ref: "regexp:refs/branch-heads/\d+\.\d+"
	//   exlude_ref: "refs/heads/main"
	ExcludeRef string `protobuf:"bytes,13,opt,name=exclude_ref,json=excludeRef,proto3" json:"exclude_ref,omitempty"`
	// ManifestName the name of the manifest the waterfall looks at.
	// This should always be "REVISION".
	// In the future, other manifest names can be supported.
	// TODO(hinoka,iannucci): crbug/832893 - Support custom manifest names, such as "UNPATCHED" / "PATCHED".
	ManifestName string `protobuf:"bytes,5,opt,name=manifest_name,json=manifestName,proto3" json:"manifest_name,omitempty"`
	// Builders is a list of builder configurations to display as the columns of the console.
	Builders []*Builder `protobuf:"bytes,6,rep,name=builders,proto3" json:"builders,omitempty"`
	// FaviconUrl is the URL to the favicon for this console page.
	// This field is optional. The favicon URL must have a host of
	// storage.googleapis.com.
	FaviconUrl string `protobuf:"bytes,7,opt,name=favicon_url,json=faviconUrl,proto3" json:"favicon_url,omitempty"`
	// Header is a collection of links, rotation information, and console summaries
	// displayed under the tree status but above the main console content.
	Header *Header `protobuf:"bytes,9,opt,name=header,proto3" json:"header,omitempty"`
	// HeaderId is a reference to a header.  Only one of Header or HeaderId should
	// be specified.
	HeaderId string `protobuf:"bytes,10,opt,name=header_id,json=headerId,proto3" json:"header_id,omitempty"`
	// If true, this console will not filter out builds marked as Experimental.
	// This field is optional. By default Consoles only show production builds.
	IncludeExperimentalBuilds bool `` /* 140-byte string literal not displayed */
	// If true, only builders view will be available. Console view (i.e. git log
	// based view) will be disabled and users redirected to builder view.
	// Defaults to false.
	BuilderViewOnly bool `protobuf:"varint,12,opt,name=builder_view_only,json=builderViewOnly,proto3" json:"builder_view_only,omitempty"`
	// If set, will change the default number of commits to query on a single page.
	// If not set, will default to 50.
	DefaultCommitLimit int32 `protobuf:"varint,15,opt,name=default_commit_limit,json=defaultCommitLimit,proto3" json:"default_commit_limit,omitempty"`
	// If set, will default the console page to expanded view.
	// If not set, will default to collapsed view.
	DefaultExpand bool `protobuf:"varint,16,opt,name=default_expand,json=defaultExpand,proto3" json:"default_expand,omitempty"`
	// ExternalProject indicates that this is not a new console, but an external
	// one that should be included from the specified project.
	// If this is set, ExternalId must also be set, and no other fields must be
	// set except for Id and Name.
	ExternalProject string `protobuf:"bytes,17,opt,name=external_project,json=externalProject,proto3" json:"external_project,omitempty"`
	// ExternalId indicates that this is not a new console, but an external one
	// with the specified ID that should be included from ExternalProject.
	// If this is set, ExternalProject must also be set, and no other fields must
	// be set except for Id and Name.
	ExternalId string `protobuf:"bytes,18,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	// Realm that the console exists under.
	// See https://chromium.googlesource.com/infra/luci/luci-py/+/HEAD/appengine/auth_service/proto/realms_config.proto
	Realm string `protobuf:"bytes,19,opt,name=realm,proto3" json:"realm,omitempty"`
	// contains filtered or unexported fields
}

Console is a waterfall definition consisting of one or more builders.

func (*Console) AllBuilderIDs

func (c *Console) AllBuilderIDs() []string

AllBuilderIDs returns all BuilderIDs mentioned by this Console.

func (*Console) Descriptor

func (*Console) Descriptor() ([]byte, []int)

Deprecated: Use Console.ProtoReflect.Descriptor instead.

func (*Console) FromProperty

func (p *Console) FromProperty(prop datastore.Property) error

FromProperty implements datastore.PropertyConverter. It parses a '[]byte' into an embedded 'Console' when used with the "go.chromium.org/luci/gae" library.

func (*Console) GetBuilderViewOnly

func (x *Console) GetBuilderViewOnly() bool

func (*Console) GetBuilders

func (x *Console) GetBuilders() []*Builder

func (*Console) GetDefaultCommitLimit

func (x *Console) GetDefaultCommitLimit() int32

func (*Console) GetDefaultExpand

func (x *Console) GetDefaultExpand() bool

func (*Console) GetExcludeRef

func (x *Console) GetExcludeRef() string

func (*Console) GetExternalId

func (x *Console) GetExternalId() string

func (*Console) GetExternalProject

func (x *Console) GetExternalProject() string

func (*Console) GetFaviconUrl

func (x *Console) GetFaviconUrl() string

func (*Console) GetHeader

func (x *Console) GetHeader() *Header

func (*Console) GetHeaderId

func (x *Console) GetHeaderId() string

func (*Console) GetId

func (x *Console) GetId() string

func (*Console) GetIncludeExperimentalBuilds

func (x *Console) GetIncludeExperimentalBuilds() bool

func (*Console) GetManifestName

func (x *Console) GetManifestName() string

func (*Console) GetName

func (x *Console) GetName() string

func (*Console) GetRealm

func (x *Console) GetRealm() string

func (*Console) GetRefs

func (x *Console) GetRefs() []string

func (*Console) GetRepoUrl

func (x *Console) GetRepoUrl() string

func (*Console) ProtoMessage

func (*Console) ProtoMessage()

func (*Console) ProtoReflect

func (x *Console) ProtoReflect() protoreflect.Message

func (*Console) Reset

func (x *Console) Reset()

func (*Console) String

func (x *Console) String() string

func (*Console) ToProperty

func (p *Console) ToProperty() (prop datastore.Property, err error)

ToProperty implements datastore.PropertyConverter. It causes an embedded 'Console' to serialize to an unindexed '[]byte' when used with the "go.chromium.org/luci/gae" library.

type ConsoleSummaryGroup

type ConsoleSummaryGroup struct {

	// Title is a name or label for this group of consoles.  This is optional.
	Title *Link `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// ConsoleIds is a list of console ids to display in this console group.
	// Each console id must be prepended with its related project (e.g.
	// chromium/main) because console ids are project-local.
	// Only consoles from the same project are supported.
	// TODO(hinoka): Allow cross-project consoles.
	ConsoleIds []string `protobuf:"bytes,2,rep,name=console_ids,json=consoleIds,proto3" json:"console_ids,omitempty"`
	// contains filtered or unexported fields
}

ConsoleSummaryGroup is a list of consoles to be displayed as console summaries (aka the little bubbles at the top of the console). This can optionally have a group name if specified in the group_link. (e.g. "Tree closers", "Experimental", etc)

func (*ConsoleSummaryGroup) Descriptor

func (*ConsoleSummaryGroup) Descriptor() ([]byte, []int)

Deprecated: Use ConsoleSummaryGroup.ProtoReflect.Descriptor instead.

func (*ConsoleSummaryGroup) GetConsoleIds

func (x *ConsoleSummaryGroup) GetConsoleIds() []string

func (*ConsoleSummaryGroup) GetTitle

func (x *ConsoleSummaryGroup) GetTitle() *Link

func (*ConsoleSummaryGroup) ProtoMessage

func (*ConsoleSummaryGroup) ProtoMessage()

func (*ConsoleSummaryGroup) ProtoReflect

func (x *ConsoleSummaryGroup) ProtoReflect() protoreflect.Message

func (*ConsoleSummaryGroup) Reset

func (x *ConsoleSummaryGroup) Reset()

func (*ConsoleSummaryGroup) String

func (x *ConsoleSummaryGroup) String() string
type Header struct {

	// Oncalls are a reference to oncall rotations, which is a URL to a json
	// endpoint with the following format:
	// {
	//   "updated_unix_timestamp": <int>,
	//   "emails": [
	//     "email@somewhere.com",
	//     "email@nowhere.com
	//   ]
	// }
	Oncalls []*Oncall `protobuf:"bytes,1,rep,name=oncalls,proto3" json:"oncalls,omitempty"`
	// Links is a list of named groups of web links.
	Links []*LinkGroup `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	// ConsoleGroups are groups of console summaries, each optionally named.
	ConsoleGroups []*ConsoleSummaryGroup `protobuf:"bytes,3,rep,name=console_groups,json=consoleGroups,proto3" json:"console_groups,omitempty"`
	// TreeStatusHost is the hostname of the chromium-status instance where
	// the tree status of this console is hosted.  If provided, this will appear
	// as the bar at the very top of the page.
	TreeStatusHost string `protobuf:"bytes,4,opt,name=tree_status_host,json=treeStatusHost,proto3" json:"tree_status_host,omitempty"`
	// Id is a reference to the header.
	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Header is a collection of links, rotation information, and console summaries that are displayed at the top of a console, below the tree status information. Links and oncall information is always laid out to the left, while console groups are laid out on the right. Each oncall and links group take up a row.

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetConsoleGroups

func (x *Header) GetConsoleGroups() []*ConsoleSummaryGroup

func (*Header) GetId

func (x *Header) GetId() string
func (x *Header) GetLinks() []*LinkGroup

func (*Header) GetOncalls

func (x *Header) GetOncalls() []*Oncall

func (*Header) GetTreeStatusHost

func (x *Header) GetTreeStatusHost() string

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string
type Link struct {

	// Text is displayed as the text between the anchor tags.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Url is the URL to link to.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Alt is the alt text displayed when hovering over the text.
	Alt string `protobuf:"bytes,3,opt,name=alt,proto3" json:"alt,omitempty"`
	// contains filtered or unexported fields
}

Link is a link to an internet resource, which will be rendered out as an anchor tag <a href="url" alt="alt">text</a>.

func (*Link) Descriptor

func (*Link) Descriptor() ([]byte, []int)

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetAlt

func (x *Link) GetAlt() string

func (*Link) GetText

func (x *Link) GetText() string

func (*Link) GetUrl

func (x *Link) GetUrl() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

func (x *Link) ProtoReflect() protoreflect.Message

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

type LinkGroup

type LinkGroup struct {

	// Name is the name of this list of links. This is optional.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Links is a list of links to display.
	Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

LinkGroup is a list of links, optionally given a name.

func (*LinkGroup) Descriptor

func (*LinkGroup) Descriptor() ([]byte, []int)

Deprecated: Use LinkGroup.ProtoReflect.Descriptor instead.

func (x *LinkGroup) GetLinks() []*Link

func (*LinkGroup) GetName

func (x *LinkGroup) GetName() string

func (*LinkGroup) ProtoMessage

func (*LinkGroup) ProtoMessage()

func (*LinkGroup) ProtoReflect

func (x *LinkGroup) ProtoReflect() protoreflect.Message

func (*LinkGroup) Reset

func (x *LinkGroup) Reset()

func (*LinkGroup) String

func (x *LinkGroup) String() string

type Oncall

type Oncall struct {

	// Name is the name of the oncall rotation being displayed.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Url is an URL to a json endpoint with the following format:
	// {
	//   "updated_unix_timestamp": <int>,
	//   "emails": [
	//     "email@somewhere.com",
	//     "email@nowhere.com
	//   ]
	// }
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// ShowPrimarySecondaryLabels specifies whether the oncaller names
	// should have "(primary)" and "(secondary)" appended to them if there
	// are more than one.
	ShowPrimarySecondaryLabels bool `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

Oncall contains information about who is currently scheduled as the oncall (Sheriff, trooper, etc) for certain rotations.

func (*Oncall) Descriptor

func (*Oncall) Descriptor() ([]byte, []int)

Deprecated: Use Oncall.ProtoReflect.Descriptor instead.

func (*Oncall) GetName

func (x *Oncall) GetName() string

func (*Oncall) GetShowPrimarySecondaryLabels

func (x *Oncall) GetShowPrimarySecondaryLabels() bool

func (*Oncall) GetUrl

func (x *Oncall) GetUrl() string

func (*Oncall) ProtoMessage

func (*Oncall) ProtoMessage()

func (*Oncall) ProtoReflect

func (x *Oncall) ProtoReflect() protoreflect.Message

func (*Oncall) Reset

func (x *Oncall) Reset()

func (*Oncall) String

func (x *Oncall) String() string

type Project

type Project struct {

	// Consoles is a list of consoles to define under /console/
	Consoles []*Console `protobuf:"bytes,2,rep,name=consoles,proto3" json:"consoles,omitempty"`
	// Headers is a list of defined headers that may be referenced by a console.
	Headers []*Header `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
	// LogoUrl is the URL to the logo for this project.
	// This field is optional. The logo URL must have a host of
	// storage.googleapis.com.
	LogoUrl string `protobuf:"bytes,4,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"`
	// BuildBugTemplate is the template for making a custom bug link for
	// filing a bug against a build that displays on the build page. This
	// is a separate link from the general Milo feedback link that is
	// displayed in the lower right hand corner. This field is optional.
	// Supported interpolations for the "summary" and "description" fields
	// in this context are the fields of the standard build proto such as:
	//
	// {{.Build.Builder.Project}}
	// {{.Build.Builder.Bucket}}
	// {{.Build.Builder.Builder}}
	//
	// Others available fields include:
	//
	// {{.MiloBuildUrl}}
	// {{.MiloBuilderUrl}}
	//
	// If any specified placeholder cannot be satisfied then the link is
	// not displayed.
	BuildBugTemplate *BugTemplate `protobuf:"bytes,5,opt,name=build_bug_template,json=buildBugTemplate,proto3" json:"build_bug_template,omitempty"`
	// IgnoredBuilderIds is a list of builder IDs to be ignored by pubsub handler.
	// Build update events from the builders in this list will be ignored to
	// improve performance.
	// This means that updates to these builders will not be reflected in
	// consoles, the builders page, or the builder groups page.
	// Builders that post updates frequently (> 1/s) should be added to this list.
	// ID format: <bucket>/<builder>
	//
	// TODO(crbug.com/1099036): deprecate this once a long term solution is
	// implemented.
	IgnoredBuilderIds []string `protobuf:"bytes,7,rep,name=ignored_builder_ids,json=ignoredBuilderIds,proto3" json:"ignored_builder_ids,omitempty"`
	// contains filtered or unexported fields
}

Project is a project definition for Milo.

func (*Project) Descriptor

func (*Project) Descriptor() ([]byte, []int)

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetBuildBugTemplate

func (x *Project) GetBuildBugTemplate() *BugTemplate

func (*Project) GetConsoles

func (x *Project) GetConsoles() []*Console

func (*Project) GetHeaders

func (x *Project) GetHeaders() []*Header

func (*Project) GetIgnoredBuilderIds

func (x *Project) GetIgnoredBuilderIds() []string

func (*Project) GetLogoUrl

func (x *Project) GetLogoUrl() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

func (x *Project) ProtoReflect() protoreflect.Message

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type Settings

type Settings struct {
	Buildbot    *Settings_Buildbot    `protobuf:"bytes,1,opt,name=buildbot,proto3" json:"buildbot,omitempty"`
	Buildbucket *Settings_Buildbucket `protobuf:"bytes,2,opt,name=buildbucket,proto3" json:"buildbucket,omitempty"`
	Swarming    *Settings_Swarming    `protobuf:"bytes,3,opt,name=swarming,proto3" json:"swarming,omitempty"`
	// source_acls instructs Milo to provide Git/Gerrit data
	// (e.g., blamelist) to some of its users on entire subdomains or individual
	// repositories (Gerrit "projects").
	//
	// Multiple records are allowed, but each host and project must appear only in
	// one record.
	SourceAcls []*Settings_SourceAcls `protobuf:"bytes,4,rep,name=source_acls,json=sourceAcls,proto3" json:"source_acls,omitempty"`
	Resultdb   *Settings_ResultDB     `protobuf:"bytes,5,opt,name=resultdb,proto3" json:"resultdb,omitempty"`
	// contains filtered or unexported fields
}

Settings represents the format for the global (service) config for Milo.

func (*Settings) Descriptor

func (*Settings) Descriptor() ([]byte, []int)

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetBuildbot

func (x *Settings) GetBuildbot() *Settings_Buildbot

func (*Settings) GetBuildbucket

func (x *Settings) GetBuildbucket() *Settings_Buildbucket

func (*Settings) GetResultdb

func (x *Settings) GetResultdb() *Settings_ResultDB

func (*Settings) GetSourceAcls

func (x *Settings) GetSourceAcls() []*Settings_SourceAcls

func (*Settings) GetSwarming

func (x *Settings) GetSwarming() *Settings_Swarming

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect

func (x *Settings) ProtoReflect() protoreflect.Message

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

type Settings_Buildbot

type Settings_Buildbot struct {

	// internal_reader is the infra-auth group that is allowed to read internal
	// buildbot data.
	InternalReader string `protobuf:"bytes,1,opt,name=internal_reader,json=internalReader,proto3" json:"internal_reader,omitempty"`
	// public_subscription is the name of the pubsub topic where public builds come in
	// from
	PublicSubscription string `protobuf:"bytes,2,opt,name=public_subscription,json=publicSubscription,proto3" json:"public_subscription,omitempty"`
	// internal_subscription is the name of the pubsub topic where internal builds
	// come in from
	InternalSubscription string `protobuf:"bytes,3,opt,name=internal_subscription,json=internalSubscription,proto3" json:"internal_subscription,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_Buildbot) Descriptor

func (*Settings_Buildbot) Descriptor() ([]byte, []int)

Deprecated: Use Settings_Buildbot.ProtoReflect.Descriptor instead.

func (*Settings_Buildbot) GetInternalReader

func (x *Settings_Buildbot) GetInternalReader() string

func (*Settings_Buildbot) GetInternalSubscription

func (x *Settings_Buildbot) GetInternalSubscription() string

func (*Settings_Buildbot) GetPublicSubscription

func (x *Settings_Buildbot) GetPublicSubscription() string

func (*Settings_Buildbot) ProtoMessage

func (*Settings_Buildbot) ProtoMessage()

func (*Settings_Buildbot) ProtoReflect

func (x *Settings_Buildbot) ProtoReflect() protoreflect.Message

func (*Settings_Buildbot) Reset

func (x *Settings_Buildbot) Reset()

func (*Settings_Buildbot) String

func (x *Settings_Buildbot) String() string

type Settings_Buildbucket

type Settings_Buildbucket struct {

	// name is the user friendly name of the Buildbucket instance we're pointing to.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// host is the hostname of the buildbucket instance we're pointing to (sans scheme).
	Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	// project is the name of the Google Cloud project that the pubsub topic
	// belongs to.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_Buildbucket) Descriptor

func (*Settings_Buildbucket) Descriptor() ([]byte, []int)

Deprecated: Use Settings_Buildbucket.ProtoReflect.Descriptor instead.

func (*Settings_Buildbucket) GetHost

func (x *Settings_Buildbucket) GetHost() string

func (*Settings_Buildbucket) GetName

func (x *Settings_Buildbucket) GetName() string

func (*Settings_Buildbucket) GetProject

func (x *Settings_Buildbucket) GetProject() string

func (*Settings_Buildbucket) ProtoMessage

func (*Settings_Buildbucket) ProtoMessage()

func (*Settings_Buildbucket) ProtoReflect

func (x *Settings_Buildbucket) ProtoReflect() protoreflect.Message

func (*Settings_Buildbucket) Reset

func (x *Settings_Buildbucket) Reset()

func (*Settings_Buildbucket) String

func (x *Settings_Buildbucket) String() string

type Settings_ResultDB

type Settings_ResultDB struct {

	// host is the hostname of the ResultDB instance we're pointing to (sans scheme).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_ResultDB) Descriptor

func (*Settings_ResultDB) Descriptor() ([]byte, []int)

Deprecated: Use Settings_ResultDB.ProtoReflect.Descriptor instead.

func (*Settings_ResultDB) GetHost

func (x *Settings_ResultDB) GetHost() string

func (*Settings_ResultDB) ProtoMessage

func (*Settings_ResultDB) ProtoMessage()

func (*Settings_ResultDB) ProtoReflect

func (x *Settings_ResultDB) ProtoReflect() protoreflect.Message

func (*Settings_ResultDB) Reset

func (x *Settings_ResultDB) Reset()

func (*Settings_ResultDB) String

func (x *Settings_ResultDB) String() string

type Settings_SourceAcls

type Settings_SourceAcls struct {

	// host grants read access on all project at this host.
	//
	// For more granularity, use the project field instead.
	//
	// For *.googlesource.com domains, host should not be a Gerrit host,
	// i.e.  it shouldn't be <subdomain>-review.googlesource.com.
	Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// project is a URL to a Git repository.
	//
	// Read access is granted on both git data and Gerrit CLs of this project.
	//
	// For *.googlesource.com Git repositories:
	//   URL Path should not start with '/a/' (forced authentication).
	//   URL Path should not end with '.git' (redundant).
	Projects []string `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
	// readers are allowed to read git/gerrit data from targets.
	//
	// Three types of identity strings are supported:
	//  * Emails.                   For example: "someuser@example.com"
	//  * Chrome-infra-auth Groups. For example: "group:committers"
	//  * Auth service identities.  For example: "kind:name"
	//
	// Required.
	Readers []string `protobuf:"bytes,3,rep,name=readers,proto3" json:"readers,omitempty"`
	// contains filtered or unexported fields
}

SourceAcls grants read access on a set of Git/Gerrit hosts or projects.

func (*Settings_SourceAcls) Descriptor

func (*Settings_SourceAcls) Descriptor() ([]byte, []int)

Deprecated: Use Settings_SourceAcls.ProtoReflect.Descriptor instead.

func (*Settings_SourceAcls) GetHosts

func (x *Settings_SourceAcls) GetHosts() []string

func (*Settings_SourceAcls) GetProjects

func (x *Settings_SourceAcls) GetProjects() []string

func (*Settings_SourceAcls) GetReaders

func (x *Settings_SourceAcls) GetReaders() []string

func (*Settings_SourceAcls) ProtoMessage

func (*Settings_SourceAcls) ProtoMessage()

func (*Settings_SourceAcls) ProtoReflect

func (x *Settings_SourceAcls) ProtoReflect() protoreflect.Message

func (*Settings_SourceAcls) Reset

func (x *Settings_SourceAcls) Reset()

func (*Settings_SourceAcls) String

func (x *Settings_SourceAcls) String() string

type Settings_Swarming

type Settings_Swarming struct {

	// default_host is the hostname of the swarming host Milo defaults to, if
	// none is specified.  Default host is implicitly an allowed host.
	DefaultHost string `protobuf:"bytes,1,opt,name=default_host,json=defaultHost,proto3" json:"default_host,omitempty"`
	// allowed_hosts is a list of hostnames of swarming instances that Milo is
	// allowed to talk to.  This is specified here for security reasons,
	// because Milo will hand out its oauth2 token to a swarming host.
	AllowedHosts []string `protobuf:"bytes,2,rep,name=allowed_hosts,json=allowedHosts,proto3" json:"allowed_hosts,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_Swarming) Descriptor

func (*Settings_Swarming) Descriptor() ([]byte, []int)

Deprecated: Use Settings_Swarming.ProtoReflect.Descriptor instead.

func (*Settings_Swarming) GetAllowedHosts

func (x *Settings_Swarming) GetAllowedHosts() []string

func (*Settings_Swarming) GetDefaultHost

func (x *Settings_Swarming) GetDefaultHost() string

func (*Settings_Swarming) ProtoMessage

func (*Settings_Swarming) ProtoMessage()

func (*Settings_Swarming) ProtoReflect

func (x *Settings_Swarming) ProtoReflect() protoreflect.Message

func (*Settings_Swarming) Reset

func (x *Settings_Swarming) Reset()

func (*Settings_Swarming) String

func (x *Settings_Swarming) String() string