proto: Index | Files

package lab_platform

import ""


Package Files


type DutState Uses

type DutState struct {
    // DUT health description, e.g. "ready", "needs_repair" etc.
    State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
    // OS and/or fw versions installed on the DUT, e.g.
    // {"cros-version":"terra-release/R75-12105.108.0"}.
    // Used to construct variable bot dimensions.
    ProvisionableLabels map[string]string `protobuf:"bytes,2,rep,name=provisionable_labels,proto3" json:"provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Variable DUT attributes, e.g.
    // {"job_repo_url":"http://devserver_ip:8082/static/terra-release/R75-12105.108.0/autotest/packages"}.
    // Are fed into the Autotest harness via the host info file.
    ProvisionableAttributes map[string]string `protobuf:"bytes,3,rep,name=provisionable_attributes,proto3" json:"provisionable_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral    struct{}          `json:"-"`
    XXX_unrecognized        []byte            `json:"-"`
    XXX_sizecache           int32             `json:"-"`

DutState defines the structure of the file used to cache variable DUT information on the drone.

func (*DutState) Descriptor Uses

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

func (*DutState) GetProvisionableAttributes Uses

func (m *DutState) GetProvisionableAttributes() map[string]string

func (*DutState) GetProvisionableLabels Uses

func (m *DutState) GetProvisionableLabels() map[string]string

func (*DutState) GetState Uses

func (m *DutState) GetState() string

func (*DutState) ProtoMessage Uses

func (*DutState) ProtoMessage()

func (*DutState) Reset Uses

func (m *DutState) Reset()

func (*DutState) String Uses

func (m *DutState) String() string

func (*DutState) XXX_DiscardUnknown Uses

func (m *DutState) XXX_DiscardUnknown()

func (*DutState) XXX_Marshal Uses

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

func (*DutState) XXX_Merge Uses

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

func (*DutState) XXX_Size Uses

func (m *DutState) XXX_Size() int

func (*DutState) XXX_Unmarshal Uses

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

Package lab_platform imports 3 packages (graph). Updated 2019-08-20. Refresh now. Tools for package owners.