distributor

package
v0.0.0-...-678bb0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

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

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"`
}

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

type Config

type Config struct {
	DistributorConfigs map[string]*Distributor `` /* 182-byte string literal not displayed */
}

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

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_Jobsim struct {
	Jobsim *jobsim.Config `protobuf:"bytes,2048,opt,name=jobsim,oneof"`
}

type Distributor_SwarmingV1

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

Directories

Path Synopsis
Package jobsim is a generated protocol buffer package.
Package jobsim is a generated protocol buffer package.
swarming
v1
Package swarmingV1 is a generated protocol buffer package.
Package swarmingV1 is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL