configpb

package
v0.0.0-...-d3da680 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_milo_proto_config_settings_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Settings

type Settings struct {
	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.
	//
	// See go/milo-git-acls for design rationales.
	SourceAcls     []*Settings_SourceAcls   `protobuf:"bytes,4,rep,name=source_acls,json=sourceAcls,proto3" json:"source_acls,omitempty"`
	Resultdb       *Settings_ResultDB       `protobuf:"bytes,5,opt,name=resultdb,proto3" json:"resultdb,omitempty"`
	LuciAnalysis   *Settings_LuciAnalysis   `protobuf:"bytes,7,opt,name=luci_analysis,json=luciAnalysis,proto3" json:"luci_analysis,omitempty"`
	LuciBisection  *Settings_LuciBisection  `protobuf:"bytes,8,opt,name=luci_bisection,json=luciBisection,proto3" json:"luci_bisection,omitempty"`
	SheriffOMatic  *Settings_SheriffOMatic  `protobuf:"bytes,9,opt,name=sheriff_o_matic,json=sheriffOMatic,proto3" json:"sheriff_o_matic,omitempty"`
	LuciTreeStatus *Settings_LuciTreeStatus `protobuf:"bytes,10,opt,name=luci_tree_status,json=luciTreeStatus,proto3" json:"luci_tree_status,omitempty"`
	LuciNotify     *Settings_LuciNotify     `protobuf:"bytes,11,opt,name=luci_notify,json=luciNotify,proto3" json:"luci_notify,omitempty"`
	AuthService    *Settings_AuthService    `protobuf:"bytes,12,opt,name=auth_service,json=authService,proto3" json:"auth_service,omitempty"`
	CrRev          *Settings_CrRev          `protobuf:"bytes,13,opt,name=cr_rev,json=crRev,proto3" json:"cr_rev,omitempty"`
	// Value set in configuration ignored, actual value picked up from command line flags to server binary.
	Milo            *Settings_Milo            `protobuf:"bytes,14,opt,name=milo,proto3" json:"milo,omitempty"`
	LuciSourceIndex *Settings_LUCISourceIndex `protobuf:"bytes,15,opt,name=luci_source_index,json=luciSourceIndex,proto3" json:"luci_source_index,omitempty"`
	// contains filtered or unexported fields
}

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

func (*Settings) Descriptor deprecated

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

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetAuthService

func (x *Settings) GetAuthService() *Settings_AuthService

func (*Settings) GetBuildbucket

func (x *Settings) GetBuildbucket() *Settings_Buildbucket

func (*Settings) GetCrRev

func (x *Settings) GetCrRev() *Settings_CrRev

func (*Settings) GetLuciAnalysis

func (x *Settings) GetLuciAnalysis() *Settings_LuciAnalysis

func (*Settings) GetLuciBisection

func (x *Settings) GetLuciBisection() *Settings_LuciBisection

func (*Settings) GetLuciNotify

func (x *Settings) GetLuciNotify() *Settings_LuciNotify

func (*Settings) GetLuciSourceIndex

func (x *Settings) GetLuciSourceIndex() *Settings_LUCISourceIndex

func (*Settings) GetLuciTreeStatus

func (x *Settings) GetLuciTreeStatus() *Settings_LuciTreeStatus

func (*Settings) GetMilo

func (x *Settings) GetMilo() *Settings_Milo

func (*Settings) GetResultdb

func (x *Settings) GetResultdb() *Settings_ResultDB

func (*Settings) GetSheriffOMatic

func (x *Settings) GetSheriffOMatic() *Settings_SheriffOMatic

func (*Settings) GetSourceAcls

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

func (*Settings) GetSwarming

func (x *Settings) GetSwarming() *Settings_Swarming

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect

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

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

type Settings_AuthService

