proto: go.chromium.org/chromiumos/infra/proto/go/lab Index | Files

package lab

import "go.chromium.org/chromiumos/infra/proto/go/lab"

Index

Package Files

chameleon.pb.go chromeos_device_id.pb.go device.pb.go device_action.pb.go dut_state.pb.go peripherals.pb.go servo.pb.go

Variables

var CameraType_name = map[int32]string{
    0:  "CAMERA_INVALID",
    1:  "CAMERA_HUDDLY",
    2:  "CAMERA_PTZPRO2",
}
var CameraType_value = map[string]int32{
    "CAMERA_INVALID": 0,
    "CAMERA_HUDDLY":  1,
    "CAMERA_PTZPRO2": 2,
}
var ChameleonType_name = map[int32]string{
    0:  "CHAMELEON_TYPE_INVALID",
    1:  "CHAMELEON_TYPE_BT_HID",
    2:  "CHAMELEON_TYPE_DP",
    3:  "CHAMELEON_TYPE_DP_HDMI",
    4:  "CHAMELEON_TYPE_VGA",
    5:  "CHAMELEON_TYPE_HDMI",
}
var ChameleonType_value = map[string]int32{
    "CHAMELEON_TYPE_INVALID": 0,
    "CHAMELEON_TYPE_BT_HID":  1,
    "CHAMELEON_TYPE_DP":      2,
    "CHAMELEON_TYPE_DP_HDMI": 3,
    "CHAMELEON_TYPE_VGA":     4,
    "CHAMELEON_TYPE_HDMI":    5,
}
var PeripheralState_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "WORKING",
    2:  "NOT_CONNECTED",
}
var PeripheralState_value = map[string]int32{
    "UNKNOWN":       0,
    "WORKING":       1,
    "NOT_CONNECTED": 2,
}
var Wifi_AntennaConnection_name = map[int32]string{
    0:  "CONN_UNKNOWN",
    1:  "CONN_CONDUCTIVE",
    2:  "CONN_OTA",
}
var Wifi_AntennaConnection_value = map[string]int32{
    "CONN_UNKNOWN":    0,
    "CONN_CONDUCTIVE": 1,
    "CONN_OTA":        2,
}

type Audio Uses

