Documentation
¶
Overview ¶
Package protos holds the app protos.
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetCanaryPercentage() int32
- func (x *Config) GetExcludeDuts() []string
- func (x *Config) GetExcludePools() []string
- func (x *Config) GetLargeMemoryOverrides() []*Override
- func (x *Config) GetLowRiskModels() []string
- func (x *Config) GetMinCloudbotsPercentage() int32
- func (x *Config) GetMinLargeMemoryPercentage() int32
- func (x *Config) GetMinLowRiskModelsPercentage() int32
- func (x *Config) GetOverrides() []*Override
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Migration
- type Override
- func (*Override) Descriptor() ([]byte, []int)deprecated
- func (x *Override) GetBoard() string
- func (x *Override) GetModel() string
- func (x *Override) GetPercentage() int32
- func (*Override) ProtoMessage()
- func (x *Override) ProtoReflect() protoreflect.Message
- func (x *Override) Reset()
- func (x *Override) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_infra_cros_botsregulator_protos_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MinCloudbotsPercentage int32 `` /* 130-byte string literal not displayed */ MinLowRiskModelsPercentage int32 `` /* 146-byte string literal not displayed */ LowRiskModels []string `protobuf:"bytes,3,rep,name=low_risk_models,json=lowRiskModels,proto3" json:"low_risk_models,omitempty"` ExcludeDuts []string `protobuf:"bytes,4,rep,name=exclude_duts,json=excludeDuts,proto3" json:"exclude_duts,omitempty"` ExcludePools []string `protobuf:"bytes,5,rep,name=exclude_pools,json=excludePools,proto3" json:"exclude_pools,omitempty"` Overrides []*Override `protobuf:"bytes,6,rep,name=overrides,proto3" json:"overrides,omitempty"` MinLargeMemoryPercentage int32 `` /* 138-byte string literal not displayed */ LargeMemoryOverrides []*Override `protobuf:"bytes,8,rep,name=large_memory_overrides,json=largeMemoryOverrides,proto3" json:"large_memory_overrides,omitempty"` CanaryPercentage int32 `protobuf:"varint,9,opt,name=canary_percentage,json=canaryPercentage,proto3" json:"canary_percentage,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetCanaryPercentage ¶
func (*Config) GetExcludeDuts ¶
func (*Config) GetExcludePools ¶
func (*Config) GetLargeMemoryOverrides ¶
func (*Config) GetLowRiskModels ¶
func (*Config) GetMinCloudbotsPercentage ¶
func (*Config) GetMinLargeMemoryPercentage ¶
func (*Config) GetMinLowRiskModelsPercentage ¶
func (*Config) GetOverrides ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Migration ¶
type Migration struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*Migration) Descriptor
deprecated
func (*Migration) ProtoMessage ¶
func (*Migration) ProtoMessage()
func (*Migration) ProtoReflect ¶
func (x *Migration) ProtoReflect() protoreflect.Message
type Override ¶
type Override struct { Board string `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"` Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` Percentage int32 `protobuf:"varint,3,opt,name=percentage,proto3" json:"percentage,omitempty"` // contains filtered or unexported fields }
func (*Override) Descriptor
deprecated
func (*Override) GetPercentage ¶
func (*Override) ProtoMessage ¶
func (*Override) ProtoMessage()
func (*Override) ProtoReflect ¶
func (x *Override) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.