type Settings_AuthService struct {

	// host is the hostname of the Auth Service instance we're pointing to (eg. defaultv2-dot-chrome-infra-auth.appspot.com).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_AuthService) Descriptor deprecated

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

Deprecated: Use Settings_AuthService.ProtoReflect.Descriptor instead.

func (*Settings_AuthService) GetHost

func (x *Settings_AuthService) GetHost() string

func (*Settings_AuthService) ProtoMessage

func (*Settings_AuthService) ProtoMessage()

func (*Settings_AuthService) ProtoReflect

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

func (*Settings_AuthService) Reset

func (x *Settings_AuthService) Reset()

func (*Settings_AuthService) String

func (x *Settings_AuthService) String() string

type Settings_Buildbucket

type Settings_Buildbucket struct {

	// name is the user friendly name of the Buildbucket instance we're pointing to.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// host is the hostname of the buildbucket instance we're pointing to (eg. cr-buildbucket.appspot.com).
	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.
	//
	// Deprecated: this is no longer used. The buildbucket subscription should
	// be configured via GCP console.
	// TODO(crbug/1255983): set up subscription configuration via terraform.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_Buildbucket) Descriptor deprecated

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

Deprecated: Use Settings_Buildbucket.ProtoReflect.Descriptor instead.

func (*Settings_Buildbucket) GetHost

func (x *Settings_Buildbucket) GetHost() string

func (*Settings_Buildbucket) GetName

func (x *Settings_Buildbucket) GetName() string

func (*Settings_Buildbucket) GetProject

func (x *Settings_Buildbucket) GetProject() string

func (*Settings_Buildbucket) ProtoMessage

func (*Settings_Buildbucket) ProtoMessage()

func (*Settings_Buildbucket) ProtoReflect

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

func (*Settings_Buildbucket) Reset

func (x *Settings_Buildbucket) Reset()

func (*Settings_Buildbucket) String

func (x *Settings_Buildbucket) String() string

type Settings_CrRev

type Settings_CrRev struct {

	// host is the hostname of the Cr-Rev instance we're pointing to (eg. cr-rev.appspot.com).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_CrRev) Descriptor deprecated

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

Deprecated: Use Settings_CrRev.ProtoReflect.Descriptor instead.

func (*Settings_CrRev) GetHost

func (x *Settings_CrRev) GetHost() string

func (*Settings_CrRev) ProtoMessage

func (*Settings_CrRev) ProtoMessage()

func (*Settings_CrRev) ProtoReflect

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

func (*Settings_CrRev) Reset

func (x *Settings_CrRev) Reset()

func (*Settings_CrRev) String

func (x *Settings_CrRev) String() string

type Settings_LUCISourceIndex

type Settings_LUCISourceIndex struct {

	// host is the hostname of the LUCI Source Index instance we're pointing to for RPCs (e.g. sourceindex.api.luci.app).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_LUCISourceIndex) Descriptor deprecated

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

Deprecated: Use Settings_LUCISourceIndex.ProtoReflect.Descriptor instead.

func (*Settings_LUCISourceIndex) GetHost

func (x *Settings_LUCISourceIndex) GetHost() string

func (*Settings_LUCISourceIndex) ProtoMessage

func (*Settings_LUCISourceIndex) ProtoMessage()

func (*Settings_LUCISourceIndex) ProtoReflect

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

func (*Settings_LUCISourceIndex) Reset

func (x *Settings_LUCISourceIndex) Reset()

func (*Settings_LUCISourceIndex) String

func (x *Settings_LUCISourceIndex) String() string

type Settings_LuciAnalysis

type Settings_LuciAnalysis struct {

	// host is the hostname of the LUCI Analysis instance we're pointing to for RPCs (eg. analysis.api.luci.app).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// ui_host is the hostname to use for links to LUCI Analysis UI (eg. luci-analysis.appspot.com).
	UiHost string `protobuf:"bytes,2,opt,name=ui_host,json=uiHost,proto3" json:"ui_host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_LuciAnalysis) Descriptor deprecated

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

Deprecated: Use Settings_LuciAnalysis.ProtoReflect.Descriptor instead.

func (*Settings_LuciAnalysis) GetHost

func (x *Settings_LuciAnalysis) GetHost() string

func (*Settings_LuciAnalysis) GetUiHost

func (x *Settings_LuciAnalysis) GetUiHost() string

func (*Settings_LuciAnalysis) ProtoMessage

func (*Settings_LuciAnalysis) ProtoMessage()

func (*Settings_LuciAnalysis) ProtoReflect

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

func (*Settings_LuciAnalysis) Reset

func (x *Settings_LuciAnalysis) Reset()

func (*Settings_LuciAnalysis) String

func (x *Settings_LuciAnalysis) String() string

type Settings_LuciBisection

type Settings_LuciBisection struct {

	// host is the hostname of the LUCI Bisection instance we're pointing to for RPCs (eg. luci-bisection.appspot.com).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_LuciBisection) Descriptor deprecated

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

Deprecated: Use Settings_LuciBisection.ProtoReflect.Descriptor instead.

func (*Settings_LuciBisection) GetHost

func (x *Settings_LuciBisection) GetHost() string

func (*Settings_LuciBisection) ProtoMessage

func (*Settings_LuciBisection) ProtoMessage()

func (*Settings_LuciBisection) ProtoReflect

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

func (*Settings_LuciBisection) Reset

func (x *Settings_LuciBisection) Reset()

func (*Settings_LuciBisection) String

func (x *Settings_LuciBisection) String() string

type Settings_LuciNotify

type Settings_LuciNotify struct {

	// host is the hostname of the LUCI Notify instance we're pointing to for RPCs (eg. notify.api.luci.app).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_LuciNotify) Descriptor deprecated

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

Deprecated: Use Settings_LuciNotify.ProtoReflect.Descriptor instead.

func (*Settings_LuciNotify) GetHost

func (x *Settings_LuciNotify) GetHost() string

func (*Settings_LuciNotify) ProtoMessage

func (*Settings_LuciNotify) ProtoMessage()

func (*Settings_LuciNotify) ProtoReflect

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

func (*Settings_LuciNotify) Reset

func (x *Settings_LuciNotify) Reset()

func (*Settings_LuciNotify) String

func (x *Settings_LuciNotify) String() string

type Settings_LuciTreeStatus

type Settings_LuciTreeStatus struct {

	// host is the hostname of the LUCI Tree Status instance we're pointing to for RPCs (eg. luci-tree-status.appspot.com).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_LuciTreeStatus) Descriptor deprecated

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

Deprecated: Use Settings_LuciTreeStatus.ProtoReflect.Descriptor instead.

func (*Settings_LuciTreeStatus) GetHost

func (x *Settings_LuciTreeStatus) GetHost() string

func (*Settings_LuciTreeStatus) ProtoMessage

func (*Settings_LuciTreeStatus) ProtoMessage()

func (*Settings_LuciTreeStatus) ProtoReflect

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

func (*Settings_LuciTreeStatus) Reset

func (x *Settings_LuciTreeStatus) Reset()

func (*Settings_LuciTreeStatus) String

func (x *Settings_LuciTreeStatus) String() string

type Settings_Milo

type Settings_Milo struct {

	// host is the hostname of the MILO instance we're pointing to for RPCs (e.g. milo.api.luci.app).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_Milo) Descriptor deprecated

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

Deprecated: Use Settings_Milo.ProtoReflect.Descriptor instead.

func (*Settings_Milo) GetHost

func (x *Settings_Milo) GetHost() string

func (*Settings_Milo) ProtoMessage

func (*Settings_Milo) ProtoMessage()

func (*Settings_Milo) ProtoReflect

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

func (*Settings_Milo) Reset

func (x *Settings_Milo) Reset()

func (*Settings_Milo) String

func (x *Settings_Milo) String() string

type Settings_ResultDB

type Settings_ResultDB struct {

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

func (*Settings_ResultDB) Descriptor deprecated

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

Deprecated: Use Settings_ResultDB.ProtoReflect.Descriptor instead.

func (*Settings_ResultDB) GetHost

func (x *Settings_ResultDB) GetHost() string

func (*Settings_ResultDB) ProtoMessage

func (*Settings_ResultDB) ProtoMessage()

func (*Settings_ResultDB) ProtoReflect

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

func (*Settings_ResultDB) Reset

func (x *Settings_ResultDB) Reset()

func (*Settings_ResultDB) String

func (x *Settings_ResultDB) String() string

type Settings_SheriffOMatic

type Settings_SheriffOMatic struct {

	// host is the hostname of the Sheriff-O-Matic instance we're pointing to (eg. sheriff-o-matic.appspot.com).
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_SheriffOMatic) Descriptor deprecated

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

Deprecated: Use Settings_SheriffOMatic.ProtoReflect.Descriptor instead.

func (*Settings_SheriffOMatic) GetHost

func (x *Settings_SheriffOMatic) GetHost() string

func (*Settings_SheriffOMatic) ProtoMessage

func (*Settings_SheriffOMatic) ProtoMessage()

func (*Settings_SheriffOMatic) ProtoReflect

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

func (*Settings_SheriffOMatic) Reset

func (x *Settings_SheriffOMatic) Reset()

func (*Settings_SheriffOMatic) String

func (x *Settings_SheriffOMatic) String() string

type Settings_SourceAcls

type Settings_SourceAcls struct {

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

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

func (*Settings_SourceAcls) Descriptor deprecated

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

Deprecated: Use Settings_SourceAcls.ProtoReflect.Descriptor instead.

func (*Settings_SourceAcls) GetHosts

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

func (*Settings_SourceAcls) GetProjects

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

func (*Settings_SourceAcls) GetReaders

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

func (*Settings_SourceAcls) ProtoMessage

func (*Settings_SourceAcls) ProtoMessage()

func (*Settings_SourceAcls) ProtoReflect

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

func (*Settings_SourceAcls) Reset

func (x *Settings_SourceAcls) Reset()

func (*Settings_SourceAcls) String

func (x *Settings_SourceAcls) String() string

type Settings_Swarming

type Settings_Swarming struct {

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

func (*Settings_Swarming) Descriptor deprecated

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

Deprecated: Use Settings_Swarming.ProtoReflect.Descriptor instead.

func (*Settings_Swarming) GetAllowedHosts

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

func (*Settings_Swarming) GetDefaultHost

func (x *Settings_Swarming) GetDefaultHost() string

func (*Settings_Swarming) ProtoMessage

func (*Settings_Swarming) ProtoMessage()

func (*Settings_Swarming) ProtoReflect

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

func (*Settings_Swarming) Reset

func (x *Settings_Swarming) Reset()

func (*Settings_Swarming) String

func (x *Settings_Swarming) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL