Back to godoc.org
go.chromium.org/luci/dm/api/distributor

package distributor

v0.0.0 (f83551c)
Latest Go to latest
Published: 3 hours ago | License: Apache-2.0 | Module: go.chromium.org/luci

Index

type Alias

type Alias struct {
	OtherConfig          string   `protobuf:"bytes,1,opt,name=other_config,json=otherConfig,proto3" json:"other_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Alias) Descriptor

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

func (*Alias) GetOtherConfig

func (m *Alias) GetOtherConfig() string

func (*Alias) ProtoMessage

func (*Alias) ProtoMessage()

func (*Alias) Reset

func (m *Alias) Reset()

func (*Alias) String

func (m *Alias) String() string

func (*Alias) XXX_DiscardUnknown

func (m *Alias) XXX_DiscardUnknown()

func (*Alias) XXX_Marshal

func (m *Alias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Alias) XXX_Merge

func (m *Alias) XXX_Merge(src proto.Message)

func (*Alias) XXX_Size

func (m *Alias) XXX_Size() int

func (*Alias) XXX_Unmarshal

func (m *Alias) XXX_Unmarshal(b []byte) error

type Config

type Config struct {
	DistributorConfigs   map[string]*Distributor "" /* 203 byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*Config) Descriptor

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

func (*Config) GetDistributorConfigs

func (m *Config) GetDistributorConfigs() map[string]*Distributor

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

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() *v1.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_DiscardUnknown

func (m *Distributor) XXX_DiscardUnknown()

func (*Distributor) XXX_Marshal

func (m *Distributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Distributor) XXX_Merge

func (m *Distributor) XXX_Merge(src proto.Message)

func (*Distributor) XXX_OneofWrappers

func (*Distributor) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Distributor) XXX_Size

func (m *Distributor) XXX_Size() int

func (*Distributor) XXX_Unmarshal

func (m *Distributor) XXX_Unmarshal(b []byte) error

type Distributor_Alias

type Distributor_Alias struct {
	Alias *Alias `protobuf:"bytes,1,opt,name=alias,proto3,oneof"`
}

type Distributor_Jobsim

type Distributor_Jobsim struct {
	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"`
}
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier