Documentation ¶
Index ¶
- Variables
- type Builder
- func (*Builder) Descriptor() ([]byte, []int)deprecated
- func (x *Builder) GetCategory() string
- func (x *Builder) GetId() *proto.BuilderID
- func (x *Builder) GetName() string
- func (x *Builder) GetShortName() string
- func (b *Builder) ParseCategory() []string
- func (*Builder) ProtoMessage()
- func (x *Builder) ProtoReflect() protoreflect.Message
- func (x *Builder) Reset()
- func (x *Builder) String() string
- type Console
- func (c *Console) AllLegacyBuilderIDs() []string
- func (c *Console) AllowedBuilders(allowedRealms stringset.Set) []*Builder
- func (*Console) Descriptor() ([]byte, []int)deprecated
- func (p *Console) FromProperty(prop datastore.Property) error
- func (x *Console) GetBuilderViewOnly() bool
- func (x *Console) GetBuilders() []*Builder
- func (x *Console) GetDefaultCommitLimit() int32
- func (x *Console) GetDefaultExpand() bool
- func (x *Console) GetExcludeRef() string
- func (x *Console) GetExternalId() string
- func (x *Console) GetExternalProject() string
- func (x *Console) GetFaviconUrl() string
- func (x *Console) GetHeader() *Header
- func (x *Console) GetHeaderId() string
- func (x *Console) GetId() string
- func (x *Console) GetIncludeExperimentalBuilds() bool
- func (x *Console) GetManifestName() string
- func (x *Console) GetName() string
- func (x *Console) GetRealm() string
- func (x *Console) GetRefs() []string
- func (x *Console) GetRepoUrl() string
- func (*Console) ProtoMessage()
- func (x *Console) ProtoReflect() protoreflect.Message
- func (x *Console) Reset()
- func (x *Console) String() string
- func (p *Console) ToProperty() (prop datastore.Property, err error)
- type ConsoleSummaryGroup
- func (*ConsoleSummaryGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ConsoleSummaryGroup) GetConsoleIds() []string
- func (x *ConsoleSummaryGroup) GetTitle() *Link
- func (*ConsoleSummaryGroup) ProtoMessage()
- func (x *ConsoleSummaryGroup) ProtoReflect() protoreflect.Message
- func (x *ConsoleSummaryGroup) Reset()
- func (x *ConsoleSummaryGroup) String() string
- type DisplayItem
- func (*DisplayItem) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayItem) GetDisplayName() string
- func (x *DisplayItem) GetPath() string
- func (*DisplayItem) ProtoMessage()
- func (x *DisplayItem) ProtoReflect() protoreflect.Message
- func (x *DisplayItem) Reset()
- func (x *DisplayItem) String() string
- type DisplayRule
- func (*DisplayRule) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayRule) GetDisplayItems() []*DisplayItem
- func (x *DisplayRule) GetSchema() string
- func (*DisplayRule) ProtoMessage()
- func (x *DisplayRule) ProtoReflect() protoreflect.Message
- func (x *DisplayRule) Reset()
- func (x *DisplayRule) String() string
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetConsoleGroups() []*ConsoleSummaryGroup
- func (x *Header) GetId() string
- func (x *Header) GetLinks() []*LinkGroup
- func (x *Header) GetOncalls() []*Oncall
- func (x *Header) GetTreeName() string
- func (x *Header) GetTreeStatusHost() string
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type Link
- type LinkGroup
- type MetadataConfig
- func (*MetadataConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataConfig) GetTestMetadataProperties() []*DisplayRule
- func (*MetadataConfig) ProtoMessage()
- func (x *MetadataConfig) ProtoReflect() protoreflect.Message
- func (x *MetadataConfig) Reset()
- func (x *MetadataConfig) String() string
- type Oncall
- func (*Oncall) Descriptor() ([]byte, []int)deprecated
- func (x *Oncall) GetName() string
- func (x *Oncall) GetShowPrimarySecondaryLabels() bool
- func (x *Oncall) GetUrl() string
- func (*Oncall) ProtoMessage()
- func (x *Oncall) ProtoReflect() protoreflect.Message
- func (x *Oncall) Reset()
- func (x *Oncall) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetBugUrlTemplate() string
- func (x *Project) GetConsoles() []*Console
- func (x *Project) GetHeaders() []*Header
- func (x *Project) GetIgnoredBuilderIds() []string
- func (x *Project) GetLogoUrl() string
- func (x *Project) GetMetadataConfig() *MetadataConfig
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
Constants ¶
This section is empty.
Variables ¶
var File_go_chromium_org_luci_milo_proto_projectconfig_project_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { // Deprecated: use `id` instead. // // 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"` // Id is the ID of the builder. // If not defined, fallbacks to parsing the ID from `name`. Id *proto.BuilderID `protobuf:"bytes,4,opt,name=id,proto3" json:"id,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
deprecated
func (*Builder) GetCategory ¶
func (*Builder) GetShortName ¶
func (*Builder) ParseCategory ¶
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
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) AllLegacyBuilderIDs ¶
AllLegacyBuilderIDs returns all BuilderIDs in legacy format mentioned by this Console.
func (*Console) AllowedBuilders ¶
AllowedBuilders returns all the builders with realms listed in `allowedRealms`.
func (*Console) Descriptor
deprecated
func (*Console) FromProperty ¶
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 (*Console) GetBuilders ¶
func (*Console) GetDefaultCommitLimit ¶
func (*Console) GetDefaultExpand ¶
func (*Console) GetExcludeRef ¶
func (*Console) GetExternalId ¶
func (*Console) GetExternalProject ¶
func (*Console) GetFaviconUrl ¶
func (*Console) GetHeaderId ¶
func (*Console) GetIncludeExperimentalBuilds ¶
func (*Console) GetManifestName ¶
func (*Console) GetRepoUrl ¶
func (*Console) ProtoMessage ¶
func (*Console) ProtoMessage()
func (*Console) ProtoReflect ¶
func (x *Console) ProtoReflect() protoreflect.Message
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
deprecated
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 DisplayItem ¶
type DisplayItem struct { // A user-friendly name to describe the item. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The path to the item from the root of the JSON object. // Only support object walking to access nested objects. // Eg. object: {a:{b:1}}, path: a.b, return: 1 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
DisplayItem is the information about the item to display.
func (*DisplayItem) Descriptor
deprecated
func (*DisplayItem) Descriptor() ([]byte, []int)
Deprecated: Use DisplayItem.ProtoReflect.Descriptor instead.
func (*DisplayItem) GetDisplayName ¶
func (x *DisplayItem) GetDisplayName() string
func (*DisplayItem) GetPath ¶
func (x *DisplayItem) GetPath() string
func (*DisplayItem) ProtoMessage ¶
func (*DisplayItem) ProtoMessage()
func (*DisplayItem) ProtoReflect ¶
func (x *DisplayItem) ProtoReflect() protoreflect.Message
func (*DisplayItem) Reset ¶
func (x *DisplayItem) Reset()
func (*DisplayItem) String ¶
func (x *DisplayItem) String() string
type DisplayRule ¶
type DisplayRule struct { // The schema of the JSON object, which the DisplayItems rules apply. // Use the fully-qualified name of the source protocol buffer. // eg. chromiumos.test.api.TestCaseMetadata Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // A list of items to display. DisplayItems []*DisplayItem `protobuf:"bytes,2,rep,name=display_items,json=displayItems,proto3" json:"display_items,omitempty"` // contains filtered or unexported fields }
DisplayRule selects fields from a JSON object to present, given the schema of the JSON object.
func (*DisplayRule) Descriptor
deprecated
func (*DisplayRule) Descriptor() ([]byte, []int)
Deprecated: Use DisplayRule.ProtoReflect.Descriptor instead.
func (*DisplayRule) GetDisplayItems ¶
func (x *DisplayRule) GetDisplayItems() []*DisplayItem
func (*DisplayRule) GetSchema ¶
func (x *DisplayRule) GetSchema() string
func (*DisplayRule) ProtoMessage ¶
func (*DisplayRule) ProtoMessage()
func (*DisplayRule) ProtoReflect ¶
func (x *DisplayRule) ProtoReflect() protoreflect.Message
func (*DisplayRule) Reset ¶
func (x *DisplayRule) Reset()
func (*DisplayRule) String ¶
func (x *DisplayRule) String() string
type Header ¶
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"` // DEPRECATED: Use tree_name instead. // 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. // If tree_name is also set, tree_name will take precedence and this value will be ignored. // TODO (nqmtuan): Mark this field as reserved after we finish migrating everything // to tree_name field. TreeStatusHost string `protobuf:"bytes,4,opt,name=tree_status_host,json=treeStatusHost,proto3" json:"tree_status_host,omitempty"` // TreeName is the name of the tree from LUCI Tree Status. // If provided, this will appear as the bar at the very top of the page. // This value will take precedence over the tree_status_host field if both are presented. TreeName string `protobuf:"bytes,6,opt,name=tree_name,json=treeName,proto3" json:"tree_name,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. Next ID: 7
func (*Header) Descriptor
deprecated
func (*Header) GetConsoleGroups ¶
func (x *Header) GetConsoleGroups() []*ConsoleSummaryGroup
func (*Header) GetOncalls ¶
func (*Header) GetTreeName ¶
func (*Header) GetTreeStatusHost ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type Link ¶
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
deprecated
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
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
deprecated
func (*LinkGroup) ProtoMessage ¶
func (*LinkGroup) ProtoMessage()
func (*LinkGroup) ProtoReflect ¶
func (x *LinkGroup) ProtoReflect() protoreflect.Message
type MetadataConfig ¶
type MetadataConfig struct { // TestMetadataProperties specify how data in luci.resultdb.v1.TestMetadata.Properties // should be presented in the UI. TestMetadataProperties []*DisplayRule `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
MetadataConfig specifies how to display arbitrary metadata.
func (*MetadataConfig) Descriptor
deprecated
func (*MetadataConfig) Descriptor() ([]byte, []int)
Deprecated: Use MetadataConfig.ProtoReflect.Descriptor instead.
func (*MetadataConfig) GetTestMetadataProperties ¶
func (x *MetadataConfig) GetTestMetadataProperties() []*DisplayRule
func (*MetadataConfig) ProtoMessage ¶
func (*MetadataConfig) ProtoMessage()
func (*MetadataConfig) ProtoReflect ¶
func (x *MetadataConfig) ProtoReflect() protoreflect.Message
func (*MetadataConfig) Reset ¶
func (x *MetadataConfig) Reset()
func (*MetadataConfig) String ¶
func (x *MetadataConfig) 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
deprecated
func (*Oncall) GetShowPrimarySecondaryLabels ¶
func (*Oncall) ProtoMessage ¶
func (*Oncall) ProtoMessage()
func (*Oncall) ProtoReflect ¶
func (x *Oncall) ProtoReflect() protoreflect.Message
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"` // 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"` // BugUrlTemplate 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 top right corner. This field is optional. // // The protocal must be `https` and the domain name must be one of the // following: // * bugs.chromium.org // * b.corp.google.com // // The template is interpreted as a mustache template and the following // variables are available: // * {{{ build.builder.project }}} // * {{{ build.builder.bucket }}} // * {{{ build.builder.builder }}} // * {{{ milo_build_url }}} // * {{{ milo_builder_url }}} // // All variables are URL component encoded. Additionally, use `{{{ ... }}}` to // disable HTML escaping. If the template is not a valid mustache template, or // doesn't satisfy the requirements above, the link is not displayed. BugUrlTemplate string `protobuf:"bytes,8,opt,name=bug_url_template,json=bugUrlTemplate,proto3" json:"bug_url_template,omitempty"` // MetadataConfig is the display configuration for arbitrary metadata. MetadataConfig *MetadataConfig `protobuf:"bytes,9,opt,name=metadata_config,json=metadataConfig,proto3" json:"metadata_config,omitempty"` // contains filtered or unexported fields }
Project is a project definition for Milo.
func (*Project) Descriptor
deprecated
func (*Project) GetBugUrlTemplate ¶
func (*Project) GetConsoles ¶
func (*Project) GetHeaders ¶
func (*Project) GetIgnoredBuilderIds ¶
func (*Project) GetLogoUrl ¶
func (*Project) GetMetadataConfig ¶
func (x *Project) GetMetadataConfig() *MetadataConfig
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message