Documentation ¶
Index ¶
- Variables
- type Alias
- type Config
- type Distributor
- func (*Distributor) Descriptor() ([]byte, []int)deprecated
- func (x *Distributor) GetAlias() *Alias
- func (m *Distributor) GetDistributorType() isDistributor_DistributorType
- func (x *Distributor) GetJobsim() *jobsim.Config
- func (x *Distributor) GetSwarmingV1() *v1.Config
- func (*Distributor) ProtoMessage()
- func (x *Distributor) ProtoReflect() protoreflect.Message
- func (x *Distributor) Reset()
- func (x *Distributor) String() string
- type Distributor_Alias
- type Distributor_Jobsim
- type Distributor_SwarmingV1
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_dm_api_distributor_distributor_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { OtherConfig string `protobuf:"bytes,1,opt,name=other_config,json=otherConfig,proto3" json:"other_config,omitempty"` // contains filtered or unexported fields }
func (*Alias) Descriptor
deprecated
func (*Alias) GetOtherConfig ¶
func (*Alias) ProtoMessage ¶
func (*Alias) ProtoMessage()
func (*Alias) ProtoReflect ¶
func (x *Alias) ProtoReflect() protoreflect.Message
type Config ¶
type Config struct { DistributorConfigs map[string]*Distributor `` /* 203-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetDistributorConfigs ¶
func (x *Config) GetDistributorConfigs() map[string]*Distributor
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Distributor ¶
type Distributor struct { // TODO(iannucci): Maybe something like Any or extensions would be a better // fit here? The ultimate goal is that users will be able to use the proto // text format for luci-config. I suspect that Any or extensions would lose // the ability to validate such text-formatted protobufs, but maybe that's // not the case. // // Types that are assignable to DistributorType: // *Distributor_Alias // *Distributor_SwarmingV1 // *Distributor_Jobsim DistributorType isDistributor_DistributorType `protobuf_oneof:"distributor_type"` // contains filtered or unexported fields }
func (*Distributor) Descriptor
deprecated
func (*Distributor) Descriptor() ([]byte, []int)
Deprecated: Use Distributor.ProtoReflect.Descriptor instead.
func (*Distributor) GetAlias ¶
func (x *Distributor) GetAlias() *Alias
func (*Distributor) GetDistributorType ¶
func (m *Distributor) GetDistributorType() isDistributor_DistributorType
func (*Distributor) GetJobsim ¶
func (x *Distributor) GetJobsim() *jobsim.Config
func (*Distributor) GetSwarmingV1 ¶
func (x *Distributor) GetSwarmingV1() *v1.Config
func (*Distributor) ProtoMessage ¶
func (*Distributor) ProtoMessage()
func (*Distributor) ProtoReflect ¶
func (x *Distributor) ProtoReflect() protoreflect.Message
func (*Distributor) Reset ¶
func (x *Distributor) Reset()
func (*Distributor) String ¶
func (x *Distributor) String() string
type Distributor_Alias ¶
type Distributor_Alias struct {
Alias *Alias `protobuf:"bytes,1,opt,name=alias,proto3,oneof"`
}
type Distributor_Jobsim ¶
type Distributor_SwarmingV1 ¶
Click to show internal directories.
Click to hide internal directories.