api

package
v0.0.0-...-b8a1838 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 10 Imported by: 57

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NetworkProvider_name = map[int32]string{
		0:  "NETWORK_OTHER",
		5:  "NETWORK_UNSUPPORTED",
		1:  "NETWORK_TEST",
		2:  "NETWORK_ATT",
		3:  "NETWORK_TMOBILE",
		4:  "NETWORK_VERIZON",
		6:  "NETWORK_SPRINT",
		7:  "NETWORK_DOCOMO",
		8:  "NETWORK_SOFTBANK",
		9:  "NETWORK_KDDI",
		10: "NETWORK_RAKUTEN",
		11: "NETWORK_VODAFONE",
		12: "NETWORK_EE",
		13: "NETWORK_AMARISOFT",
		14: "NETWORK_ROGER",
		15: "NETWORK_BELL",
		16: "NETWORK_TELUS",
		17: "NETWORK_FI",
	}
	NetworkProvider_value = map[string]int32{
		"NETWORK_OTHER":       0,
		"NETWORK_UNSUPPORTED": 5,
		"NETWORK_TEST":        1,
		"NETWORK_ATT":         2,
		"NETWORK_TMOBILE":     3,
		"NETWORK_VERIZON":     4,
		"NETWORK_SPRINT":      6,
		"NETWORK_DOCOMO":      7,
		"NETWORK_SOFTBANK":    8,
		"NETWORK_KDDI":        9,
		"NETWORK_RAKUTEN":     10,
		"NETWORK_VODAFONE":    11,
		"NETWORK_EE":          12,
		"NETWORK_AMARISOFT":   13,
		"NETWORK_ROGER":       14,
		"NETWORK_BELL":        15,
		"NETWORK_TELUS":       16,
		"NETWORK_FI":          17,
	}
)

Enum value maps for NetworkProvider.

View Source
var (
	SIMType_name = map[int32]string{
		0: "SIM_UNKNOWN",
		1: "SIM_PHYSICAL",
		2: "SIM_DIGITAL",
	}
	SIMType_value = map[string]int32{
		"SIM_UNKNOWN":  0,
		"SIM_PHYSICAL": 1,
		"SIM_DIGITAL":  2,
	}
)

Enum value maps for SIMType.

View Source
var (
	PeripheralState_name = map[int32]string{
		0: "PERIPHERAL_STATE_UNSPECIFIED",
		1: "WORKING",
		2: "BROKEN",
		3: "NOT_APPLICABLE",
	}
	PeripheralState_value = map[string]int32{
		"PERIPHERAL_STATE_UNSPECIFIED": 0,
		"WORKING":                      1,
		"BROKEN":                       2,
		"NOT_APPLICABLE":               3,
	}
)

Enum value maps for PeripheralState.

View Source
var (
	Phase_name = map[int32]string{
		0:  "PHASE_UNSPECIFIED",
		1:  "DVT",
		2:  "DVT_2",
		3:  "DVT_2_MPS_LTE",
		4:  "DVT_BIPSHIP",
		5:  "DVT_BOOKEM",
		6:  "DVT_ELECTRO",
		7:  "DVT_LOCKE",
		8:  "DVT_OSCINO",
		9:  "DVT_REKS14",
		10: "DVT_REKS14_TOUCH",
		11: "DVT_TOUCH",
		12: "EVT",
		13: "EVT_FLEEX_LTE",
		14: "EVT_HQ",
		15: "EVT_LTE",
		16: "EVT_MAPLE",
		17: "EVT_PUJJO",
		18: "PROTO",
		19: "PROTO1",
		20: "PVT",
		21: "PVT_TERRA3",
		22: "PVT_US",
		23: "PVT_2",
		24: "PVT_BOOKEM",
		25: "PVT_ELECTRO",
		26: "PVT_GIK360",
		27: "PVT_LILI",
		28: "PVT_LTE",
		29: "PVT_NEW_CPU",
		30: "PVT_SAND",
		31: "PVT_TUNE_BITS",
		32: "PVT_TELESU",
		33: "SR",
	}
	Phase_value = map[string]int32{
		"PHASE_UNSPECIFIED": 0,
		"DVT":               1,
		"DVT_2":             2,
		"DVT_2_MPS_LTE":     3,
		"DVT_BIPSHIP":       4,
		"DVT_BOOKEM":        5,
		"DVT_ELECTRO":       6,
		"DVT_LOCKE":         7,
		"DVT_OSCINO":        8,
		"DVT_REKS14":        9,
		"DVT_REKS14_TOUCH":  10,
		"DVT_TOUCH":         11,
		"EVT":               12,
		"EVT_FLEEX_LTE":     13,
		"EVT_HQ":            14,
		"EVT_LTE":           15,
		"EVT_MAPLE":         16,
		"EVT_PUJJO":         17,
		"PROTO":             18,
		"PROTO1":            19,
		"PVT":               20,
		"PVT_TERRA3":        21,
		"PVT_US":            22,
		"PVT_2":             23,
		"PVT_BOOKEM":        24,
		"PVT_ELECTRO":       25,
		"PVT_GIK360":        26,
		"PVT_LILI":          27,
		"PVT_LTE":           28,
		"PVT_NEW_CPU":       29,
		"PVT_SAND":          30,
		"PVT_TUNE_BITS":     31,
		"PVT_TELESU":        32,
		"SR":                33,
	}
)

Enum value maps for Phase.

View Source
var (
	Cable_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "AUDIOJACK",
		2: "USBAUDIO",
		3: "USBPRINTING",
		4: "HDMIAUDIO",
	}
	Cable_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"AUDIOJACK":        1,
		"USBAUDIO":         2,
		"USBPRINTING":      3,
		"HDMIAUDIO":        4,
	}
)

Enum value maps for Cable_Type.

View Source
var (
	Camerabox_Facing_name = map[int32]string{
		0: "FACING_UNSPECIFIED",
		1: "BACK",
		2: "FRONT",
	}
	Camerabox_Facing_value = map[string]int32{
		"FACING_UNSPECIFIED": 0,
		"BACK":               1,
		"FRONT":              2,
	}
)

Enum value maps for Camerabox_Facing.

View Source
var (
	Cellular_Operator_name = map[int32]string{
		0: "OPERATOR_UNSPECIFIED",
		1: "ATT",
		2: "VERIZON",
		3: "TMOBILE",
	}
	Cellular_Operator_value = map[string]int32{
		"OPERATOR_UNSPECIFIED": 0,
		"ATT":                  1,
		"VERIZON":              2,
		"TMOBILE":              3,
	}
)

Enum value maps for Cellular_Operator.

View Source
var (
	Chameleon_Peripheral_name = map[int32]string{
		0: "PERIPHERAL_UNSPECIFIED",
		1: "BT_HID",
		2: "DP",
		3: "DP_HDMI",
		4: "VGA",
		5: "HDMI",
		6: "BT_BLE_HID",
		7: "BT_A2DP_SINK",
		8: "BT_PEER",
		9: "RPI",
	}
	Chameleon_Peripheral_value = map[string]int32{
		"PERIPHERAL_UNSPECIFIED": 0,
		"BT_HID":                 1,
		"DP":                     2,
		"DP_HDMI":                3,
		"VGA":                    4,
		"HDMI":                   5,
		"BT_BLE_HID":             6,
		"BT_A2DP_SINK":           7,
		"BT_PEER":                8,
		"RPI":                    9,
	}
)

Enum value maps for Chameleon_Peripheral.

View Source
var (
	Chameleon_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "V2",
		2: "V3",
	}
	Chameleon_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"V2":               1,
		"V3":               2,
	}
)

Enum value maps for Chameleon_Type.

View Source
var (
	ExternalCamera_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "HUDDLY",
		2: "PTZPRO2",
	}
	ExternalCamera_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"HUDDLY":           1,
		"PTZPRO2":          2,
	}
)

Enum value maps for ExternalCamera_Type.

View Source
var (
	Wifi_Environment_name = map[int32]string{
		0: "ENVIRONMENT_UNSPECIFIED",
		1: "STANDARD",
		2: "WIFI_CELL",
		3: "CHAOS",
		4: "ROUTER_802_11AX",
	}
	Wifi_Environment_value = map[string]int32{
		"ENVIRONMENT_UNSPECIFIED": 0,
		"STANDARD":                1,
		"WIFI_CELL":               2,
		"CHAOS":                   3,
		"ROUTER_802_11AX":         4,
	}
)

Enum value maps for Wifi_Environment.

View Source
var (
	WifiAntenna_Connection_name = map[int32]string{
		0: "CONNECTION_UNSPECIFIED",
		1: "CONDUCTIVE",
		2: "OTA",
	}
	WifiAntenna_Connection_value = map[string]int32{
		"CONNECTION_UNSPECIFIED": 0,
		"CONDUCTIVE":             1,
		"OTA":                    2,
	}
)

Enum value maps for WifiAntenna_Connection.

View Source
var (
	WifiRouterFeature_name = map[int32]string{
		0:  "WIFI_ROUTER_FEATURE_UNKNOWN",
		1:  "WIFI_ROUTER_FEATURE_INVALID",
		2:  "WIFI_ROUTER_FEATURE_IEEE_802_11_A",
		3:  "WIFI_ROUTER_FEATURE_IEEE_802_11_B",
		4:  "WIFI_ROUTER_FEATURE_IEEE_802_11_G",
		5:  "WIFI_ROUTER_FEATURE_IEEE_802_11_N",
		6:  "WIFI_ROUTER_FEATURE_IEEE_802_11_AC",
		7:  "WIFI_ROUTER_FEATURE_IEEE_802_11_AX",
		8:  "WIFI_ROUTER_FEATURE_IEEE_802_11_AX_E",
		9:  "WIFI_ROUTER_FEATURE_IEEE_802_11_BE",
		10: "WIFI_ROUTER_FEATURE_DOUBLE_BRIDGE_OVER_VETH",
	}
	WifiRouterFeature_value = map[string]int32{
		"WIFI_ROUTER_FEATURE_UNKNOWN":                 0,
		"WIFI_ROUTER_FEATURE_INVALID":                 1,
		"WIFI_ROUTER_FEATURE_IEEE_802_11_A":           2,
		"WIFI_ROUTER_FEATURE_IEEE_802_11_B":           3,
		"WIFI_ROUTER_FEATURE_IEEE_802_11_G":           4,
		"WIFI_ROUTER_FEATURE_IEEE_802_11_N":           5,
		"WIFI_ROUTER_FEATURE_IEEE_802_11_AC":          6,
		"WIFI_ROUTER_FEATURE_IEEE_802_11_AX":          7,
		"WIFI_ROUTER_FEATURE_IEEE_802_11_AX_E":        8,
		"WIFI_ROUTER_FEATURE_IEEE_802_11_BE":          9,
		"WIFI_ROUTER_FEATURE_DOUBLE_BRIDGE_OVER_VETH": 10,
	}
)

Enum value maps for WifiRouterFeature.

View Source
var (
	WifiRouterDeviceType_name = map[int32]string{
		0: "WIFI_ROUTER_DEVICE_TYPE_UNKNOWN",
		1: "WIFI_ROUTER_DEVICE_TYPE_INVALID",
		2: "WIFI_ROUTER_DEVICE_TYPE_CHROMEOS_GALE",
		3: "WIFI_ROUTER_DEVICE_TYPE_OPENWRT",
		4: "WIFI_ROUTER_DEVICE_TYPE_ASUSWRT",
		5: "WIFI_ROUTER_DEVICE_TYPE_UBUNTU",
	}
	WifiRouterDeviceType_value = map[string]int32{
		"WIFI_ROUTER_DEVICE_TYPE_UNKNOWN":       0,
		"WIFI_ROUTER_DEVICE_TYPE_INVALID":       1,
		"WIFI_ROUTER_DEVICE_TYPE_CHROMEOS_GALE": 2,
		"WIFI_ROUTER_DEVICE_TYPE_OPENWRT":       3,
		"WIFI_ROUTER_DEVICE_TYPE_ASUSWRT":       4,
		"WIFI_ROUTER_DEVICE_TYPE_UBUNTU":        5,
	}
)

Enum value maps for WifiRouterDeviceType.

View Source
var File_chromiumos_test_lab_api_bluetooth_peer_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_lab_api_cbi_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_lab_api_dut_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_lab_api_inventory_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_lab_api_ip_endpoint_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_lab_api_tape_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_lab_api_usb_drive_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_lab_api_wifi_router_proto protoreflect.FileDescriptor
View Source
var InventoryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.lab.api.InventoryService",
	HandlerType: (*InventoryServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetDutTopology",
			Handler:       _InventoryService_GetDutTopology_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "chromiumos/test/lab/api/inventory_service.proto",
}

InventoryService_ServiceDesc is the grpc.ServiceDesc for InventoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TapeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.lab.api.TapeService",
	HandlerType: (*TapeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CallTape",
			Handler:    _TapeService_CallTape_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/lab/api/tape_service.proto",
}

TapeService_ServiceDesc is the grpc.ServiceDesc for TapeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterInventoryServiceServer

func RegisterInventoryServiceServer(s grpc.ServiceRegistrar, srv InventoryServiceServer)

func RegisterTapeServiceServer

func RegisterTapeServiceServer(s grpc.ServiceRegistrar, srv TapeServiceServer)

Types

type Audio

type Audio struct {

	// Device 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"`
	// Device is connected to Atrus speakermic.
	Atrus bool `protobuf:"varint,2,opt,name=atrus,proto3" json:"atrus,omitempty"`
	// contains filtered or unexported fields
}

Peripherals related to audio input and output from the Device.

func (*Audio) Descriptor deprecated

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

Deprecated: Use Audio.ProtoReflect.Descriptor instead.

func (*Audio) GetAtrus

func (x *Audio) GetAtrus() bool

func (*Audio) GetAudioBox

func (x *Audio) GetAudioBox() bool

func (*Audio) ProtoMessage

func (*Audio) ProtoMessage()

func (*Audio) ProtoReflect

func (x *Audio) ProtoReflect() protoreflect.Message

func (*Audio) Reset

func (x *Audio) Reset()

func (*Audio) String

func (x *Audio) String() string

type BluetoothPeer

