luci: go.chromium.org/luci/dm/api/distributor Index | Files | Directories

package distributor

import "go.chromium.org/luci/dm/api/distributor"

Index

Package Files

distributor.pb.go gen.go

type Alias Uses

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

func (*Alias) Descriptor Uses

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

func (*Alias) GetOtherConfig Uses

func (m *Alias) GetOtherConfig() string

func (*Alias) ProtoMessage Uses

func (*Alias) ProtoMessage()

func (*Alias) Reset Uses

func (m *Alias) Reset()

func (*Alias) String Uses

func (m *Alias) String() string

func (*Alias) XXX_DiscardUnknown Uses

func (m *Alias) XXX_DiscardUnknown()

func (*Alias) XXX_Marshal Uses

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

func (*Alias) XXX_Merge Uses

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

func (*Alias) XXX_Size Uses

func (m *Alias) XXX_Size() int

func (*Alias) XXX_Unmarshal Uses

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

type Config Uses

type Config struct {
    DistributorConfigs   map[string]*Distributor `protobuf:"bytes,1,rep,name=distributor_configs,json=distributorConfigs" json:"distributor_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    XXX_NoUnkeyedLiteral struct{}                `json:"-"`
    XXX_unrecognized     []byte                  `json:"-"`
    XXX_sizecache        int32                   `json:"-"`
}

func (*Config) Descriptor Uses

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

func (*Config) GetDistributorConfigs Uses

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

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

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

func (*Config) XXX_Merge Uses

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

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

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

type Distributor Uses

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 Uses

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

func (*Distributor) GetAlias Uses

func (m *Distributor) GetAlias() *Alias

func (*Distributor) GetDistributorType Uses

func (m *Distributor) GetDistributorType() isDistributor_DistributorType

func (*Distributor) GetJobsim Uses

func (m *Distributor) GetJobsim() *jobsim.Config

func (*Distributor) GetSwarmingV1 Uses

func (m *Distributor) GetSwarmingV1() *v1.Config

func (*Distributor) ProtoMessage Uses

func (*Distributor) ProtoMessage()

func (*Distributor) Reset Uses

func (m *Distributor) Reset()

func (*Distributor) String Uses

func (m *Distributor) String() string

func (*Distributor) XXX_DiscardUnknown Uses

func (m *Distributor) XXX_DiscardUnknown()

func (*Distributor) XXX_Marshal Uses

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

func (*Distributor) XXX_Merge Uses

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

func (*Distributor) XXX_OneofFuncs Uses

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.

func (*Distributor) XXX_Size Uses

func (m *Distributor) XXX_Size() int

func (*Distributor) XXX_Unmarshal Uses

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

type Distributor_Alias Uses

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

type Distributor_Jobsim Uses

type Distributor_Jobsim struct {
    Jobsim *jobsim.Config `protobuf:"bytes,2048,opt,name=jobsim,oneof"`
}

type Distributor_SwarmingV1 Uses

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

Directories

PathSynopsis
jobsim
swarming/v1

Package distributor imports 5 packages (graph) and is imported by 2 packages. Updated 2018-08-20. Refresh now. Tools for package owners.