Documentation ¶
Overview ¶
Package configpb contains the definition for LUCI Source Index's service- level configuration.
Index ¶
- Variables
- type Config
- type Config_Host
- func (*Config_Host) Descriptor() ([]byte, []int)deprecated
- func (x *Config_Host) GetHost() string
- func (x *Config_Host) GetRepositories() []*Config_Host_Repository
- func (*Config_Host) ProtoMessage()
- func (x *Config_Host) ProtoReflect() protoreflect.Message
- func (x *Config_Host) Reset()
- func (x *Config_Host) String() string
- type Config_Host_Repository
- func (*Config_Host_Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Config_Host_Repository) GetIncludeRefRegexes() []string
- func (x *Config_Host_Repository) GetName() string
- func (*Config_Host_Repository) ProtoMessage()
- func (x *Config_Host_Repository) ProtoReflect() protoreflect.Message
- func (x *Config_Host_Repository) Reset()
- func (x *Config_Host_Repository) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_source_index_proto_config_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Required. A list of gitiles host to index. // // See go/luci-source-index-new-repo-setup for all the steps required to set // up a new host. Hosts []*Config_Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` // contains filtered or unexported fields }
The service-level config for LUCI Source Index.
func (*Config) Descriptor
deprecated
func (*Config) GetHosts ¶
func (x *Config) GetHosts() []*Config_Host
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Config_Host ¶
type Config_Host struct { // Required. The gitiles host. Must be a subdomain of `.googlesource.com` // (e.g. chromium.googlesource.com). Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Required. A list of repositories to be indexed. // // See go/luci-source-index-new-repo-setup for all the steps required to // set up a new repository. Repositories []*Config_Host_Repository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"` // contains filtered or unexported fields }
func (*Config_Host) Descriptor
deprecated
func (*Config_Host) Descriptor() ([]byte, []int)
Deprecated: Use Config_Host.ProtoReflect.Descriptor instead.
func (*Config_Host) GetHost ¶
func (x *Config_Host) GetHost() string
func (*Config_Host) GetRepositories ¶
func (x *Config_Host) GetRepositories() []*Config_Host_Repository
func (*Config_Host) ProtoMessage ¶
func (*Config_Host) ProtoMessage()
func (*Config_Host) ProtoReflect ¶
func (x *Config_Host) ProtoReflect() protoreflect.Message
func (*Config_Host) Reset ¶
func (x *Config_Host) Reset()
func (*Config_Host) String ¶
func (x *Config_Host) String() string
type Config_Host_Repository ¶
type Config_Host_Repository struct { // Required. The name of the gitiles project, for example "chromium/src" // or "v8/v8". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. A list of refs to be indexed, specified as a list of ref // regexes. The regexes are automatically wrapped in ^ and $. // // Additionally, only refs that begin with // - refs/branch-heads/ // - refs/heads/ // // will be indexed. IncludeRefRegexes []string `protobuf:"bytes,2,rep,name=include_ref_regexes,json=includeRefRegexes,proto3" json:"include_ref_regexes,omitempty"` // contains filtered or unexported fields }
func (*Config_Host_Repository) Descriptor
deprecated
func (*Config_Host_Repository) Descriptor() ([]byte, []int)
Deprecated: Use Config_Host_Repository.ProtoReflect.Descriptor instead.
func (*Config_Host_Repository) GetIncludeRefRegexes ¶
func (x *Config_Host_Repository) GetIncludeRefRegexes() []string
func (*Config_Host_Repository) GetName ¶
func (x *Config_Host_Repository) GetName() string
func (*Config_Host_Repository) ProtoMessage ¶
func (*Config_Host_Repository) ProtoMessage()
func (*Config_Host_Repository) ProtoReflect ¶
func (x *Config_Host_Repository) ProtoReflect() protoreflect.Message
func (*Config_Host_Repository) Reset ¶
func (x *Config_Host_Repository) Reset()
func (*Config_Host_Repository) String ¶
func (x *Config_Host_Repository) String() string
Click to show internal directories.
Click to hide internal directories.