luci: go.chromium.org/luci/milo/api/config Index | Files

package config

import "go.chromium.org/luci/milo/api/config"

Index

Package Files

generate.go project.pb.go proto_gae.gen.go settings.pb.go util.go

type Builder Uses

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 Uses

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

func (*Builder) GetCategory Uses

func (m *Builder) GetCategory() string

func (*Builder) GetName Uses

func (m *Builder) GetName() []string

func (*Builder) GetShortName Uses

func (m *Builder) GetShortName() string

func (*Builder) ParseCategory Uses

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 Uses

func (*Builder) ProtoMessage()

func (*Builder) Reset Uses

func (m *Builder) Reset()

func (*Builder) String Uses

func (m *Builder) String() string

func (*Builder) XXX_DiscardUnknown Uses

func (m *Builder) XXX_DiscardUnknown()

func (*Builder) XXX_Marshal Uses

func (m *Builder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Builder) XXX_Merge Uses

func (m *Builder) XXX_Merge(src proto.Message)

func (*Builder) XXX_Size Uses

func (m *Builder) XXX_Size() int

func (*Builder) XXX_Unmarshal Uses

func (m *Builder) XXX_Unmarshal(b []byte) error

type Console Uses

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 `protobuf:"varint,11,opt,name=include_experimental_builds,json=includeExperimentalBuilds,proto3" json:"include_experimental_builds,omitempty"`
    // 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 Uses

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

AllBuilderIDs returns all BuilderIDs mentioned by this Console.

func (*Console) Descriptor Uses

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

func (*Console) FromProperty Uses

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/gae" library.

func (*Console) GetBuilderViewOnly Uses

func (m *Console) GetBuilderViewOnly() bool

func (*Console) GetBuilders Uses

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

func (*Console) GetExcludeRef Uses

func (m *Console) GetExcludeRef() string

func (*Console) GetFaviconUrl Uses

func (m *Console) GetFaviconUrl() string

func (*Console) GetHeader Uses

func (m *Console) GetHeader() *Header

func (*Console) GetHeaderId Uses

func (m *Console) GetHeaderId() string

func (*Console) GetId Uses

func (m *Console) GetId() string

func (*Console) GetIncludeExperimentalBuilds Uses

func (m *Console) GetIncludeExperimentalBuilds() bool

func (*Console) GetManifestName Uses

func (m *Console) GetManifestName() string

func (*Console) GetName Uses

func (m *Console) GetName() string

func (*Console) GetRefs Uses

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

func (*Console) GetRepoUrl Uses

func (m *Console) GetRepoUrl() string

func (*Console) ProtoMessage Uses

func (*Console) ProtoMessage()

func (*Console) Reset Uses

func (m *Console) Reset()

func (*Console) String Uses

func (m *Console) String() string

func (*Console) ToProperty Uses

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/gae" library.

func (*Console) XXX_DiscardUnknown Uses

func (m *Console) XXX_DiscardUnknown()

func (*Console) XXX_Marshal Uses

func (m *Console) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Console) XXX_Merge Uses

func (m *Console) XXX_Merge(src proto.Message)

func (*Console) XXX_Size Uses

func (m *Console) XXX_Size() int

func (*Console) XXX_Unmarshal Uses

func (m *Console) XXX_Unmarshal(b []byte) error

type ConsoleSummaryGroup Uses

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 Uses

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

func (*ConsoleSummaryGroup) GetConsoleIds Uses

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

func (*ConsoleSummaryGroup) GetTitle Uses

func (m *ConsoleSummaryGroup) GetTitle() *Link

func (*ConsoleSummaryGroup) ProtoMessage Uses

func (*ConsoleSummaryGroup) ProtoMessage()

func (*ConsoleSummaryGroup) Reset Uses

func (m *ConsoleSummaryGroup) Reset()

func (*ConsoleSummaryGroup) String Uses

func (m *ConsoleSummaryGroup) String() string

func (*ConsoleSummaryGroup) XXX_DiscardUnknown Uses

func (m *ConsoleSummaryGroup) XXX_DiscardUnknown()

func (*ConsoleSummaryGroup) XXX_Marshal Uses

func (m *ConsoleSummaryGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsoleSummaryGroup) XXX_Merge Uses

func (m *ConsoleSummaryGroup) XXX_Merge(src proto.Message)

func (*ConsoleSummaryGroup) XXX_Size Uses

func (m *ConsoleSummaryGroup) XXX_Size() int

func (*ConsoleSummaryGroup) XXX_Unmarshal Uses

func (m *ConsoleSummaryGroup) XXX_Unmarshal(b []byte) error
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 Uses

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

func (*Header) GetConsoleGroups Uses

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

func (*Header) GetId Uses

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

func (*Header) GetOncalls Uses

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

func (*Header) GetTreeStatusHost Uses

func (m *Header) GetTreeStatusHost() string

func (*Header) ProtoMessage Uses

func (*Header) ProtoMessage()

func (*Header) Reset Uses

func (m *Header) Reset()

func (*Header) String Uses

