Documentation ¶
Overview ¶
Package distributor is a generated protocol buffer package.
It is generated from these files:
github.com/luci/luci-go/dm/api/distributor/distributor.proto
It has these top-level messages:
Alias Distributor Config
Index ¶
- type Alias
- type Config
- type Distributor
- func (*Distributor) Descriptor() ([]byte, []int)
- func (m *Distributor) GetAlias() *Alias
- func (m *Distributor) GetDistributorType() isDistributor_DistributorType
- func (m *Distributor) GetJobsim() *jobsim.Config
- func (m *Distributor) GetSwarmingV1() *swarmingV1.Config
- func (*Distributor) ProtoMessage()
- func (m *Distributor) Reset()
- func (m *Distributor) String() string
- func (*Distributor) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Distributor_Alias
- type Distributor_Jobsim
- type Distributor_SwarmingV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct {
OtherConfig string `protobuf:"bytes,1,opt,name=other_config,json=otherConfig" json:"other_config,omitempty"`
}
type Config ¶
type Config struct {
DistributorConfigs map[string]*Distributor `` /* 182-byte string literal not displayed */
}
func (*Config) GetDistributorConfigs ¶
func (m *Config) GetDistributorConfigs() map[string]*Distributor
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 valid to be assigned to DistributorType: // *Distributor_Alias // *Distributor_SwarmingV1 // *Distributor_Jobsim DistributorType isDistributor_DistributorType `protobuf_oneof:"distributor_type"` }
func (*Distributor) Descriptor ¶
func (*Distributor) Descriptor() ([]byte, []int)
func (*Distributor) GetAlias ¶
func (m *Distributor) GetAlias() *Alias
func (*Distributor) GetDistributorType ¶
func (m *Distributor) GetDistributorType() isDistributor_DistributorType
func (*Distributor) GetJobsim ¶
func (m *Distributor) GetJobsim() *jobsim.Config
func (*Distributor) GetSwarmingV1 ¶
func (m *Distributor) GetSwarmingV1() *swarmingV1.Config
func (*Distributor) ProtoMessage ¶
func (*Distributor) ProtoMessage()
func (*Distributor) Reset ¶
func (m *Distributor) Reset()
func (*Distributor) String ¶
func (m *Distributor) String() string
func (*Distributor) XXX_OneofFuncs ¶
func (*Distributor) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type Distributor_Alias ¶
type Distributor_Alias struct {
Alias *Alias `protobuf:"bytes,1,opt,name=alias,oneof"`
}
type Distributor_Jobsim ¶
type Distributor_SwarmingV1 ¶
type Distributor_SwarmingV1 struct {
SwarmingV1 *swarmingV1.Config `protobuf:"bytes,4,opt,name=swarming_v1,json=swarmingV1,oneof"`
}
Click to show internal directories.
Click to hide internal directories.