type BluetoothPeer struct {
	Hostname string          `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	State    PeripheralState `protobuf:"varint,2,opt,name=state,proto3,enum=chromiumos.test.lab.api.PeripheralState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Bluetooth Peers attached to the DUT.

func (*BluetoothPeer) Descriptor deprecated

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

Deprecated: Use BluetoothPeer.ProtoReflect.Descriptor instead.

func (*BluetoothPeer) GetHostname

func (x *BluetoothPeer) GetHostname() string

func (*BluetoothPeer) GetState

func (x *BluetoothPeer) GetState() PeripheralState

func (*BluetoothPeer) ProtoMessage

func (*BluetoothPeer) ProtoMessage()

func (*BluetoothPeer) ProtoReflect

func (x *BluetoothPeer) ProtoReflect() protoreflect.Message

func (*BluetoothPeer) Reset

func (x *BluetoothPeer) Reset()

func (*BluetoothPeer) String

func (x *BluetoothPeer) String() string

type BluetoothPeerChameleondConfig

type BluetoothPeerChameleondConfig struct {

	// The chameleond commit is used to identify the "next" bundle in bundles.
	// An empty value means there is no next bundle currently under evaluation and
	// the standard chameleon bundle selection method should be used to determine
	// which bundle to use.
	NextChameleondCommit string `protobuf:"bytes,1,opt,name=next_chameleond_commit,json=nextChameleondCommit,proto3" json:"next_chameleond_commit,omitempty"`
	// Hostnames of primary testbed DUTs that, if matched along with
	// next_dut_release_versions, signify that the next bundle should be used.
	NextDutHosts []string `protobuf:"bytes,2,rep,name=next_dut_hosts,json=nextDutHosts,proto3" json:"next_dut_hosts,omitempty"`
	// ChromeOS release versions of primary testbed DUTs that, if matched along
	// with next_dut_hosts, signify that the next bundle should be used.
	NextDutReleaseVersions []string `` /* 131-byte string literal not displayed */
	// The released bundles to available for btpeers.
	Bundles []*BluetoothPeerChameleondConfig_ChameleondBundle `protobuf:"bytes,4,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// contains filtered or unexported fields
}

BluetoothPeerChameleondConfig is the format of the btpeer chameleond config JSON file stored in GCS that contains configuration information which maps different chameleond bundles to use for btpeers to DUT release versions.

All available chameleond bundles are specified in bundles. The "next" bundle is only used by a smaller set of hosts whose test results are monitored to check whether or not this next bundle is good to release to all other testbeds. The next bundle is identified by the next_chameleond_commit, which will match its chameleond_commit.

When the primary DUT's hostname is in next_dut_hosts AND its release version is in next_dut_release_versions, the next bundle should be used if next_chameleond_commit is set. Otherwise, the bundle with the the highest min_dut_release_version that is less than or equal to the testbed's primary DUT's release version (excluding the next bundle) should be used. If all bundles have a higher min_dut_release_version than the primary DUT, the bundle with the lowest min_dut_release_version (excluding the next bundle) should be used.

For example, let's say we have the following config:

{
  "nextChameleondCommit": "8e331c7",
  "nextDutHosts": [
    "chromeos15-row8-metro4-host5",
    "chromeos15-row8-metro4-host6",
    "chromeos15-row5-rack7-host7",
    "chromeos15-row5-rack8-host7",
    "chromeos15-row5-rack1-host4",
    "chromeos15-row5-rack2-host4"
  ],
  "nextDutReleaseVersions": [
    "14051.0.0"
  ],
  "bundles": [
    {
      "chameleondCommit": "723e87b",
      "archivePath": "gs://chromeos-connectivity-test-artifacts/btpeer/chameleond/chameleond-0.0.2-723e87b.tar.gz",
      "minDutReleaseVersion": "0"
    },
    {
      "chameleondCommit": "cf50534",
      "archivePath": "gs://chromeos-connectivity-test-artifacts/btpeer/chameleond/chameleond-0.0.2-cf50534.tar.gz",
      "minDutReleaseVersion": "1234.5.6"
    },
    {
      "chameleondCommit": "8e331c7",
      "archivePath": "gs://chromeos-connectivity-test-artifacts/btpeer/chameleond/chameleond-0.0.2-8e331c7.tar.gz",
      "minDutReleaseVersion": "14051.0.0"
    }
  ]
}

The following are examples of chameleond commits to use for each host and release version combinations:

  • "chromeos15-row8-metro4-host5","14051.0.0" => "8e331c7" (next)
  • "chromeos15-row1-rack2-host4","14051.0.0" => "cf50534"
  • "chromeos15-row8-metro4-host5","1500.0.0" => "cf50534"
  • "chromeos15-row1-rack2-host4","1000.0.0" => "723e87b"

func (*BluetoothPeerChameleondConfig) Descriptor deprecated

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

Deprecated: Use BluetoothPeerChameleondConfig.ProtoReflect.Descriptor instead.

func (*BluetoothPeerChameleondConfig) GetBundles

func (*BluetoothPeerChameleondConfig) GetNextChameleondCommit

func (x *BluetoothPeerChameleondConfig) GetNextChameleondCommit() string

func (*BluetoothPeerChameleondConfig) GetNextDutHosts

func (x *BluetoothPeerChameleondConfig) GetNextDutHosts() []string

func (*BluetoothPeerChameleondConfig) GetNextDutReleaseVersions

func (x *BluetoothPeerChameleondConfig) GetNextDutReleaseVersions() []string

func (*BluetoothPeerChameleondConfig) ProtoMessage

func (*BluetoothPeerChameleondConfig) ProtoMessage()

func (*BluetoothPeerChameleondConfig) ProtoReflect

func (*BluetoothPeerChameleondConfig) Reset

func (x *BluetoothPeerChameleondConfig) Reset()

func (*BluetoothPeerChameleondConfig) String

type BluetoothPeerChameleondConfig_ChameleondBundle

type BluetoothPeerChameleondConfig_ChameleondBundle struct {

	// The commit of the chameleond repo that this bundle was created at.
	ChameleondCommit string `protobuf:"bytes,1,opt,name=chameleond_commit,json=chameleondCommit,proto3" json:"chameleond_commit,omitempty"`
	// The path to the bundle archive file in GCS.
	ArchivePath string `protobuf:"bytes,2,opt,name=archive_path,json=archivePath,proto3" json:"archive_path,omitempty"`
	// The minimum DUT CHROMEOS_RELEASE_VERSION this bundle should be used with.
	MinDutReleaseVersion string `protobuf:"bytes,3,opt,name=min_dut_release_version,json=minDutReleaseVersion,proto3" json:"min_dut_release_version,omitempty"`
	// contains filtered or unexported fields
}

func (*BluetoothPeerChameleondConfig_ChameleondBundle) Descriptor deprecated

Deprecated: Use BluetoothPeerChameleondConfig_ChameleondBundle.ProtoReflect.Descriptor instead.

func (*BluetoothPeerChameleondConfig_ChameleondBundle) GetArchivePath

func (*BluetoothPeerChameleondConfig_ChameleondBundle) GetChameleondCommit

func (x *BluetoothPeerChameleondConfig_ChameleondBundle) GetChameleondCommit() string

func (*BluetoothPeerChameleondConfig_ChameleondBundle) GetMinDutReleaseVersion

func (x *BluetoothPeerChameleondConfig_ChameleondBundle) GetMinDutReleaseVersion() string

func (*BluetoothPeerChameleondConfig_ChameleondBundle) ProtoMessage

func (*BluetoothPeerChameleondConfig_ChameleondBundle) ProtoReflect

func (*BluetoothPeerChameleondConfig_ChameleondBundle) Reset

func (*BluetoothPeerChameleondConfig_ChameleondBundle) String

type Cable

type Cable struct {
	Type Cable_Type `protobuf:"varint,1,opt,name=type,proto3,enum=chromiumos.test.lab.api.Cable_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

A cable connecting the device to audio, printer and other peripherals.

func (*Cable) Descriptor deprecated

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

Deprecated: Use Cable.ProtoReflect.Descriptor instead.

func (*Cable) GetType

func (x *Cable) GetType() Cable_Type

func (*Cable) ProtoMessage

func (*Cable) ProtoMessage()

func (*Cable) ProtoReflect

func (x *Cable) ProtoReflect() protoreflect.Message

func (*Cable) Reset

func (x *Cable) Reset()

func (*Cable) String

func (x *Cable) String() string

type Cable_Type

type Cable_Type int32
const (
	Cable_TYPE_UNSPECIFIED Cable_Type = 0
	Cable_AUDIOJACK        Cable_Type = 1
	Cable_USBAUDIO         Cable_Type = 2
	Cable_USBPRINTING      Cable_Type = 3
	Cable_HDMIAUDIO        Cable_Type = 4
)

func (Cable_Type) Descriptor

func (Cable_Type) Descriptor() protoreflect.EnumDescriptor

func (Cable_Type) Enum

func (x Cable_Type) Enum() *Cable_Type

func (Cable_Type) EnumDescriptor deprecated

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

Deprecated: Use Cable_Type.Descriptor instead.

func (Cable_Type) Number

func (x Cable_Type) Number() protoreflect.EnumNumber

func (Cable_Type) String

func (x Cable_Type) String() string

func (Cable_Type) Type

type CacheServer

type CacheServer struct {

	// HTTP address for the cache server.
	Address *IpEndpoint `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

A cache server for downloading artifacts.

The server should support the following HTTP requests:

GET /download/GS_BUCKET/GS_PATH Download a file from Google Storage.

GET /extract/GS_BUCKET/GS_PATH?file=TAR_PATH Download a file within a (possibly compressed) TAR archive stored in Google Storage.

GET /decompress/GS_BUCKET/GS_PATH Download the decompressed data of a compressed file from Google Storage.

func (*CacheServer) Descriptor deprecated

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

Deprecated: Use CacheServer.ProtoReflect.Descriptor instead.

func (*CacheServer) GetAddress

func (x *CacheServer) GetAddress() *IpEndpoint

func (*CacheServer) ProtoMessage

func (*CacheServer) ProtoMessage()

func (*CacheServer) ProtoReflect

func (x *CacheServer) ProtoReflect() protoreflect.Message

func (*CacheServer) Reset

func (x *CacheServer) Reset()

func (*CacheServer) String

func (x *CacheServer) String() string

type CallTapeRequest

type CallTapeRequest struct {

	// The REST API endpoint which is called.
	RequestEndpoint string `protobuf:"bytes,1,opt,name=request_endpoint,json=requestEndpoint,proto3" json:"request_endpoint,omitempty"`
	// The method (POST,GET...) with which the endpoint is called.
	RequestMethod string `protobuf:"bytes,2,opt,name=request_method,json=requestMethod,proto3" json:"request_method,omitempty"`
	// Timeout for the call.
	RequestTimeout int32 `protobuf:"varint,3,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
	// The payload for the call.
	PayloadBytes []byte `protobuf:"bytes,4,opt,name=payload_bytes,json=payloadBytes,proto3" json:"payload_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*CallTapeRequest) Descriptor deprecated

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

Deprecated: Use CallTapeRequest.ProtoReflect.Descriptor instead.

func (*CallTapeRequest) GetPayloadBytes

func (x *CallTapeRequest) GetPayloadBytes() []byte

func (*CallTapeRequest) GetRequestEndpoint

func (x *CallTapeRequest) GetRequestEndpoint() string

func (*CallTapeRequest) GetRequestMethod

func (x *CallTapeRequest) GetRequestMethod() string

func (*CallTapeRequest) GetRequestTimeout

func (x *CallTapeRequest) GetRequestTimeout() int32

func (*CallTapeRequest) ProtoMessage

func (*CallTapeRequest) ProtoMessage()

func (*CallTapeRequest) ProtoReflect

func (x *CallTapeRequest) ProtoReflect() protoreflect.Message

func (*CallTapeRequest) Reset

func (x *CallTapeRequest) Reset()

func (*CallTapeRequest) String

func (x *CallTapeRequest) String() string

type CallTapeResponse

type CallTapeResponse struct {

	// The response from the TAPE GCP.
	PayloadBytes []byte `protobuf:"bytes,1,opt,name=payload_bytes,json=payloadBytes,proto3" json:"payload_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*CallTapeResponse) Descriptor deprecated

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

Deprecated: Use CallTapeResponse.ProtoReflect.Descriptor instead.

func (*CallTapeResponse) GetPayloadBytes

func (x *CallTapeResponse) GetPayloadBytes() []byte

func (*CallTapeResponse) ProtoMessage

func (*CallTapeResponse) ProtoMessage()

func (*CallTapeResponse) ProtoReflect

func (x *CallTapeResponse) ProtoReflect() protoreflect.Message

func (*CallTapeResponse) Reset

func (x *CallTapeResponse) Reset()

func (*CallTapeResponse) String

func (x *CallTapeResponse) String() string

type Camerabox

type Camerabox struct {
	Facing Camerabox_Facing `protobuf:"varint,1,opt,name=facing,proto3,enum=chromiumos.test.lab.api.Camerabox_Facing" json:"facing,omitempty"`
	// contains filtered or unexported fields
}

A steady and controllable camera box environment for the device, used by camera test automation. http://go/cros-camera-box

func (*Camerabox) Descriptor deprecated

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

Deprecated: Use Camerabox.ProtoReflect.Descriptor instead.

func (*Camerabox) GetFacing

func (x *Camerabox) GetFacing() Camerabox_Facing

func (*Camerabox) ProtoMessage

func (*Camerabox) ProtoMessage()

func (*Camerabox) ProtoReflect

func (x *Camerabox) ProtoReflect() protoreflect.Message

func (*Camerabox) Reset

func (x *Camerabox) Reset()

func (*Camerabox) String

func (x *Camerabox) String() string

type Camerabox_Facing

type Camerabox_Facing int32

Facing of DUT's camera to be tested whose FOV should cover chart tablet's screen.

const (
	Camerabox_FACING_UNSPECIFIED Camerabox_Facing = 0
	// DUT's back camera faces the chart tablet.
	Camerabox_BACK Camerabox_Facing = 1
	// DUT's front camera faces to chart tablet.
	Camerabox_FRONT Camerabox_Facing = 2
)

func (Camerabox_Facing) Descriptor

func (Camerabox_Facing) Enum

func (Camerabox_Facing) EnumDescriptor deprecated

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

Deprecated: Use Camerabox_Facing.Descriptor instead.

func (Camerabox_Facing) Number

func (Camerabox_Facing) String

func (x Camerabox_Facing) String() string

func (Camerabox_Facing) Type

type Cbi

type Cbi struct {

	// All CBI contents stored on the DUT (Up to 256 bytes represented
	// in hex format "0x43 0x42 0x49 00 0xff...") as read directly from the DUT
	// using the `ectool i2cxfer` utility.
	RawContents string `protobuf:"bytes,1,opt,name=raw_contents,json=rawContents,proto3" json:"raw_contents,omitempty"`
	// contains filtered or unexported fields
}

CBI (CROS Board Info) contains hardware identifiers stored in EEPROM on the DUT (go/cros-board-info, go/cbi-auto-recovery-dd)

func (*Cbi) Descriptor deprecated

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

Deprecated: Use Cbi.ProtoReflect.Descriptor instead.

func (*Cbi) GetRawContents

func (x *Cbi) GetRawContents() string

func (*Cbi) ProtoMessage

func (*Cbi) ProtoMessage()

func (*Cbi) ProtoReflect

func (x *Cbi) ProtoReflect() protoreflect.Message

func (*Cbi) Reset

func (x *Cbi) Reset()

func (*Cbi) String

func (x *Cbi) String() string

type Cellular

type Cellular struct {

	// Cellular operators supported by the SIM installed in the device.
	Operators []Cellular_Operator `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Cellular) Descriptor deprecated

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

Deprecated: Use Cellular.ProtoReflect.Descriptor instead.

func (*Cellular) GetOperators

func (x *Cellular) GetOperators() []Cellular_Operator

func (*Cellular) ProtoMessage

func (*Cellular) ProtoMessage()

func (*Cellular) ProtoReflect

func (x *Cellular) ProtoReflect() protoreflect.Message

func (*Cellular) Reset

func (x *Cellular) Reset()

func (*Cellular) String

func (x *Cellular) String() string

type Cellular_Operator

type Cellular_Operator int32
const (
	Cellular_OPERATOR_UNSPECIFIED Cellular_Operator = 0
	Cellular_ATT                  Cellular_Operator = 1
	Cellular_VERIZON              Cellular_Operator = 2
	Cellular_TMOBILE              Cellular_Operator = 3
)

func (Cellular_Operator) Descriptor

func (Cellular_Operator) Enum

func (Cellular_Operator) EnumDescriptor deprecated

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

Deprecated: Use Cellular_Operator.Descriptor instead.

func (Cellular_Operator) Number

func (Cellular_Operator) String

func (x Cellular_Operator) String() string

func (Cellular_Operator) Type

type Chameleon

type Chameleon struct {
	Peripherals []Chameleon_Peripheral `` /* 133-byte string literal not displayed */
	// Indicate if there's an audio_board in the chameleon.
	AudioBoard bool             `protobuf:"varint,2,opt,name=audio_board,json=audioBoard,proto3" json:"audio_board,omitempty"`
	State      PeripheralState  `protobuf:"varint,3,opt,name=state,proto3,enum=chromiumos.test.lab.api.PeripheralState" json:"state,omitempty"`
	Hostname   string           `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Types      []Chameleon_Type `protobuf:"varint,5,rep,packed,name=types,proto3,enum=chromiumos.test.lab.api.Chameleon_Type" json:"types,omitempty"`
	// contains filtered or unexported fields
}

See https://sites.google.com/a/google.com/cros-chameleon/home

func (*Chameleon) Descriptor deprecated

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

Deprecated: Use Chameleon.ProtoReflect.Descriptor instead.

func (*Chameleon) GetAudioBoard

func (x *Chameleon) GetAudioBoard() bool

func (*Chameleon) GetHostname

func (x *Chameleon) GetHostname() string

func (*Chameleon) GetPeripherals

func (x *Chameleon) GetPeripherals() []Chameleon_Peripheral

func (*Chameleon) GetState

func (x *Chameleon) GetState() PeripheralState

func (*Chameleon) GetTypes

func (x *Chameleon) GetTypes() []Chameleon_Type

func (*Chameleon) ProtoMessage

func (*Chameleon) ProtoMessage()

func (*Chameleon) ProtoReflect

func (x *Chameleon) ProtoReflect() protoreflect.Message

func (*Chameleon) Reset

func (x *Chameleon) Reset()

func (*Chameleon) String

func (x *Chameleon) String() string

type Chameleon_Peripheral

type Chameleon_Peripheral int32
const (
	// TODO(b/268202522): remove obsolete chameleon types
	Chameleon_PERIPHERAL_UNSPECIFIED Chameleon_Peripheral = 0
	Chameleon_BT_HID                 Chameleon_Peripheral = 1
	// Display Port
	Chameleon_DP      Chameleon_Peripheral = 2
	Chameleon_DP_HDMI Chameleon_Peripheral = 3
	Chameleon_VGA     Chameleon_Peripheral = 4
	// High Definition Multimedia Interface
	Chameleon_HDMI         Chameleon_Peripheral = 5
	Chameleon_BT_BLE_HID   Chameleon_Peripheral = 6
	Chameleon_BT_A2DP_SINK Chameleon_Peripheral = 7
	Chameleon_BT_PEER      Chameleon_Peripheral = 8
	// Raspberry Pi
	Chameleon_RPI Chameleon_Peripheral = 9
)

func (Chameleon_Peripheral) Descriptor

func (Chameleon_Peripheral) Enum

func (Chameleon_Peripheral) EnumDescriptor deprecated

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

Deprecated: Use Chameleon_Peripheral.Descriptor instead.

func (Chameleon_Peripheral) Number

func (Chameleon_Peripheral) String

func (x Chameleon_Peripheral) String() string

func (Chameleon_Peripheral) Type

type Chameleon_Type

type Chameleon_Type int32
const (
	Chameleon_TYPE_UNSPECIFIED Chameleon_Type = 0
	Chameleon_V2               Chameleon_Type = 1
	Chameleon_V3               Chameleon_Type = 2
)

func (Chameleon_Type) Descriptor

func (Chameleon_Type) Enum

func (x Chameleon_Type) Enum() *Chameleon_Type

func (Chameleon_Type) EnumDescriptor deprecated

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

Deprecated: Use Chameleon_Type.Descriptor instead.

func (Chameleon_Type) Number

func (Chameleon_Type) String

func (x Chameleon_Type) String() string

func (Chameleon_Type) Type

type CrosOpenWrtImageBuildInfo

type CrosOpenWrtImageBuildInfo struct {

	// Unique ID generated for this image.
	ImageUuid string `protobuf:"bytes,1,opt,name=image_uuid,json=imageUuid,proto3" json:"image_uuid,omitempty"`
	// The custom extra part of the final image name added to the image name
	// created by the OpenWrt image builder.
	CustomImageName     string                                         `protobuf:"bytes,2,opt,name=custom_image_name,json=customImageName,proto3" json:"custom_image_name,omitempty"`
	OsRelease           *CrosOpenWrtImageBuildInfo_OSRelease           `protobuf:"bytes,3,opt,name=os_release,json=osRelease,proto3" json:"os_release,omitempty"`
	StandardBuildConfig *CrosOpenWrtImageBuildInfo_StandardBuildConfig `protobuf:"bytes,4,opt,name=standard_build_config,json=standardBuildConfig,proto3" json:"standard_build_config,omitempty"`
	// The features that devices with this image can support for testing.
	RouterFeatures []WifiRouterFeature `` /* 158-byte string literal not displayed */
	// The time the image was built.
	BuildTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	// The version of cros_openwrt_image_builder used to build this image.
	CrosOpenwrtImageBuilderVersion string `` /* 157-byte string literal not displayed */
	// Custom files included in the image.
	//
	// The key is the path of the file on the device when the image is installed
	// and the value is a hash of the file contents.
	CustomIncludedFiles map[string]string `` /* 208-byte string literal not displayed */
	// Custom packages included in the image.
	//
	// The key is the name of the custom package IPK file and the value is a
	// hash of the file contents.
	CustomPackages map[string]string `` /* 191-byte string literal not displayed */
	// Names of the official OpenWrt packages included in the image that
	// supplement the packages included in the official build profile.
	ExtraIncludedPackages []string `` /* 127-byte string literal not displayed */
	// Names of the official OpenWrt packages that are excluded in the image
	// that would otherwise be included in the official build profile.
	ExcludedPackages []string `protobuf:"bytes,11,rep,name=excluded_packages,json=excludedPackages,proto3" json:"excluded_packages,omitempty"`
	// Names of the services that are disabled by default upon image install.
	DisabledServices []string `protobuf:"bytes,12,rep,name=disabled_services,json=disabledServices,proto3" json:"disabled_services,omitempty"`
	// contains filtered or unexported fields
}

OpenWrtImageBuildInfo is the format of the build info JSON file included in in all OpenWrt OS images built for ChromeOS test WiFi routers by the cros_openwrt_image_builder tool.

These fields identify the image and describe the deviations made from the official OpenWrt image build profile so that it may be used for test WiFi routers in ChromeOS testbeds.

func (*CrosOpenWrtImageBuildInfo) Descriptor deprecated

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

Deprecated: Use CrosOpenWrtImageBuildInfo.ProtoReflect.Descriptor instead.

func (*CrosOpenWrtImageBuildInfo) GetBuildTime

func (x *CrosOpenWrtImageBuildInfo) GetBuildTime() *timestamppb.Timestamp

func (*CrosOpenWrtImageBuildInfo) GetCrosOpenwrtImageBuilderVersion

func (x *CrosOpenWrtImageBuildInfo) GetCrosOpenwrtImageBuilderVersion() string

func (*CrosOpenWrtImageBuildInfo) GetCustomImageName

func (x *CrosOpenWrtImageBuildInfo) GetCustomImageName() string

func (*CrosOpenWrtImageBuildInfo) GetCustomIncludedFiles

func (x *CrosOpenWrtImageBuildInfo) GetCustomIncludedFiles() map[string]string

func (*CrosOpenWrtImageBuildInfo) GetCustomPackages

func (x *CrosOpenWrtImageBuildInfo) GetCustomPackages() map[string]string

func (*CrosOpenWrtImageBuildInfo) GetDisabledServices

func (x *CrosOpenWrtImageBuildInfo) GetDisabledServices() []string

func (*CrosOpenWrtImageBuildInfo) GetExcludedPackages

func (x *CrosOpenWrtImageBuildInfo) GetExcludedPackages() []string

func (*CrosOpenWrtImageBuildInfo) GetExtraIncludedPackages

func (x *CrosOpenWrtImageBuildInfo) GetExtraIncludedPackages() []string

func (*CrosOpenWrtImageBuildInfo) GetImageUuid

func (x *CrosOpenWrtImageBuildInfo) GetImageUuid() string

func (*CrosOpenWrtImageBuildInfo) GetOsRelease

func (*CrosOpenWrtImageBuildInfo) GetRouterFeatures

func (x *CrosOpenWrtImageBuildInfo) GetRouterFeatures() []WifiRouterFeature

func (*CrosOpenWrtImageBuildInfo) GetStandardBuildConfig

func (*CrosOpenWrtImageBuildInfo) ProtoMessage

func (*CrosOpenWrtImageBuildInfo) ProtoMessage()

func (*CrosOpenWrtImageBuildInfo) ProtoReflect

func (*CrosOpenWrtImageBuildInfo) Reset

func (x *CrosOpenWrtImageBuildInfo) Reset()

func (*CrosOpenWrtImageBuildInfo) String

func (x *CrosOpenWrtImageBuildInfo) String() string

type CrosOpenWrtImageBuildInfo_OSRelease

type CrosOpenWrtImageBuildInfo_OSRelease struct {
	Version        string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	BuildId        string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	OpenwrtBoard   string `protobuf:"bytes,3,opt,name=openwrt_board,json=openwrtBoard,proto3" json:"openwrt_board,omitempty"`
	OpenwrtArch    string `protobuf:"bytes,4,opt,name=openwrt_arch,json=openwrtArch,proto3" json:"openwrt_arch,omitempty"`
	OpenwrtRelease string `protobuf:"bytes,5,opt,name=openwrt_release,json=openwrtRelease,proto3" json:"openwrt_release,omitempty"`
	// contains filtered or unexported fields
}

Useful information describing the image, as parsed from the os-release file included in the image.

func (*CrosOpenWrtImageBuildInfo_OSRelease) Descriptor deprecated

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

Deprecated: Use CrosOpenWrtImageBuildInfo_OSRelease.ProtoReflect.Descriptor instead.

func (*CrosOpenWrtImageBuildInfo_OSRelease) GetBuildId

func (*CrosOpenWrtImageBuildInfo_OSRelease) GetOpenwrtArch

func (x *CrosOpenWrtImageBuildInfo_OSRelease) GetOpenwrtArch() string

func (*CrosOpenWrtImageBuildInfo_OSRelease) GetOpenwrtBoard

func (x *CrosOpenWrtImageBuildInfo_OSRelease) GetOpenwrtBoard() string

func (*CrosOpenWrtImageBuildInfo_OSRelease) GetOpenwrtRelease

func (x *CrosOpenWrtImageBuildInfo_OSRelease) GetOpenwrtRelease() string

func (*CrosOpenWrtImageBuildInfo_OSRelease) GetVersion

func (*CrosOpenWrtImageBuildInfo_OSRelease) ProtoMessage

func (*CrosOpenWrtImageBuildInfo_OSRelease) ProtoMessage()

func (*CrosOpenWrtImageBuildInfo_OSRelease) ProtoReflect

func (*CrosOpenWrtImageBuildInfo_OSRelease) Reset

func (*CrosOpenWrtImageBuildInfo_OSRelease) String

type CrosOpenWrtImageBuildInfo_StandardBuildConfig

type CrosOpenWrtImageBuildInfo_StandardBuildConfig struct {

	// The openwrt repository revision used to compile builder.
	OpenwrtRevision string `protobuf:"bytes,1,opt,name=openwrt_revision,json=openwrtRevision,proto3" json:"openwrt_revision,omitempty"`
	// The builders' board build target.
	OpenwrtBuildTarget string `protobuf:"bytes,2,opt,name=openwrt_build_target,json=openwrtBuildTarget,proto3" json:"openwrt_build_target,omitempty"`
	// The name of the build profile used to build the image.
	BuildProfile string `protobuf:"bytes,3,opt,name=build_profile,json=buildProfile,proto3" json:"build_profile,omitempty"`
	// Human-readable device name, as specified by OpenWrt.
	//
	// Expected to be unique by manufacturer, model, and version.
	DeviceName string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	// Default OpenWrt packages included for this build target.
	BuildTargetPackages []string `protobuf:"bytes,5,rep,name=build_target_packages,json=buildTargetPackages,proto3" json:"build_target_packages,omitempty"`
	// Package customizations made by the build profile used to build the image.
	ProfilePackages []string `protobuf:"bytes,6,rep,name=profile_packages,json=profilePackages,proto3" json:"profile_packages,omitempty"`
	// Devices supported by the build profile used to build the image.
	SupportedDevices []string `protobuf:"bytes,7,rep,name=supported_devices,json=supportedDevices,proto3" json:"supported_devices,omitempty"`
	// contains filtered or unexported fields
}

Build information as returned by the OpenWrt image builder used by cros_openwrt_image_builder to package the image.

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) Descriptor deprecated

Deprecated: Use CrosOpenWrtImageBuildInfo_StandardBuildConfig.ProtoReflect.Descriptor instead.

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetBuildProfile

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetBuildTargetPackages

func (x *CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetBuildTargetPackages() []string

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetDeviceName

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetOpenwrtBuildTarget

func (x *CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetOpenwrtBuildTarget() string

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetOpenwrtRevision

func (x *CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetOpenwrtRevision() string

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetProfilePackages

func (x *CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetProfilePackages() []string

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetSupportedDevices

func (x *CrosOpenWrtImageBuildInfo_StandardBuildConfig) GetSupportedDevices() []string

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) ProtoMessage

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) ProtoReflect

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) Reset

func (*CrosOpenWrtImageBuildInfo_StandardBuildConfig) String

type Dut

type Dut struct {
	Id *Dut_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to DutType:
	//	*Dut_Chromeos
	//	*Dut_Android_
	//	*Dut_Devboard_
	DutType isDut_DutType `protobuf_oneof:"dut_type"`
	// Cache server for downloading artifacts related to this DUT.
	CacheServer *CacheServer `protobuf:"bytes,4,opt,name=cache_server,json=cacheServer,proto3" json:"cache_server,omitempty"`
	// The secret for wifi tests.
	WifiSecret *WifiSecret `protobuf:"bytes,6,opt,name=wifi_secret,json=wifiSecret,proto3" json:"wifi_secret,omitempty"`
	// contains filtered or unexported fields
}

Specification of Device Under Test. Next Tag: 7

func (*Dut) Descriptor deprecated

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

Deprecated: Use Dut.ProtoReflect.Descriptor instead.

func (*Dut) GetAndroid

func (x *Dut) GetAndroid() *Dut_Android

func (*Dut) GetCacheServer

func (x *Dut) GetCacheServer() *CacheServer

func (*Dut) GetChromeos

func (x *Dut) GetChromeos() *Dut_ChromeOS

func (*Dut) GetDevboard

func (x *Dut) GetDevboard() *Dut_Devboard

func (*Dut) GetDutType

func (m *Dut) GetDutType() isDut_DutType

func (*Dut) GetId

func (x *Dut) GetId() *Dut_Id

func (*Dut) GetWifiSecret

func (x *Dut) GetWifiSecret() *WifiSecret

func (*Dut) ProtoMessage

func (*Dut) ProtoMessage()

func (*Dut) ProtoReflect

func (x *Dut) ProtoReflect() protoreflect.Message

func (*Dut) Reset

func (x *Dut) Reset()

func (*Dut) String

func (x *Dut) String() string

type DutModel

type DutModel struct {
	BuildTarget string `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	ModelName   string `protobuf:"bytes,2,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
	// contains filtered or unexported fields
}

Defines the build target/board and model of the Dut

func (*DutModel) Descriptor deprecated

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

Deprecated: Use DutModel.ProtoReflect.Descriptor instead.

func (*DutModel) GetBuildTarget

func (x *DutModel) GetBuildTarget() string

func (*DutModel) GetModelName

func (x *DutModel) GetModelName() string

func (*DutModel) ProtoMessage

func (*DutModel) ProtoMessage()

func (*DutModel) ProtoReflect

func (x *DutModel) ProtoReflect() protoreflect.Message

func (*DutModel) Reset

func (x *DutModel) Reset()

func (*DutModel) String

func (x *DutModel) String() string

type DutTopology

type DutTopology struct {
	Id *DutTopology_Id `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Collection of devices that are used in a given test.
	// Generally, this will contain a single Dut for an functional test that
	// doesn't depend on other devices, but can include a collection of devices
	// used in multi-dut testing (e.g. ChromeOS to ChromeOS, ChromeOS to Android,
	// etc...)
	Duts []*Dut `protobuf:"bytes,4,rep,name=duts,proto3" json:"duts,omitempty"`
	// contains filtered or unexported fields
}

Defines the topology of connected devices under test

func (*DutTopology) Descriptor deprecated

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

Deprecated: Use DutTopology.ProtoReflect.Descriptor instead.

func (*DutTopology) GetDuts

func (x *DutTopology) GetDuts() []*Dut

func (*DutTopology) GetId

func (x *DutTopology) GetId() *DutTopology_Id

func (*DutTopology) ProtoMessage

func (*DutTopology) ProtoMessage()

func (*DutTopology) ProtoReflect

func (x *DutTopology) ProtoReflect() protoreflect.Message

func (*DutTopology) Reset

func (x *DutTopology) Reset()

func (*DutTopology) String

func (x *DutTopology) String() string

type DutTopology_Id

type DutTopology_Id struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Unique identifier for a given dut topology (schedulable lab unit)

func (*DutTopology_Id) Descriptor deprecated

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

Deprecated: Use DutTopology_Id.ProtoReflect.Descriptor instead.

func (*DutTopology_Id) GetValue

func (x *DutTopology_Id) GetValue() string

func (*DutTopology_Id) ProtoMessage

func (*DutTopology_Id) ProtoMessage()

func (*DutTopology_Id) ProtoReflect

func (x *DutTopology_Id) ProtoReflect() protoreflect.Message

func (*DutTopology_Id) Reset

func (x *DutTopology_Id) Reset()

func (*DutTopology_Id) String

func (x *DutTopology_Id) String() string

type Dut_Android

type Dut_Android struct {

	// A hostname of the device that the Android DUT is attached to.
	AssociatedHostname *IpEndpoint `protobuf:"bytes,1,opt,name=associated_hostname,json=associatedHostname,proto3" json:"associated_hostname,omitempty"`
	// Android DUT name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// A string created by adb to uniquely identify the device.
	SerialNumber string    `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	DutModel     *DutModel `protobuf:"bytes,4,opt,name=dut_model,json=dutModel,proto3" json:"dut_model,omitempty"`
	// contains filtered or unexported fields
}

Android specific DUT details

func (*Dut_Android) Descriptor deprecated

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

Deprecated: Use Dut_Android.ProtoReflect.Descriptor instead.

func (*Dut_Android) GetAssociatedHostname

func (x *Dut_Android) GetAssociatedHostname() *IpEndpoint

func (*Dut_Android) GetDutModel

func (x *Dut_Android) GetDutModel() *DutModel

func (*Dut_Android) GetName

func (x *Dut_Android) GetName() string

func (*Dut_Android) GetSerialNumber

func (x *Dut_Android) GetSerialNumber() string

func (*Dut_Android) ProtoMessage

func (*Dut_Android) ProtoMessage()

func (*Dut_Android) ProtoReflect

func (x *Dut_Android) ProtoReflect() protoreflect.Message

func (*Dut_Android) Reset

func (x *Dut_Android) Reset()

func (*Dut_Android) String

func (x *Dut_Android) String() string

type Dut_Android_

type Dut_Android_ struct {
	Android *Dut_Android `protobuf:"bytes,3,opt,name=android,proto3,oneof"`
}

type Dut_ChromeOS

type Dut_ChromeOS struct {

	// Unique identifiers around the device's hardware, manufacturing, and brand
	// configuration.
	DeviceConfigId *api.DeviceConfigId `protobuf:"bytes,3,opt,name=device_config_id,json=deviceConfigId,proto3" json:"device_config_id,omitempty"`
	// Endpoint for ssh service running on the device
	Ssh *IpEndpoint `protobuf:"bytes,2,opt,name=ssh,proto3" json:"ssh,omitempty"`
	// ChromeOS DUT name that is usually associated with the hostname.
	// Example: "chromeos6-row16-rack11-host1"
	Name            string            `protobuf:"bytes,15,opt,name=name,proto3" json:"name,omitempty"`
	DutModel        *DutModel         `protobuf:"bytes,14,opt,name=dut_model,json=dutModel,proto3" json:"dut_model,omitempty"`
	Servo           *Servo            `protobuf:"bytes,4,opt,name=servo,proto3" json:"servo,omitempty"`
	Chameleon       *Chameleon        `protobuf:"bytes,5,opt,name=chameleon,proto3" json:"chameleon,omitempty"`
	Rpm             *RPM              `protobuf:"bytes,6,opt,name=rpm,proto3" json:"rpm,omitempty"`
	ExternalCameras []*ExternalCamera `protobuf:"bytes,7,rep,name=external_cameras,json=externalCameras,proto3" json:"external_cameras,omitempty"`
	Audio           *Audio            `protobuf:"bytes,8,opt,name=audio,proto3" json:"audio,omitempty"`
	Wifi            *Wifi             `protobuf:"bytes,9,opt,name=wifi,proto3" json:"wifi,omitempty"`
	Touch           *Touch            `protobuf:"bytes,10,opt,name=touch,proto3" json:"touch,omitempty"`
	Camerabox       *Camerabox        `protobuf:"bytes,11,opt,name=camerabox,proto3" json:"camerabox,omitempty"`
	Cables          []*Cable          `protobuf:"bytes,12,rep,name=cables,proto3" json:"cables,omitempty"`
	Cellular        *Cellular         `protobuf:"bytes,13,opt,name=cellular,proto3" json:"cellular,omitempty"`
	HwidComponent   []string          `protobuf:"bytes,16,rep,name=hwid_component,json=hwidComponent,proto3" json:"hwid_component,omitempty"`
	BluetoothPeers  []*BluetoothPeer  `protobuf:"bytes,17,rep,name=bluetooth_peers,json=bluetoothPeers,proto3" json:"bluetooth_peers,omitempty"`
	Sku             string            `protobuf:"bytes,18,opt,name=sku,proto3" json:"sku,omitempty"`
	Hwid            string            `protobuf:"bytes,19,opt,name=hwid,proto3" json:"hwid,omitempty"`
	Phase           Phase             `protobuf:"varint,20,opt,name=phase,proto3,enum=chromiumos.test.lab.api.Phase" json:"phase,omitempty"`
	SimInfos        []*SIMInfo        `protobuf:"bytes,21,rep,name=sim_infos,json=simInfos,proto3" json:"sim_infos,omitempty"`
	// contains filtered or unexported fields
}

Chrome OS specific DUT details NEXT TAG: 22

func (*Dut_ChromeOS) Descriptor deprecated

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

Deprecated: Use Dut_ChromeOS.ProtoReflect.Descriptor instead.

func (*Dut_ChromeOS) GetAudio

func (x *Dut_ChromeOS) GetAudio() *Audio

func (*Dut_ChromeOS) GetBluetoothPeers

func (x *Dut_ChromeOS) GetBluetoothPeers() []*BluetoothPeer

func (*Dut_ChromeOS) GetCables

func (x *Dut_ChromeOS) GetCables() []*Cable

func (*Dut_ChromeOS) GetCamerabox

func (x *Dut_ChromeOS) GetCamerabox() *Camerabox

func (*Dut_ChromeOS) GetCellular

func (x *Dut_ChromeOS) GetCellular() *Cellular

func (*Dut_ChromeOS) GetChameleon

func (x *Dut_ChromeOS) GetChameleon() *Chameleon

func (*Dut_ChromeOS) GetDeviceConfigId

func (x *Dut_ChromeOS) GetDeviceConfigId() *api.DeviceConfigId

func (*Dut_ChromeOS) GetDutModel

func (x *Dut_ChromeOS) GetDutModel() *DutModel

func (*Dut_ChromeOS) GetExternalCameras

func (x *Dut_ChromeOS) GetExternalCameras() []*ExternalCamera

func (*Dut_ChromeOS) GetHwid

func (x *Dut_ChromeOS) GetHwid() string

func (*Dut_ChromeOS) GetHwidComponent

func (x *Dut_ChromeOS) GetHwidComponent() []string

func (*Dut_ChromeOS) GetName

func (x *Dut_ChromeOS) GetName() string

func (*Dut_ChromeOS) GetPhase

func (x *Dut_ChromeOS) GetPhase() Phase

func (*Dut_ChromeOS) GetRpm

func (x *Dut_ChromeOS) GetRpm() *RPM

func (*Dut_ChromeOS) GetServo

func (x *Dut_ChromeOS) GetServo() *Servo

func (*Dut_ChromeOS) GetSimInfos

func (x *Dut_ChromeOS) GetSimInfos() []*SIMInfo

func (*Dut_ChromeOS) GetSku

func (x *Dut_ChromeOS) GetSku() string

func (*Dut_ChromeOS) GetSsh

func (x *Dut_ChromeOS) GetSsh() *IpEndpoint

func (*Dut_ChromeOS) GetTouch

func (x *Dut_ChromeOS) GetTouch() *Touch

func (*Dut_ChromeOS) GetWifi

func (x *Dut_ChromeOS) GetWifi() *Wifi

func (*Dut_ChromeOS) ProtoMessage

func (*Dut_ChromeOS) ProtoMessage()

func (*Dut_ChromeOS) ProtoReflect

func (x *Dut_ChromeOS) ProtoReflect() protoreflect.Message

func (*Dut_ChromeOS) Reset

func (x *Dut_ChromeOS) Reset()

func (*Dut_ChromeOS) String

func (x *Dut_ChromeOS) String() string

type Dut_Chromeos

type Dut_Chromeos struct {
	Chromeos *Dut_ChromeOS `protobuf:"bytes,2,opt,name=chromeos,proto3,oneof"`
}

type Dut_Devboard

type Dut_Devboard struct {

	// The type of devboard, e.g., andreiboard.
	BoardType string `protobuf:"bytes,1,opt,name=board_type,json=boardType,proto3" json:"board_type,omitempty"`
	// Serial for the UltraDebug interface, if present.
	UltradebugSerial string `protobuf:"bytes,2,opt,name=ultradebug_serial,json=ultradebugSerial,proto3" json:"ultradebug_serial,omitempty"`
	Servo            *Servo `protobuf:"bytes,3,opt,name=servo,proto3" json:"servo,omitempty"`
	// An ID string for the fingerprint module.
	FingerprintModuleId string `protobuf:"bytes,4,opt,name=fingerprint_module_id,json=fingerprintModuleId,proto3" json:"fingerprint_module_id,omitempty"`
	// Devboard DUT name.
	Name     string    `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	DutModel *DutModel `protobuf:"bytes,6,opt,name=dut_model,json=dutModel,proto3" json:"dut_model,omitempty"`
	// contains filtered or unexported fields
}

Devboard specific DUT details

func (*Dut_Devboard) Descriptor deprecated

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

Deprecated: Use Dut_Devboard.ProtoReflect.Descriptor instead.

func (*Dut_Devboard) GetBoardType

func (x *Dut_Devboard) GetBoardType() string

func (*Dut_Devboard) GetDutModel

func (x *Dut_Devboard) GetDutModel() *DutModel

func (*Dut_Devboard) GetFingerprintModuleId

func (x *Dut_Devboard) GetFingerprintModuleId() string

func (*Dut_Devboard) GetName

func (x *Dut_Devboard) GetName() string

func (*Dut_Devboard) GetServo

func (x *Dut_Devboard) GetServo() *Servo

func (*Dut_Devboard) GetUltradebugSerial

func (x *Dut_Devboard) GetUltradebugSerial() string

func (*Dut_Devboard) ProtoMessage

func (*Dut_Devboard) ProtoMessage()

func (*Dut_Devboard) ProtoReflect

func (x *Dut_Devboard) ProtoReflect() protoreflect.Message

func (*Dut_Devboard) Reset

func (x *Dut_Devboard) Reset()

func (*Dut_Devboard) String

func (x *Dut_Devboard) String() string

type Dut_Devboard_

type Dut_Devboard_ struct {
	Devboard *Dut_Devboard `protobuf:"bytes,5,opt,name=devboard,proto3,oneof"`
}

type Dut_Id

type Dut_Id struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Unique identifier for the lab device. It can be the DUT serial number (e.g. "C144091") derived from the DUT itself or some other unique value regarding different contexts.

func (*Dut_Id) Descriptor deprecated

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

Deprecated: Use Dut_Id.ProtoReflect.Descriptor instead.

func (*Dut_Id) GetValue

func (x *Dut_Id) GetValue() string

func (*Dut_Id) ProtoMessage

func (*Dut_Id) ProtoMessage()

func (*Dut_Id) ProtoReflect

func (x *Dut_Id) ProtoReflect() protoreflect.Message

func (*Dut_Id) Reset

func (x *Dut_Id) Reset()

func (*Dut_Id) String

func (x *Dut_Id) String() string

type ExternalCamera

type ExternalCamera struct {
	Type ExternalCamera_Type `protobuf:"varint,1,opt,name=type,proto3,enum=chromiumos.test.lab.api.ExternalCamera_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

External camera connected to the device.

func (*ExternalCamera) Descriptor deprecated

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

Deprecated: Use ExternalCamera.ProtoReflect.Descriptor instead.

func (*ExternalCamera) GetType

func (x *ExternalCamera) GetType() ExternalCamera_Type

func (*ExternalCamera) ProtoMessage

func (*ExternalCamera) ProtoMessage()

func (*ExternalCamera) ProtoReflect

func (x *ExternalCamera) ProtoReflect() protoreflect.Message

func (*ExternalCamera) Reset

func (x *ExternalCamera) Reset()

func (*ExternalCamera) String

func (x *ExternalCamera) String() string

type ExternalCamera_Type

type ExternalCamera_Type int32
const (
	ExternalCamera_TYPE_UNSPECIFIED ExternalCamera_Type = 0
	// camera Huddly GO
	ExternalCamera_HUDDLY ExternalCamera_Type = 1
	// camera Logitech PTZ Pro 2
	ExternalCamera_PTZPRO2 ExternalCamera_Type = 2
)

func (ExternalCamera_Type) Descriptor

func (ExternalCamera_Type) Enum

func (ExternalCamera_Type) EnumDescriptor deprecated

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

Deprecated: Use ExternalCamera_Type.Descriptor instead.

func (ExternalCamera_Type) Number

func (ExternalCamera_Type) String

func (x ExternalCamera_Type) String() string

func (ExternalCamera_Type) Type

type GetDutTopologyRequest

type GetDutTopologyRequest struct {

	// Unique ID of the DUT topology
	// Provided by the client (e.g. local test environment) or by
	// the automated scheduling layer (e.g. test setup that was assigned to
	// service the requested testing).
	Id *DutTopology_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDutTopologyRequest) Descriptor deprecated

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

Deprecated: Use GetDutTopologyRequest.ProtoReflect.Descriptor instead.

func (*GetDutTopologyRequest) GetId

func (*GetDutTopologyRequest) ProtoMessage

func (*GetDutTopologyRequest) ProtoMessage()

func (*GetDutTopologyRequest) ProtoReflect

func (x *GetDutTopologyRequest) ProtoReflect() protoreflect.Message

func (*GetDutTopologyRequest) Reset

func (x *GetDutTopologyRequest) Reset()

func (*GetDutTopologyRequest) String

func (x *GetDutTopologyRequest) String() string

type GetDutTopologyResponse

type GetDutTopologyResponse struct {

	// Types that are assignable to Result:
	//	*GetDutTopologyResponse_Success_
	//	*GetDutTopologyResponse_Failure_
	Result isGetDutTopologyResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*GetDutTopologyResponse) Descriptor deprecated

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

Deprecated: Use GetDutTopologyResponse.ProtoReflect.Descriptor instead.

func (*GetDutTopologyResponse) GetFailure

func (*GetDutTopologyResponse) GetResult

func (m *GetDutTopologyResponse) GetResult() isGetDutTopologyResponse_Result

func (*GetDutTopologyResponse) GetSuccess

func (*GetDutTopologyResponse) ProtoMessage

func (*GetDutTopologyResponse) ProtoMessage()

func (*GetDutTopologyResponse) ProtoReflect

func (x *GetDutTopologyResponse) ProtoReflect() protoreflect.Message

func (*GetDutTopologyResponse) Reset

func (x *GetDutTopologyResponse) Reset()

func (*GetDutTopologyResponse) String

func (x *GetDutTopologyResponse) String() string

type GetDutTopologyResponse_Failure

type GetDutTopologyResponse_Failure struct {

	// Human readable error to aid in debugging
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDutTopologyResponse_Failure) Descriptor deprecated

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

Deprecated: Use GetDutTopologyResponse_Failure.ProtoReflect.Descriptor instead.

func (*GetDutTopologyResponse_Failure) GetErrorMessage

func (x *GetDutTopologyResponse_Failure) GetErrorMessage() string

func (*GetDutTopologyResponse_Failure) ProtoMessage

func (*GetDutTopologyResponse_Failure) ProtoMessage()

func (*GetDutTopologyResponse_Failure) ProtoReflect

func (*GetDutTopologyResponse_Failure) Reset

func (x *GetDutTopologyResponse_Failure) Reset()

func (*GetDutTopologyResponse_Failure) String

type GetDutTopologyResponse_Failure_

type GetDutTopologyResponse_Failure_ struct {
	Failure *GetDutTopologyResponse_Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
}

type GetDutTopologyResponse_Success

type GetDutTopologyResponse_Success struct {
	DutTopology *DutTopology `protobuf:"bytes,1,opt,name=dut_topology,json=dutTopology,proto3" json:"dut_topology,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDutTopologyResponse_Success) Descriptor deprecated

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

Deprecated: Use GetDutTopologyResponse_Success.ProtoReflect.Descriptor instead.

func (*GetDutTopologyResponse_Success) GetDutTopology

func (x *GetDutTopologyResponse_Success) GetDutTopology() *DutTopology

func (*GetDutTopologyResponse_Success) ProtoMessage

func (*GetDutTopologyResponse_Success) ProtoMessage()

func (*GetDutTopologyResponse_Success) ProtoReflect

func (*GetDutTopologyResponse_Success) Reset

func (x *GetDutTopologyResponse_Success) Reset()

func (*GetDutTopologyResponse_Success) String

type GetDutTopologyResponse_Success_

type GetDutTopologyResponse_Success_ struct {
	Success *GetDutTopologyResponse_Success `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}

type InventoryServiceClient

type InventoryServiceClient interface {
	// Returns the device wiring topology, including all peripherals attached to
	// the device and peer devices that are used in the test setup.
	GetDutTopology(ctx context.Context, in *GetDutTopologyRequest, opts ...grpc.CallOption) (InventoryService_GetDutTopologyClient, error)
}

InventoryServiceClient is the client API for InventoryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type InventoryServiceServer

type InventoryServiceServer interface {
	// Returns the device wiring topology, including all peripherals attached to
	// the device and peer devices that are used in the test setup.
	GetDutTopology(*GetDutTopologyRequest, InventoryService_GetDutTopologyServer) error
}

InventoryServiceServer is the server API for InventoryService service. All implementations should embed UnimplementedInventoryServiceServer for forward compatibility

type InventoryService_GetDutTopologyClient

type InventoryService_GetDutTopologyClient interface {
	Recv() (*GetDutTopologyResponse, error)
	grpc.ClientStream
}

type InventoryService_GetDutTopologyServer

type InventoryService_GetDutTopologyServer interface {
	Send(*GetDutTopologyResponse) error
	grpc.ServerStream
}

type IpEndpoint

type IpEndpoint struct {

	// Contains oneof:
	//   Hostname that can be resolved via DNS
	//   IPv4 address in dotted decimal notation.
	//   IPv6 address in RFC4291 notation.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Service port on the target host
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

IP endpoint to a given service port.

func (*IpEndpoint) Descriptor deprecated

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

Deprecated: Use IpEndpoint.ProtoReflect.Descriptor instead.

func (*IpEndpoint) GetAddress

func (x *IpEndpoint) GetAddress() string

func (*IpEndpoint) GetPort

func (x *IpEndpoint) GetPort() int32

func (*IpEndpoint) ProtoMessage

func (*IpEndpoint) ProtoMessage()

func (*IpEndpoint) ProtoReflect

func (x *IpEndpoint) ProtoReflect() protoreflect.Message

func (*IpEndpoint) Reset

func (x *IpEndpoint) Reset()

func (*IpEndpoint) String

func (x *IpEndpoint) String() string

type NetworkProvider

type NetworkProvider int32
const (
	NetworkProvider_NETWORK_OTHER       NetworkProvider = 0
	NetworkProvider_NETWORK_UNSUPPORTED NetworkProvider = 5
	NetworkProvider_NETWORK_TEST        NetworkProvider = 1
	NetworkProvider_NETWORK_ATT         NetworkProvider = 2
	NetworkProvider_NETWORK_TMOBILE     NetworkProvider = 3
	NetworkProvider_NETWORK_VERIZON     NetworkProvider = 4
	NetworkProvider_NETWORK_SPRINT      NetworkProvider = 6
	NetworkProvider_NETWORK_DOCOMO      NetworkProvider = 7
	NetworkProvider_NETWORK_SOFTBANK    NetworkProvider = 8
	NetworkProvider_NETWORK_KDDI        NetworkProvider = 9
	NetworkProvider_NETWORK_RAKUTEN     NetworkProvider = 10
	NetworkProvider_NETWORK_VODAFONE    NetworkProvider = 11
	NetworkProvider_NETWORK_EE          NetworkProvider = 12
	NetworkProvider_NETWORK_AMARISOFT   NetworkProvider = 13
	NetworkProvider_NETWORK_ROGER       NetworkProvider = 14
	NetworkProvider_NETWORK_BELL        NetworkProvider = 15
	NetworkProvider_NETWORK_TELUS       NetworkProvider = 16
	NetworkProvider_NETWORK_FI          NetworkProvider = 17
)

func (NetworkProvider) Descriptor

func (NetworkProvider) Enum

func (x NetworkProvider) Enum() *NetworkProvider

func (NetworkProvider) EnumDescriptor deprecated

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

Deprecated: Use NetworkProvider.Descriptor instead.

func (NetworkProvider) Number

func (NetworkProvider) String

func (x NetworkProvider) String() string

func (NetworkProvider) Type

type OpenWrtWifiRouterDeviceConfig

type OpenWrtWifiRouterDeviceConfig struct {

	// The image that should be used by default.
	//
	// If the testbed's DUT does not meet the version requirement of the image,
	// the image with the highest minimum DUT version requirement that the DUT
	// meets should be used instead. If the testbed's DUT does not meet any of the
	// available images' version requirements, the image with the lowest version
	// requirement should be used.
	CurrentImageUuid string `protobuf:"bytes,1,opt,name=current_image_uuid,json=currentImageUuid,proto3" json:"current_image_uuid,omitempty"`
	// The image that should be used by routers in testbeds whose primary DUT is
	// in the next_image_verification_dut_pool, irregardless of the image's DUT
	// version requirement and overriding current_image_uuid for these routers.
	NextImageUuid string `protobuf:"bytes,2,opt,name=next_image_uuid,json=nextImageUuid,proto3" json:"next_image_uuid,omitempty"`
	// Wifi routers that are in testbeds with these primary DUT hostnames should
	// use the next_image_uuid instead of the current_image_uuid for image
	// selection.
	NextImageVerificationDutPool []string `` /* 151-byte string literal not displayed */
	// All available OpenWrt OS images for this build profile.
	Images []*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage `protobuf:"bytes,4,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

OpenWrtWifiRouterConfig defines which OpenWrt OS image should be used for a given OpenWrt device and DUT ChromeOS release version.

Each device has its own set of versions and a pool of DUTs that are always on the next version to assist in its verification.

func (*OpenWrtWifiRouterDeviceConfig) Descriptor deprecated

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

Deprecated: Use OpenWrtWifiRouterDeviceConfig.ProtoReflect.Descriptor instead.

func (*OpenWrtWifiRouterDeviceConfig) GetCurrentImageUuid

func (x *OpenWrtWifiRouterDeviceConfig) GetCurrentImageUuid() string

func (*OpenWrtWifiRouterDeviceConfig) GetImages

func (*OpenWrtWifiRouterDeviceConfig) GetNextImageUuid

func (x *OpenWrtWifiRouterDeviceConfig) GetNextImageUuid() string

func (*OpenWrtWifiRouterDeviceConfig) GetNextImageVerificationDutPool

func (x *OpenWrtWifiRouterDeviceConfig) GetNextImageVerificationDutPool() []string

func (*OpenWrtWifiRouterDeviceConfig) ProtoMessage

func (*OpenWrtWifiRouterDeviceConfig) ProtoMessage()

func (*OpenWrtWifiRouterDeviceConfig) ProtoReflect

func (*OpenWrtWifiRouterDeviceConfig) Reset

func (x *OpenWrtWifiRouterDeviceConfig) Reset()

func (*OpenWrtWifiRouterDeviceConfig) String

type OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage

type OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage struct {

	// The unique ID of the image.
	ImageUuid string `protobuf:"bytes,1,opt,name=image_uuid,json=imageUuid,proto3" json:"image_uuid,omitempty"`
	// The path to the image archive file, relative to the config file this
	// data was parsed from.
	ArchivePath string `protobuf:"bytes,2,opt,name=archive_path,json=archivePath,proto3" json:"archive_path,omitempty"`
	// The minimum DUT CHROMEOS_RELEASE_VERSION this image should be used with.
	MinDutReleaseVersion string `protobuf:"bytes,3,opt,name=min_dut_release_version,json=minDutReleaseVersion,proto3" json:"min_dut_release_version,omitempty"`
	// contains filtered or unexported fields
}

OpenWrtOSImage describes an available OpenWrt OS image.

func (*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) Descriptor deprecated

Deprecated: Use OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage.ProtoReflect.Descriptor instead.

func (*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) GetArchivePath

func (*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) GetImageUuid

func (*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) GetMinDutReleaseVersion

func (x *OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) GetMinDutReleaseVersion() string

func (*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) ProtoMessage

func (*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) ProtoReflect

func (*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) Reset

func (*OpenWrtWifiRouterDeviceConfig_OpenWrtOSImage) String

type PeripheralState

type PeripheralState int32

Next Tag: 3

const (
	PeripheralState_PERIPHERAL_STATE_UNSPECIFIED PeripheralState = 0
	PeripheralState_WORKING                      PeripheralState = 1
	PeripheralState_BROKEN                       PeripheralState = 2
	PeripheralState_NOT_APPLICABLE               PeripheralState = 3
)

func (PeripheralState) Descriptor

func (PeripheralState) Enum

func (x PeripheralState) Enum() *PeripheralState

func (PeripheralState) EnumDescriptor deprecated

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

Deprecated: Use PeripheralState.Descriptor instead.

func (PeripheralState) Number

func (PeripheralState) String

func (x PeripheralState) String() string

func (PeripheralState) Type

type Phase

type Phase int32

Next Tag: 34

const (
	Phase_PHASE_UNSPECIFIED Phase = 0
	Phase_DVT               Phase = 1
	Phase_DVT_2             Phase = 2
	Phase_DVT_2_MPS_LTE     Phase = 3
	Phase_DVT_BIPSHIP       Phase = 4
	Phase_DVT_BOOKEM        Phase = 5
	Phase_DVT_ELECTRO       Phase = 6
	Phase_DVT_LOCKE         Phase = 7
	Phase_DVT_OSCINO        Phase = 8
	Phase_DVT_REKS14        Phase = 9
	Phase_DVT_REKS14_TOUCH  Phase = 10
	Phase_DVT_TOUCH         Phase = 11
	Phase_EVT               Phase = 12
	Phase_EVT_FLEEX_LTE     Phase = 13
	Phase_EVT_HQ            Phase = 14
	Phase_EVT_LTE           Phase = 15
	Phase_EVT_MAPLE         Phase = 16
	Phase_EVT_PUJJO         Phase = 17
	Phase_PROTO             Phase = 18
	Phase_PROTO1            Phase = 19
	Phase_PVT               Phase = 20
	Phase_PVT_TERRA3        Phase = 21
	Phase_PVT_US            Phase = 22
	Phase_PVT_2             Phase = 23
	Phase_PVT_BOOKEM        Phase = 24
	Phase_PVT_ELECTRO       Phase = 25
	Phase_PVT_GIK360        Phase = 26
	Phase_PVT_LILI          Phase = 27
	Phase_PVT_LTE           Phase = 28
	Phase_PVT_NEW_CPU       Phase = 29
	Phase_PVT_SAND          Phase = 30
	Phase_PVT_TUNE_BITS     Phase = 31
	Phase_PVT_TELESU        Phase = 32
	Phase_SR                Phase = 33
)

func (Phase) Descriptor

func (Phase) Descriptor() protoreflect.EnumDescriptor

func (Phase) Enum

func (x Phase) Enum() *Phase

func (Phase) EnumDescriptor deprecated

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

Deprecated: Use Phase.Descriptor instead.

func (Phase) Number

func (x Phase) Number() protoreflect.EnumNumber

func (Phase) String

func (x Phase) String() string

func (Phase) Type

func (Phase) Type() protoreflect.EnumType

type RPM

type RPM struct {
	Present bool `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"`
	// Address to the frontend service for accessing the RPM.
	// The frontend service is an HTTP service that supports XMLRPC calls.
	FrontendAddress *IpEndpoint `protobuf:"bytes,2,opt,name=frontend_address,json=frontendAddress,proto3" json:"frontend_address,omitempty"`
	// Hostname of a particular PDU that assigned to the DUT.
	PowerUnitHostname *IpEndpoint `protobuf:"bytes,3,opt,name=power_unit_hostname,json=powerUnitHostname,proto3" json:"power_unit_hostname,omitempty"`
	// Outlet name/number assigned to the DUT
	PowerUnitOutlet string `protobuf:"bytes,4,opt,name=power_unit_outlet,json=powerUnitOutlet,proto3" json:"power_unit_outlet,omitempty"`
	// (Optional) Hydra hostname if the PDU access require a hydra.
	HydraHostname *IpEndpoint `protobuf:"bytes,5,opt,name=hydra_hostname,json=hydraHostname,proto3" json:"hydra_hostname,omitempty"`
	// contains filtered or unexported fields
}

Remote power management capability for the device.

func (*RPM) Descriptor deprecated

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

Deprecated: Use RPM.ProtoReflect.Descriptor instead.

func (*RPM) GetFrontendAddress

func (x *RPM) GetFrontendAddress() *IpEndpoint

func (*RPM) GetHydraHostname

func (x *RPM) GetHydraHostname() *IpEndpoint

func (*RPM) GetPowerUnitHostname

func (x *RPM) GetPowerUnitHostname() *IpEndpoint

func (*RPM) GetPowerUnitOutlet

func (x *RPM) GetPowerUnitOutlet() string

func (*RPM) GetPresent

func (x *RPM) GetPresent() bool

func (*RPM) ProtoMessage

func (*RPM) ProtoMessage()

func (*RPM) ProtoReflect

func (x *RPM) ProtoReflect() protoreflect.Message

func (*RPM) Reset

func (x *RPM) Reset()

func (*RPM) String

func (x *RPM) String() string

type SIMInfo

type SIMInfo struct {
	SlotId      int32             `protobuf:"varint,1,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"`
	Type        SIMType           `protobuf:"varint,2,opt,name=type,proto3,enum=chromiumos.test.lab.api.SIMType" json:"type,omitempty"`
	Eid         string            `protobuf:"bytes,3,opt,name=eid,proto3" json:"eid,omitempty"`
	TestEsim    bool              `protobuf:"varint,4,opt,name=test_esim,json=testEsim,proto3" json:"test_esim,omitempty"`
	ProfileInfo []*SIMProfileInfo `protobuf:"bytes,5,rep,name=profile_info,json=profileInfo,proto3" json:"profile_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SIMInfo) Descriptor deprecated

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

Deprecated: Use SIMInfo.ProtoReflect.Descriptor instead.

func (*SIMInfo) GetEid

func (x *SIMInfo) GetEid() string

func (*SIMInfo) GetProfileInfo

func (x *SIMInfo) GetProfileInfo() []*SIMProfileInfo

func (*SIMInfo) GetSlotId

func (x *SIMInfo) GetSlotId() int32

func (*SIMInfo) GetTestEsim

func (x *SIMInfo) GetTestEsim() bool

func (*SIMInfo) GetType

func (x *SIMInfo) GetType() SIMType

func (*SIMInfo) ProtoMessage

func (*SIMInfo) ProtoMessage()

func (*SIMInfo) ProtoReflect

func (x *SIMInfo) ProtoReflect() protoreflect.Message

func (*SIMInfo) Reset

func (x *SIMInfo) Reset()

func (*SIMInfo) String

func (x *SIMInfo) String() string

type SIMProfileInfo

type SIMProfileInfo struct {
	Iccid       string          `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"`
	SimPin      string          `protobuf:"bytes,2,opt,name=sim_pin,json=simPin,proto3" json:"sim_pin,omitempty"`
	SimPuk      string          `protobuf:"bytes,3,opt,name=sim_puk,json=simPuk,proto3" json:"sim_puk,omitempty"`
	CarrierName NetworkProvider `` /* 140-byte string literal not displayed */
	OwnNumber   string          `protobuf:"bytes,5,opt,name=own_number,json=ownNumber,proto3" json:"own_number,omitempty"`
	// contains filtered or unexported fields
}

func (*SIMProfileInfo) Descriptor deprecated

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

Deprecated: Use SIMProfileInfo.ProtoReflect.Descriptor instead.

func (*SIMProfileInfo) GetCarrierName

func (x *SIMProfileInfo) GetCarrierName() NetworkProvider

func (*SIMProfileInfo) GetIccid

func (x *SIMProfileInfo) GetIccid() string

func (*SIMProfileInfo) GetOwnNumber

func (x *SIMProfileInfo) GetOwnNumber() string

func (*SIMProfileInfo) GetSimPin

func (x *SIMProfileInfo) GetSimPin() string

func (*SIMProfileInfo) GetSimPuk

func (x *SIMProfileInfo) GetSimPuk() string

func (*SIMProfileInfo) ProtoMessage

func (*SIMProfileInfo) ProtoMessage()

func (*SIMProfileInfo) ProtoReflect

func (x *SIMProfileInfo) ProtoReflect() protoreflect.Message

func (*SIMProfileInfo) Reset

func (x *SIMProfileInfo) Reset()

func (*SIMProfileInfo) String

func (x *SIMProfileInfo) String() string

type SIMType

type SIMType int32
const (
	SIMType_SIM_UNKNOWN  SIMType = 0
	SIMType_SIM_PHYSICAL SIMType = 1
	SIMType_SIM_DIGITAL  SIMType = 2
)

func (SIMType) Descriptor

func (SIMType) Descriptor() protoreflect.EnumDescriptor

func (SIMType) Enum

func (x SIMType) Enum() *SIMType

func (SIMType) EnumDescriptor deprecated

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

Deprecated: Use SIMType.Descriptor instead.

func (SIMType) Number

func (x SIMType) Number() protoreflect.EnumNumber

func (SIMType) String

func (x SIMType) String() string

func (SIMType) Type

func (SIMType) Type() protoreflect.EnumType

type Servo

type Servo struct {
	Present bool `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"`
	// Address to the host running the servod daemon.
	// Port number servod is listening on.
	ServodAddress *IpEndpoint `protobuf:"bytes,2,opt,name=servod_address,json=servodAddress,proto3" json:"servod_address,omitempty"`
	// Serial number of the servo.
	Serial string `protobuf:"bytes,3,opt,name=serial,proto3" json:"serial,omitempty"`
	// contains filtered or unexported fields
}

Servo control of the device.

func (*Servo) Descriptor deprecated

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

Deprecated: Use Servo.ProtoReflect.Descriptor instead.

func (*Servo) GetPresent

func (x *Servo) GetPresent() bool

func (*Servo) GetSerial

func (x *Servo) GetSerial() string

func (*Servo) GetServodAddress

func (x *Servo) GetServodAddress() *IpEndpoint

func (*Servo) ProtoMessage

func (*Servo) ProtoMessage()

func (*Servo) ProtoReflect

func (x *Servo) ProtoReflect() protoreflect.Message

func (*Servo) Reset

func (x *Servo) Reset()

func (*Servo) String

func (x *Servo) String() string

type TapeServiceClient

type TapeServiceClient interface {
	// Sends a request to the TAPE GCP.
	CallTape(ctx context.Context, in *CallTapeRequest, opts ...grpc.CallOption) (*CallTapeResponse, error)
}

TapeServiceClient is the client API for TapeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TapeServiceServer

type TapeServiceServer interface {
	// Sends a request to the TAPE GCP.
	CallTape(context.Context, *CallTapeRequest) (*CallTapeResponse, error)
}

TapeServiceServer is the server API for TapeService service. All implementations should embed UnimplementedTapeServiceServer for forward compatibility

type Touch

type Touch struct {

	// Has touch monitor mimo.
	Mimo bool `protobuf:"varint,1,opt,name=mimo,proto3" json:"mimo,omitempty"`
	// contains filtered or unexported fields
}

func (*Touch) Descriptor deprecated

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

Deprecated: Use Touch.ProtoReflect.Descriptor instead.

func (*Touch) GetMimo

func (x *Touch) GetMimo() bool

func (*Touch) ProtoMessage

func (*Touch) ProtoMessage()

func (*Touch) ProtoReflect

func (x *Touch) ProtoReflect() protoreflect.Message

func (*Touch) Reset

func (x *Touch) Reset()

func (*Touch) String

func (x *Touch) String() string

type UnimplementedInventoryServiceServer

type UnimplementedInventoryServiceServer struct {
}

UnimplementedInventoryServiceServer should be embedded to have forward compatible implementations.

type UnimplementedTapeServiceServer

type UnimplementedTapeServiceServer struct {
}

UnimplementedTapeServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTapeServiceServer) CallTape

type UnsafeInventoryServiceServer

type UnsafeInventoryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeInventoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InventoryServiceServer will result in compilation errors.

type UnsafeTapeServiceServer

type UnsafeTapeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTapeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TapeServiceServer will result in compilation errors.

type UsbDrive

type UsbDrive struct {

	// serial provides the serial number of the USB drive.
	Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`
	// manufacturer provides the manufacturer name of the USB drive.
	Manufacturer string `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	// first_seen_time provides the time when the USB drive was first seen
	// in lab or test systems. This is used as an optional heuristic to track
	// the lifetime of USB drives and failure rates.
	FirstSeenTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=first_seen_time,json=firstSeenTime,proto3" json:"first_seen_time,omitempty"`
	// contains filtered or unexported fields
}

UsbDrive describes details of the USB drive.

func (*UsbDrive) Descriptor deprecated

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

Deprecated: Use UsbDrive.ProtoReflect.Descriptor instead.

func (*UsbDrive) GetFirstSeenTime

func (x *UsbDrive) GetFirstSeenTime() *timestamppb.Timestamp

func (*UsbDrive) GetManufacturer

func (x *UsbDrive) GetManufacturer() string

func (*UsbDrive) GetSerial

func (x *UsbDrive) GetSerial() string

func (*UsbDrive) ProtoMessage

func (*UsbDrive) ProtoMessage()

func (*UsbDrive) ProtoReflect

func (x *UsbDrive) ProtoReflect() protoreflect.Message

func (*UsbDrive) Reset

func (x *UsbDrive) Reset()

func (*UsbDrive) String

func (x *UsbDrive) String() string

type Wifi

type Wifi struct {
	Environment Wifi_Environment `protobuf:"varint,1,opt,name=environment,proto3,enum=chromiumos.test.lab.api.Wifi_Environment" json:"environment,omitempty"`
	Antenna     *WifiAntenna     `protobuf:"bytes,2,opt,name=antenna,proto3" json:"antenna,omitempty"`
	// contains filtered or unexported fields
}

Wifi environment of the device.

func (*Wifi) Descriptor deprecated

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

Deprecated: Use Wifi.ProtoReflect.Descriptor instead.

func (*Wifi) GetAntenna

func (x *Wifi) GetAntenna() *WifiAntenna

func (*Wifi) GetEnvironment

func (x *Wifi) GetEnvironment() Wifi_Environment

func (*Wifi) ProtoMessage

func (*Wifi) ProtoMessage()

func (*Wifi) ProtoReflect

func (x *Wifi) ProtoReflect() protoreflect.Message

func (*Wifi) Reset

func (x *Wifi) Reset()

func (*Wifi) String

func (x *Wifi) String() string

type WifiAntenna

type WifiAntenna struct {
	Connection WifiAntenna_Connection `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WifiAntenna) Descriptor deprecated

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

Deprecated: Use WifiAntenna.ProtoReflect.Descriptor instead.

func (*WifiAntenna) GetConnection

func (x *WifiAntenna) GetConnection() WifiAntenna_Connection

func (*WifiAntenna) ProtoMessage

func (*WifiAntenna) ProtoMessage()

func (*WifiAntenna) ProtoReflect

func (x *WifiAntenna) ProtoReflect() protoreflect.Message

func (*WifiAntenna) Reset

func (x *WifiAntenna) Reset()

func (*WifiAntenna) String

func (x *WifiAntenna) String() string

type WifiAntenna_Connection

type WifiAntenna_Connection int32

DUT's WiFi antenna's connection.

const (
	WifiAntenna_CONNECTION_UNSPECIFIED WifiAntenna_Connection = 0
	// WIFI antenna is connected conductively.
	WifiAntenna_CONDUCTIVE WifiAntenna_Connection = 1
	// WIFI antenna is connected over-the-air.
	WifiAntenna_OTA WifiAntenna_Connection = 2
)

func (WifiAntenna_Connection) Descriptor

func (WifiAntenna_Connection) Enum

func (WifiAntenna_Connection) EnumDescriptor deprecated

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

Deprecated: Use WifiAntenna_Connection.Descriptor instead.

func (WifiAntenna_Connection) Number

func (WifiAntenna_Connection) String

func (x WifiAntenna_Connection) String() string

func (WifiAntenna_Connection) Type

type WifiRouterConfig

type WifiRouterConfig struct {

	// OpenWrt device configs by their device names.
	Openwrt map[string]*OpenWrtWifiRouterDeviceConfig `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

WifiRouterConfig is the format of the Wifi router config JSON file stored in GCS that contains configuration information for all router device types.

func (*WifiRouterConfig) Descriptor deprecated

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

Deprecated: Use WifiRouterConfig.ProtoReflect.Descriptor instead.

func (*WifiRouterConfig) GetOpenwrt

func (*WifiRouterConfig) ProtoMessage

func (*WifiRouterConfig) ProtoMessage()

func (*WifiRouterConfig) ProtoReflect

func (x *WifiRouterConfig) ProtoReflect() protoreflect.Message

func (*WifiRouterConfig) Reset

func (x *WifiRouterConfig) Reset()

func (*WifiRouterConfig) String

func (x *WifiRouterConfig) String() string

type WifiRouterDeviceType

type WifiRouterDeviceType int32

The type of Wifi AP device a WiFi AP peripheral is, functionally speaking.

const (
	// Default. Type not yet determined.
	WifiRouterDeviceType_WIFI_ROUTER_DEVICE_TYPE_UNKNOWN WifiRouterDeviceType = 0
	// Attempted to identify device, but automatic identification failed.
	WifiRouterDeviceType_WIFI_ROUTER_DEVICE_TYPE_INVALID WifiRouterDeviceType = 1
	// Google Gale router with a customized ChromeOS image specifically for WiFi
	// testing with Gales.
	WifiRouterDeviceType_WIFI_ROUTER_DEVICE_TYPE_CHROMEOS_GALE WifiRouterDeviceType = 2
	// WiFi router using an OpenWrt OS image that has been customized for
	// ChromeOS testing.
	WifiRouterDeviceType_WIFI_ROUTER_DEVICE_TYPE_OPENWRT WifiRouterDeviceType = 3
	// Retail ASUS WiFi router with the ASUSWRT interface.
	WifiRouterDeviceType_WIFI_ROUTER_DEVICE_TYPE_ASUSWRT WifiRouterDeviceType = 4
	// Ubuntu-based device configured to be used as WiFi router (e.g. Intel NUC).
	WifiRouterDeviceType_WIFI_ROUTER_DEVICE_TYPE_UBUNTU WifiRouterDeviceType = 5
)

func (WifiRouterDeviceType) Descriptor

func (WifiRouterDeviceType) Enum

func (WifiRouterDeviceType) EnumDescriptor deprecated

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

Deprecated: Use WifiRouterDeviceType.Descriptor instead.

func (WifiRouterDeviceType) Number

func (WifiRouterDeviceType) String

func (x WifiRouterDeviceType) String() string

func (WifiRouterDeviceType) Type

type WifiRouterFeature

type WifiRouterFeature int32

Recognized hardware and software features of WiFi router peripherals in our testbeds.

This is not an exhaustive list of features supported by these test WiFi routers. The intent is to only track features that may differ between the different types of WiFi router devices in our labs.

const (
	// Features are not known.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_UNKNOWN WifiRouterFeature = 0
	// Feature was parsed from device, but it did not match any known features.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_INVALID WifiRouterFeature = 1
	// WiFi 1 (IEEE 802.11a) support.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_IEEE_802_11_A WifiRouterFeature = 2
	// WiFi 2 (IEEE 802.11b) support.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_IEEE_802_11_B WifiRouterFeature = 3
	// WiFi 3 (IEEE 802.11g) support.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_IEEE_802_11_G WifiRouterFeature = 4
	// WiFi 4 (IEEE 802.11n) support.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_IEEE_802_11_N WifiRouterFeature = 5
	// WiFi 5 (IEEE 802.11ac) support.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_IEEE_802_11_AC WifiRouterFeature = 6
	// WiFi 6 (IEEE 802.11ax, 2.4GHz, 5GHz) support.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_IEEE_802_11_AX WifiRouterFeature = 7
	// WiFi 6E (IEEE 802.11ax, 6GHz) support.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_IEEE_802_11_AX_E WifiRouterFeature = 8
	// WiFi 7 (IEEE 802.11be) support.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_IEEE_802_11_BE WifiRouterFeature = 9
	// The CPU is fast enough to support a double bridge over veth.
	WifiRouterFeature_WIFI_ROUTER_FEATURE_DOUBLE_BRIDGE_OVER_VETH WifiRouterFeature = 10
)

func (WifiRouterFeature) Descriptor

func (WifiRouterFeature) Enum

func (WifiRouterFeature) EnumDescriptor deprecated

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

Deprecated: Use WifiRouterFeature.Descriptor instead.

func (WifiRouterFeature) Number

func (WifiRouterFeature) String

func (x WifiRouterFeature) String() string

func (WifiRouterFeature) Type

type WifiSecret

type WifiSecret struct {
	Ssid     string `protobuf:"bytes,1,opt,name=ssid,proto3" json:"ssid,omitempty"`         // wifi SSID
	Security string `protobuf:"bytes,2,opt,name=security,proto3" json:"security,omitempty"` // security protocol, e.g. WEP, WPA, etc.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // wifi password
	// contains filtered or unexported fields
}

Next Tag: 4 WifiSecret is the secret used for wifi tests.

func (*WifiSecret) Descriptor deprecated

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

Deprecated: Use WifiSecret.ProtoReflect.Descriptor instead.

func (*WifiSecret) GetPassword

func (x *WifiSecret) GetPassword() string

func (*WifiSecret) GetSecurity

func (x *WifiSecret) GetSecurity() string

func (*WifiSecret) GetSsid

func (x *WifiSecret) GetSsid() string

func (*WifiSecret) ProtoMessage

func (*WifiSecret) ProtoMessage()

func (*WifiSecret) ProtoReflect

func (x *WifiSecret) ProtoReflect() protoreflect.Message

func (*WifiSecret) Reset

func (x *WifiSecret) Reset()

func (*WifiSecret) String

func (x *WifiSecret) String() string

type Wifi_Environment

type Wifi_Environment int32
const (
	Wifi_ENVIRONMENT_UNSPECIFIED Wifi_Environment = 0
	// Device is setup without any special wifi environment.
	Wifi_STANDARD Wifi_Environment = 1
	// Device is inside a hermetic wifi cell.
	Wifi_WIFI_CELL Wifi_Environment = 2
	// Device is setup in a chaos environment. It's a special settings for
	// running wifi interop tests.
	Wifi_CHAOS Wifi_Environment = 3
	// In an environment where the AP is 802.11ax compliant.
	// Context: crbug.com/1044786
	Wifi_ROUTER_802_11AX Wifi_Environment = 4
)

func (Wifi_Environment) Descriptor

func (Wifi_Environment) Enum

func (Wifi_Environment) EnumDescriptor deprecated

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

Deprecated: Use Wifi_Environment.Descriptor instead.

func (Wifi_Environment) Number

func (Wifi_Environment) String

func (x Wifi_Environment) String() string

func (Wifi_Environment) Type

Jump to

Keyboard shortcuts

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