type Audio struct {
    // Indicate if the DUT is housed in an audio box to record / replay audio
    // for audio testing.
    AudioBox bool `protobuf:"varint,1,opt,name=audio_box,json=audioBox,proto3" json:"audio_box,omitempty"`
    // Indicate if the DUT is connected to Atrus speakermic
    Atrus                bool     `protobuf:"varint,2,opt,name=atrus,proto3" json:"atrus,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Next Tag: 3

func (*Audio) Descriptor Uses

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

func (*Audio) GetAtrus Uses

func (m *Audio) GetAtrus() bool

func (*Audio) GetAudioBox Uses

func (m *Audio) GetAudioBox() bool

func (*Audio) ProtoMessage Uses

func (*Audio) ProtoMessage()

func (*Audio) Reset Uses

func (m *Audio) Reset()

func (*Audio) String Uses

func (m *Audio) String() string

func (*Audio) XXX_DiscardUnknown Uses

func (m *Audio) XXX_DiscardUnknown()

func (*Audio) XXX_Marshal Uses

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

func (*Audio) XXX_Merge Uses

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

func (*Audio) XXX_Size Uses

func (m *Audio) XXX_Size() int

func (*Audio) XXX_Unmarshal Uses

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

type Camera Uses

type Camera struct {
    CameraType           CameraType `protobuf:"varint,1,opt,name=camera_type,json=cameraType,proto3,enum=lab.CameraType" json:"camera_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

Next Tag: 2

func (*Camera) Descriptor Uses

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

func (*Camera) GetCameraType Uses

func (m *Camera) GetCameraType() CameraType

func (*Camera) ProtoMessage Uses

func (*Camera) ProtoMessage()

func (*Camera) Reset Uses

func (m *Camera) Reset()

func (*Camera) String Uses

func (m *Camera) String() string

func (*Camera) XXX_DiscardUnknown Uses

func (m *Camera) XXX_DiscardUnknown()

func (*Camera) XXX_Marshal Uses

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

func (*Camera) XXX_Merge Uses

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

func (*Camera) XXX_Size Uses

func (m *Camera) XXX_Size() int

func (*Camera) XXX_Unmarshal Uses

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

type CameraType Uses

type CameraType int32

Next Tag: 3

const (
    CameraType_CAMERA_INVALID CameraType = 0
    // camera Huddly GO
    CameraType_CAMERA_HUDDLY CameraType = 1
    // camera Logitech PTZ Pro 2
    CameraType_CAMERA_PTZPRO2 CameraType = 2
)

func (CameraType) EnumDescriptor Uses

func (CameraType) EnumDescriptor() ([]byte, []int)

func (CameraType) String Uses

func (x CameraType) String() string

type Chameleon Uses

type Chameleon struct {
    ChameleonType ChameleonType `protobuf:"varint,1,opt,name=chameleon_type,json=chameleonType,proto3,enum=lab.ChameleonType" json:"chameleon_type,omitempty"`
    // Indicate if there's audio_board in the chameleon.
    AudioBoard           bool     `protobuf:"varint,2,opt,name=audio_board,json=audioBoard,proto3" json:"audio_board,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

NEXT TAG: 3

func (*Chameleon) Descriptor Uses

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

func (*Chameleon) GetAudioBoard Uses

func (m *Chameleon) GetAudioBoard() bool

func (*Chameleon) GetChameleonType Uses

func (m *Chameleon) GetChameleonType() ChameleonType

func (*Chameleon) ProtoMessage Uses

func (*Chameleon) ProtoMessage()

func (*Chameleon) Reset Uses

func (m *Chameleon) Reset()

func (*Chameleon) String Uses

func (m *Chameleon) String() string

func (*Chameleon) XXX_DiscardUnknown Uses

func (m *Chameleon) XXX_DiscardUnknown()

func (*Chameleon) XXX_Marshal Uses

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

func (*Chameleon) XXX_Merge Uses

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

func (*Chameleon) XXX_Size Uses

func (m *Chameleon) XXX_Size() int

func (*Chameleon) XXX_Unmarshal Uses

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

type ChameleonType Uses

type ChameleonType int32
const (
    ChameleonType_CHAMELEON_TYPE_INVALID ChameleonType = 0
    ChameleonType_CHAMELEON_TYPE_BT_HID  ChameleonType = 1
    ChameleonType_CHAMELEON_TYPE_DP      ChameleonType = 2
    ChameleonType_CHAMELEON_TYPE_DP_HDMI ChameleonType = 3
    ChameleonType_CHAMELEON_TYPE_VGA     ChameleonType = 4
    ChameleonType_CHAMELEON_TYPE_HDMI    ChameleonType = 5
)

func (ChameleonType) EnumDescriptor Uses

func (ChameleonType) EnumDescriptor() ([]byte, []int)

func (ChameleonType) String Uses

func (x ChameleonType) String() string

type ChromeOSDevice Uses

type ChromeOSDevice struct {
    // A unique ID for chromeos device, a randomly generated uuid or AssetTag.
    Id              *ChromeOSDeviceID       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    SerialNumber    string                  `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
    ManufacturingId *manufacturing.ConfigID `protobuf:"bytes,3,opt,name=manufacturing_id,json=manufacturingId,proto3" json:"manufacturing_id,omitempty"`
    // Device config identifiers.
    // These values will be extracted from DUT and joinable to device config.
    DeviceConfigId *device.ConfigId `protobuf:"bytes,4,opt,name=device_config_id,json=deviceConfigId,proto3" json:"device_config_id,omitempty"`
    // Types that are valid to be assigned to Device:
    //	*ChromeOSDevice_Dut
    //	*ChromeOSDevice_Labstation
    Device               isChromeOSDevice_Device `protobuf_oneof:"device"`
    XXX_NoUnkeyedLiteral struct{}                `json:"-"`
    XXX_unrecognized     []byte                  `json:"-"`
    XXX_sizecache        int32                   `json:"-"`
}

Next Tag: 7

func (*ChromeOSDevice) Descriptor Uses

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

func (*ChromeOSDevice) GetDevice Uses

func (m *ChromeOSDevice) GetDevice() isChromeOSDevice_Device

func (*ChromeOSDevice) GetDeviceConfigId Uses

func (m *ChromeOSDevice) GetDeviceConfigId() *device.ConfigId

func (*ChromeOSDevice) GetDut Uses

func (m *ChromeOSDevice) GetDut() *DeviceUnderTest

func (*ChromeOSDevice) GetId Uses

func (m *ChromeOSDevice) GetId() *ChromeOSDeviceID

func (*ChromeOSDevice) GetLabstation Uses

func (m *ChromeOSDevice) GetLabstation() *Labstation

func (*ChromeOSDevice) GetManufacturingId Uses

func (m *ChromeOSDevice) GetManufacturingId() *manufacturing.ConfigID

func (*ChromeOSDevice) GetSerialNumber Uses

func (m *ChromeOSDevice) GetSerialNumber() string

func (*ChromeOSDevice) ProtoMessage Uses

func (*ChromeOSDevice) ProtoMessage()

func (*ChromeOSDevice) Reset Uses

func (m *ChromeOSDevice) Reset()

func (*ChromeOSDevice) String Uses

func (m *ChromeOSDevice) String() string

func (*ChromeOSDevice) XXX_DiscardUnknown Uses

func (m *ChromeOSDevice) XXX_DiscardUnknown()

func (*ChromeOSDevice) XXX_Marshal Uses

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

func (*ChromeOSDevice) XXX_Merge Uses

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

func (*ChromeOSDevice) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ChromeOSDevice) XXX_Size Uses

func (m *ChromeOSDevice) XXX_Size() int

func (*ChromeOSDevice) XXX_Unmarshal Uses

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

type ChromeOSDeviceID Uses

type ChromeOSDeviceID struct {
    // A unique ID for chromeos device, a randomly generated uuid or AssetTag.
    Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ChromeOSDeviceID) Descriptor Uses

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

func (*ChromeOSDeviceID) GetValue Uses

func (m *ChromeOSDeviceID) GetValue() string

func (*ChromeOSDeviceID) ProtoMessage Uses

func (*ChromeOSDeviceID) ProtoMessage()

func (*ChromeOSDeviceID) Reset Uses

func (m *ChromeOSDeviceID) Reset()

func (*ChromeOSDeviceID) String Uses

func (m *ChromeOSDeviceID) String() string

func (*ChromeOSDeviceID) XXX_DiscardUnknown Uses

func (m *ChromeOSDeviceID) XXX_DiscardUnknown()

func (*ChromeOSDeviceID) XXX_Marshal Uses

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

func (*ChromeOSDeviceID) XXX_Merge Uses

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

func (*ChromeOSDeviceID) XXX_Size Uses

func (m *ChromeOSDeviceID) XXX_Size() int

func (*ChromeOSDeviceID) XXX_Unmarshal Uses

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

type ChromeOSDevice_Dut Uses

type ChromeOSDevice_Dut struct {
    Dut *DeviceUnderTest `protobuf:"bytes,5,opt,name=dut,proto3,oneof"`
}

type ChromeOSDevice_Labstation Uses

type ChromeOSDevice_Labstation struct {
    Labstation *Labstation `protobuf:"bytes,6,opt,name=labstation,proto3,oneof"`
}

type DeviceAction Uses

type DeviceAction struct {
    // This field is informational only. Do not assume this as a real user
    // identity in any auth domain.
    By                   string               `protobuf:"bytes,1,opt,name=by,proto3" json:"by,omitempty"`
    Reason               string               `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
    BeginTime            *timestamp.Timestamp `protobuf:"bytes,3,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"`
    ExpireTime           *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

Device action is for adding/removing/locking lab devices/servers. NEXT TAG: 5

func (*DeviceAction) Descriptor Uses

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

func (*DeviceAction) GetBeginTime Uses

func (m *DeviceAction) GetBeginTime() *timestamp.Timestamp

func (*DeviceAction) GetBy Uses

func (m *DeviceAction) GetBy() string

func (*DeviceAction) GetExpireTime Uses

func (m *DeviceAction) GetExpireTime() *timestamp.Timestamp

func (*DeviceAction) GetReason Uses

func (m *DeviceAction) GetReason() string

func (*DeviceAction) ProtoMessage Uses

func (*DeviceAction) ProtoMessage()

func (*DeviceAction) Reset Uses

func (m *DeviceAction) Reset()

func (*DeviceAction) String Uses

func (m *DeviceAction) String() string

func (*DeviceAction) XXX_DiscardUnknown Uses

func (m *DeviceAction) XXX_DiscardUnknown()

func (*DeviceAction) XXX_Marshal Uses

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

func (*DeviceAction) XXX_Merge Uses

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

func (*DeviceAction) XXX_Size Uses

func (m *DeviceAction) XXX_Size() int

func (*DeviceAction) XXX_Unmarshal Uses

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

type DeviceUnderTest Uses

type DeviceUnderTest struct {
    Hostname             string       `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
    Peripherals          *Peripherals `protobuf:"bytes,2,opt,name=peripherals,proto3" json:"peripherals,omitempty"`
    XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    XXX_unrecognized     []byte       `json:"-"`
    XXX_sizecache        int32        `json:"-"`
}