func (m *Header) String() string

func (*Header) XXX_DiscardUnknown Uses

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal Uses

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge Uses

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size Uses

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal Uses

func (m *Header) XXX_Unmarshal(b []byte) error
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 Uses

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

func (*Link) GetAlt Uses

func (m *Link) GetAlt() string

func (*Link) GetText Uses

func (m *Link) GetText() string

func (*Link) GetUrl Uses

func (m *Link) GetUrl() string

func (*Link) ProtoMessage Uses

func (*Link) ProtoMessage()

func (*Link) Reset Uses

func (m *Link) Reset()

func (*Link) String Uses

func (m *Link) String() string

func (*Link) XXX_DiscardUnknown Uses

func (m *Link) XXX_DiscardUnknown()

func (*Link) XXX_Marshal Uses

func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Link) XXX_Merge Uses

func (m *Link) XXX_Merge(src proto.Message)

func (*Link) XXX_Size Uses

func (m *Link) XXX_Size() int

func (*Link) XXX_Unmarshal Uses

func (m *Link) XXX_Unmarshal(b []byte) error

type LinkGroup Uses

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 Uses

func (*LinkGroup) Descriptor() ([]byte, []int)
func (m *LinkGroup) GetLinks() []*Link

func (*LinkGroup) GetName Uses

func (m *LinkGroup) GetName() string

func (*LinkGroup) ProtoMessage Uses

func (*LinkGroup) ProtoMessage()

func (*LinkGroup) Reset Uses

func (m *LinkGroup) Reset()

func (*LinkGroup) String Uses

func (m *LinkGroup) String() string

func (*LinkGroup) XXX_DiscardUnknown Uses

func (m *LinkGroup) XXX_DiscardUnknown()

func (*LinkGroup) XXX_Marshal Uses

func (m *LinkGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkGroup) XXX_Merge Uses

func (m *LinkGroup) XXX_Merge(src proto.Message)

func (*LinkGroup) XXX_Size Uses

func (m *LinkGroup) XXX_Size() int

func (*LinkGroup) XXX_Unmarshal Uses

func (m *LinkGroup) XXX_Unmarshal(b []byte) error

type Oncall Uses

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 Uses

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

func (*Oncall) GetName Uses

func (m *Oncall) GetName() string

func (*Oncall) GetUrl Uses

func (m *Oncall) GetUrl() string

func (*Oncall) ProtoMessage Uses

func (*Oncall) ProtoMessage()

func (*Oncall) Reset Uses

func (m *Oncall) Reset()

func (*Oncall) String Uses

func (m *Oncall) String() string

func (*Oncall) XXX_DiscardUnknown Uses

func (m *Oncall) XXX_DiscardUnknown()

func (*Oncall) XXX_Marshal Uses

func (m *Oncall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Oncall) XXX_Merge Uses

func (m *Oncall) XXX_Merge(src proto.Message)

func (*Oncall) XXX_Size Uses

func (m *Oncall) XXX_Size() int

func (*Oncall) XXX_Unmarshal Uses

func (m *Oncall) XXX_Unmarshal(b []byte) error

type Project Uses

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 Uses

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

func (*Project) GetConsoles Uses

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

func (*Project) GetHeaders Uses

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

func (*Project) GetLogoUrl Uses

func (m *Project) GetLogoUrl() string

func (*Project) ProtoMessage Uses

func (*Project) ProtoMessage()

func (*Project) Reset Uses

func (m *Project) Reset()

func (*Project) String Uses

func (m *Project) String() string

func (*Project) XXX_DiscardUnknown Uses

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal Uses

func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge Uses

func (m *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size Uses

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal Uses

func (m *Project) XXX_Unmarshal(b []byte) error

type Settings Uses

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 Uses

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

func (*Settings) GetBuildbot Uses

func (m *Settings) GetBuildbot() *Settings_Buildbot

func (*Settings) GetBuildbucket Uses

func (m *Settings) GetBuildbucket() *Settings_Buildbucket

func (*Settings) GetSourceAcls Uses

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

func (*Settings) GetSwarming Uses

func (m *Settings) GetSwarming() *Settings_Swarming

func (*Settings) ProtoMessage Uses

func (*Settings) ProtoMessage()

func (*Settings) Reset Uses

func (m *Settings) Reset()

func (*Settings) String Uses

func (m *Settings) String() string

func (*Settings) XXX_DiscardUnknown Uses

func (m *Settings) XXX_DiscardUnknown()

func (*Settings) XXX_Marshal Uses

func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Settings) XXX_Merge Uses

func (m *Settings) XXX_Merge(src proto.Message)

func (*Settings) XXX_Size Uses

func (m *Settings) XXX_Size() int

func (*Settings) XXX_Unmarshal Uses

func (m *Settings) XXX_Unmarshal(b []byte) error

type Settings_Buildbot Uses

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 Uses

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

func (*Settings_Buildbot) GetInternalReader Uses

func (m *Settings_Buildbot) GetInternalReader() string

