Documentation ¶
Index ¶
- type Builder
- func (*Builder) Descriptor() ([]byte, []int)
- func (m *Builder) GetCategory() string
- func (m *Builder) GetName() []string
- func (m *Builder) GetShortName() string
- func (b *Builder) ParseCategory() []string
- func (*Builder) ProtoMessage()
- func (m *Builder) Reset()
- func (m *Builder) String() string
- func (m *Builder) XXX_DiscardUnknown()
- func (m *Builder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Builder) XXX_Merge(src proto.Message)
- func (m *Builder) XXX_Size() int
- func (m *Builder) XXX_Unmarshal(b []byte) error
- type Console
- func (c *Console) AllBuilderIDs() []string
- func (*Console) Descriptor() ([]byte, []int)
- func (p *Console) FromProperty(prop datastore.Property) error
- func (m *Console) GetBuilderViewOnly() bool
- func (m *Console) GetBuilders() []*Builder
- func (m *Console) GetExcludeRef() string
- func (m *Console) GetFaviconUrl() string
- func (m *Console) GetHeader() *Header
- func (m *Console) GetHeaderId() string
- func (m *Console) GetId() string
- func (m *Console) GetIncludeExperimentalBuilds() bool
- func (m *Console) GetManifestName() string
- func (m *Console) GetName() string
- func (m *Console) GetRefs() []string
- func (m *Console) GetRepoUrl() string
- func (*Console) ProtoMessage()
- func (m *Console) Reset()
- func (m *Console) String() string
- func (p *Console) ToProperty() (prop datastore.Property, err error)
- func (m *Console) XXX_DiscardUnknown()
- func (m *Console) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Console) XXX_Merge(src proto.Message)
- func (m *Console) XXX_Size() int
- func (m *Console) XXX_Unmarshal(b []byte) error
- type ConsoleSummaryGroup
- func (*ConsoleSummaryGroup) Descriptor() ([]byte, []int)
- func (m *ConsoleSummaryGroup) GetConsoleIds() []string
- func (m *ConsoleSummaryGroup) GetTitle() *Link
- func (*ConsoleSummaryGroup) ProtoMessage()
- func (m *ConsoleSummaryGroup) Reset()
- func (m *ConsoleSummaryGroup) String() string
- func (m *ConsoleSummaryGroup) XXX_DiscardUnknown()
- func (m *ConsoleSummaryGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsoleSummaryGroup) XXX_Merge(src proto.Message)
- func (m *ConsoleSummaryGroup) XXX_Size() int
- func (m *ConsoleSummaryGroup) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetConsoleGroups() []*ConsoleSummaryGroup
- func (m *Header) GetId() string
- func (m *Header) GetLinks() []*LinkGroup
- func (m *Header) GetOncalls() []*Oncall
- func (m *Header) GetTreeStatusHost() string
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) String() string
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type Link
- func (*Link) Descriptor() ([]byte, []int)
- func (m *Link) GetAlt() string
- func (m *Link) GetText() string
- func (m *Link) GetUrl() string
- func (*Link) ProtoMessage()
- func (m *Link) Reset()
- func (m *Link) String() string
- func (m *Link) XXX_DiscardUnknown()
- func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Link) XXX_Merge(src proto.Message)
- func (m *Link) XXX_Size() int
- func (m *Link) XXX_Unmarshal(b []byte) error
- type LinkGroup
- func (*LinkGroup) Descriptor() ([]byte, []int)
- func (m *LinkGroup) GetLinks() []*Link
- func (m *LinkGroup) GetName() string
- func (*LinkGroup) ProtoMessage()
- func (m *LinkGroup) Reset()
- func (m *LinkGroup) String() string
- func (m *LinkGroup) XXX_DiscardUnknown()
- func (m *LinkGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LinkGroup) XXX_Merge(src proto.Message)
- func (m *LinkGroup) XXX_Size() int
- func (m *LinkGroup) XXX_Unmarshal(b []byte) error
- type Oncall
- func (*Oncall) Descriptor() ([]byte, []int)
- func (m *Oncall) GetName() string
- func (m *Oncall) GetUrl() string
- func (*Oncall) ProtoMessage()
- func (m *Oncall) Reset()
- func (m *Oncall) String() string
- func (m *Oncall) XXX_DiscardUnknown()
- func (m *Oncall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Oncall) XXX_Merge(src proto.Message)
- func (m *Oncall) XXX_Size() int
- func (m *Oncall) XXX_Unmarshal(b []byte) error
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetConsoles() []*Console
- func (m *Project) GetHeaders() []*Header
- func (m *Project) GetLogoUrl() string
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) String() string
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)
- func (m *Settings) GetBuildbot() *Settings_Buildbot
- func (m *Settings) GetBuildbucket() *Settings_Buildbucket
- func (m *Settings) GetSourceAcls() []*Settings_SourceAcls
- func (m *Settings) GetSwarming() *Settings_Swarming
- func (*Settings) ProtoMessage()
- func (m *Settings) Reset()
- func (m *Settings) String() string
- func (m *Settings) XXX_DiscardUnknown()
- func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings) XXX_Merge(src proto.Message)
- func (m *Settings) XXX_Size() int
- func (m *Settings) XXX_Unmarshal(b []byte) error
- type Settings_Buildbot
- func (*Settings_Buildbot) Descriptor() ([]byte, []int)
- func (m *Settings_Buildbot) GetInternalReader() string
- func (m *Settings_Buildbot) GetInternalSubscription() string
- func (m *Settings_Buildbot) GetPublicSubscription() string
- func (*Settings_Buildbot) ProtoMessage()
- func (m *Settings_Buildbot) Reset()
- func (m *Settings_Buildbot) String() string
- func (m *Settings_Buildbot) XXX_DiscardUnknown()
- func (m *Settings_Buildbot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_Buildbot) XXX_Merge(src proto.Message)
- func (m *Settings_Buildbot) XXX_Size() int
- func (m *Settings_Buildbot) XXX_Unmarshal(b []byte) error
- type Settings_Buildbucket
- func (*Settings_Buildbucket) Descriptor() ([]byte, []int)
- func (m *Settings_Buildbucket) GetHost() string
- func (m *Settings_Buildbucket) GetName() string
- func (m *Settings_Buildbucket) GetProject() string
- func (*Settings_Buildbucket) ProtoMessage()
- func (m *Settings_Buildbucket) Reset()
- func (m *Settings_Buildbucket) String() string
- func (m *Settings_Buildbucket) XXX_DiscardUnknown()
- func (m *Settings_Buildbucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_Buildbucket) XXX_Merge(src proto.Message)
- func (m *Settings_Buildbucket) XXX_Size() int
- func (m *Settings_Buildbucket) XXX_Unmarshal(b []byte) error
- type Settings_SourceAcls
- func (*Settings_SourceAcls) Descriptor() ([]byte, []int)
- func (m *Settings_SourceAcls) GetHosts() []string
- func (m *Settings_SourceAcls) GetProjects() []string
- func (m *Settings_SourceAcls) GetReaders() []string
- func (*Settings_SourceAcls) ProtoMessage()
- func (m *Settings_SourceAcls) Reset()
- func (m *Settings_SourceAcls) String() string
- func (m *Settings_SourceAcls) XXX_DiscardUnknown()
- func (m *Settings_SourceAcls) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_SourceAcls) XXX_Merge(src proto.Message)
- func (m *Settings_SourceAcls) XXX_Size() int
- func (m *Settings_SourceAcls) XXX_Unmarshal(b []byte) error
- type Settings_Swarming
- func (*Settings_Swarming) Descriptor() ([]byte, []int)
- func (m *Settings_Swarming) GetAllowedHosts() []string
- func (m *Settings_Swarming) GetDefaultHost() string
- func (*Settings_Swarming) ProtoMessage()
- func (m *Settings_Swarming) Reset()
- func (m *Settings_Swarming) String() string
- func (m *Settings_Swarming) XXX_DiscardUnknown()
- func (m *Settings_Swarming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_Swarming) XXX_Merge(src proto.Message)
- func (m *Settings_Swarming) XXX_Size() int
- func (m *Settings_Swarming) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { // Name is the BuilderID of the builders you wish to display for this column // in the console. e.g. // * "buildbot/chromium.linux/Linux Tests" // * "buildbucket/luci.chromium.try/linux_chromium_rel_ng" // // If multiple names are specified, the console will show the union of the // builders. Name []string `protobuf:"bytes,1,rep,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. Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // ShortName is the 1-3 character abbreviation of the builder. ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Builder is a reference to a Milo builder.
func (*Builder) Descriptor ¶
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) XXX_DiscardUnknown ¶
func (m *Builder) XXX_DiscardUnknown()
func (*Builder) XXX_Marshal ¶
func (*Builder) XXX_Unmarshal ¶
type Console ¶
type Console struct { // Id is the reference to the console, and will be the address to make the // console reachable from /console/<Project>/<ID>. 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/master, 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 master branch, from which these release // branches are branched off: // ref: "regexp:refs/branch-heads/\d+\.\d+" // exlude_ref: "refs/heads/master" 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Console is a waterfall definition consisting of one or more builders.
func (*Console) AllBuilderIDs ¶
AllBuilderIDs returns all BuilderIDs mentioned by this Console.
func (*Console) Descriptor ¶
func (*Console) FromProperty ¶
FromProperty implements datastore.PropertyConverter. It parses a '[]byte' into an embedded 'Console' when used with the "go.chromium.org/gae" library.
func (*Console) GetBuilderViewOnly ¶
func (*Console) GetBuilders ¶
func (*Console) GetExcludeRef ¶
func (*Console) GetFaviconUrl ¶
func (*Console) GetHeaderId ¶
func (*Console) GetIncludeExperimentalBuilds ¶
func (*Console) GetManifestName ¶
func (*Console) GetRepoUrl ¶
func (*Console) ProtoMessage ¶
func (*Console) ProtoMessage()
func (*Console) ToProperty ¶
ToProperty implements datastore.PropertyConverter. It causes an embedded 'Console' to serialize to an unindexed '[]byte' when used with the "go.chromium.org/gae" library.
func (*Console) XXX_DiscardUnknown ¶
func (m *Console) XXX_DiscardUnknown()
func (*Console) XXX_Marshal ¶
func (*Console) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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)
func (*ConsoleSummaryGroup) GetConsoleIds ¶
func (m *ConsoleSummaryGroup) GetConsoleIds() []string
func (*ConsoleSummaryGroup) GetTitle ¶
func (m *ConsoleSummaryGroup) GetTitle() *Link
func (*ConsoleSummaryGroup) ProtoMessage ¶
func (*ConsoleSummaryGroup) ProtoMessage()
func (*ConsoleSummaryGroup) Reset ¶
func (m *ConsoleSummaryGroup) Reset()
func (*ConsoleSummaryGroup) String ¶
func (m *ConsoleSummaryGroup) String() string
func (*ConsoleSummaryGroup) XXX_DiscardUnknown ¶
func (m *ConsoleSummaryGroup) XXX_DiscardUnknown()
func (*ConsoleSummaryGroup) XXX_Marshal ¶
func (m *ConsoleSummaryGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsoleSummaryGroup) XXX_Merge ¶
func (m *ConsoleSummaryGroup) XXX_Merge(src proto.Message)
func (*ConsoleSummaryGroup) XXX_Size ¶
func (m *ConsoleSummaryGroup) XXX_Size() int
func (*ConsoleSummaryGroup) XXX_Unmarshal ¶
func (m *ConsoleSummaryGroup) XXX_Unmarshal(b []byte) error
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"` // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) GetConsoleGroups ¶
func (m *Header) GetConsoleGroups() []*ConsoleSummaryGroup
func (*Header) GetOncalls ¶
func (*Header) GetTreeStatusHost ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) XXX_DiscardUnknown ¶
func (m *Link) XXX_DiscardUnknown()
func (*Link) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LinkGroup is a list of links, optionally given a name.
func (*LinkGroup) Descriptor ¶
func (*LinkGroup) ProtoMessage ¶
func (*LinkGroup) ProtoMessage()
func (*LinkGroup) XXX_DiscardUnknown ¶
func (m *LinkGroup) XXX_DiscardUnknown()
func (*LinkGroup) XXX_Marshal ¶
func (*LinkGroup) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Oncall contains information about who is currently scheduled as the oncall (Sheriff, trooper, etc) for certain rotations.
func (*Oncall) Descriptor ¶
func (*Oncall) ProtoMessage ¶
func (*Oncall) ProtoMessage()
func (*Oncall) XXX_DiscardUnknown ¶
func (m *Oncall) XXX_DiscardUnknown()
func (*Oncall) XXX_Marshal ¶
func (*Oncall) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Project is a project definition for Milo.
func (*Project) Descriptor ¶
func (*Project) GetConsoles ¶
func (*Project) GetHeaders ¶
func (*Project) GetLogoUrl ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Settings represents the format for the global (service) config for Milo.
func (*Settings) Descriptor ¶
func (*Settings) GetBuildbot ¶
func (m *Settings) GetBuildbot() *Settings_Buildbot
func (*Settings) GetBuildbucket ¶
func (m *Settings) GetBuildbucket() *Settings_Buildbucket
func (*Settings) GetSourceAcls ¶
func (m *Settings) GetSourceAcls() []*Settings_SourceAcls
func (*Settings) GetSwarming ¶
func (m *Settings) GetSwarming() *Settings_Swarming
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) XXX_DiscardUnknown ¶
func (m *Settings) XXX_DiscardUnknown()
func (*Settings) XXX_Marshal ¶
func (*Settings) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Settings_Buildbot) Descriptor ¶
func (*Settings_Buildbot) Descriptor() ([]byte, []int)
func (*Settings_Buildbot) GetInternalReader ¶
func (m *Settings_Buildbot) GetInternalReader() string
func (*Settings_Buildbot) GetInternalSubscription ¶
func (m *Settings_Buildbot) GetInternalSubscription() string
func (*Settings_Buildbot) GetPublicSubscription ¶
func (m *Settings_Buildbot) GetPublicSubscription() string
func (*Settings_Buildbot) ProtoMessage ¶
func (*Settings_Buildbot) ProtoMessage()
func (*Settings_Buildbot) Reset ¶
func (m *Settings_Buildbot) Reset()
func (*Settings_Buildbot) String ¶
func (m *Settings_Buildbot) String() string
func (*Settings_Buildbot) XXX_DiscardUnknown ¶
func (m *Settings_Buildbot) XXX_DiscardUnknown()
func (*Settings_Buildbot) XXX_Marshal ¶
func (m *Settings_Buildbot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_Buildbot) XXX_Merge ¶
func (m *Settings_Buildbot) XXX_Merge(src proto.Message)
func (*Settings_Buildbot) XXX_Size ¶
func (m *Settings_Buildbot) XXX_Size() int
func (*Settings_Buildbot) XXX_Unmarshal ¶
func (m *Settings_Buildbot) XXX_Unmarshal(b []byte) error
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 schema). 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Settings_Buildbucket) Descriptor ¶
func (*Settings_Buildbucket) Descriptor() ([]byte, []int)
func (*Settings_Buildbucket) GetHost ¶
func (m *Settings_Buildbucket) GetHost() string
func (*Settings_Buildbucket) GetName ¶
func (m *Settings_Buildbucket) GetName() string
func (*Settings_Buildbucket) GetProject ¶
func (m *Settings_Buildbucket) GetProject() string
func (*Settings_Buildbucket) ProtoMessage ¶
func (*Settings_Buildbucket) ProtoMessage()
func (*Settings_Buildbucket) Reset ¶
func (m *Settings_Buildbucket) Reset()
func (*Settings_Buildbucket) String ¶
func (m *Settings_Buildbucket) String() string
func (*Settings_Buildbucket) XXX_DiscardUnknown ¶
func (m *Settings_Buildbucket) XXX_DiscardUnknown()
func (*Settings_Buildbucket) XXX_Marshal ¶
func (m *Settings_Buildbucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_Buildbucket) XXX_Merge ¶
func (m *Settings_Buildbucket) XXX_Merge(src proto.Message)
func (*Settings_Buildbucket) XXX_Size ¶
func (m *Settings_Buildbucket) XXX_Size() int
func (*Settings_Buildbucket) XXX_Unmarshal ¶
func (m *Settings_Buildbucket) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SourceAcls grants read access on a set of Git/Gerrit hosts or projects.
func (*Settings_SourceAcls) Descriptor ¶
func (*Settings_SourceAcls) Descriptor() ([]byte, []int)
func (*Settings_SourceAcls) GetHosts ¶
func (m *Settings_SourceAcls) GetHosts() []string
func (*Settings_SourceAcls) GetProjects ¶
func (m *Settings_SourceAcls) GetProjects() []string
func (*Settings_SourceAcls) GetReaders ¶
func (m *Settings_SourceAcls) GetReaders() []string
func (*Settings_SourceAcls) ProtoMessage ¶
func (*Settings_SourceAcls) ProtoMessage()
func (*Settings_SourceAcls) Reset ¶
func (m *Settings_SourceAcls) Reset()
func (*Settings_SourceAcls) String ¶
func (m *Settings_SourceAcls) String() string
func (*Settings_SourceAcls) XXX_DiscardUnknown ¶
func (m *Settings_SourceAcls) XXX_DiscardUnknown()
func (*Settings_SourceAcls) XXX_Marshal ¶
func (m *Settings_SourceAcls) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_SourceAcls) XXX_Merge ¶
func (m *Settings_SourceAcls) XXX_Merge(src proto.Message)
func (*Settings_SourceAcls) XXX_Size ¶
func (m *Settings_SourceAcls) XXX_Size() int
func (*Settings_SourceAcls) XXX_Unmarshal ¶
func (m *Settings_SourceAcls) XXX_Unmarshal(b []byte) error
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 whitelist 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Settings_Swarming) Descriptor ¶
func (*Settings_Swarming) Descriptor() ([]byte, []int)
func (*Settings_Swarming) GetAllowedHosts ¶
func (m *Settings_Swarming) GetAllowedHosts() []string
func (*Settings_Swarming) GetDefaultHost ¶
func (m *Settings_Swarming) GetDefaultHost() string
func (*Settings_Swarming) ProtoMessage ¶
func (*Settings_Swarming) ProtoMessage()
func (*Settings_Swarming) Reset ¶
func (m *Settings_Swarming) Reset()
func (*Settings_Swarming) String ¶
func (m *Settings_Swarming) String() string
func (*Settings_Swarming) XXX_DiscardUnknown ¶
func (m *Settings_Swarming) XXX_DiscardUnknown()
func (*Settings_Swarming) XXX_Marshal ¶
func (m *Settings_Swarming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_Swarming) XXX_Merge ¶
func (m *Settings_Swarming) XXX_Merge(src proto.Message)
func (*Settings_Swarming) XXX_Size ¶
func (m *Settings_Swarming) XXX_Size() int
func (*Settings_Swarming) XXX_Unmarshal ¶
func (m *Settings_Swarming) XXX_Unmarshal(b []byte) error