Documentation

Index

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

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

Deprecated: Use Alias.ProtoReflect.Descriptor instead.

func (*Alias) GetOtherConfig

func (x *Alias) GetOtherConfig() string

func (*Alias) ProtoMessage

func (*Alias) ProtoMessage()

func (*Alias) ProtoReflect

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

func (*Alias) Reset

func (x *Alias) Reset()

func (*Alias) String

func (x *Alias) String() string

type Config

type Config struct {
	DistributorConfigs map[string]*Distributor `` /* 203-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Config) Descriptor

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

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

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_Jobsim struct {
	// this is for testing purposes and will only be used in production to put
	// test load on DM. It's tagged at 2048 to keep it well out of the way.
	Jobsim *jobsim.Config `protobuf:"bytes,2048,opt,name=jobsim,proto3,oneof"`
}

type Distributor_SwarmingV1

type Distributor_SwarmingV1 struct {
	SwarmingV1 *v1.Config `protobuf:"bytes,4,opt,name=swarming_v1,json=swarmingV1,proto3,oneof"`
}

Directories

Path Synopsis
swarming
v1