func (*Settings_Buildbot) GetInternalSubscription Uses

func (m *Settings_Buildbot) GetInternalSubscription() string

func (*Settings_Buildbot) GetPublicSubscription Uses

func (m *Settings_Buildbot) GetPublicSubscription() string

func (*Settings_Buildbot) ProtoMessage Uses

func (*Settings_Buildbot) ProtoMessage()

func (*Settings_Buildbot) Reset Uses

func (m *Settings_Buildbot) Reset()

func (*Settings_Buildbot) String Uses

func (m *Settings_Buildbot) String() string

func (*Settings_Buildbot) XXX_DiscardUnknown Uses

func (m *Settings_Buildbot) XXX_DiscardUnknown()

func (*Settings_Buildbot) XXX_Marshal Uses

func (m *Settings_Buildbot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Settings_Buildbot) XXX_Merge Uses

func (m *Settings_Buildbot) XXX_Merge(src proto.Message)

func (*Settings_Buildbot) XXX_Size Uses

func (m *Settings_Buildbot) XXX_Size() int

func (*Settings_Buildbot) XXX_Unmarshal Uses

func (m *Settings_Buildbot) XXX_Unmarshal(b []byte) error

type Settings_Buildbucket Uses

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 Uses

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

func (*Settings_Buildbucket) GetHost Uses

func (m *Settings_Buildbucket) GetHost() string

func (*Settings_Buildbucket) GetName Uses

func (m *Settings_Buildbucket) GetName() string

func (*Settings_Buildbucket) GetProject Uses

func (m *Settings_Buildbucket) GetProject() string

func (*Settings_Buildbucket) ProtoMessage Uses

func (*Settings_Buildbucket) ProtoMessage()

func (*Settings_Buildbucket) Reset Uses

func (m *Settings_Buildbucket) Reset()

func (*Settings_Buildbucket) String Uses

func (m *Settings_Buildbucket) String() string

func (*Settings_Buildbucket) XXX_DiscardUnknown Uses

func (m *Settings_Buildbucket) XXX_DiscardUnknown()

func (*Settings_Buildbucket) XXX_Marshal Uses

func (m *Settings_Buildbucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Settings_Buildbucket) XXX_Merge Uses

func (m *Settings_Buildbucket) XXX_Merge(src proto.Message)

func (*Settings_Buildbucket) XXX_Size Uses

func (m *Settings_Buildbucket) XXX_Size() int

func (*Settings_Buildbucket) XXX_Unmarshal Uses

func (m *Settings_Buildbucket) XXX_Unmarshal(b []byte) error

type Settings_SourceAcls Uses

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 Uses

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

func (*Settings_SourceAcls) GetHosts Uses

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

func (*Settings_SourceAcls) GetProjects Uses

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

func (*Settings_SourceAcls) GetReaders Uses

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

func (*Settings_SourceAcls) ProtoMessage Uses

func (*Settings_SourceAcls) ProtoMessage()

func (*Settings_SourceAcls) Reset Uses

func (m *Settings_SourceAcls) Reset()

func (*Settings_SourceAcls) String Uses

func (m *Settings_SourceAcls) String() string

func (*Settings_SourceAcls) XXX_DiscardUnknown Uses

func (m *Settings_SourceAcls) XXX_DiscardUnknown()

func (*Settings_SourceAcls) XXX_Marshal Uses

func (m *Settings_SourceAcls) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Settings_SourceAcls) XXX_Merge Uses

func (m *Settings_SourceAcls) XXX_Merge(src proto.Message)

func (*Settings_SourceAcls) XXX_Size Uses

func (m *Settings_SourceAcls) XXX_Size() int

func (*Settings_SourceAcls) XXX_Unmarshal Uses

func (m *Settings_SourceAcls) XXX_Unmarshal(b []byte) error

type Settings_Swarming Uses

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 Uses

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

func (*Settings_Swarming) GetAllowedHosts Uses

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

func (*Settings_Swarming) GetDefaultHost Uses

func (m *Settings_Swarming) GetDefaultHost() string

func (*Settings_Swarming) ProtoMessage Uses

func (*Settings_Swarming) ProtoMessage()

func (*Settings_Swarming) Reset Uses

func (m *Settings_Swarming) Reset()

func (*Settings_Swarming) String Uses

func (m *Settings_Swarming) String() string

func (*Settings_Swarming) XXX_DiscardUnknown Uses

func (m *Settings_Swarming) XXX_DiscardUnknown()

func (*Settings_Swarming) XXX_Marshal Uses

func (m *Settings_Swarming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Settings_Swarming) XXX_Merge Uses

func (m *Settings_Swarming) XXX_Merge(src proto.Message)

func (*Settings_Swarming) XXX_Size Uses

func (m *Settings_Swarming) XXX_Size() int

func (*Settings_Swarming) XXX_Unmarshal Uses

func (m *Settings_Swarming) XXX_Unmarshal(b []byte) error

Package config imports 5 packages (graph) and is imported by 8 packages. Updated 2018-10-23. Refresh now. Tools for package owners.