Next Tag: 3

func (*DeviceUnderTest) Descriptor Uses

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

func (*DeviceUnderTest) GetHostname Uses

func (m *DeviceUnderTest) GetHostname() string

func (*DeviceUnderTest) GetPeripherals Uses

func (m *DeviceUnderTest) GetPeripherals() *Peripherals

func (*DeviceUnderTest) ProtoMessage Uses

func (*DeviceUnderTest) ProtoMessage()

func (*DeviceUnderTest) Reset Uses

func (m *DeviceUnderTest) Reset()

func (*DeviceUnderTest) String Uses

func (m *DeviceUnderTest) String() string

func (*DeviceUnderTest) XXX_DiscardUnknown Uses

func (m *DeviceUnderTest) XXX_DiscardUnknown()

func (*DeviceUnderTest) XXX_Marshal Uses

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

func (*DeviceUnderTest) XXX_Merge Uses

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

func (*DeviceUnderTest) XXX_Size Uses

func (m *DeviceUnderTest) XXX_Size() int

func (*DeviceUnderTest) XXX_Unmarshal Uses

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

type DutState Uses

type DutState struct {
    Id                   *ChromeOSDeviceID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    Servo                PeripheralState   `protobuf:"varint,2,opt,name=servo,proto3,enum=lab.PeripheralState" json:"servo,omitempty"`
    Chameleon            PeripheralState   `protobuf:"varint,3,opt,name=chameleon,proto3,enum=lab.PeripheralState" json:"chameleon,omitempty"`
    AudioLoopbackDongle  PeripheralState   `protobuf:"varint,4,opt,name=audio_loopback_dongle,json=audioLoopbackDongle,proto3,enum=lab.PeripheralState" json:"audio_loopback_dongle,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Next Tag: 3

func (*DutState) Descriptor Uses

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

func (*DutState) GetAudioLoopbackDongle Uses

func (m *DutState) GetAudioLoopbackDongle() PeripheralState

func (*DutState) GetChameleon Uses

func (m *DutState) GetChameleon() PeripheralState

func (*DutState) GetId Uses

func (m *DutState) GetId() *ChromeOSDeviceID

func (*DutState) GetServo Uses

func (m *DutState) GetServo() PeripheralState

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

type Labstation Uses

type Labstation struct {
    Hostname             string   `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
    Servos               []*Servo `protobuf:"bytes,2,rep,name=servos,proto3" json:"servos,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Next Tag: 3

func (*Labstation) Descriptor Uses

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

func (*Labstation) GetHostname Uses

func (m *Labstation) GetHostname() string

func (*Labstation) GetServos Uses

func (m *Labstation) GetServos() []*Servo

func (*Labstation) ProtoMessage Uses

func (*Labstation) ProtoMessage()

func (*Labstation) Reset Uses

func (m *Labstation) Reset()

func (*Labstation) String Uses

func (m *Labstation) String() string

func (*Labstation) XXX_DiscardUnknown Uses

func (m *Labstation) XXX_DiscardUnknown()

func (*Labstation) XXX_Marshal Uses

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

func (*Labstation) XXX_Merge Uses

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

func (*Labstation) XXX_Size Uses

func (m *Labstation) XXX_Size() int

func (*Labstation) XXX_Unmarshal Uses

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

type PeripheralState Uses

type PeripheralState int32

Next Tag: 3

const (
    // keep for all unknown states except working & not_connected.
    PeripheralState_UNKNOWN       PeripheralState = 0
    PeripheralState_WORKING       PeripheralState = 1
    PeripheralState_NOT_CONNECTED PeripheralState = 2
)

func (PeripheralState) EnumDescriptor Uses

func (PeripheralState) EnumDescriptor() ([]byte, []int)

func (PeripheralState) String Uses

func (x PeripheralState) String() string

type Peripherals Uses

type Peripherals struct {
    Servo     *Servo     `protobuf:"bytes,1,opt,name=servo,proto3" json:"servo,omitempty"`
    Chameleon *Chameleon `protobuf:"bytes,2,opt,name=chameleon,proto3" json:"chameleon,omitempty"`
    Rpm       *RPM       `protobuf:"bytes,3,opt,name=rpm,proto3" json:"rpm,omitempty"`
    // refer to cameras that connected to the device.
    ConnectedCamera []*Camera `protobuf:"bytes,4,rep,name=connected_camera,json=connectedCamera,proto3" json:"connected_camera,omitempty"`
    Audio           *Audio    `protobuf:"bytes,5,opt,name=audio,proto3" json:"audio,omitempty"`
    Wifi            *Wifi     `protobuf:"bytes,6,opt,name=wifi,proto3" json:"wifi,omitempty"`
    Touch           *Touch    `protobuf:"bytes,7,opt,name=touch,proto3" json:"touch,omitempty"`
    // e.g: "att", "verizon",.. It's a manual label set by lab, varies dut by dut.
    Carrier string `protobuf:"bytes,8,opt,name=carrier,proto3" json:"carrier,omitempty"`
    // Indicate if the device is setup in a steady and controllable camera box environment for camera test automation.
    // https://docs.google.com/document/d/12YqHhBuOUolA7BjVEcG4rOIVIO2pgmb4jnOEApB806Y/edit#
    Camerabox            bool     `protobuf:"varint,9,opt,name=camerabox,proto3" json:"camerabox,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Peripherals of device. Next Tag: 10

func (*Peripherals) Descriptor Uses

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

func (*Peripherals) GetAudio Uses

func (m *Peripherals) GetAudio() *Audio

func (*Peripherals) GetCamerabox Uses

func (m *Peripherals) GetCamerabox() bool

func (*Peripherals) GetCarrier Uses

func (m *Peripherals) GetCarrier() string

func (*Peripherals) GetChameleon Uses

func (m *Peripherals) GetChameleon() *Chameleon

func (*Peripherals) GetConnectedCamera Uses

func (m *Peripherals) GetConnectedCamera() []*Camera

func (*Peripherals) GetRpm Uses

func (m *Peripherals) GetRpm() *RPM

func (*Peripherals) GetServo Uses

func (m *Peripherals) GetServo() *Servo

func (*Peripherals) GetTouch Uses

func (m *Peripherals) GetTouch() *Touch

func (*Peripherals) GetWifi Uses

func (m *Peripherals) GetWifi() *Wifi

func (*Peripherals) ProtoMessage Uses

func (*Peripherals) ProtoMessage()

func (*Peripherals) Reset Uses

func (m *Peripherals) Reset()

func (*Peripherals) String Uses

func (m *Peripherals) String() string

func (*Peripherals) XXX_DiscardUnknown Uses

func (m *Peripherals) XXX_DiscardUnknown()

func (*Peripherals) XXX_Marshal Uses

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

func (*Peripherals) XXX_Merge Uses

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

func (*Peripherals) XXX_Size Uses

func (m *Peripherals) XXX_Size() int

func (*Peripherals) XXX_Unmarshal Uses

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

type RPM Uses

type RPM struct {
    PowerunitName        string   `protobuf:"bytes,1,opt,name=powerunit_name,json=powerunitName,proto3" json:"powerunit_name,omitempty"`
    PowerunitOutlet      string   `protobuf:"bytes,2,opt,name=powerunit_outlet,json=powerunitOutlet,proto3" json:"powerunit_outlet,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Remote power management info. Next Tag: 3

func (*RPM) Descriptor Uses

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

func (*RPM) GetPowerunitName Uses

func (m *RPM) GetPowerunitName() string

func (*RPM) GetPowerunitOutlet Uses

func (m *RPM) GetPowerunitOutlet() string

func (*RPM) ProtoMessage Uses

func (*RPM) ProtoMessage()

func (*RPM) Reset Uses

func (m *RPM) Reset()

func (*RPM) String Uses

func (m *RPM) String() string

func (*RPM) XXX_DiscardUnknown Uses

func (m *RPM) XXX_DiscardUnknown()

func (*RPM) XXX_Marshal Uses

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

func (*RPM) XXX_Merge Uses

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

func (*RPM) XXX_Size Uses

func (m *RPM) XXX_Size() int

func (*RPM) XXX_Unmarshal Uses

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

type Servo Uses

type Servo struct {
    // Servo-specific configs
    ServoHostname string `protobuf:"bytes,2,opt,name=servo_hostname,json=servoHostname,proto3" json:"servo_hostname,omitempty"`
    ServoPort     int32  `protobuf:"varint,3,opt,name=servo_port,json=servoPort,proto3" json:"servo_port,omitempty"`
    ServoSerial   string `protobuf:"bytes,4,opt,name=servo_serial,json=servoSerial,proto3" json:"servo_serial,omitempty"`
    // Based on https://docs.google.com/document/d/1TPp7yp-uwFUh5xOnBLI4jPYtYD7IcdyQ1dgqFqtcJEU/edit?ts=5d8eafb7#heading=h.csdfk1i6g0l
    // servo_type will contain different setup of servos. So string is recommended than enum.
    ServoType            string   `protobuf:"bytes,5,opt,name=servo_type,json=servoType,proto3" json:"servo_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

NEXT TAG: 6

func (*Servo) Descriptor Uses

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

func (*Servo) GetServoHostname Uses

func (m *Servo) GetServoHostname() string

func (*Servo) GetServoPort Uses

func (m *Servo) GetServoPort() int32

func (*Servo) GetServoSerial Uses

func (m *Servo) GetServoSerial() string

func (*Servo) GetServoType Uses

func (m *Servo) GetServoType() string

func (*Servo) ProtoMessage Uses

func (*Servo) ProtoMessage()

func (*Servo) Reset Uses

func (m *Servo) Reset()

func (*Servo) String Uses

func (m *Servo) String() string

func (*Servo) XXX_DiscardUnknown Uses

func (m *Servo) XXX_DiscardUnknown()

func (*Servo) XXX_Marshal Uses

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

func (*Servo) XXX_Merge Uses

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

func (*Servo) XXX_Size Uses

func (m *Servo) XXX_Size() int

func (*Servo) XXX_Unmarshal Uses

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

type Touch Uses

type Touch struct {
    // Has touch monitor mimo.
    Mimo                 bool     `protobuf:"varint,1,opt,name=mimo,proto3" json:"mimo,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Next Tag: 2

func (*Touch) Descriptor Uses

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

func (*Touch) GetMimo Uses

func (m *Touch) GetMimo() bool

func (*Touch) ProtoMessage Uses

func (*Touch) ProtoMessage()

func (*Touch) Reset Uses

func (m *Touch) Reset()

func (*Touch) String Uses

func (m *Touch) String() string

func (*Touch) XXX_DiscardUnknown Uses

func (m *Touch) XXX_DiscardUnknown()

func (*Touch) XXX_Marshal Uses

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

func (*Touch) XXX_Merge Uses

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

func (*Touch) XXX_Size Uses

func (m *Touch) XXX_Size() int

func (*Touch) XXX_Unmarshal Uses

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

type Wifi Uses

type Wifi struct {
    // Indicate if the device is inside a hermetic wifi cell.
    Wificell             bool                   `protobuf:"varint,1,opt,name=wificell,proto3" json:"wificell,omitempty"`
    AntennaConn          Wifi_AntennaConnection `protobuf:"varint,2,opt,name=antenna_conn,json=antennaConn,proto3,enum=lab.Wifi_AntennaConnection" json:"antenna_conn,omitempty"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

Next Tag: 3

func (*Wifi) Descriptor Uses

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

func (*Wifi) GetAntennaConn Uses

func (m *Wifi) GetAntennaConn() Wifi_AntennaConnection

func (*Wifi) GetWificell Uses

func (m *Wifi) GetWificell() bool

func (*Wifi) ProtoMessage Uses

func (*Wifi) ProtoMessage()

func (*Wifi) Reset Uses

func (m *Wifi) Reset()

func (*Wifi) String Uses

func (m *Wifi) String() string

func (*Wifi) XXX_DiscardUnknown Uses

func (m *Wifi) XXX_DiscardUnknown()

func (*Wifi) XXX_Marshal Uses

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

func (*Wifi) XXX_Merge Uses

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

func (*Wifi) XXX_Size Uses

func (m *Wifi) XXX_Size() int

func (*Wifi) XXX_Unmarshal Uses

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

type Wifi_AntennaConnection Uses

type Wifi_AntennaConnection int32

DUT's WiFi antenna's connection. Next Tag: 3

const (
    Wifi_CONN_UNKNOWN Wifi_AntennaConnection = 0
    // WIFI antenna is connected conductively.
    Wifi_CONN_CONDUCTIVE Wifi_AntennaConnection = 1
    // WIFI antenna is connected over-the-air.
    Wifi_CONN_OTA Wifi_AntennaConnection = 2
)

func (Wifi_AntennaConnection) EnumDescriptor Uses

func (Wifi_AntennaConnection) EnumDescriptor() ([]byte, []int)

func (Wifi_AntennaConnection) String Uses

func (x Wifi_AntennaConnection) String() string

Package lab imports 6 packages (graph) and is imported by 1 packages. Updated 2019-12-09. Refresh now. Tools for package owners.