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: 18 Imported by: 165

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AndroidPackage_name = map[int32]string{
		0: "ANDROID_PACKAGE_UNSPECIFIED",
		1: "GMS_CORE",
	}
	AndroidPackage_value = map[string]int32{
		"ANDROID_PACKAGE_UNSPECIFIED": 0,
		"GMS_CORE":                    1,
	}
)

Enum value maps for AndroidPackage.

View Source
var (
	ApkDetails_Architecture_name = map[int32]string{
		0: "ARCHITECTURE_UNSPECIFIED",
		1: "ARMV7",
		2: "ARM64",
		3: "X86",
		4: "X86_64",
	}
	ApkDetails_Architecture_value = map[string]int32{
		"ARCHITECTURE_UNSPECIFIED": 0,
		"ARMV7":                    1,
		"ARM64":                    2,
		"X86":                      3,
		"X86_64":                   4,
	}
)

Enum value maps for ApkDetails_Architecture.

View Source
var (
	ApkDetails_BuildType_name = map[int32]string{
		0:  "BUILD_TYPE_UNSPECIFIED",
		1:  "PHONE_PRE_LMP",
		2:  "PHONE_LMP",
		3:  "PHONE_MNC",
		4:  "PHONE_PI",
		5:  "PHONE_RVC",
		6:  "PHONE_SC",
		7:  "PHONE_NEXT",
		8:  "PHONE_GO",
		9:  "PHONE_GO_R",
		10: "PHONE_GO_S",
	}
	ApkDetails_BuildType_value = map[string]int32{
		"BUILD_TYPE_UNSPECIFIED": 0,
		"PHONE_PRE_LMP":          1,
		"PHONE_LMP":              2,
		"PHONE_MNC":              3,
		"PHONE_PI":               4,
		"PHONE_RVC":              5,
		"PHONE_SC":               6,
		"PHONE_NEXT":             7,
		"PHONE_GO":               8,
		"PHONE_GO_R":             9,
		"PHONE_GO_S":             10,
	}
)

Enum value maps for ApkDetails_BuildType.

View Source
var (
	ApkDetails_BuildPurpose_name = map[int32]string{
		0: "BUILD_PURPOSE_UNSPECIFIED",
		1: "RAW",
		2: "RELEASE",
		3: "DEBUG",
		4: "DEBUG_SHRUNK",
	}
	ApkDetails_BuildPurpose_value = map[string]int32{
		"BUILD_PURPOSE_UNSPECIFIED": 0,
		"RAW":                       1,
		"RELEASE":                   2,
		"DEBUG":                     3,
		"DEBUG_SHRUNK":              4,
	}
)

Enum value maps for ApkDetails_BuildPurpose.

View Source
var (
	ApkDetails_Density_name = map[int32]string{
		0: "DENSITY_UNSPECIFIED",
		1: "MDPI",
		2: "HDPI",
		3: "XHDPI",
		4: "XXHDPI",
		5: "ALLDPI",
	}
	ApkDetails_Density_value = map[string]int32{
		"DENSITY_UNSPECIFIED": 0,
		"MDPI":                1,
		"HDPI":                2,
		"XHDPI":               3,
		"XXHDPI":              4,
		"ALLDPI":              5,
	}
)

Enum value maps for ApkDetails_Density.

View Source
var (
	PublishResponse_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_SUCCESS",
		2: "STATUS_INVALID_REQUEST",
		3: "STATUS_FAILURE",
	}
	PublishResponse_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED":     0,
		"STATUS_SUCCESS":         1,
		"STATUS_INVALID_REQUEST": 2,
		"STATUS_FAILURE":         3,
	}
)

Enum value maps for PublishResponse_Status.

View Source
var (
	CrosToolRunnerTestRequest_CrosTestContainerType_name = map[int32]string{
		0: "ALL",
		1: "CQ_LIGHT",
	}
	CrosToolRunnerTestRequest_CrosTestContainerType_value = map[string]int32{
		"ALL":      0,
		"CQ_LIGHT": 1,
	}
)

Enum value maps for CrosToolRunnerTestRequest_CrosTestContainerType.

View Source
var (
	CrosPublishTemplate_PublishType_name = map[int32]string{
		0: "PUBLISH_UNSPECIFIED",
		1: "PUBLISH_GCS",
		2: "PUBLISH_TKO",
		3: "PUBLISH_RDB",
		4: "PUBLISH_CPCON",
	}
	CrosPublishTemplate_PublishType_value = map[string]int32{
		"PUBLISH_UNSPECIFIED": 0,
		"PUBLISH_GCS":         1,
		"PUBLISH_TKO":         2,
		"PUBLISH_RDB":         3,
		"PUBLISH_CPCON":       4,
	}
)

Enum value maps for CrosPublishTemplate_PublishType.

View Source
var (
	SchedulerInfo_Scheduler_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "QSCHEDULER",
		2: "SCHEDUKE",
		3: "PRINT_REQUEST_ONLY",
	}
	SchedulerInfo_Scheduler_value = map[string]int32{
		"UNSPECIFIED":        0,
		"QSCHEDULER":         1,
		"SCHEDUKE":           2,
		"PRINT_REQUEST_ONLY": 3,
	}
)

Enum value maps for SchedulerInfo_Scheduler.

View Source
var (
	HWRequirements_State_name = map[int32]string{
		0: "REQUIRED",
		1: "OPTIONAL",
		2: "PREFERRED",
		3: "BANNED",
		4: "ONEOF",
	}
	HWRequirements_State_value = map[string]int32{
		"REQUIRED":  0,
		"OPTIONAL":  1,
		"PREFERRED": 2,
		"BANNED":    3,
		"ONEOF":     4,
	}
)

Enum value maps for HWRequirements_State.

View Source
var (
	ProvisionInfo_Type_name = map[int32]string{
		0: "CROS",
		1: "ANDROID",
		2: "ROFW",
	}
	ProvisionInfo_Type_value = map[string]int32{
		"CROS":    0,
		"ANDROID": 1,
		"ROFW":    2,
	}
)

Enum value maps for ProvisionInfo_Type.

View Source
var (
	VMType_name = map[int32]string{
		0: "VM_TYPE_UNSPECIFIED",
		1: "VM_TYPE_DUT",
		2: "VM_TYPE_DRONE",
	}
	VMType_value = map[string]int32{
		"VM_TYPE_UNSPECIFIED": 0,
		"VM_TYPE_DUT":         1,
		"VM_TYPE_DRONE":       2,
	}
)

Enum value maps for VMType.

View Source
var (
	DeviceType_name = map[int32]string{
		0: "DEVICE_TYPE_UNSPECIFIED",
		1: "DEVICE_TYPE_VIRTUAL",
		2: "DEVICE_TYPE_PHYSICAL",
	}
	DeviceType_value = map[string]int32{
		"DEVICE_TYPE_UNSPECIFIED": 0,
		"DEVICE_TYPE_VIRTUAL":     1,
		"DEVICE_TYPE_PHYSICAL":    2,
	}
)

Enum value maps for DeviceType.

View Source
var (
	DeviceState_name = map[int32]string{
		0: "DEVICE_STATE_UNSPECIFIED",
		1: "DEVICE_STATE_AVAILABLE",
		2: "DEVICE_STATE_LEASED",
	}
	DeviceState_value = map[string]int32{
		"DEVICE_STATE_UNSPECIFIED": 0,
		"DEVICE_STATE_AVAILABLE":   1,
		"DEVICE_STATE_LEASED":      2,
	}
)

Enum value maps for DeviceState.

View Source
var (
	Output_name = map[int32]string{
		0: "OUTPUT_PIPE",
		1: "OUTPUT_STDOUT",
	}
	Output_value = map[string]int32{
		"OUTPUT_PIPE":   0,
		"OUTPUT_STDOUT": 1,
	}
)

Enum value maps for Output.

View Source
var (
	GceImage_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "READY",
		2: "PENDING",
		3: "FAILED",
		4: "DELETING",
		5: "NOT_FOUND",
	}
	GceImage_Status_value = map[string]int32{
		"UNKNOWN":   0,
		"READY":     1,
		"PENDING":   2,
		"FAILED":    3,
		"DELETING":  4,
		"NOT_FOUND": 5,
	}
)

Enum value maps for GceImage_Status.

View Source
var (
	ProviderId_name = map[int32]string{
		0: "UNKNOWN",
		1: "GCLOUD",
		2: "CLOUDSDK",
		3: "VM_LEASER",
	}
	ProviderId_value = map[string]int32{
		"UNKNOWN":   0,
		"GCLOUD":    1,
		"CLOUDSDK":  2,
		"VM_LEASER": 3,
	}
)

Enum value maps for ProviderId.

View Source
var (
	Config_VmLeaserBackend_Environment_name = map[int32]string{
		0: "ENV_LOCAL",
		1: "ENV_STAGING",
		2: "ENV_PRODUCTION",
	}
	Config_VmLeaserBackend_Environment_value = map[string]int32{
		"ENV_LOCAL":      0,
		"ENV_STAGING":    1,
		"ENV_PRODUCTION": 2,
	}
)

Enum value maps for Config_VmLeaserBackend_Environment.

View Source
var (
	PostTestStartUpResponse_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_SUCCESS",
		2: "STATUS_INVALID_REQUEST",
		3: "STATUS_STARTUP_FAILED",
	}
	PostTestStartUpResponse_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED":     0,
		"STATUS_SUCCESS":         1,
		"STATUS_INVALID_REQUEST": 2,
		"STATUS_STARTUP_FAILED":  3,
	}
)

Enum value maps for PostTestStartUpResponse_Status.

View Source
var (
	FilterTestConfig_Setting_name = map[int32]string{
		0: "NOT_SET",
		1: "ENABLED",
		2: "DISABLED",
	}
	FilterTestConfig_Setting_value = map[string]int32{
		"NOT_SET":  0,
		"ENABLED":  1,
		"DISABLED": 2,
	}
)

Enum value maps for FilterTestConfig_Setting.

View Source
var (
	ProvisionStartupResponse_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_SUCCESS",
		2: "STATUS_INVALID_REQUEST",
		3: "STATUS_STARTUP_FAILED",
	}
	ProvisionStartupResponse_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED":     0,
		"STATUS_SUCCESS":         1,
		"STATUS_INVALID_REQUEST": 2,
		"STATUS_STARTUP_FAILED":  3,
	}
)

Enum value maps for ProvisionStartupResponse_Status.

View Source
var (
	InstallResponse_Status_name = map[int32]string{
		0:  "STATUS_UNSPECIFIED",
		1:  "STATUS_INVALID_REQUEST",
		2:  "STATUS_DUT_UNREACHABLE_PRE_PROVISION",
		3:  "STATUS_DOWNLOADING_IMAGE_FAILED",
		4:  "STATUS_PROVISIONING_TIMEDOUT",
		5:  "STATUS_PROVISIONING_FAILED",
		6:  "STATUS_DUT_UNREACHABLE_POST_PROVISION",
		7:  "STATUS_UPDATE_FIRMWARE_FAILED",
		8:  "STATUS_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE",
		9:  "STATUS_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE",
		10: "STATUS_UPDATE_MINIOS_FAILED",
		11: "STATUS_POST_PROVISION_SETUP_FAILED",
		12: "STATUS_CLEAR_TPM_FAILED",
		13: "STATUS_STABLIZE_DUT_FAILED",
		14: "STATUS_INSTALL_DLC_FAILED",
		15: "STATUS_PRE_PROVISION_SETUP_FAILED",
		16: "STATUS_CIPD_PACKAGE_LOOKUP_FAILED",
		17: "STATUS_CIPD_PACKAGE_FETCH_FAILED",
		18: "STATUS_GS_UPLOAD_FAILED",
		19: "STATUS_GS_DOWNLOAD_FAILED",
		20: "STATUS_SUCCESS",
		21: "STATUS_IMAGE_MISMATCH_POST_PROVISION_UPDATE",
	}
	InstallResponse_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED":                            0,
		"STATUS_INVALID_REQUEST":                        1,
		"STATUS_DUT_UNREACHABLE_PRE_PROVISION":          2,
		"STATUS_DOWNLOADING_IMAGE_FAILED":               3,
		"STATUS_PROVISIONING_TIMEDOUT":                  4,
		"STATUS_PROVISIONING_FAILED":                    5,
		"STATUS_DUT_UNREACHABLE_POST_PROVISION":         6,
		"STATUS_UPDATE_FIRMWARE_FAILED":                 7,
		"STATUS_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE": 8,
		"STATUS_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE":   9,
		"STATUS_UPDATE_MINIOS_FAILED":                   10,
		"STATUS_POST_PROVISION_SETUP_FAILED":            11,
		"STATUS_CLEAR_TPM_FAILED":                       12,
		"STATUS_STABLIZE_DUT_FAILED":                    13,
		"STATUS_INSTALL_DLC_FAILED":                     14,
		"STATUS_PRE_PROVISION_SETUP_FAILED":             15,
		"STATUS_CIPD_PACKAGE_LOOKUP_FAILED":             16,
		"STATUS_CIPD_PACKAGE_FETCH_FAILED":              17,
		"STATUS_GS_UPLOAD_FAILED":                       18,
		"STATUS_GS_DOWNLOAD_FAILED":                     19,
		"STATUS_SUCCESS":                                20,
		"STATUS_IMAGE_MISMATCH_POST_PROVISION_UPDATE":   21,
	}
)

Enum value maps for InstallResponse_Status.

View Source
var (
	InstallFailure_Reason_name = map[int32]string{
		0:  "REASON_INVALID_REQUEST",
		1:  "REASON_DUT_UNREACHABLE_PRE_PROVISION",
		2:  "REASON_DOWNLOADING_IMAGE_FAILED",
		3:  "REASON_PROVISIONING_TIMEDOUT",
		4:  "REASON_PROVISIONING_FAILED",
		5:  "REASON_DUT_UNREACHABLE_POST_PROVISION",
		6:  "REASON_UPDATE_FIRMWARE_FAILED",
		7:  "REASON_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE",
		8:  "REASON_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE",
		9:  "REASON_UPDATE_MINIOS_FAILED",
		10: "REASON_POST_PROVISION_SETUP_FAILED",
		11: "REASON_CLEAR_TPM_FAILED",
		12: "REASON_STABLIZE_DUT_FAILED",
		13: "REASON_INSTALL_DLC_FAILED",
		14: "REASON_PRE_PROVISION_SETUP_FAILED",
		15: "REASON_CIPD_PACKAGE_LOOKUP_FAILED",
		16: "REASON_CIPD_PACKAGE_FETCH_FAILED",
		17: "REASON_GS_UPLOAD_FAILED",
		18: "REASON_GS_DOWNLOAD_FAILED",
		19: "REASON_DOCKER_UNABLE_TO_START",
		20: "REASON_SERVICE_UNABLE_TO_START",
		21: "REASON_SERVICE_CONTAINER_UNABLE_TO_PULL",
		22: "REASON_IMAGE_MISMATCH_POST_PROVISION_UPDATE",
	}
	InstallFailure_Reason_value = map[string]int32{
		"REASON_INVALID_REQUEST":                        0,
		"REASON_DUT_UNREACHABLE_PRE_PROVISION":          1,
		"REASON_DOWNLOADING_IMAGE_FAILED":               2,
		"REASON_PROVISIONING_TIMEDOUT":                  3,
		"REASON_PROVISIONING_FAILED":                    4,
		"REASON_DUT_UNREACHABLE_POST_PROVISION":         5,
		"REASON_UPDATE_FIRMWARE_FAILED":                 6,
		"REASON_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE": 7,
		"REASON_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE":   8,
		"REASON_UPDATE_MINIOS_FAILED":                   9,
		"REASON_POST_PROVISION_SETUP_FAILED":            10,
		"REASON_CLEAR_TPM_FAILED":                       11,
		"REASON_STABLIZE_DUT_FAILED":                    12,
		"REASON_INSTALL_DLC_FAILED":                     13,
		"REASON_PRE_PROVISION_SETUP_FAILED":             14,
		"REASON_CIPD_PACKAGE_LOOKUP_FAILED":             15,
		"REASON_CIPD_PACKAGE_FETCH_FAILED":              16,
		"REASON_GS_UPLOAD_FAILED":                       17,
		"REASON_GS_DOWNLOAD_FAILED":                     18,
		"REASON_DOCKER_UNABLE_TO_START":                 19,
		"REASON_SERVICE_UNABLE_TO_START":                20,
		"REASON_SERVICE_CONTAINER_UNABLE_TO_PULL":       21,
		"REASON_IMAGE_MISMATCH_POST_PROVISION_UPDATE":   22,
	}
)

Enum value maps for InstallFailure_Reason.

View Source
var (
	CallServodRequest_Method_name = map[int32]string{
		0: "DOC",
		1: "GET",
		2: "SET",
		3: "HWINIT",
	}
	CallServodRequest_Method_value = map[string]int32{
		"DOC":    0,
		"GET":    1,
		"SET":    2,
		"HWINIT": 3,
	}
)

Enum value maps for CallServodRequest_Method.

View Source
var (
	LifeCycleStage_LifeCycle_name = map[int32]string{
		0: "LIFE_CYCLE_PRODUCTION_READY",
		1: "LIFE_CYCLE_DISABLED",
		2: "LIFE_CYCLE_IN_DEVELOPMENT",
		3: "LIFE_CYCLE_MANUAL_ONLY",
		4: "LIFE_CYCLE_OWNER_MONITORED",
	}
	LifeCycleStage_LifeCycle_value = map[string]int32{
		"LIFE_CYCLE_PRODUCTION_READY": 0,
		"LIFE_CYCLE_DISABLED":         1,
		"LIFE_CYCLE_IN_DEVELOPMENT":   2,
		"LIFE_CYCLE_MANUAL_ONLY":      3,
		"LIFE_CYCLE_OWNER_MONITORED":  4,
	}
)

Enum value maps for LifeCycleStage_LifeCycle.

View Source
var (
	GetLibFailure_Reason_name = map[int32]string{
		0: "REASON_UNKNOWN",
		1: "REASON_UNREGISTERED_LIB",
		2: "REASON_CONTAINER_START_ERROR",
	}
	GetLibFailure_Reason_value = map[string]int32{
		"REASON_UNKNOWN":               0,
		"REASON_UNREGISTERED_LIB":      1,
		"REASON_CONTAINER_START_ERROR": 2,
	}
)

Enum value maps for GetLibFailure_Reason.

View Source
var (
	FocalTaskFinder_TaskType_name = map[int32]string{
		0: "PROVISION",
		1: "PRETEST",
		2: "TEST",
		3: "POSTTEST",
		4: "PUBLISH",
		5: "GENERIC",
	}
	FocalTaskFinder_TaskType_value = map[string]int32{
		"PROVISION": 0,
		"PRETEST":   1,
		"TEST":      2,
		"POSTTEST":  3,
		"PUBLISH":   4,
		"GENERIC":   5,
	}
)

Enum value maps for FocalTaskFinder_TaskType.

View Source
var (
	UpdateAction_Insert_InsertType_name = map[int32]string{
		0: "APPEND",
		1: "PREPEND",
		2: "REPLACE",
	}
	UpdateAction_Insert_InsertType_value = map[string]int32{
		"APPEND":  0,
		"PREPEND": 1,
		"REPLACE": 2,
	}
)

Enum value maps for UpdateAction_Insert_InsertType.

View Source
var (
	VMTestingClient_name = map[int32]string{
		0: "VM_TESTING_CLIENT_UNSPECIFIED",
		1: "VM_TESTING_CLIENT_CHROMEOS",
		2: "VM_TESTING_CLIENT_CROSFLEET",
	}
	VMTestingClient_value = map[string]int32{
		"VM_TESTING_CLIENT_UNSPECIFIED": 0,
		"VM_TESTING_CLIENT_CHROMEOS":    1,
		"VM_TESTING_CLIENT_CROSFLEET":   2,
	}
)

Enum value maps for VMTestingClient.

View Source
var CTPv2Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.CTPv2Service",
	HandlerType: (*CTPv2ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RequestResolver",
			Handler:    _CTPv2Service_RequestResolver_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/ctp2.proto",
}

CTPv2Service_ServiceDesc is the grpc.ServiceDesc for CTPv2Service 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 CallboxService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.CallboxService",
	HandlerType: (*CallboxServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "CheckHealth",
			Handler:       _CallboxService_CheckHealth_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "chromiumos/test/api/callbox_service.proto",
}

CallboxService_ServiceDesc is the grpc.ServiceDesc for CallboxService 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 ChameleonLibService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.ChameleonLibService",
	HandlerType: (*ChameleonLibServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "CheckChameleonHealth",
			Handler:       _ChameleonLibService_CheckChameleonHealth_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "chromiumos/test/api/chameleon_lib_service.proto",
}

ChameleonLibService_ServiceDesc is the grpc.ServiceDesc for ChameleonLibService 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 CrosTestRunnerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.CrosTestRunnerService",
	HandlerType: (*CrosTestRunnerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Run",
			Handler:    _CrosTestRunnerService_Run_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/cros_test_runner_service.proto",
}

CrosTestRunnerService_ServiceDesc is the grpc.ServiceDesc for CrosTestRunnerService 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 CrosToolRunnerContainerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.CrosToolRunnerContainerService",
	HandlerType: (*CrosToolRunnerContainerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateNetwork",
			Handler:    _CrosToolRunnerContainerService_CreateNetwork_Handler,
		},
		{
			MethodName: "GetNetwork",
			Handler:    _CrosToolRunnerContainerService_GetNetwork_Handler,
		},
		{
			MethodName: "Shutdown",
			Handler:    _CrosToolRunnerContainerService_Shutdown_Handler,
		},
		{
			MethodName: "LoginRegistry",
			Handler:    _CrosToolRunnerContainerService_LoginRegistry_Handler,
		},
		{
			MethodName: "StartContainer",
			Handler:    _CrosToolRunnerContainerService_StartContainer_Handler,
		},
		{
			MethodName: "StartTemplatedContainer",
			Handler:    _CrosToolRunnerContainerService_StartTemplatedContainer_Handler,
		},
		{
			MethodName: "StackCommands",
			Handler:    _CrosToolRunnerContainerService_StackCommands_Handler,
		},
		{
			MethodName: "GetContainer",
			Handler:    _CrosToolRunnerContainerService_GetContainer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/cros_tool_runner_container_service.proto",
}

CrosToolRunnerContainerService_ServiceDesc is the grpc.ServiceDesc for CrosToolRunnerContainerService 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 DeviceLeaseService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.DeviceLeaseService",
	HandlerType: (*DeviceLeaseServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LeaseDevice",
			Handler:    _DeviceLeaseService_LeaseDevice_Handler,
		},
		{
			MethodName: "ReleaseDevice",
			Handler:    _DeviceLeaseService_ReleaseDevice_Handler,
		},
		{
			MethodName: "ExtendLease",
			Handler:    _DeviceLeaseService_ExtendLease_Handler,
		},
		{
			MethodName: "GetDevice",
			Handler:    _DeviceLeaseService_GetDevice_Handler,
		},
		{
			MethodName: "ListDevices",
			Handler:    _DeviceLeaseService_ListDevices_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/device_manager.proto",
}

DeviceLeaseService_ServiceDesc is the grpc.ServiceDesc for DeviceLeaseService 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 DutService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.DutService",
	HandlerType: (*DutServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Restart",
			Handler:    _DutService_Restart_Handler,
		},
		{
			MethodName: "Cache",
			Handler:    _DutService_Cache_Handler,
		},
		{
			MethodName: "ForceReconnect",
			Handler:    _DutService_ForceReconnect_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ExecCommand",
			Handler:       _DutService_ExecCommand_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "FetchCrashes",
			Handler:       _DutService_FetchCrashes_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DetectDeviceConfigId",
			Handler:       _DutService_DetectDeviceConfigId_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "FetchFile",
			Handler:       _DutService_FetchFile_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "chromiumos/test/api/dut_service.proto",
}

DutService_ServiceDesc is the grpc.ServiceDesc for DutService 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 ExecutionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.ExecutionService",
	HandlerType: (*ExecutionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RunTests",
			Handler:    _ExecutionService_RunTests_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/execution_service.proto",
}

ExecutionService_ServiceDesc is the grpc.ServiceDesc for ExecutionService 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 File_chromiumos_test_api_android_provision_cli_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_android_provision_metadata_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_android_provision_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_callbox_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_chameleon_lib_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_coverage_rule_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_provision_cli_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_provision_metadata_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_publish_cli_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_publish_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_test_cli_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_test_finder_cli_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_test_ready_cli_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_test_runner_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_tool_runner_cli_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_tool_runner_container_service_extensions_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_tool_runner_container_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_cros_tool_runner_container_service_templates_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_ctp2_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_device_leasing_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_device_manager_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_dut_attribute_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_dut_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_execution_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_firmware_provision_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_generic_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_image_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_instance_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_lacros_provision_metadata_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_plan_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_post_test_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_pre_test_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_provision_cli_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_provision_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_provision_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_provision_state_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_publish_gcs_metadata_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_publish_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_publish_tko_metadata_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_servod_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_suite_set_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_test_case_metadata_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_test_case_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_test_case_result_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_test_execution_metadata_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_test_finder_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_test_harness_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_test_libs_service_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_test_suite_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_trv2_dynamic_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_trv2_dynamic_updates_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_test_api_vm_leaser_proto protoreflect.FileDescriptor
View Source
var GenericFilterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.GenericFilterService",
	HandlerType: (*GenericFilterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Execute",
			Handler:    _GenericFilterService_Execute_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/ctp2.proto",
}

GenericFilterService_ServiceDesc is the grpc.ServiceDesc for GenericFilterService 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 GenericProvisionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.GenericProvisionService",
	HandlerType: (*GenericProvisionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StartUp",
			Handler:    _GenericProvisionService_StartUp_Handler,
		},
		{
			MethodName: "Install",
			Handler:    _GenericProvisionService_Install_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/provision.proto",
}

GenericProvisionService_ServiceDesc is the grpc.ServiceDesc for GenericProvisionService 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 GenericPublishService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.GenericPublishService",
	HandlerType: (*GenericPublishServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Publish",
			Handler:    _GenericPublishService_Publish_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/cros_publish_service.proto",
}

GenericPublishService_ServiceDesc is the grpc.ServiceDesc for GenericPublishService 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 GenericService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.GenericService",
	HandlerType: (*GenericServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Start",
			Handler:    _GenericService_Start_Handler,
		},
		{
			MethodName: "Run",
			Handler:    _GenericService_Run_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _GenericService_Stop_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/generic_service.proto",
}

GenericService_ServiceDesc is the grpc.ServiceDesc for GenericService 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 PostTestService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.PostTestService",
	HandlerType: (*PostTestServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RunActivity",
			Handler:    _PostTestService_RunActivity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/post_test_service.proto",
}

PostTestService_ServiceDesc is the grpc.ServiceDesc for PostTestService 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 PreTestService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.PreTestService",
	HandlerType: (*PreTestServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FilterFlakyTests",
			Handler:    _PreTestService_FilterFlakyTests_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/pre_test_service.proto",
}

PreTestService_ServiceDesc is the grpc.ServiceDesc for PreTestService 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 ProvisionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.ProvisionService",
	HandlerType: (*ProvisionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InstallCros",
			Handler:    _ProvisionService_InstallCros_Handler,
		},
		{
			MethodName: "InstallLacros",
			Handler:    _ProvisionService_InstallLacros_Handler,
		},
		{
			MethodName: "InstallAsh",
			Handler:    _ProvisionService_InstallAsh_Handler,
		},
		{
			MethodName: "InstallArc",
			Handler:    _ProvisionService_InstallArc_Handler,
		},
		{
			MethodName: "InstallFirmware",
			Handler:    _ProvisionService_InstallFirmware_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/provision_service.proto",
}

ProvisionService_ServiceDesc is the grpc.ServiceDesc for ProvisionService 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 PublishService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.PublishService",
	HandlerType: (*PublishServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UploadToGS",
			Handler:    _PublishService_UploadToGS_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/publish_service.proto",
}

PublishService_ServiceDesc is the grpc.ServiceDesc for PublishService 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 ServodService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.ServodService",
	HandlerType: (*ServodServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StartServod",
			Handler:    _ServodService_StartServod_Handler,
		},
		{
			MethodName: "StopServod",
			Handler:    _ServodService_StopServod_Handler,
		},
		{
			MethodName: "ExecCmd",
			Handler:    _ServodService_ExecCmd_Handler,
		},
		{
			MethodName: "CallServod",
			Handler:    _ServodService_CallServod_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/servod_service.proto",
}

ServodService_ServiceDesc is the grpc.ServiceDesc for ServodService 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 TestFinderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.TestFinderService",
	HandlerType: (*TestFinderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindTests",
			Handler:    _TestFinderService_FindTests_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/test_finder_service.proto",
}

TestFinderService_ServiceDesc is the grpc.ServiceDesc for TestFinderService 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 TestLibsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.TestLibsService",
	HandlerType: (*TestLibsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StartLib",
			Handler:    _TestLibsService_StartLib_Handler,
		},
		{
			MethodName: "FindLib",
			Handler:    _TestLibsService_FindLib_Handler,
		},
		{
			MethodName: "KillLib",
			Handler:    _TestLibsService_KillLib_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/test_libs_service.proto",
}

TestLibsService_ServiceDesc is the grpc.ServiceDesc for TestLibsService 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 VMLeaserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chromiumos.test.api.VMLeaserService",
	HandlerType: (*VMLeaserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LeaseVM",
			Handler:    _VMLeaserService_LeaseVM_Handler,
		},
		{
			MethodName: "ReleaseVM",
			Handler:    _VMLeaserService_ReleaseVM_Handler,
		},
		{
			MethodName: "ExtendLease",
			Handler:    _VMLeaserService_ExtendLease_Handler,
		},
		{
			MethodName: "ListLeases",
			Handler:    _VMLeaserService_ListLeases_Handler,
		},
		{
			MethodName: "ImportImage",
			Handler:    _VMLeaserService_ImportImage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chromiumos/test/api/vm_leaser.proto",
}

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

Functions

func RegisterCTPv2ServiceServer

func RegisterCTPv2ServiceServer(s grpc.ServiceRegistrar, srv CTPv2ServiceServer)

func RegisterCallboxServiceServer

func RegisterCallboxServiceServer(s grpc.ServiceRegistrar, srv CallboxServiceServer)

func RegisterChameleonLibServiceServer

func RegisterChameleonLibServiceServer(s grpc.ServiceRegistrar, srv ChameleonLibServiceServer)

func RegisterCrosTestRunnerServiceServer

func RegisterCrosTestRunnerServiceServer(s grpc.ServiceRegistrar, srv CrosTestRunnerServiceServer)

func RegisterCrosToolRunnerContainerServiceServer

func RegisterCrosToolRunnerContainerServiceServer(s grpc.ServiceRegistrar, srv CrosToolRunnerContainerServiceServer)

func RegisterDeviceLeaseServiceServer

func RegisterDeviceLeaseServiceServer(s grpc.ServiceRegistrar, srv DeviceLeaseServiceServer)

func RegisterDutServiceServer

func RegisterDutServiceServer(s grpc.ServiceRegistrar, srv DutServiceServer)

func RegisterExecutionServiceServer

func RegisterExecutionServiceServer(s grpc.ServiceRegistrar, srv ExecutionServiceServer)

func RegisterGenericFilterServiceServer

func RegisterGenericFilterServiceServer(s grpc.ServiceRegistrar, srv GenericFilterServiceServer)

func RegisterGenericProvisionServiceServer

func RegisterGenericProvisionServiceServer(s grpc.ServiceRegistrar, srv GenericProvisionServiceServer)

func RegisterGenericPublishServiceServer

func RegisterGenericPublishServiceServer(s grpc.ServiceRegistrar, srv GenericPublishServiceServer)

func RegisterGenericServiceServer

func RegisterGenericServiceServer(s grpc.ServiceRegistrar, srv GenericServiceServer)

func RegisterPostTestServiceServer

func RegisterPostTestServiceServer(s grpc.ServiceRegistrar, srv PostTestServiceServer)

func RegisterPreTestServiceServer

func RegisterPreTestServiceServer(s grpc.ServiceRegistrar, srv PreTestServiceServer)

func RegisterProvisionServiceServer

func RegisterProvisionServiceServer(s grpc.ServiceRegistrar, srv ProvisionServiceServer)

func RegisterPublishServiceServer

func RegisterPublishServiceServer(s grpc.ServiceRegistrar, srv PublishServiceServer)

func RegisterServodServiceServer

func RegisterServodServiceServer(s grpc.ServiceRegistrar, srv ServodServiceServer)

func RegisterTestFinderServiceServer

func RegisterTestFinderServiceServer(s grpc.ServiceRegistrar, srv TestFinderServiceServer)

func RegisterTestLibsServiceServer

func RegisterTestLibsServiceServer(s grpc.ServiceRegistrar, srv TestLibsServiceServer)

func RegisterVMLeaserServiceServer

func RegisterVMLeaserServiceServer(s grpc.ServiceRegistrar, srv VMLeaserServiceServer)

Types

type AddressPort

type AddressPort struct {

	// An accessible address: IP, domain, or instance name if in the same network.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Port number for SSH.
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

AddressPort represents the SSH address of an VMInstance.

func (*AddressPort) Descriptor deprecated

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

Deprecated: Use AddressPort.ProtoReflect.Descriptor instead.

func (*AddressPort) GetAddress

func (x *AddressPort) GetAddress() string

func (*AddressPort) GetPort

func (x *AddressPort) GetPort() int32

func (*AddressPort) ProtoMessage

func (*AddressPort) ProtoMessage()

func (*AddressPort) ProtoReflect

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

func (*AddressPort) Reset

func (x *AddressPort) Reset()

func (*AddressPort) String

func (x *AddressPort) String() string

type AndroidOsImage

type AndroidOsImage struct {

	// Required. Reference to the image file.
	//
	// Types that are assignable to LocationOneof:
	//	*AndroidOsImage_GsPath
	//	*AndroidOsImage_OsVersion
	LocationOneof isAndroidOsImage_LocationOneof `protobuf_oneof:"location_oneof"`
	// contains filtered or unexported fields
}

Next Tag: 3

func (*AndroidOsImage) Descriptor deprecated

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

Deprecated: Use AndroidOsImage.ProtoReflect.Descriptor instead.

func (*AndroidOsImage) GetGsPath

func (x *AndroidOsImage) GetGsPath() *GsPath

func (*AndroidOsImage) GetLocationOneof

func (m *AndroidOsImage) GetLocationOneof() isAndroidOsImage_LocationOneof

func (*AndroidOsImage) GetOsVersion

func (x *AndroidOsImage) GetOsVersion() string

func (*AndroidOsImage) ProtoMessage

func (*AndroidOsImage) ProtoMessage()

func (*AndroidOsImage) ProtoReflect

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

func (*AndroidOsImage) Reset

func (x *AndroidOsImage) Reset()

func (*AndroidOsImage) String

func (x *AndroidOsImage) String() string

type AndroidOsImage_GsPath

type AndroidOsImage_GsPath struct {
	GsPath *GsPath `protobuf:"bytes,1,opt,name=gs_path,json=gsPath,proto3,oneof"`
}

type AndroidOsImage_OsVersion

type AndroidOsImage_OsVersion struct {
	OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3,oneof"`
}

type AndroidPackage

type AndroidPackage int32
const (
	AndroidPackage_ANDROID_PACKAGE_UNSPECIFIED AndroidPackage = 0
	AndroidPackage_GMS_CORE                    AndroidPackage = 1
)

func (AndroidPackage) Descriptor

func (AndroidPackage) Enum

func (x AndroidPackage) Enum() *AndroidPackage

func (AndroidPackage) EnumDescriptor deprecated

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

Deprecated: Use AndroidPackage.Descriptor instead.

func (AndroidPackage) Number

func (AndroidPackage) String

func (x AndroidPackage) String() string

func (AndroidPackage) Type

type AndroidProvisionCLIResponse

type AndroidProvisionCLIResponse struct {

	// Required. The DUT Id.
	Id *api.Dut_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. Outcome represents the result of performing provisioning on the DUT.
	//
	// Types that are assignable to Outcome:
	//	*AndroidProvisionCLIResponse_Success
	//	*AndroidProvisionCLIResponse_Failure
	Outcome isAndroidProvisionCLIResponse_Outcome `protobuf_oneof:"outcome"`
	// List of the provisioned Android packages.
	AndroidPackages    []*InstalledAndroidPackage `protobuf:"bytes,4,rep,name=android_packages,json=androidPackages,proto3" json:"android_packages,omitempty"`
	InstalledAndroidOs *InstalledAndroidOS        `protobuf:"bytes,5,opt,name=installed_android_os,json=installedAndroidOs,proto3" json:"installed_android_os,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 5

func (*AndroidProvisionCLIResponse) Descriptor deprecated

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

Deprecated: Use AndroidProvisionCLIResponse.ProtoReflect.Descriptor instead.

func (*AndroidProvisionCLIResponse) GetAndroidPackages

func (x *AndroidProvisionCLIResponse) GetAndroidPackages() []*InstalledAndroidPackage

func (*AndroidProvisionCLIResponse) GetFailure

func (*AndroidProvisionCLIResponse) GetId

func (*AndroidProvisionCLIResponse) GetInstalledAndroidOs

func (x *AndroidProvisionCLIResponse) GetInstalledAndroidOs() *InstalledAndroidOS

func (*AndroidProvisionCLIResponse) GetOutcome

func (m *AndroidProvisionCLIResponse) GetOutcome() isAndroidProvisionCLIResponse_Outcome

func (*AndroidProvisionCLIResponse) GetSuccess

func (*AndroidProvisionCLIResponse) ProtoMessage

func (*AndroidProvisionCLIResponse) ProtoMessage()

func (*AndroidProvisionCLIResponse) ProtoReflect

func (*AndroidProvisionCLIResponse) Reset

func (x *AndroidProvisionCLIResponse) Reset()

func (*AndroidProvisionCLIResponse) String

func (x *AndroidProvisionCLIResponse) String() string

type AndroidProvisionCLIResponse_Failure

type AndroidProvisionCLIResponse_Failure struct {
	Failure *InstallFailure `protobuf:"bytes,3,opt,name=failure,proto3,oneof"`
}

type AndroidProvisionCLIResponse_Success

type AndroidProvisionCLIResponse_Success struct {
	Success *InstallSuccess `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}

type AndroidProvisionRequest

type AndroidProvisionRequest struct {

	// Required. DUT information.
	Dut *api.Dut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
	// Required. Provision state is a pass through request to the provision service.
	ProvisionState *AndroidProvisionState `protobuf:"bytes,2,opt,name=provision_state,json=provisionState,proto3" json:"provision_state,omitempty"`
	// Required. Address of the DUT Server.
	DutServer *api.IpEndpoint `protobuf:"bytes,3,opt,name=dut_server,json=dutServer,proto3" json:"dut_server,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 4

func (*AndroidProvisionRequest) Descriptor deprecated

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

Deprecated: Use AndroidProvisionRequest.ProtoReflect.Descriptor instead.

func (*AndroidProvisionRequest) GetDut

func (x *AndroidProvisionRequest) GetDut() *api.Dut

func (*AndroidProvisionRequest) GetDutServer

func (x *AndroidProvisionRequest) GetDutServer() *api.IpEndpoint

func (*AndroidProvisionRequest) GetProvisionState

func (x *AndroidProvisionRequest) GetProvisionState() *AndroidProvisionState

func (*AndroidProvisionRequest) ProtoMessage

func (*AndroidProvisionRequest) ProtoMessage()

func (*AndroidProvisionRequest) ProtoReflect

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

func (*AndroidProvisionRequest) Reset

func (x *AndroidProvisionRequest) Reset()

func (*AndroidProvisionRequest) String

func (x *AndroidProvisionRequest) String() string

type AndroidProvisionRequestMetadata

type AndroidProvisionRequestMetadata struct {

	// A list of CIPD packages to install.
	CipdPackages []*CIPDPackage `protobuf:"bytes,1,rep,name=cipd_packages,json=cipdPackages,proto3" json:"cipd_packages,omitempty"`
	// Android OS image to flash.
	AndroidOsImage *AndroidOsImage `protobuf:"bytes,2,opt,name=android_os_image,json=androidOsImage,proto3" json:"android_os_image,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 3

func (*AndroidProvisionRequestMetadata) Descriptor deprecated

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

Deprecated: Use AndroidProvisionRequestMetadata.ProtoReflect.Descriptor instead.

func (*AndroidProvisionRequestMetadata) GetAndroidOsImage

func (x *AndroidProvisionRequestMetadata) GetAndroidOsImage() *AndroidOsImage

func (*AndroidProvisionRequestMetadata) GetCipdPackages

func (x *AndroidProvisionRequestMetadata) GetCipdPackages() []*CIPDPackage

func (*AndroidProvisionRequestMetadata) ProtoMessage

func (*AndroidProvisionRequestMetadata) ProtoMessage()

func (*AndroidProvisionRequestMetadata) ProtoReflect

func (*AndroidProvisionRequestMetadata) Reset

func (*AndroidProvisionRequestMetadata) String

type AndroidProvisionResponseMetadata

type AndroidProvisionResponseMetadata struct {

	// List of the provisioned Android packages.
	InstalledAndroidPackages []*InstalledAndroidPackage `` /* 135-byte string literal not displayed */
	// Installed Android OS.
	InstalledAndroidOs *InstalledAndroidOS `protobuf:"bytes,2,opt,name=installed_android_os,json=installedAndroidOs,proto3" json:"installed_android_os,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 3

func (*AndroidProvisionResponseMetadata) Descriptor deprecated

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

Deprecated: Use AndroidProvisionResponseMetadata.ProtoReflect.Descriptor instead.

func (*AndroidProvisionResponseMetadata) GetInstalledAndroidOs

func (x *AndroidProvisionResponseMetadata) GetInstalledAndroidOs() *InstalledAndroidOS

func (*AndroidProvisionResponseMetadata) GetInstalledAndroidPackages

func (x *AndroidProvisionResponseMetadata) GetInstalledAndroidPackages() []*InstalledAndroidPackage

func (*AndroidProvisionResponseMetadata) ProtoMessage

func (*AndroidProvisionResponseMetadata) ProtoMessage()

func (*AndroidProvisionResponseMetadata) ProtoReflect

func (*AndroidProvisionResponseMetadata) Reset

func (*AndroidProvisionResponseMetadata) String

type AndroidProvisionState

type AndroidProvisionState struct {
	Id *AndroidProvisionState_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. CIPD packages to provision.
	CipdPackages []*CIPDPackage `protobuf:"bytes,2,rep,name=cipd_packages,json=cipdPackages,proto3" json:"cipd_packages,omitempty"`
	// Android OS image to flash.
	AndroidOsImage *AndroidOsImage `protobuf:"bytes,3,opt,name=android_os_image,json=androidOsImage,proto3" json:"android_os_image,omitempty"`
	// contains filtered or unexported fields
}

AndroidProvisionState defines all of the installable (provisionable) elements on an Android test device as part of device setup for test operations. Next Tag: 4

func (*AndroidProvisionState) Descriptor deprecated

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

Deprecated: Use AndroidProvisionState.ProtoReflect.Descriptor instead.

func (*AndroidProvisionState) GetAndroidOsImage

func (x *AndroidProvisionState) GetAndroidOsImage() *AndroidOsImage

func (*AndroidProvisionState) GetCipdPackages

func (x *AndroidProvisionState) GetCipdPackages() []*CIPDPackage

func (*AndroidProvisionState) GetId

func (*AndroidProvisionState) ProtoMessage

func (*AndroidProvisionState) ProtoMessage()

func (*AndroidProvisionState) ProtoReflect

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

func (*AndroidProvisionState) Reset

func (x *AndroidProvisionState) Reset()

func (*AndroidProvisionState) String

func (x *AndroidProvisionState) String() string

type AndroidProvisionState_Id

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

Required. String encoded id that uniquely reflects a given AndroidProvisionState.

func (*AndroidProvisionState_Id) Descriptor deprecated

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

Deprecated: Use AndroidProvisionState_Id.ProtoReflect.Descriptor instead.

func (*AndroidProvisionState_Id) GetValue

func (x *AndroidProvisionState_Id) GetValue() string

func (*AndroidProvisionState_Id) ProtoMessage

func (*AndroidProvisionState_Id) ProtoMessage()

func (*AndroidProvisionState_Id) ProtoReflect

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

func (*AndroidProvisionState_Id) Reset

func (x *AndroidProvisionState_Id) Reset()

func (*AndroidProvisionState_Id) String

func (x *AndroidProvisionState_Id) String() string

type AndroidProvisionTemplate

type AndroidProvisionTemplate struct {

	// AndroidProvisionRequest payload can have template placeholders, to be populated
	// and write to a json file inside the artifact directory and pass along to
	// android-provision server.
	InputRequest *AndroidProvisionRequest `protobuf:"bytes,1,opt,name=input_request,json=inputRequest,proto3" json:"input_request,omitempty"`
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of android-provision container. All fields are required.

TODO (b/272519698) To be made generic with CrosProvisionTemplate.

func (*AndroidProvisionTemplate) Descriptor deprecated

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

Deprecated: Use AndroidProvisionTemplate.ProtoReflect.Descriptor instead.

func (*AndroidProvisionTemplate) GetInputRequest

func (x *AndroidProvisionTemplate) GetInputRequest() *AndroidProvisionRequest

func (*AndroidProvisionTemplate) ProtoMessage

func (*AndroidProvisionTemplate) ProtoMessage()

func (*AndroidProvisionTemplate) ProtoReflect

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

func (*AndroidProvisionTemplate) Reset

func (x *AndroidProvisionTemplate) Reset()

func (*AndroidProvisionTemplate) String

func (x *AndroidProvisionTemplate) String() string

type ApkDetails

type ApkDetails struct {
	Architecture ApkDetails_Architecture `` /* 127-byte string literal not displayed */
	BuildType    ApkDetails_BuildType    `` /* 135-byte string literal not displayed */
	BuildPurpose ApkDetails_BuildPurpose `` /* 147-byte string literal not displayed */
	Density      ApkDetails_Density      `protobuf:"varint,4,opt,name=density,proto3,enum=chromiumos.test.api.ApkDetails_Density" json:"density,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 5

func (*ApkDetails) Descriptor deprecated

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

Deprecated: Use ApkDetails.ProtoReflect.Descriptor instead.

func (*ApkDetails) GetArchitecture

func (x *ApkDetails) GetArchitecture() ApkDetails_Architecture

func (*ApkDetails) GetBuildPurpose

func (x *ApkDetails) GetBuildPurpose() ApkDetails_BuildPurpose

func (*ApkDetails) GetBuildType

func (x *ApkDetails) GetBuildType() ApkDetails_BuildType

func (*ApkDetails) GetDensity

func (x *ApkDetails) GetDensity() ApkDetails_Density

func (*ApkDetails) ProtoMessage

func (*ApkDetails) ProtoMessage()

func (*ApkDetails) ProtoReflect

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

func (*ApkDetails) Reset

func (x *ApkDetails) Reset()

func (*ApkDetails) String

func (x *ApkDetails) String() string

type ApkDetails_Architecture

type ApkDetails_Architecture int32

Supported Android architectures.

const (
	ApkDetails_ARCHITECTURE_UNSPECIFIED ApkDetails_Architecture = 0
	ApkDetails_ARMV7                    ApkDetails_Architecture = 1
	ApkDetails_ARM64                    ApkDetails_Architecture = 2
	ApkDetails_X86                      ApkDetails_Architecture = 3
	ApkDetails_X86_64                   ApkDetails_Architecture = 4
)

func (ApkDetails_Architecture) Descriptor

func (ApkDetails_Architecture) Enum

func (ApkDetails_Architecture) EnumDescriptor deprecated

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

Deprecated: Use ApkDetails_Architecture.Descriptor instead.

func (ApkDetails_Architecture) Number

func (ApkDetails_Architecture) String

func (x ApkDetails_Architecture) String() string

func (ApkDetails_Architecture) Type

type ApkDetails_BuildPurpose

type ApkDetails_BuildPurpose int32

Supported APK build purposes.

const (
	ApkDetails_BUILD_PURPOSE_UNSPECIFIED ApkDetails_BuildPurpose = 0
	ApkDetails_RAW                       ApkDetails_BuildPurpose = 1
	ApkDetails_RELEASE                   ApkDetails_BuildPurpose = 2
	ApkDetails_DEBUG                     ApkDetails_BuildPurpose = 3
	ApkDetails_DEBUG_SHRUNK              ApkDetails_BuildPurpose = 4
)

func (ApkDetails_BuildPurpose) Descriptor

func (ApkDetails_BuildPurpose) Enum

func (ApkDetails_BuildPurpose) EnumDescriptor deprecated

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

Deprecated: Use ApkDetails_BuildPurpose.Descriptor instead.

func (ApkDetails_BuildPurpose) Number

func (ApkDetails_BuildPurpose) String

func (x ApkDetails_BuildPurpose) String() string

func (ApkDetails_BuildPurpose) Type

type ApkDetails_BuildType

type ApkDetails_BuildType int32

Supported APK build types.

const (
	ApkDetails_BUILD_TYPE_UNSPECIFIED ApkDetails_BuildType = 0
	ApkDetails_PHONE_PRE_LMP          ApkDetails_BuildType = 1
	ApkDetails_PHONE_LMP              ApkDetails_BuildType = 2
	ApkDetails_PHONE_MNC              ApkDetails_BuildType = 3
	ApkDetails_PHONE_PI               ApkDetails_BuildType = 4
	ApkDetails_PHONE_RVC              ApkDetails_BuildType = 5
	ApkDetails_PHONE_SC               ApkDetails_BuildType = 6
	ApkDetails_PHONE_NEXT             ApkDetails_BuildType = 7
	ApkDetails_PHONE_GO               ApkDetails_BuildType = 8
	ApkDetails_PHONE_GO_R             ApkDetails_BuildType = 9
	ApkDetails_PHONE_GO_S             ApkDetails_BuildType = 10
)

func (ApkDetails_BuildType) Descriptor

func (ApkDetails_BuildType) Enum

func (ApkDetails_BuildType) EnumDescriptor deprecated

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

Deprecated: Use ApkDetails_BuildType.Descriptor instead.

func (ApkDetails_BuildType) Number

func (ApkDetails_BuildType) String

func (x ApkDetails_BuildType) String() string

func (ApkDetails_BuildType) Type

type ApkDetails_Density

type ApkDetails_Density int32

Supported APK densities.

const (
	ApkDetails_DENSITY_UNSPECIFIED ApkDetails_Density = 0
	ApkDetails_MDPI                ApkDetails_Density = 1
	ApkDetails_HDPI                ApkDetails_Density = 2
	ApkDetails_XHDPI               ApkDetails_Density = 3
	ApkDetails_XXHDPI              ApkDetails_Density = 4
	ApkDetails_ALLDPI              ApkDetails_Density = 5
)

func (ApkDetails_Density) Descriptor

func (ApkDetails_Density) Enum

func (ApkDetails_Density) EnumDescriptor deprecated

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

Deprecated: Use ApkDetails_Density.Descriptor instead.

func (ApkDetails_Density) Number

func (ApkDetails_Density) String

func (x ApkDetails_Density) String() string

func (ApkDetails_Density) Type

type Arg

type Arg struct {

	// The name of the argument.
	Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"`
	// The value of the argument.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Arg defines a structure for general name/value pair for arguments.

func (*Arg) Descriptor deprecated

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

Deprecated: Use Arg.ProtoReflect.Descriptor instead.

func (*Arg) GetFlag

func (x *Arg) GetFlag() string

func (*Arg) GetValue

func (x *Arg) GetValue() string

func (*Arg) ProtoMessage

func (*Arg) ProtoMessage()

func (*Arg) ProtoReflect

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

func (*Arg) Reset

func (x *Arg) Reset()

func (*Arg) String

func (x *Arg) String() string

type AutotestExecutionMetadata

type AutotestExecutionMetadata struct {

	// Custom arguments passed into the autotest test harness
	// HARNESS SPECIFIC ARGS TO BE DEPRECATED IN FAVOR OF GENERIC ARGS.
	//
	// Deprecated: Do not use.
	Args []*AutotestExecutionMetadata_Arg `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	// A custom sub directory to which test results will be written. In
	// particular, this path will be appended to the results directory
	// path specified on cros-test server startup to determine the final
	// path where results will live
	ResultsSubDir string `protobuf:"bytes,2,opt,name=results_sub_dir,json=resultsSubDir,proto3" json:"results_sub_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*AutotestExecutionMetadata) Descriptor deprecated

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

Deprecated: Use AutotestExecutionMetadata.ProtoReflect.Descriptor instead.

func (*AutotestExecutionMetadata) GetArgs deprecated

Deprecated: Do not use.

func (*AutotestExecutionMetadata) GetResultsSubDir

func (x *AutotestExecutionMetadata) GetResultsSubDir() string

func (*AutotestExecutionMetadata) ProtoMessage

func (*AutotestExecutionMetadata) ProtoMessage()

func (*AutotestExecutionMetadata) ProtoReflect

func (*AutotestExecutionMetadata) Reset

func (x *AutotestExecutionMetadata) Reset()

func (*AutotestExecutionMetadata) String

func (x *AutotestExecutionMetadata) String() string

type AutotestExecutionMetadata_Arg

type AutotestExecutionMetadata_Arg struct {

	// The name of the autotest argument
	Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"`
	// The value of the autotest argument
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AutotestExecutionMetadata_Arg) Descriptor deprecated

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

Deprecated: Use AutotestExecutionMetadata_Arg.ProtoReflect.Descriptor instead.

func (*AutotestExecutionMetadata_Arg) GetFlag

func (*AutotestExecutionMetadata_Arg) GetValue

func (x *AutotestExecutionMetadata_Arg) GetValue() string

func (*AutotestExecutionMetadata_Arg) ProtoMessage

func (*AutotestExecutionMetadata_Arg) ProtoMessage()

func (*AutotestExecutionMetadata_Arg) ProtoReflect

func (*AutotestExecutionMetadata_Arg) Reset

func (x *AutotestExecutionMetadata_Arg) Reset()

func (*AutotestExecutionMetadata_Arg) String

type BugComponent

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

Bug component for filing bugs against.

func (*BugComponent) Descriptor deprecated

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

Deprecated: Use BugComponent.ProtoReflect.Descriptor instead.

func (*BugComponent) GetValue

func (x *BugComponent) GetValue() string

func (*BugComponent) ProtoMessage

func (*BugComponent) ProtoMessage()

func (*BugComponent) ProtoReflect

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

func (*BugComponent) Reset

func (x *BugComponent) Reset()

func (*BugComponent) String

func (x *BugComponent) String() string

type BuildMode

type BuildMode struct {

	// The buildbucket ID of the CTP build that sent this test_runner request.
	ParentBuildId int64 `protobuf:"varint,1,opt,name=parent_build_id,json=parentBuildId,proto3" json:"parent_build_id,omitempty"`
	// The UID of the individual CTP request which kicked off this test run.
	// Note that distinct requests inside a multi-request CTP build will have
	// different UIDs.
	ParentRequestUid string `protobuf:"bytes,2,opt,name=parent_request_uid,json=parentRequestUid,proto3" json:"parent_request_uid,omitempty"`
	// contains filtered or unexported fields
}

BuildMode provides the necessary parameters by which test execution using a build may be achieved.

func (*BuildMode) Descriptor deprecated

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

Deprecated: Use BuildMode.ProtoReflect.Descriptor instead.

func (*BuildMode) GetParentBuildId

func (x *BuildMode) GetParentBuildId() int64

func (*BuildMode) GetParentRequestUid

func (x *BuildMode) GetParentRequestUid() string

func (*BuildMode) ProtoMessage

func (*BuildMode) ProtoMessage()

func (*BuildMode) ProtoReflect

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

func (*BuildMode) Reset

func (x *BuildMode) Reset()

func (*BuildMode) String

func (x *BuildMode) String() string

type CIPDPackage

type CIPDPackage struct {

	// CIPD package name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. CIPD package version.
	// Can be defined by ref, tag or specific instance Id.
	//
	// Types that are assignable to VersionOneof:
	//	*CIPDPackage_Ref
	//	*CIPDPackage_Tag
	//	*CIPDPackage_InstanceId
	VersionOneof isCIPDPackage_VersionOneof `protobuf_oneof:"version_oneof"`
	// CIPD server URL to fetch this package from.
	// chrome-infra-packages.appspot.com is used by default.
	ServiceUrl string `protobuf:"bytes,5,opt,name=service_url,json=serviceUrl,proto3" json:"service_url,omitempty"`
	// Required. Android package type.
	AndroidPackage AndroidPackage `` /* 144-byte string literal not displayed */
	// APK details (arch, build type, screen density)
	ApkDetails *ApkDetails `protobuf:"bytes,7,opt,name=apk_details,json=apkDetails,proto3" json:"apk_details,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 8

func (*CIPDPackage) Descriptor deprecated

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

Deprecated: Use CIPDPackage.ProtoReflect.Descriptor instead.

func (*CIPDPackage) GetAndroidPackage

func (x *CIPDPackage) GetAndroidPackage() AndroidPackage

func (*CIPDPackage) GetApkDetails

func (x *CIPDPackage) GetApkDetails() *ApkDetails

func (*CIPDPackage) GetInstanceId

func (x *CIPDPackage) GetInstanceId() string

func (*CIPDPackage) GetName

func (x *CIPDPackage) GetName() string

func (*CIPDPackage) GetRef

func (x *CIPDPackage) GetRef() string

func (*CIPDPackage) GetServiceUrl

func (x *CIPDPackage) GetServiceUrl() string

func (*CIPDPackage) GetTag

func (x *CIPDPackage) GetTag() string

func (*CIPDPackage) GetVersionOneof

func (m *CIPDPackage) GetVersionOneof() isCIPDPackage_VersionOneof

func (*CIPDPackage) ProtoMessage

func (*CIPDPackage) ProtoMessage()

func (*CIPDPackage) ProtoReflect

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

func (*CIPDPackage) Reset

func (x *CIPDPackage) Reset()

func (*CIPDPackage) String

func (x *CIPDPackage) String() string

type CIPDPackage_InstanceId

type CIPDPackage_InstanceId struct {
	InstanceId string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3,oneof"`
}

type CIPDPackage_Ref

type CIPDPackage_Ref struct {
	Ref string `protobuf:"bytes,2,opt,name=ref,proto3,oneof"`
}

type CIPDPackage_Tag

type CIPDPackage_Tag struct {
	Tag string `protobuf:"bytes,3,opt,name=tag,proto3,oneof"`
}

type CTPFilter

type CTPFilter struct {

	// will be deprecated. do not set.
	//
	// Deprecated: Do not use.
	Container *api.ContainerImageInfo `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// will be deprecated. do not set.
	//
	// Deprecated: Do not use.
	DependentContainers []*api.ContainerImageInfo `protobuf:"bytes,2,rep,name=dependent_containers,json=dependentContainers,proto3" json:"dependent_containers,omitempty"`
	ContainerMetadata   *anypb.Any                `protobuf:"bytes,3,opt,name=container_metadata,json=containerMetadata,proto3" json:"container_metadata,omitempty"`
	ContainerInfo       *ContainerInfo            `protobuf:"bytes,4,opt,name=container_info,json=containerInfo,proto3" json:"container_info,omitempty"`
	// Dependent Containers signal that a container has a need to be networked with
	// another. For example the filter is "container1", but needs to use "container2",
	// as part of its execution.
	DependentContainersInfo *ContainerInfo `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CTPFilter) Descriptor deprecated

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

Deprecated: Use CTPFilter.ProtoReflect.Descriptor instead.

func (*CTPFilter) GetContainer deprecated

func (x *CTPFilter) GetContainer() *api.ContainerImageInfo

Deprecated: Do not use.

func (*CTPFilter) GetContainerInfo

func (x *CTPFilter) GetContainerInfo() *ContainerInfo

func (*CTPFilter) GetContainerMetadata

func (x *CTPFilter) GetContainerMetadata() *anypb.Any

func (*CTPFilter) GetDependentContainers deprecated

func (x *CTPFilter) GetDependentContainers() []*api.ContainerImageInfo

Deprecated: Do not use.

func (*CTPFilter) GetDependentContainersInfo

func (x *CTPFilter) GetDependentContainersInfo() *ContainerInfo

func (*CTPFilter) ProtoMessage

func (*CTPFilter) ProtoMessage()

func (*CTPFilter) ProtoReflect

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

func (*CTPFilter) Reset

func (x *CTPFilter) Reset()

func (*CTPFilter) String

func (x *CTPFilter) String() string

type CTPRequest

type CTPRequest struct {
	SuiteRequest      *SuiteRequest      `protobuf:"bytes,1,opt,name=suite_request,json=suiteRequest,proto3" json:"suite_request,omitempty"`
	ScheduleTargets   []*ScheduleTargets `protobuf:"bytes,2,rep,name=schedule_targets,json=scheduleTargets,proto3" json:"schedule_targets,omitempty"`
	Pool              string             `protobuf:"bytes,7,opt,name=pool,proto3" json:"pool,omitempty"`
	KarbonFilters     []*CTPFilter       `protobuf:"bytes,3,rep,name=karbon_filters,json=karbonFilters,proto3" json:"karbon_filters,omitempty"`
	KoffeeFilters     []*CTPFilter       `protobuf:"bytes,4,rep,name=koffee_filters,json=koffeeFilters,proto3" json:"koffee_filters,omitempty"`
	SchedulerInfo     *SchedulerInfo     `protobuf:"bytes,5,opt,name=scheduler_info,json=schedulerInfo,proto3" json:"scheduler_info,omitempty"`
	SchedulerMetadata *anypb.Any         `protobuf:"bytes,6,opt,name=scheduler_metadata,json=schedulerMetadata,proto3" json:"scheduler_metadata,omitempty"`
	// contains filtered or unexported fields
}

Single CTPv2Request with one suite defining one or more targets. Filters are build versioned so each suite will be capable of defining it's own filters to execute.

func (*CTPRequest) Descriptor deprecated

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

Deprecated: Use CTPRequest.ProtoReflect.Descriptor instead.

func (*CTPRequest) GetKarbonFilters

func (x *CTPRequest) GetKarbonFilters() []*CTPFilter

func (*CTPRequest) GetKoffeeFilters

func (x *CTPRequest) GetKoffeeFilters() []*CTPFilter

func (*CTPRequest) GetPool

func (x *CTPRequest) GetPool() string

func (*CTPRequest) GetScheduleTargets

func (x *CTPRequest) GetScheduleTargets() []*ScheduleTargets

func (*CTPRequest) GetSchedulerInfo

func (x *CTPRequest) GetSchedulerInfo() *SchedulerInfo

func (*CTPRequest) GetSchedulerMetadata

func (x *CTPRequest) GetSchedulerMetadata() *anypb.Any

func (*CTPRequest) GetSuiteRequest

func (x *CTPRequest) GetSuiteRequest() *SuiteRequest

func (*CTPRequest) ProtoMessage

func (*CTPRequest) ProtoMessage()

func (*CTPRequest) ProtoReflect

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

func (*CTPRequest) Reset

func (x *CTPRequest) Reset()

func (*CTPRequest) String

func (x *CTPRequest) String() string

type CTPTestCase

type CTPTestCase struct {
	Name     string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Metadata *TestCaseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// HWRequirements are an AND field
	HwRequirements []*HWRequirements `protobuf:"bytes,3,rep,name=hw_requirements,json=hwRequirements,proto3" json:"hw_requirements,omitempty"`
	// SWRequirement impl is still tbd.
	SwRequirements []*SWRequirements `protobuf:"bytes,4,rep,name=sw_requirements,json=swRequirements,proto3" json:"sw_requirements,omitempty"`
	// contains filtered or unexported fields
}

Information to be populated by the filters.

func (*CTPTestCase) Descriptor deprecated

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

Deprecated: Use CTPTestCase.ProtoReflect.Descriptor instead.

func (*CTPTestCase) GetHwRequirements

func (x *CTPTestCase) GetHwRequirements() []*HWRequirements

func (*CTPTestCase) GetMetadata

func (x *CTPTestCase) GetMetadata() *TestCaseMetadata

func (*CTPTestCase) GetName

func (x *CTPTestCase) GetName() string

func (*CTPTestCase) GetSwRequirements

func (x *CTPTestCase) GetSwRequirements() []*SWRequirements

func (*CTPTestCase) ProtoMessage

func (*CTPTestCase) ProtoMessage()

func (*CTPTestCase) ProtoReflect

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

func (*CTPTestCase) Reset

func (x *CTPTestCase) Reset()

func (*CTPTestCase) String

func (x *CTPTestCase) String() string

type CTPv2Request

type CTPv2Request struct {

	// TODO(b/319981532): Support multiple suite runs in ctpv2. Deprecate the
	// fields below (1-7) when implementation is complete.
	//
	// Deprecated: Do not use.
	SuiteRequest *SuiteRequest `protobuf:"bytes,1,opt,name=suite_request,json=suiteRequest,proto3" json:"suite_request,omitempty"`
	// Deprecated: Do not use.
	Targets []*Targets `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"`
	// Deprecated: Do not use.
	KarbonFilters []*CTPFilter `protobuf:"bytes,3,rep,name=karbon_filters,json=karbonFilters,proto3" json:"karbon_filters,omitempty"`
	// Deprecated: Do not use.
	KoffeeFilters []*CTPFilter `protobuf:"bytes,4,rep,name=koffee_filters,json=koffeeFilters,proto3" json:"koffee_filters,omitempty"`
	// Deprecated: Do not use.
	Pool string `protobuf:"bytes,5,opt,name=pool,proto3" json:"pool,omitempty"`
	// Deprecated: Do not use.
	SchedukeMetadata *anypb.Any `protobuf:"bytes,6,opt,name=scheduke_metadata,json=schedukeMetadata,proto3" json:"scheduke_metadata,omitempty"`
	// Deprecated: Do not use.
	ScheduleTargets []*ScheduleTargets `protobuf:"bytes,7,rep,name=schedule_targets,json=scheduleTargets,proto3" json:"schedule_targets,omitempty"`
	Requests        []*CTPRequest      `protobuf:"bytes,8,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

CTPv2Request ... next value = 9;

func (*CTPv2Request) Descriptor deprecated

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

Deprecated: Use CTPv2Request.ProtoReflect.Descriptor instead.

func (*CTPv2Request) GetKarbonFilters deprecated

func (x *CTPv2Request) GetKarbonFilters() []*CTPFilter

Deprecated: Do not use.

func (*CTPv2Request) GetKoffeeFilters deprecated

func (x *CTPv2Request) GetKoffeeFilters() []*CTPFilter

Deprecated: Do not use.

func (*CTPv2Request) GetPool deprecated

func (x *CTPv2Request) GetPool() string

Deprecated: Do not use.

func (*CTPv2Request) GetRequests

func (x *CTPv2Request) GetRequests() []*CTPRequest

func (*CTPv2Request) GetSchedukeMetadata deprecated

func (x *CTPv2Request) GetSchedukeMetadata() *anypb.Any

Deprecated: Do not use.

func (*CTPv2Request) GetScheduleTargets deprecated

func (x *CTPv2Request) GetScheduleTargets() []*ScheduleTargets

Deprecated: Do not use.

func (*CTPv2Request) GetSuiteRequest deprecated

func (x *CTPv2Request) GetSuiteRequest() *SuiteRequest

Deprecated: Do not use.

func (*CTPv2Request) GetTargets deprecated

func (x *CTPv2Request) GetTargets() []*Targets

Deprecated: Do not use.

func (*CTPv2Request) ProtoMessage

func (*CTPv2Request) ProtoMessage()

func (*CTPv2Request) ProtoReflect

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

func (*CTPv2Request) Reset

func (x *CTPv2Request) Reset()

func (*CTPv2Request) String

func (x *CTPv2Request) String() string

type CTPv2Response

type CTPv2Response struct {
	TestRequests []*CrosTestRunnerRequest `protobuf:"bytes,1,rep,name=test_requests,json=testRequests,proto3" json:"test_requests,omitempty"`
	// contains filtered or unexported fields
}

CTPv2Response...

func (*CTPv2Response) Descriptor deprecated

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

Deprecated: Use CTPv2Response.ProtoReflect.Descriptor instead.

func (*CTPv2Response) GetTestRequests

func (x *CTPv2Response) GetTestRequests() []*CrosTestRunnerRequest

func (*CTPv2Response) ProtoMessage

func (*CTPv2Response) ProtoMessage()

func (*CTPv2Response) ProtoReflect

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

func (*CTPv2Response) Reset

func (x *CTPv2Response) Reset()

func (*CTPv2Response) String

func (x *CTPv2Response) String() string

type CTPv2ServiceClient

type CTPv2ServiceClient interface {
	RequestResolver(ctx context.Context, in *CTPv2Request, opts ...grpc.CallOption) (*CTPv2Response, error)
}

CTPv2ServiceClient is the client API for CTPv2Service 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 CTPv2ServiceServer

type CTPv2ServiceServer interface {
	RequestResolver(context.Context, *CTPv2Request) (*CTPv2Response, error)
}

CTPv2ServiceServer is the server API for CTPv2Service service. All implementations should embed UnimplementedCTPv2ServiceServer for forward compatibility

type CacheMetadata

type CacheMetadata struct {
	// contains filtered or unexported fields
}

func (*CacheMetadata) Descriptor deprecated

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

Deprecated: Use CacheMetadata.ProtoReflect.Descriptor instead.

func (*CacheMetadata) ProtoMessage

func (*CacheMetadata) ProtoMessage()

func (*CacheMetadata) ProtoReflect

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

func (*CacheMetadata) Reset

func (x *CacheMetadata) Reset()

func (*CacheMetadata) String

func (x *CacheMetadata) String() string

type CacheRequest

type CacheRequest struct {

	// Types that are assignable to Destination:
	//	*CacheRequest_File
	//	*CacheRequest_Pipe_
	Destination isCacheRequest_Destination `protobuf_oneof:"destination"`
	// Types that are assignable to Source:
	//	*CacheRequest_GsFile
	//	*CacheRequest_GsZipFile
	//	*CacheRequest_GsTarFile
	Source isCacheRequest_Source `protobuf_oneof:"source"`
	Retry  *CacheRequest_Retry   `protobuf:"bytes,6,opt,name=retry,proto3" json:"retry,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheRequest) Descriptor deprecated

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

Deprecated: Use CacheRequest.ProtoReflect.Descriptor instead.

func (*CacheRequest) GetDestination

func (m *CacheRequest) GetDestination() isCacheRequest_Destination

func (*CacheRequest) GetFile

func (x *CacheRequest) GetFile() *CacheRequest_LocalFile

func (*CacheRequest) GetGsFile

func (x *CacheRequest) GetGsFile() *CacheRequest_GSFile

func (*CacheRequest) GetGsTarFile

func (x *CacheRequest) GetGsTarFile() *CacheRequest_GSTARFile

func (*CacheRequest) GetGsZipFile

func (x *CacheRequest) GetGsZipFile() *CacheRequest_GSZipFile

func (*CacheRequest) GetPipe

func (x *CacheRequest) GetPipe() *CacheRequest_Pipe

func (*CacheRequest) GetRetry

func (x *CacheRequest) GetRetry() *CacheRequest_Retry

func (*CacheRequest) GetSource

func (m *CacheRequest) GetSource() isCacheRequest_Source

func (*CacheRequest) ProtoMessage

func (*CacheRequest) ProtoMessage()

func (*CacheRequest) ProtoReflect

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

func (*CacheRequest) Reset

func (x *CacheRequest) Reset()

func (*CacheRequest) String

func (x *CacheRequest) String() string

type CacheRequest_File

type CacheRequest_File struct {
	File *CacheRequest_LocalFile `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
}

type CacheRequest_GSFile

type CacheRequest_GSFile struct {
	SourcePath string `protobuf:"bytes,1,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"`
	// contains filtered or unexported fields
}

A file downloaded may be one of:

  • A regular file
  • A tar'd directory from which we fetch one file (source_file)
  • A zipped file

func (*CacheRequest_GSFile) Descriptor deprecated

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

Deprecated: Use CacheRequest_GSFile.ProtoReflect.Descriptor instead.

func (*CacheRequest_GSFile) GetSourcePath

func (x *CacheRequest_GSFile) GetSourcePath() string

func (*CacheRequest_GSFile) ProtoMessage

func (*CacheRequest_GSFile) ProtoMessage()

func (*CacheRequest_GSFile) ProtoReflect

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

func (*CacheRequest_GSFile) Reset

func (x *CacheRequest_GSFile) Reset()

func (*CacheRequest_GSFile) String

func (x *CacheRequest_GSFile) String() string

type CacheRequest_GSTARFile

type CacheRequest_GSTARFile struct {
	SourcePath string `protobuf:"bytes,1,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"`
	SourceFile string `protobuf:"bytes,2,opt,name=source_file,json=sourceFile,proto3" json:"source_file,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheRequest_GSTARFile) Descriptor deprecated

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

Deprecated: Use CacheRequest_GSTARFile.ProtoReflect.Descriptor instead.

func (*CacheRequest_GSTARFile) GetSourceFile

func (x *CacheRequest_GSTARFile) GetSourceFile() string

func (*CacheRequest_GSTARFile) GetSourcePath

func (x *CacheRequest_GSTARFile) GetSourcePath() string

func (*CacheRequest_GSTARFile) ProtoMessage

func (*CacheRequest_GSTARFile) ProtoMessage()

func (*CacheRequest_GSTARFile) ProtoReflect

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

func (*CacheRequest_GSTARFile) Reset

func (x *CacheRequest_GSTARFile) Reset()

func (*CacheRequest_GSTARFile) String

func (x *CacheRequest_GSTARFile) String() string

type CacheRequest_GSZipFile

type CacheRequest_GSZipFile struct {
	SourcePath string `protobuf:"bytes,1,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheRequest_GSZipFile) Descriptor deprecated

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

Deprecated: Use CacheRequest_GSZipFile.ProtoReflect.Descriptor instead.

func (*CacheRequest_GSZipFile) GetSourcePath

func (x *CacheRequest_GSZipFile) GetSourcePath() string

func (*CacheRequest_GSZipFile) ProtoMessage

func (*CacheRequest_GSZipFile) ProtoMessage()

func (*CacheRequest_GSZipFile) ProtoReflect

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

func (*CacheRequest_GSZipFile) Reset

func (x *CacheRequest_GSZipFile) Reset()

func (*CacheRequest_GSZipFile) String

func (x *CacheRequest_GSZipFile) String() string

type CacheRequest_GsFile

type CacheRequest_GsFile struct {
	GsFile *CacheRequest_GSFile `protobuf:"bytes,3,opt,name=gs_file,json=gsFile,proto3,oneof"`
}

type CacheRequest_GsTarFile

type CacheRequest_GsTarFile struct {
	GsTarFile *CacheRequest_GSTARFile `protobuf:"bytes,5,opt,name=gs_tar_file,json=gsTarFile,proto3,oneof"`
}

type CacheRequest_GsZipFile

type CacheRequest_GsZipFile struct {
	GsZipFile *CacheRequest_GSZipFile `protobuf:"bytes,4,opt,name=gs_zip_file,json=gsZipFile,proto3,oneof"`
}

type CacheRequest_LocalFile

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

Where to place the file in the DUT: * Local DUT File * Pipe to command

func (*CacheRequest_LocalFile) Descriptor deprecated

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

Deprecated: Use CacheRequest_LocalFile.ProtoReflect.Descriptor instead.

func (*CacheRequest_LocalFile) GetPath

func (x *CacheRequest_LocalFile) GetPath() string

func (*CacheRequest_LocalFile) ProtoMessage

func (*CacheRequest_LocalFile) ProtoMessage()

func (*CacheRequest_LocalFile) ProtoReflect

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

func (*CacheRequest_LocalFile) Reset

func (x *CacheRequest_LocalFile) Reset()

func (*CacheRequest_LocalFile) String

func (x *CacheRequest_LocalFile) String() string

type CacheRequest_Pipe

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

func (*CacheRequest_Pipe) Descriptor deprecated

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

Deprecated: Use CacheRequest_Pipe.ProtoReflect.Descriptor instead.

func (*CacheRequest_Pipe) GetCommands

func (x *CacheRequest_Pipe) GetCommands() string

func (*CacheRequest_Pipe) ProtoMessage

func (*CacheRequest_Pipe) ProtoMessage()

func (*CacheRequest_Pipe) ProtoReflect

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

func (*CacheRequest_Pipe) Reset

func (x *CacheRequest_Pipe) Reset()

func (*CacheRequest_Pipe) String

func (x *CacheRequest_Pipe) String() string

type CacheRequest_Pipe_

type CacheRequest_Pipe_ struct {
	Pipe *CacheRequest_Pipe `protobuf:"bytes,2,opt,name=pipe,proto3,oneof"`
}

type CacheRequest_Retry

type CacheRequest_Retry struct {
	Times      int32 `protobuf:"varint,1,opt,name=times,proto3" json:"times,omitempty"`
	IntervalMs int64 `protobuf:"varint,2,opt,name=interval_ms,json=intervalMs,proto3" json:"interval_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheRequest_Retry) Descriptor deprecated

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

Deprecated: Use CacheRequest_Retry.ProtoReflect.Descriptor instead.

func (*CacheRequest_Retry) GetIntervalMs

func (x *CacheRequest_Retry) GetIntervalMs() int64

func (*CacheRequest_Retry) GetTimes

func (x *CacheRequest_Retry) GetTimes() int32

func (*CacheRequest_Retry) ProtoMessage

func (*CacheRequest_Retry) ProtoMessage()

func (*CacheRequest_Retry) ProtoReflect

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

func (*CacheRequest_Retry) Reset

func (x *CacheRequest_Retry) Reset()

func (*CacheRequest_Retry) String

func (x *CacheRequest_Retry) String() string

type CacheResponse

type CacheResponse struct {

	// Types that are assignable to Result:
	//	*CacheResponse_Success_
	//	*CacheResponse_Failure_
	Result isCacheResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*CacheResponse) Descriptor deprecated

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

Deprecated: Use CacheResponse.ProtoReflect.Descriptor instead.

func (*CacheResponse) GetFailure

func (x *CacheResponse) GetFailure() *CacheResponse_Failure

func (*CacheResponse) GetResult

func (m *CacheResponse) GetResult() isCacheResponse_Result

func (*CacheResponse) GetSuccess

func (x *CacheResponse) GetSuccess() *CacheResponse_Success

func (*CacheResponse) ProtoMessage

func (*CacheResponse) ProtoMessage()

func (*CacheResponse) ProtoReflect

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

func (*CacheResponse) Reset

func (x *CacheResponse) Reset()

func (*CacheResponse) String

func (x *CacheResponse) String() string

type CacheResponse_Failure

type CacheResponse_Failure struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheResponse_Failure) Descriptor deprecated

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

Deprecated: Use CacheResponse_Failure.ProtoReflect.Descriptor instead.

func (*CacheResponse_Failure) GetErrorMessage

func (x *CacheResponse_Failure) GetErrorMessage() string

func (*CacheResponse_Failure) ProtoMessage

func (*CacheResponse_Failure) ProtoMessage()

func (*CacheResponse_Failure) ProtoReflect

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

func (*CacheResponse_Failure) Reset

func (x *CacheResponse_Failure) Reset()

func (*CacheResponse_Failure) String

func (x *CacheResponse_Failure) String() string

type CacheResponse_Failure_

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

type CacheResponse_Success

type CacheResponse_Success struct {
	// contains filtered or unexported fields
}

func (*CacheResponse_Success) Descriptor deprecated

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

Deprecated: Use CacheResponse_Success.ProtoReflect.Descriptor instead.

func (*CacheResponse_Success) ProtoMessage

func (*CacheResponse_Success) ProtoMessage()

func (*CacheResponse_Success) ProtoReflect

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

func (*CacheResponse_Success) Reset

func (x *CacheResponse_Success) Reset()

func (*CacheResponse_Success) String

func (x *CacheResponse_Success) String() string

type CacheResponse_Success_

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

type CacheServerTemplate

type CacheServerTemplate struct {

	// Required if the container image needs authentication.
	//
	// Types that are assignable to ApplicationDefaultCredentials:
	//	*CacheServerTemplate_ServiceAccountKeyfile
	ApplicationDefaultCredentials isCacheServerTemplate_ApplicationDefaultCredentials `protobuf_oneof:"application_default_credentials"`
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of cache-server container.

func (*CacheServerTemplate) Descriptor deprecated

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

Deprecated: Use CacheServerTemplate.ProtoReflect.Descriptor instead.

func (*CacheServerTemplate) GetApplicationDefaultCredentials

func (m *CacheServerTemplate) GetApplicationDefaultCredentials() isCacheServerTemplate_ApplicationDefaultCredentials

func (*CacheServerTemplate) GetServiceAccountKeyfile

func (x *CacheServerTemplate) GetServiceAccountKeyfile() string

func (*CacheServerTemplate) ProtoMessage

func (*CacheServerTemplate) ProtoMessage()

func (*CacheServerTemplate) ProtoReflect

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

func (*CacheServerTemplate) Reset

func (x *CacheServerTemplate) Reset()

func (*CacheServerTemplate) String

func (x *CacheServerTemplate) String() string

type CacheServerTemplate_ServiceAccountKeyfile

type CacheServerTemplate_ServiceAccountKeyfile struct {
	// This is the full path of service account keyfile in JSON. When provided,
	// the template will find mount the directory, and export the environment
	// variable `GOOGLE_APPLICATION_CREDENTIALS` to point it to the keyfile.
	ServiceAccountKeyfile string `protobuf:"bytes,1,opt,name=service_account_keyfile,json=serviceAccountKeyfile,proto3,oneof"`
}

type CallServodMetadata

type CallServodMetadata struct {
	// contains filtered or unexported fields
}

func (*CallServodMetadata) Descriptor deprecated

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

Deprecated: Use CallServodMetadata.ProtoReflect.Descriptor instead.

func (*CallServodMetadata) ProtoMessage

func (*CallServodMetadata) ProtoMessage()

func (*CallServodMetadata) ProtoReflect

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

func (*CallServodMetadata) Reset

func (x *CallServodMetadata) Reset()

func (*CallServodMetadata) String

func (x *CallServodMetadata) String() string

type CallServodRequest

type CallServodRequest struct {

	// The path (URI) for the servod (containerized or running as a daemon) host.
	// If cros-servod and docker-servod live on the same host, this parameter
	// should be empty.
	ServoHostPath string `protobuf:"bytes,1,opt,name=servo_host_path,json=servoHostPath,proto3" json:"servo_host_path,omitempty"`
	// The servod Docker container name.
	ServodDockerContainerName string `` /* 140-byte string literal not displayed */
	// The port that servod is running on the servo host.
	ServodPort int32 `protobuf:"varint,3,opt,name=servod_port,json=servodPort,proto3" json:"servod_port,omitempty"`
	// The method to run.
	Method CallServodRequest_Method `protobuf:"varint,4,opt,name=method,proto3,enum=chromiumos.test.api.CallServodRequest_Method" json:"method,omitempty"`
	// The arguments to pass to the servod call.
	// For the doc and get methods, it will be control name as single
	// array value (e.g. ["lid_open"]).
	// For the set method, it will be control name and the value as
	// separate array values (e.g. ["lid_open", "yes"]).
	Args []*xmlrpc.Value `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*CallServodRequest) Descriptor deprecated

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

Deprecated: Use CallServodRequest.ProtoReflect.Descriptor instead.

func (*CallServodRequest) GetArgs

func (x *CallServodRequest) GetArgs() []*xmlrpc.Value

func (*CallServodRequest) GetMethod

func (*CallServodRequest) GetServoHostPath

func (x *CallServodRequest) GetServoHostPath() string

func (*CallServodRequest) GetServodDockerContainerName

func (x *CallServodRequest) GetServodDockerContainerName() string

func (*CallServodRequest) GetServodPort

func (x *CallServodRequest) GetServodPort() int32

func (*CallServodRequest) ProtoMessage

func (*CallServodRequest) ProtoMessage()

func (*CallServodRequest) ProtoReflect

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

func (*CallServodRequest) Reset

func (x *CallServodRequest) Reset()

func (*CallServodRequest) String

func (x *CallServodRequest) String() string

type CallServodRequest_Method

type CallServodRequest_Method int32

The allowed methods to run.

const (
	// Shows info about control.
	CallServodRequest_DOC CallServodRequest_Method = 0
	// Gets the value of control.
	CallServodRequest_GET CallServodRequest_Method = 1
	// Sets the value of control.
	CallServodRequest_SET CallServodRequest_Method = 2
	// Initializes all controls.
	CallServodRequest_HWINIT CallServodRequest_Method = 3
)

func (CallServodRequest_Method) Descriptor

func (CallServodRequest_Method) Enum

func (CallServodRequest_Method) EnumDescriptor deprecated

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

Deprecated: Use CallServodRequest_Method.Descriptor instead.

func (CallServodRequest_Method) Number

func (CallServodRequest_Method) String

func (x CallServodRequest_Method) String() string

func (CallServodRequest_Method) Type

type CallServodResponse

type CallServodResponse struct {

	// Types that are assignable to Result:
	//	*CallServodResponse_Success_
	//	*CallServodResponse_Failure_
	Result isCallServodResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*CallServodResponse) Descriptor deprecated

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

Deprecated: Use CallServodResponse.ProtoReflect.Descriptor instead.

func (*CallServodResponse) GetFailure

func (*CallServodResponse) GetResult

func (m *CallServodResponse) GetResult() isCallServodResponse_Result

func (*CallServodResponse) GetSuccess

func (*CallServodResponse) ProtoMessage

func (*CallServodResponse) ProtoMessage()

func (*CallServodResponse) ProtoReflect

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

func (*CallServodResponse) Reset

func (x *CallServodResponse) Reset()

func (*CallServodResponse) String

func (x *CallServodResponse) String() string

type CallServodResponse_Failure

type CallServodResponse_Failure struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

Error message for failure.

func (*CallServodResponse_Failure) Descriptor deprecated

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

Deprecated: Use CallServodResponse_Failure.ProtoReflect.Descriptor instead.

func (*CallServodResponse_Failure) GetErrorMessage

func (x *CallServodResponse_Failure) GetErrorMessage() string

func (*CallServodResponse_Failure) ProtoMessage

func (*CallServodResponse_Failure) ProtoMessage()

func (*CallServodResponse_Failure) ProtoReflect

func (*CallServodResponse_Failure) Reset

func (x *CallServodResponse_Failure) Reset()

func (*CallServodResponse_Failure) String

func (x *CallServodResponse_Failure) String() string

type CallServodResponse_Failure_

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

type CallServodResponse_Success

type CallServodResponse_Success struct {
	Result *xmlrpc.Value `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Response for success.

func (*CallServodResponse_Success) Descriptor deprecated

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

Deprecated: Use CallServodResponse_Success.ProtoReflect.Descriptor instead.

func (*CallServodResponse_Success) GetResult

func (x *CallServodResponse_Success) GetResult() *xmlrpc.Value

func (*CallServodResponse_Success) ProtoMessage

func (*CallServodResponse_Success) ProtoMessage()

func (*CallServodResponse_Success) ProtoReflect

func (*CallServodResponse_Success) Reset

func (x *CallServodResponse_Success) Reset()

func (*CallServodResponse_Success) String

func (x *CallServodResponse_Success) String() string

type CallServodResponse_Success_

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

type CallboxServiceClient

type CallboxServiceClient interface {
	// Verifies the connection/status of the callbox
	CheckHealth(ctx context.Context, in *CheckHealthRequest, opts ...grpc.CallOption) (CallboxService_CheckHealthClient, error)
}

CallboxServiceClient is the client API for CallboxService 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 CallboxServiceServer

type CallboxServiceServer interface {
	// Verifies the connection/status of the callbox
	CheckHealth(*CheckHealthRequest, CallboxService_CheckHealthServer) error
}

CallboxServiceServer is the server API for CallboxService service. All implementations should embed UnimplementedCallboxServiceServer for forward compatibility

type CallboxService_CheckHealthClient

type CallboxService_CheckHealthClient interface {
	Recv() (*CheckHealthResponse, error)
	grpc.ClientStream
}

type CallboxService_CheckHealthServer

type CallboxService_CheckHealthServer interface {
	Send(*CheckHealthResponse) error
	grpc.ServerStream
}

type ChameleonLibServiceClient

type ChameleonLibServiceClient interface {
	// Verifies the connection/status of the chameleon device
	CheckChameleonHealth(ctx context.Context, in *CheckChameleonHealthRequest, opts ...grpc.CallOption) (ChameleonLibService_CheckChameleonHealthClient, error)
}

ChameleonLibServiceClient is the client API for ChameleonLibService 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 ChameleonLibServiceServer

type ChameleonLibServiceServer interface {
	// Verifies the connection/status of the chameleon device
	CheckChameleonHealth(*CheckChameleonHealthRequest, ChameleonLibService_CheckChameleonHealthServer) error
}

ChameleonLibServiceServer is the server API for ChameleonLibService service. All implementations should embed UnimplementedChameleonLibServiceServer for forward compatibility

type ChameleonLibService_CheckChameleonHealthClient

type ChameleonLibService_CheckChameleonHealthClient interface {
	Recv() (*CheckChameleonHealthResponse, error)
	grpc.ClientStream
}

type ChameleonLibService_CheckChameleonHealthServer

type ChameleonLibService_CheckChameleonHealthServer interface {
	Send(*CheckChameleonHealthResponse) error
	grpc.ServerStream
}

type CheckChameleonHealthRequest

type CheckChameleonHealthRequest struct {
	// contains filtered or unexported fields
}

func (*CheckChameleonHealthRequest) Descriptor deprecated

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

Deprecated: Use CheckChameleonHealthRequest.ProtoReflect.Descriptor instead.

func (*CheckChameleonHealthRequest) ProtoMessage

func (*CheckChameleonHealthRequest) ProtoMessage()

func (*CheckChameleonHealthRequest) ProtoReflect

func (*CheckChameleonHealthRequest) Reset

func (x *CheckChameleonHealthRequest) Reset()

func (*CheckChameleonHealthRequest) String

func (x *CheckChameleonHealthRequest) String() string

type CheckChameleonHealthResponse

type CheckChameleonHealthResponse struct {
	// contains filtered or unexported fields
}

func (*CheckChameleonHealthResponse) Descriptor deprecated

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

Deprecated: Use CheckChameleonHealthResponse.ProtoReflect.Descriptor instead.

func (*CheckChameleonHealthResponse) ProtoMessage

func (*CheckChameleonHealthResponse) ProtoMessage()

func (*CheckChameleonHealthResponse) ProtoReflect

func (*CheckChameleonHealthResponse) Reset

func (x *CheckChameleonHealthResponse) Reset()

func (*CheckChameleonHealthResponse) String

type CheckHealthRequest

type CheckHealthRequest struct {
	// contains filtered or unexported fields
}

func (*CheckHealthRequest) Descriptor deprecated

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

Deprecated: Use CheckHealthRequest.ProtoReflect.Descriptor instead.

func (*CheckHealthRequest) ProtoMessage

func (*CheckHealthRequest) ProtoMessage()

func (*CheckHealthRequest) ProtoReflect

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

func (*CheckHealthRequest) Reset

func (x *CheckHealthRequest) Reset()

func (*CheckHealthRequest) String

func (x *CheckHealthRequest) String() string

type CheckHealthResponse

type CheckHealthResponse struct {
	// contains filtered or unexported fields
}

func (*CheckHealthResponse) Descriptor deprecated

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

Deprecated: Use CheckHealthResponse.ProtoReflect.Descriptor instead.

func (*CheckHealthResponse) ProtoMessage

func (*CheckHealthResponse) ProtoMessage()

func (*CheckHealthResponse) ProtoReflect

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

func (*CheckHealthResponse) Reset

func (x *CheckHealthResponse) Reset()

func (*CheckHealthResponse) String

func (x *CheckHealthResponse) String() string

type CompanionConfig

type CompanionConfig struct {

	// Types that are assignable to Config:
	//	*CompanionConfig_CrosBuild_
	//	*CompanionConfig_Android_
	Config isCompanionConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

Provision config for a companion DUT to override the default behavior, which assumes the companion is a ChromeOS build and tries to find a build with the same buildset (e.g. the same CQ orchestrator run).

func (*CompanionConfig) Descriptor deprecated

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

Deprecated: Use CompanionConfig.ProtoReflect.Descriptor instead.

func (*CompanionConfig) GetAndroid

func (x *CompanionConfig) GetAndroid() *CompanionConfig_Android

func (*CompanionConfig) GetConfig

func (m *CompanionConfig) GetConfig() isCompanionConfig_Config

func (*CompanionConfig) GetCrosBuild

func (x *CompanionConfig) GetCrosBuild() *CompanionConfig_CrosBuild

func (*CompanionConfig) ProtoMessage

func (*CompanionConfig) ProtoMessage()

func (*CompanionConfig) ProtoReflect

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

func (*CompanionConfig) Reset

func (x *CompanionConfig) Reset()

func (*CompanionConfig) String

func (x *CompanionConfig) String() string

type CompanionConfig_Android

type CompanionConfig_Android struct {

	// Optional. The android image version for android provisioning.
	AndroidImageVersion string `protobuf:"bytes,1,opt,name=android_image_version,json=androidImageVersion,proto3" json:"android_image_version,omitempty"`
	// gms core cipd package for android provisioning. Recommend to use
	// "latest_stable".
	// See https://chrome-infra-packages.appspot.com/p/chromiumos/infra/skylab/third_party/gmscore/gmscore_prodsc_arm64_xxhdpi_release_apk/+/
	GmsCorePackage string `protobuf:"bytes,2,opt,name=gms_core_package,json=gmsCorePackage,proto3" json:"gms_core_package,omitempty"`
	// contains filtered or unexported fields
}

Android is used when the companion DUT is an Android device. As ChromeOS doesn't build Android images, the config must provide information for each Android companion.

func (*CompanionConfig_Android) Descriptor deprecated

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

Deprecated: Use CompanionConfig_Android.ProtoReflect.Descriptor instead.

func (*CompanionConfig_Android) GetAndroidImageVersion

func (x *CompanionConfig_Android) GetAndroidImageVersion() string

func (*CompanionConfig_Android) GetGmsCorePackage

func (x *CompanionConfig_Android) GetGmsCorePackage() string

func (*CompanionConfig_Android) ProtoMessage

func (*CompanionConfig_Android) ProtoMessage()

func (*CompanionConfig_Android) ProtoReflect

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

func (*CompanionConfig_Android) Reset

func (x *CompanionConfig_Android) Reset()

func (*CompanionConfig_Android) String

func (x *CompanionConfig_Android) String() string

type CompanionConfig_Android_

type CompanionConfig_Android_ struct {
	// Mandatory for Android device.
	Android *CompanionConfig_Android `protobuf:"bytes,2,opt,name=android,proto3,oneof"`
}

type CompanionConfig_CrosBuild

type CompanionConfig_CrosBuild struct {
	// contains filtered or unexported fields
}

CrosBuild is used when the companion DUT is a ChromeOS device and needs to be provisioned with a build that is different from the default build found within the context (e.g. a CQ run). The initial implementation of multi-dut doesn't support Cros provision overriding. Fields will be added when requirements become clear.

func (*CompanionConfig_CrosBuild) Descriptor deprecated

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

Deprecated: Use CompanionConfig_CrosBuild.ProtoReflect.Descriptor instead.

func (*CompanionConfig_CrosBuild) ProtoMessage

func (*CompanionConfig_CrosBuild) ProtoMessage()

func (*CompanionConfig_CrosBuild) ProtoReflect

func (*CompanionConfig_CrosBuild) Reset

func (x *CompanionConfig_CrosBuild) Reset()

func (*CompanionConfig_CrosBuild) String

func (x *CompanionConfig_CrosBuild) String() string

type CompanionConfig_CrosBuild_

type CompanionConfig_CrosBuild_ struct {
	// Optional. Only used when need to override the default provision behavior
	// for ChromeOS device.
	CrosBuild *CompanionConfig_CrosBuild `protobuf:"bytes,1,opt,name=cros_build,json=crosBuild,proto3,oneof"`
}

type Config

type Config struct {

	// Types that are assignable to Backend:
	//	*Config_GcloudBackend
	//	*Config_VmLeaserBackend_
	Backend isConfig_Backend `protobuf_oneof:"backend"`
	// contains filtered or unexported fields
}

TODO(b/250961857): finalize fields and add documentation Configuration to specify how to create an instance.

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetBackend

func (m *Config) GetBackend() isConfig_Backend

func (*Config) GetGcloudBackend

func (x *Config) GetGcloudBackend() *Config_GCloudBackend

func (*Config) GetVmLeaserBackend

func (x *Config) GetVmLeaserBackend() *Config_VmLeaserBackend

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Config_GCloudBackend

type Config_GCloudBackend struct {

	// GCP project id. Mandatory
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// GCE zone. Mandatory.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// GCE machine type. Mandatory.
	MachineType string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// A custom prefix to instance name. Mandatory.
	InstancePrefix string `protobuf:"bytes,4,opt,name=instance_prefix,json=instancePrefix,proto3" json:"instance_prefix,omitempty"`
	// Network, must be consistent to zone. Optional, fallback to default.
	Network string `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"`
	// Subnet of network. Optional, fallback to default.
	Subnet string `protobuf:"bytes,8,opt,name=subnet,proto3" json:"subnet,omitempty"`
	// A boolean flag whether to request a public IPv4 address.
	// If requested, ssh target will be the public IPv4 address, otherwise it
	// will be the GCE internal IP address.
	PublicIp bool `protobuf:"varint,5,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty"`
	// A boolean flag to determine what ip address to return in ssh target.
	// Default is false and the public_ip flag is used for that decision.
	// If true, ssh target will be the GCE internal IP address regardless of
	// whether public_ip is requested.
	AlwaysSshInternalIp bool `protobuf:"varint,9,opt,name=always_ssh_internal_ip,json=alwaysSshInternalIp,proto3" json:"always_ssh_internal_ip,omitempty"`
	// GCE Image to be used to create instance. Mandatory.
	Image *GceImage `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

Gcloud properties. Most properties are passed through to the corresponding flags of gcloud. A mandatory field is required when the config is used to create an instance.

func (*Config_GCloudBackend) Descriptor deprecated

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

Deprecated: Use Config_GCloudBackend.ProtoReflect.Descriptor instead.

func (*Config_GCloudBackend) GetAlwaysSshInternalIp

func (x *Config_GCloudBackend) GetAlwaysSshInternalIp() bool

func (*Config_GCloudBackend) GetImage

func (x *Config_GCloudBackend) GetImage() *GceImage

func (*Config_GCloudBackend) GetInstancePrefix

func (x *Config_GCloudBackend) GetInstancePrefix() string

func (*Config_GCloudBackend) GetMachineType

func (x *Config_GCloudBackend) GetMachineType() string

func (*Config_GCloudBackend) GetNetwork

func (x *Config_GCloudBackend) GetNetwork() string

func (*Config_GCloudBackend) GetProject

func (x *Config_GCloudBackend) GetProject() string

func (*Config_GCloudBackend) GetPublicIp

func (x *Config_GCloudBackend) GetPublicIp() bool

func (*Config_GCloudBackend) GetSubnet

func (x *Config_GCloudBackend) GetSubnet() string

func (*Config_GCloudBackend) GetZone

func (x *Config_GCloudBackend) GetZone() string

func (*Config_GCloudBackend) ProtoMessage

func (*Config_GCloudBackend) ProtoMessage()

func (*Config_GCloudBackend) ProtoReflect

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

func (*Config_GCloudBackend) Reset

func (x *Config_GCloudBackend) Reset()

func (*Config_GCloudBackend) String

func (x *Config_GCloudBackend) String() string

type Config_GcloudBackend

type Config_GcloudBackend struct {
	GcloudBackend *Config_GCloudBackend `protobuf:"bytes,1,opt,name=gcloud_backend,json=gcloudBackend,proto3,oneof"`
}

type Config_VmLeaserBackend

type Config_VmLeaserBackend struct {
	Env Config_VmLeaserBackend_Environment `protobuf:"varint,3,opt,name=env,proto3,enum=chromiumos.test.api.Config_VmLeaserBackend_Environment" json:"env,omitempty"`
	// The populated fields will specify the requirements for operations on a VM
	// lease. Required.
	VmRequirements *VMRequirements `protobuf:"bytes,1,opt,name=vm_requirements,json=vmRequirements,proto3" json:"vm_requirements,omitempty"`
	// Duration of a VM lease. Optional, fallback to service default.
	// This will put a ceiling on time wasted if the client dies.
	LeaseDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"`
	// contains filtered or unexported fields
}

VM Leaser properties. The fields will be passed to VM Leaser service for VM creation and deletion. Required fields must be passed.

NEXT TAG: 4

func (*Config_VmLeaserBackend) Descriptor deprecated

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

Deprecated: Use Config_VmLeaserBackend.ProtoReflect.Descriptor instead.

func (*Config_VmLeaserBackend) GetEnv

func (*Config_VmLeaserBackend) GetLeaseDuration

func (x *Config_VmLeaserBackend) GetLeaseDuration() *durationpb.Duration

func (*Config_VmLeaserBackend) GetVmRequirements

func (x *Config_VmLeaserBackend) GetVmRequirements() *VMRequirements

func (*Config_VmLeaserBackend) ProtoMessage

func (*Config_VmLeaserBackend) ProtoMessage()

func (*Config_VmLeaserBackend) ProtoReflect

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

func (*Config_VmLeaserBackend) Reset

func (x *Config_VmLeaserBackend) Reset()

func (*Config_VmLeaserBackend) String

func (x *Config_VmLeaserBackend) String() string

type Config_VmLeaserBackend_

type Config_VmLeaserBackend_ struct {
	VmLeaserBackend *Config_VmLeaserBackend `protobuf:"bytes,2,opt,name=vm_leaser_backend,json=vmLeaserBackend,proto3,oneof"`
}

type Config_VmLeaserBackend_Environment

type Config_VmLeaserBackend_Environment int32

The VM Leaser environment to connect to.

const (
	Config_VmLeaserBackend_ENV_LOCAL      Config_VmLeaserBackend_Environment = 0
	Config_VmLeaserBackend_ENV_STAGING    Config_VmLeaserBackend_Environment = 1
	Config_VmLeaserBackend_ENV_PRODUCTION Config_VmLeaserBackend_Environment = 2
)

func (Config_VmLeaserBackend_Environment) Descriptor

func (Config_VmLeaserBackend_Environment) Enum

func (Config_VmLeaserBackend_Environment) EnumDescriptor deprecated

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

Deprecated: Use Config_VmLeaserBackend_Environment.Descriptor instead.

func (Config_VmLeaserBackend_Environment) Number

func (Config_VmLeaserBackend_Environment) String

func (Config_VmLeaserBackend_Environment) Type

type Contact

type Contact struct {

	// Can be individual user or group email
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Contact information of individuals or teams.

func (*Contact) Descriptor deprecated

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetEmail

func (x *Contact) GetEmail() string

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect

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

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) String

func (x *Contact) String() string

type Container

type Container struct {

	// Container name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Container ID assigned by docker
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Indicates if the container was started by the current container service.
	Owned        bool                     `protobuf:"varint,3,opt,name=owned,proto3" json:"owned,omitempty"`
	PortBindings []*Container_PortBinding `protobuf:"bytes,4,rep,name=port_bindings,json=portBindings,proto3" json:"port_bindings,omitempty"`
	// contains filtered or unexported fields
}

Represents basic info of a docker container

func (*Container) Descriptor deprecated

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetId

func (x *Container) GetId() string

func (*Container) GetName

func (x *Container) GetName() string

func (*Container) GetOwned

func (x *Container) GetOwned() bool

func (*Container) GetPortBindings

func (x *Container) GetPortBindings() []*Container_PortBinding

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type ContainerInfo

type ContainerInfo struct {
	Container *api.ContainerImageInfo `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// binary name that will be used to invoke grpc endpoint of the container.
	BinaryName string `protobuf:"bytes,2,opt,name=binary_name,json=binaryName,proto3" json:"binary_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerInfo) Descriptor deprecated

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

Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead.

func (*ContainerInfo) GetBinaryName

func (x *ContainerInfo) GetBinaryName() string

func (*ContainerInfo) GetContainer

func (x *ContainerInfo) GetContainer() *api.ContainerImageInfo

func (*ContainerInfo) ProtoMessage

func (*ContainerInfo) ProtoMessage()

func (*ContainerInfo) ProtoReflect

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

func (*ContainerInfo) Reset

func (x *ContainerInfo) Reset()

func (*ContainerInfo) String

func (x *ContainerInfo) String() string

type ContainerRequest

type ContainerRequest struct {

	// Identifier for DynamicDependencies to inject this container's IpEndpoint, eg
	// cros-provision, cros-dut, etc.
	DynamicIdentifier string    `protobuf:"bytes,1,opt,name=dynamic_identifier,json=dynamicIdentifier,proto3" json:"dynamic_identifier,omitempty"`
	Container         *Template `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
	// Dynamic dependencies for the templated container.
	DynamicDeps []*DynamicDep `protobuf:"bytes,3,rep,name=dynamic_deps,json=dynamicDeps,proto3" json:"dynamic_deps,omitempty"`
	// Identifiable file inputs for the binary call within the generic container.
	Inputs []*ContainerRequest_FileInput `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// default = "host"
	Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
	// Lookup key for containers from the metadata.
	ContainerImageKey string `protobuf:"bytes,6,opt,name=container_image_key,json=containerImageKey,proto3" json:"container_image_key,omitempty"`
	// Direct container image path to be called from docker.
	// If set, used instead of the container_image_key.
	ContainerImagePath string `protobuf:"bytes,7,opt,name=container_image_path,json=containerImagePath,proto3" json:"container_image_path,omitempty"`
	// contains filtered or unexported fields
}

Starts a container and uploads its IpEndpoint to TestRunnerV2's dynamic map of locally exposed information.

Will not support dynamic injections into the container's start arguments. If the generic template is not enough, then a specific template should be implemented.

func (*ContainerRequest) Descriptor deprecated

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

Deprecated: Use ContainerRequest.ProtoReflect.Descriptor instead.

func (*ContainerRequest) GetContainer

func (x *ContainerRequest) GetContainer() *Template

func (*ContainerRequest) GetContainerImageKey

func (x *ContainerRequest) GetContainerImageKey() string

func (*ContainerRequest) GetContainerImagePath

func (x *ContainerRequest) GetContainerImagePath() string

func (*ContainerRequest) GetDynamicDeps

func (x *ContainerRequest) GetDynamicDeps() []*DynamicDep

func (*ContainerRequest) GetDynamicIdentifier

func (x *ContainerRequest) GetDynamicIdentifier() string

func (*ContainerRequest) GetInputs

func (x *ContainerRequest) GetInputs() []*ContainerRequest_FileInput

func (*ContainerRequest) GetNetwork

func (x *ContainerRequest) GetNetwork() string

func (*ContainerRequest) ProtoMessage

func (*ContainerRequest) ProtoMessage()

func (*ContainerRequest) ProtoReflect

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

func (*ContainerRequest) Reset

func (x *ContainerRequest) Reset()

func (*ContainerRequest) String

func (x *ContainerRequest) String() string

type ContainerRequest_FileInput

type ContainerRequest_FileInput struct {
	Identifier string     `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Content    *anypb.Any `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// Dependencies to be injected within 'context'
	DynamicDeps []*DynamicDep `protobuf:"bytes,3,rep,name=dynamic_deps,json=dynamicDeps,proto3" json:"dynamic_deps,omitempty"`
	// contains filtered or unexported fields
}

Starting a binary within a container sometimes requires a "metadata" file or some type of proto file as input.

func (*ContainerRequest_FileInput) Descriptor deprecated

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

Deprecated: Use ContainerRequest_FileInput.ProtoReflect.Descriptor instead.

func (*ContainerRequest_FileInput) GetContent

func (x *ContainerRequest_FileInput) GetContent() *anypb.Any

func (*ContainerRequest_FileInput) GetDynamicDeps

func (x *ContainerRequest_FileInput) GetDynamicDeps() []*DynamicDep

func (*ContainerRequest_FileInput) GetIdentifier

func (x *ContainerRequest_FileInput) GetIdentifier() string

func (*ContainerRequest_FileInput) ProtoMessage

func (*ContainerRequest_FileInput) ProtoMessage()

func (*ContainerRequest_FileInput) ProtoReflect

func (*ContainerRequest_FileInput) Reset

func (x *ContainerRequest_FileInput) Reset()

func (*ContainerRequest_FileInput) String

func (x *ContainerRequest_FileInput) String() string

type Container_PortBinding

type Container_PortBinding struct {

	// The exposed port in the container, a.k.a the port a service listens to.
	ContainerPort int32 `protobuf:"varint,1,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	// Always `tcp` for our use cases.
	Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// Host IP as returned by the command; we don't use this value.
	HostIp string `protobuf:"bytes,3,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	// The published port on the host; each time `docker run` command assigns a
	// random port available on the host is assigned.
	HostPort int32 `protobuf:"varint,4,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
	// contains filtered or unexported fields
}

A port binding is the mapping between the port used in the container and the port published on the host. Port bindings are defined through StartContainerRequest.options.expose and are retrieved through `docker container port` command. Example of the command output: `80/tcp -> 0.0.0.0:42356` 80 is the exposed port, 42356 is the published random port on the host

func (*Container_PortBinding) Descriptor deprecated

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

Deprecated: Use Container_PortBinding.ProtoReflect.Descriptor instead.

func (*Container_PortBinding) GetContainerPort

func (x *Container_PortBinding) GetContainerPort() int32

func (*Container_PortBinding) GetHostIp

func (x *Container_PortBinding) GetHostIp() string

func (*Container_PortBinding) GetHostPort

func (x *Container_PortBinding) GetHostPort() int32

func (*Container_PortBinding) GetProtocol

func (x *Container_PortBinding) GetProtocol() string

func (*Container_PortBinding) ProtoMessage

func (*Container_PortBinding) ProtoMessage()

func (*Container_PortBinding) ProtoReflect

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

func (*Container_PortBinding) Reset

func (x *Container_PortBinding) Reset()

func (*Container_PortBinding) String

func (x *Container_PortBinding) String() string

type CoverageRule

type CoverageRule struct {

	// Optional human friendly name of the rule, e.g.
	// "kernel:5.4_soc:geminilake_wifi:intel-5600".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Test suites that must be executed.
	TestSuites []*TestSuite `protobuf:"bytes,2,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// DutTargets to execute the tests on.
	//   - At least one target must be specified.
	//   - Additional targets will target compound scheduling units (for units
	//     with multiple physical duts)
	DutTargets []*DutTarget `protobuf:"bytes,4,rep,name=dut_targets,json=dutTargets,proto3" json:"dut_targets,omitempty"`
	// Whether the rule is considered critical. For example, this value determines
	// whether failures in this rule fail a CQ or postsubmit run. Note that the
	// default is true.
	Critical *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=critical,proto3" json:"critical,omitempty"`
	// If true, then run test suites in this rule via CFT workflow.
	RunViaCft bool `protobuf:"varint,6,opt,name=run_via_cft,json=runViaCft,proto3" json:"run_via_cft,omitempty"`
	// if enable_autotest_sharding is True, then autotest tests will be sharded
	EnableAutotestSharding bool `` /* 130-byte string literal not displayed */
	// Graveyard
	//
	// Deprecated: Do not use.
	DutCriteria []*DutCriterion `protobuf:"bytes,3,rep,name=dut_criteria,json=dutCriteria,proto3" json:"dut_criteria,omitempty"`
	// contains filtered or unexported fields
}

CoverageRule specifies a set of tests that must be executed, and criteria for the DUTs to execute tests on. Next ID: 7

func (*CoverageRule) Descriptor deprecated

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

Deprecated: Use CoverageRule.ProtoReflect.Descriptor instead.

func (*CoverageRule) GetCritical

func (x *CoverageRule) GetCritical() *wrapperspb.BoolValue

func (*CoverageRule) GetDutCriteria deprecated

func (x *CoverageRule) GetDutCriteria() []*DutCriterion

Deprecated: Do not use.

func (*CoverageRule) GetDutTargets

func (x *CoverageRule) GetDutTargets() []*DutTarget

func (*CoverageRule) GetEnableAutotestSharding

func (x *CoverageRule) GetEnableAutotestSharding() bool

func (*CoverageRule) GetName

func (x *CoverageRule) GetName() string

func (*CoverageRule) GetRunViaCft

func (x *CoverageRule) GetRunViaCft() bool

func (*CoverageRule) GetTestSuites

func (x *CoverageRule) GetTestSuites() []*TestSuite

func (*CoverageRule) ProtoMessage

func (*CoverageRule) ProtoMessage()

func (*CoverageRule) ProtoReflect

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

func (*CoverageRule) Reset

func (x *CoverageRule) Reset()

func (*CoverageRule) String

func (x *CoverageRule) String() string

type CoverageRuleBqRow

type CoverageRuleBqRow struct {

	// Gitiles hostname, e.g. "chromium.googlesource.com".
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Repository name on the host, e.g. "chromium/src".
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Absolute path within the repo to the Starlark file. Regexes are not
	// allowed.
	Path         string        `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	CoverageRule *CoverageRule `protobuf:"bytes,4,opt,name=coverage_rule,json=coverageRule,proto3" json:"coverage_rule,omitempty"`
	// contains filtered or unexported fields
}

Describes a CoverageRule and the Starlark file it was generated from. For use as a schema for a BigQuery table (or any other storage that uses a proto schema).

Only intended for use in an analytic context, i.e. this shouldn't be used for config or execution during the actual test planning process.

Note that the host, project, and path fields are essentially exactly the same as in the TestPlanStarlarkfile message; that message isn't used because the TemplateParameters don't make sense in this context.

func (*CoverageRuleBqRow) Descriptor deprecated

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

Deprecated: Use CoverageRuleBqRow.ProtoReflect.Descriptor instead.

func (*CoverageRuleBqRow) GetCoverageRule

func (x *CoverageRuleBqRow) GetCoverageRule() *CoverageRule

func (*CoverageRuleBqRow) GetHost

func (x *CoverageRuleBqRow) GetHost() string

func (*CoverageRuleBqRow) GetPath

func (x *CoverageRuleBqRow) GetPath() string

func (*CoverageRuleBqRow) GetProject

func (x *CoverageRuleBqRow) GetProject() string

func (*CoverageRuleBqRow) ProtoMessage

func (*CoverageRuleBqRow) ProtoMessage()

func (*CoverageRuleBqRow) ProtoReflect

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

func (*CoverageRuleBqRow) Reset

func (x *CoverageRuleBqRow) Reset()

func (*CoverageRuleBqRow) String

func (x *CoverageRuleBqRow) String() string

type CrOSProvisionMetadata

type CrOSProvisionMetadata struct {

	// dlc_specs specifies which DLCs to install on the DUT after provisioning.
	DlcSpecs []*CrOSProvisionMetadata_DLCSpec `protobuf:"bytes,2,rep,name=dlc_specs,json=dlcSpecs,proto3" json:"dlc_specs,omitempty"`
	// preserve_stateful specifies whether the stateful partition should be preserved during
	// provisioning. If preserve_stateful is not set to true, the stateful partition is
	// block-level wiped and reset during provisioning.
	PreserveStateful bool `protobuf:"varint,3,opt,name=preserve_stateful,json=preserveStateful,proto3" json:"preserve_stateful,omitempty"`
	// update_firmware will update OS bundled firmware(RW only) during the provision.
	// Please note this firmware update only update RW firmware that built in the
	// target_build OS image and it is different from firmware provision which
	// download and update a separate firmware image based on request.
	UpdateFirmware bool `protobuf:"varint,6,opt,name=update_firmware,json=updateFirmware,proto3" json:"update_firmware,omitempty"`
	// only_googler_ssh_keys controls if we provision googler ssh key only.
	// If true, provision will only enable googler ssh key on the DUT.
	// If false, provision will enable external & googler ssh key on the DUT.
	OnlyGooglerSshKeys bool `protobuf:"varint,4,opt,name=only_googler_ssh_keys,json=onlyGooglerSshKeys,proto3" json:"only_googler_ssh_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*CrOSProvisionMetadata) Descriptor deprecated

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

Deprecated: Use CrOSProvisionMetadata.ProtoReflect.Descriptor instead.

func (*CrOSProvisionMetadata) GetDlcSpecs

func (*CrOSProvisionMetadata) GetOnlyGooglerSshKeys

func (x *CrOSProvisionMetadata) GetOnlyGooglerSshKeys() bool

func (*CrOSProvisionMetadata) GetPreserveStateful

func (x *CrOSProvisionMetadata) GetPreserveStateful() bool

func (*CrOSProvisionMetadata) GetUpdateFirmware

func (x *CrOSProvisionMetadata) GetUpdateFirmware() bool

func (*CrOSProvisionMetadata) ProtoMessage

func (*CrOSProvisionMetadata) ProtoMessage()

func (*CrOSProvisionMetadata) ProtoReflect

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

func (*CrOSProvisionMetadata) Reset

func (x *CrOSProvisionMetadata) Reset()

func (*CrOSProvisionMetadata) String

func (x *CrOSProvisionMetadata) String() string

type CrOSProvisionMetadata_DLCSpec

type CrOSProvisionMetadata_DLCSpec struct {

	// id is the DLC ID which is a unique identifier.
	// The DLC ID must follow a specific format that can be found in the DLC
	// developer doc below.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Reference DLCs developer documentation: https://source.corp.google.com/chromeos_public/src/platform2/dlcservice/docs/developer.md

func (*CrOSProvisionMetadata_DLCSpec) Descriptor deprecated

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

Deprecated: Use CrOSProvisionMetadata_DLCSpec.ProtoReflect.Descriptor instead.

func (*CrOSProvisionMetadata_DLCSpec) GetId

func (*CrOSProvisionMetadata_DLCSpec) ProtoMessage

func (*CrOSProvisionMetadata_DLCSpec) ProtoMessage()

func (*CrOSProvisionMetadata_DLCSpec) ProtoReflect

func (*CrOSProvisionMetadata_DLCSpec) Reset

func (x *CrOSProvisionMetadata_DLCSpec) Reset()

func (*CrOSProvisionMetadata_DLCSpec) String

type CrashBlob

type CrashBlob struct {

	// This value is a UTF8, human-readable, description of the data.
	// This should be passed as the 'name' to the crash server.
	// For instance, upload_file_fake_payload
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value is a blob (e.g. a file from sysfs or a minidump), which need
	// not be valid UTF-8, and may be large.
	Blob []byte `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"`
	// The basename of the file. Must be specified as the filename in data
	// uploaded to the crash server.
	// e.g. foo_binary.20201027.102345.0.dmp
	Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

Arbitrary non-UTF8 key-value pair from crash report metadata files.

func (*CrashBlob) Descriptor deprecated

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

Deprecated: Use CrashBlob.ProtoReflect.Descriptor instead.

func (*CrashBlob) GetBlob

func (x *CrashBlob) GetBlob() []byte

func (*CrashBlob) GetFilename

func (x *CrashBlob) GetFilename() string

func (*CrashBlob) GetKey

func (x *CrashBlob) GetKey() string

func (*CrashBlob) ProtoMessage

func (*CrashBlob) ProtoMessage()

func (*CrashBlob) ProtoReflect

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

func (*CrashBlob) Reset

func (x *CrashBlob) Reset()

func (*CrashBlob) String

func (x *CrashBlob) String() string

type CrashInfo

type CrashInfo struct {

	// Name of executable that crashed (e.g. "chrome")
	ExecName string `protobuf:"bytes,1,opt,name=exec_name,json=execName,proto3" json:"exec_name,omitempty"`
	// Product name (e.g. "Chrome_ChromeOS" or "ChromeOS")
	Prod string `protobuf:"bytes,2,opt,name=prod,proto3" json:"prod,omitempty"`
	// Product version (e.g. "12345.0.0")
	Ver string `protobuf:"bytes,3,opt,name=ver,proto3" json:"ver,omitempty"`
	// Crash signature (may not be populated for all crashes)
	Sig string `protobuf:"bytes,4,opt,name=sig,proto3" json:"sig,omitempty"`
	// The name of the integration test that was running when this crash
	// happened, if any.
	InProgressIntegrationTest string `` /* 140-byte string literal not displayed */
	// The name of the collector (e.g. chrome_collector, arc_collector)
	Collector string `protobuf:"bytes,6,opt,name=collector,proto3" json:"collector,omitempty"`
	// Additional key-value pairs of metadata (e.g. "crash_loop_mode = true").
	// These should be included in any POSTs to the crash server in a standard
	// POST form, as seen in CreateCrashFormData.
	// (despite the fact that this message is a subfield, it should be a flat
	// structure in any POSTs).
	Fields []*CrashMetadata `protobuf:"bytes,7,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

The data in this proto matches the metadata from crash-reporter's meta files. Sender::CreateCrashFormData puts this data into crash upload POST requests. (See src/platform2/crash-reporter/crash_sender_util.cc.) The names in this proto MUST match the names that crash-reporter uses so that, when crashes are uploaded to the crash server, they are interpreted as they are when crash-reporter uploads them. Similarly, when this proto is converted into a POST request to send to the crash server, the names must not be altered.

func (*CrashInfo) Descriptor deprecated

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

Deprecated: Use CrashInfo.ProtoReflect.Descriptor instead.

func (*CrashInfo) GetCollector

func (x *CrashInfo) GetCollector() string

func (*CrashInfo) GetExecName

func (x *CrashInfo) GetExecName() string

func (*CrashInfo) GetFields

func (x *CrashInfo) GetFields() []*CrashMetadata

func (*CrashInfo) GetInProgressIntegrationTest

func (x *CrashInfo) GetInProgressIntegrationTest() string

func (*CrashInfo) GetProd

func (x *CrashInfo) GetProd() string

func (*CrashInfo) GetSig

func (x *CrashInfo) GetSig() string

func (*CrashInfo) GetVer

func (x *CrashInfo) GetVer() string

func (*CrashInfo) ProtoMessage

func (*CrashInfo) ProtoMessage()

func (*CrashInfo) ProtoReflect

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

func (*CrashInfo) Reset

func (x *CrashInfo) Reset()

func (*CrashInfo) String

func (x *CrashInfo) String() string

type CrashMetadata

type CrashMetadata struct {

	// This value is a UTF8, human-readable, description of the data.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value will be a human-readable string (e.g. "12345.0.0"), which must
	// be valid UTF-8.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

Arbitrary text-only key-value pair corresponding to the key-value pairs in crash report metadata files.

func (*CrashMetadata) Descriptor deprecated

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

Deprecated: Use CrashMetadata.ProtoReflect.Descriptor instead.

func (*CrashMetadata) GetKey

func (x *CrashMetadata) GetKey() string

func (*CrashMetadata) GetText

func (x *CrashMetadata) GetText() string

func (*CrashMetadata) ProtoMessage

func (*CrashMetadata) ProtoMessage()

func (*CrashMetadata) ProtoReflect

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

func (*CrashMetadata) Reset

func (x *CrashMetadata) Reset()

func (*CrashMetadata) String

func (x *CrashMetadata) String() string

type CreateNetworkRequest

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

func (*CreateNetworkRequest) Descriptor deprecated

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

Deprecated: Use CreateNetworkRequest.ProtoReflect.Descriptor instead.

func (*CreateNetworkRequest) GetName

func (x *CreateNetworkRequest) GetName() string

func (*CreateNetworkRequest) ProtoMessage

func (*CreateNetworkRequest) ProtoMessage()

func (*CreateNetworkRequest) ProtoReflect

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

func (*CreateNetworkRequest) Reset

func (x *CreateNetworkRequest) Reset()

func (*CreateNetworkRequest) String

func (x *CreateNetworkRequest) String() string

type CreateNetworkResponse

type CreateNetworkResponse struct {
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNetworkResponse) Descriptor deprecated

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

Deprecated: Use CreateNetworkResponse.ProtoReflect.Descriptor instead.

func (*CreateNetworkResponse) GetNetwork

func (x *CreateNetworkResponse) GetNetwork() *Network

func (*CreateNetworkResponse) ProtoMessage

func (*CreateNetworkResponse) ProtoMessage()

func (*CreateNetworkResponse) ProtoReflect

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

func (*CreateNetworkResponse) Reset

func (x *CreateNetworkResponse) Reset()

func (*CreateNetworkResponse) String

func (x *CreateNetworkResponse) String() string

type CreateVmInstanceRequest

type CreateVmInstanceRequest struct {

	// Configuration of the backend to start the instance.
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// Optional tags to be associated to the instance.
	Tags map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request for the InstanceApi.Create endpoint.

func (*CreateVmInstanceRequest) Descriptor deprecated

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

Deprecated: Use CreateVmInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateVmInstanceRequest) GetConfig

func (x *CreateVmInstanceRequest) GetConfig() *Config

func (*CreateVmInstanceRequest) GetTags

func (x *CreateVmInstanceRequest) GetTags() map[string]string

func (*CreateVmInstanceRequest) ProtoMessage

func (*CreateVmInstanceRequest) ProtoMessage()

func (*CreateVmInstanceRequest) ProtoReflect

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

func (*CreateVmInstanceRequest) Reset

func (x *CreateVmInstanceRequest) Reset()

func (*CreateVmInstanceRequest) String

func (x *CreateVmInstanceRequest) String() string

type Criteria

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

A short summary capturing the quality guarantee validated by the Test, Suite, SuiteSet, etc.

func (*Criteria) Descriptor deprecated

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

Deprecated: Use Criteria.ProtoReflect.Descriptor instead.

func (*Criteria) GetValue

func (x *Criteria) GetValue() string

func (*Criteria) ProtoMessage

func (*Criteria) ProtoMessage()

func (*Criteria) ProtoReflect

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

func (*Criteria) Reset

func (x *Criteria) Reset()

func (*Criteria) String

func (x *Criteria) String() string

type CrosDutTemplate

type CrosDutTemplate struct {

	// Cache server address
	CacheServer *api.IpEndpoint `protobuf:"bytes,3,opt,name=cache_server,json=cacheServer,proto3" json:"cache_server,omitempty"`
	// Dut ssh address
	DutAddress *api.IpEndpoint `protobuf:"bytes,4,opt,name=dut_address,json=dutAddress,proto3" json:"dut_address,omitempty"`
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of cros-dut container. All fields are required.

func (*CrosDutTemplate) Descriptor deprecated

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

Deprecated: Use CrosDutTemplate.ProtoReflect.Descriptor instead.

func (*CrosDutTemplate) GetCacheServer

func (x *CrosDutTemplate) GetCacheServer() *api.IpEndpoint

func (*CrosDutTemplate) GetDutAddress

func (x *CrosDutTemplate) GetDutAddress() *api.IpEndpoint

func (*CrosDutTemplate) ProtoMessage

func (*CrosDutTemplate) ProtoMessage()

func (*CrosDutTemplate) ProtoReflect

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

func (*CrosDutTemplate) Reset

func (x *CrosDutTemplate) Reset()

func (*CrosDutTemplate) String

func (x *CrosDutTemplate) String() string

type CrosFirmwareProvisionTemplate

type CrosFirmwareProvisionTemplate struct {
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of cros-fw-provision container.

func (*CrosFirmwareProvisionTemplate) Descriptor deprecated

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

Deprecated: Use CrosFirmwareProvisionTemplate.ProtoReflect.Descriptor instead.

func (*CrosFirmwareProvisionTemplate) ProtoMessage

func (*CrosFirmwareProvisionTemplate) ProtoMessage()

func (*CrosFirmwareProvisionTemplate) ProtoReflect

func (*CrosFirmwareProvisionTemplate) Reset

func (x *CrosFirmwareProvisionTemplate) Reset()

func (*CrosFirmwareProvisionTemplate) String

type CrosProvisionRequest

type CrosProvisionRequest struct {

	// DUT information.
	Dut *api.Dut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
	// Provision state is pass through request to the provision service.
	ProvisionState *ProvisionState `protobuf:"bytes,2,opt,name=provision_state,json=provisionState,proto3" json:"provision_state,omitempty"`
	// Address of the DUT Server.
	DutServer *api.IpEndpoint `protobuf:"bytes,3,opt,name=dut_server,json=dutServer,proto3" json:"dut_server,omitempty"`
	// Address of the server that provide inventory service.
	InventoryServer *api.IpEndpoint `protobuf:"bytes,4,opt,name=inventory_server,json=inventoryServer,proto3" json:"inventory_server,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosProvisionRequest) Descriptor deprecated

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

Deprecated: Use CrosProvisionRequest.ProtoReflect.Descriptor instead.

func (*CrosProvisionRequest) GetDut

func (x *CrosProvisionRequest) GetDut() *api.Dut

func (*CrosProvisionRequest) GetDutServer

func (x *CrosProvisionRequest) GetDutServer() *api.IpEndpoint

func (*CrosProvisionRequest) GetInventoryServer

func (x *CrosProvisionRequest) GetInventoryServer() *api.IpEndpoint

func (*CrosProvisionRequest) GetProvisionState

func (x *CrosProvisionRequest) GetProvisionState() *ProvisionState

func (*CrosProvisionRequest) ProtoMessage

func (*CrosProvisionRequest) ProtoMessage()

func (*CrosProvisionRequest) ProtoReflect

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

func (*CrosProvisionRequest) Reset

func (x *CrosProvisionRequest) Reset()

func (*CrosProvisionRequest) String

func (x *CrosProvisionRequest) String() string

type CrosProvisionResponse

type CrosProvisionResponse struct {
	Id *api.Dut_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Outcome represents the result of performing provisioning on the DUT.
	//
	// Types that are assignable to Outcome:
	//	*CrosProvisionResponse_Success
	//	*CrosProvisionResponse_Failure
	Outcome isCrosProvisionResponse_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*CrosProvisionResponse) Descriptor deprecated

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

Deprecated: Use CrosProvisionResponse.ProtoReflect.Descriptor instead.

func (*CrosProvisionResponse) GetFailure

func (x *CrosProvisionResponse) GetFailure() *InstallFailure

func (*CrosProvisionResponse) GetId

func (x *CrosProvisionResponse) GetId() *api.Dut_Id

func (*CrosProvisionResponse) GetOutcome

func (m *CrosProvisionResponse) GetOutcome() isCrosProvisionResponse_Outcome

func (*CrosProvisionResponse) GetSuccess

func (x *CrosProvisionResponse) GetSuccess() *InstallSuccess

func (*CrosProvisionResponse) ProtoMessage

func (*CrosProvisionResponse) ProtoMessage()

func (*CrosProvisionResponse) ProtoReflect

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

func (*CrosProvisionResponse) Reset

func (x *CrosProvisionResponse) Reset()

func (*CrosProvisionResponse) String

func (x *CrosProvisionResponse) String() string

type CrosProvisionResponse_Failure

type CrosProvisionResponse_Failure struct {
	Failure *InstallFailure `protobuf:"bytes,3,opt,name=failure,proto3,oneof"`
}

type CrosProvisionResponse_Success

type CrosProvisionResponse_Success struct {
	Success *InstallSuccess `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}

type CrosProvisionTemplate

type CrosProvisionTemplate struct {

	// CrosProvisionRequest payload can have template placeholders, to be populated
	// and write to a json file inside the artifact directory and pass along to
	// cros-provision server. Note that inventory_server is no longer needed
	InputRequest *CrosProvisionRequest `protobuf:"bytes,3,opt,name=input_request,json=inputRequest,proto3" json:"input_request,omitempty"`
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of cros-provision container. All fields are required.

func (*CrosProvisionTemplate) Descriptor deprecated

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

Deprecated: Use CrosProvisionTemplate.ProtoReflect.Descriptor instead.

func (*CrosProvisionTemplate) GetInputRequest

func (x *CrosProvisionTemplate) GetInputRequest() *CrosProvisionRequest

func (*CrosProvisionTemplate) ProtoMessage

func (*CrosProvisionTemplate) ProtoMessage()

func (*CrosProvisionTemplate) ProtoReflect

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

func (*CrosProvisionTemplate) Reset

func (x *CrosProvisionTemplate) Reset()

func (*CrosProvisionTemplate) String

func (x *CrosProvisionTemplate) String() string

type CrosPublishRequest

type CrosPublishRequest struct {

	// GS path to upload to, e.g. gs://foo/bar/baz/
	GsDirectory string `protobuf:"bytes,1,opt,name=gs_directory,json=gsDirectory,proto3" json:"gs_directory,omitempty"`
	// Absolute path to local directory to upload to GS, e.g. /usr/local/foo/bar
	LocalDirectory string `protobuf:"bytes,2,opt,name=local_directory,json=localDirectory,proto3" json:"local_directory,omitempty"`
	// contains filtered or unexported fields
}

CrosPublishRequest specifies a local directory that will be uploaded to a GS path. NEXT TAG: 3

func (*CrosPublishRequest) Descriptor deprecated

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

Deprecated: Use CrosPublishRequest.ProtoReflect.Descriptor instead.

func (*CrosPublishRequest) GetGsDirectory

func (x *CrosPublishRequest) GetGsDirectory() string

func (*CrosPublishRequest) GetLocalDirectory

func (x *CrosPublishRequest) GetLocalDirectory() string

func (*CrosPublishRequest) ProtoMessage

func (*CrosPublishRequest) ProtoMessage()

func (*CrosPublishRequest) ProtoReflect

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

func (*CrosPublishRequest) Reset

func (x *CrosPublishRequest) Reset()

func (*CrosPublishRequest) String

func (x *CrosPublishRequest) String() string

type CrosPublishResponse

type CrosPublishResponse struct {

	// URL of Google Storage location containing offloaded files
	GsUrl string `protobuf:"bytes,1,opt,name=gs_url,json=gsUrl,proto3" json:"gs_url,omitempty"`
	// If the publish process finished successfully or not.
	Error bool `protobuf:"varint,2,opt,name=error,proto3" json:"error,omitempty"`
	// Error message when the publish process failed.
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

CrosPublishResponse includes the GS url for the uploaded data. If failed, populates the error message. NEXT TAG: 4

func (*CrosPublishResponse) Descriptor deprecated

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

Deprecated: Use CrosPublishResponse.ProtoReflect.Descriptor instead.

func (*CrosPublishResponse) GetError

func (x *CrosPublishResponse) GetError() bool

func (*CrosPublishResponse) GetErrorMessage

func (x *CrosPublishResponse) GetErrorMessage() string

func (*CrosPublishResponse) GetGsUrl

func (x *CrosPublishResponse) GetGsUrl() string

func (*CrosPublishResponse) ProtoMessage

func (*CrosPublishResponse) ProtoMessage()

func (*CrosPublishResponse) ProtoReflect

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

func (*CrosPublishResponse) Reset

func (x *CrosPublishResponse) Reset()

func (*CrosPublishResponse) String

func (x *CrosPublishResponse) String() string

type CrosPublishTemplate

type CrosPublishTemplate struct {
	PublishType CrosPublishTemplate_PublishType `` /* 152-byte string literal not displayed */
	// Source directory of artifacts that needs to be published.
	// If provided, will be mounted to "/tmp/<publish_type>-publish-test-artifacts/"
	// (Ex: gcs-publish-test-artifacts). Required for GCS, TKO, and CPCON publish types.
	PublishSrcDir string `protobuf:"bytes,2,opt,name=publish_src_dir,json=publishSrcDir,proto3" json:"publish_src_dir,omitempty"`
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of cros-publish container. publish_type is required. publish_src_dir is required for GCS, TKO, and CPCON publish types.

func (*CrosPublishTemplate) Descriptor deprecated

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

Deprecated: Use CrosPublishTemplate.ProtoReflect.Descriptor instead.

func (*CrosPublishTemplate) GetPublishSrcDir

func (x *CrosPublishTemplate) GetPublishSrcDir() string

func (*CrosPublishTemplate) GetPublishType

func (*CrosPublishTemplate) ProtoMessage

func (*CrosPublishTemplate) ProtoMessage()

func (*CrosPublishTemplate) ProtoReflect

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

func (*CrosPublishTemplate) Reset

func (x *CrosPublishTemplate) Reset()

func (*CrosPublishTemplate) String

func (x *CrosPublishTemplate) String() string

type CrosPublishTemplate_PublishType

type CrosPublishTemplate_PublishType int32
const (
	CrosPublishTemplate_PUBLISH_UNSPECIFIED CrosPublishTemplate_PublishType = 0
	CrosPublishTemplate_PUBLISH_GCS         CrosPublishTemplate_PublishType = 1
	CrosPublishTemplate_PUBLISH_TKO         CrosPublishTemplate_PublishType = 2
	CrosPublishTemplate_PUBLISH_RDB         CrosPublishTemplate_PublishType = 3
	CrosPublishTemplate_PUBLISH_CPCON       CrosPublishTemplate_PublishType = 4
)

func (CrosPublishTemplate_PublishType) Descriptor

func (CrosPublishTemplate_PublishType) Enum

func (CrosPublishTemplate_PublishType) EnumDescriptor deprecated

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

Deprecated: Use CrosPublishTemplate_PublishType.Descriptor instead.

func (CrosPublishTemplate_PublishType) Number

func (CrosPublishTemplate_PublishType) String

func (CrosPublishTemplate_PublishType) Type

type CrosTestFinderRequest

type CrosTestFinderRequest struct {

	// Test suites to run (by tag or explicit list of tests).
	TestSuites []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// Set this bool to true to get result with test metadata. Response will have
	// Test suites with TestCaseMetadataList instead of TestCaseList.
	MetadataRequired bool `protobuf:"varint,2,opt,name=metadata_required,json=metadataRequired,proto3" json:"metadata_required,omitempty"`
	// Specifies the Suite ID or SuiteSet ID to get tests for (cannot specify the
	// test_suites field if the centralized_suite field is specified and vise
	// versa)
	CentralizedSuite string `protobuf:"bytes,3,opt,name=centralized_suite,json=centralizedSuite,proto3" json:"centralized_suite,omitempty"`
	// contains filtered or unexported fields
}

CrosTestFinderRequest specifies test suites with or without tags.

func (*CrosTestFinderRequest) Descriptor deprecated

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

Deprecated: Use CrosTestFinderRequest.ProtoReflect.Descriptor instead.

func (*CrosTestFinderRequest) GetCentralizedSuite

func (x *CrosTestFinderRequest) GetCentralizedSuite() string

func (*CrosTestFinderRequest) GetMetadataRequired

func (x *CrosTestFinderRequest) GetMetadataRequired() bool

func (*CrosTestFinderRequest) GetTestSuites

func (x *CrosTestFinderRequest) GetTestSuites() []*TestSuite

func (*CrosTestFinderRequest) ProtoMessage

func (*CrosTestFinderRequest) ProtoMessage()

func (*CrosTestFinderRequest) ProtoReflect

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

func (*CrosTestFinderRequest) Reset

func (x *CrosTestFinderRequest) Reset()

func (*CrosTestFinderRequest) String

func (x *CrosTestFinderRequest) String() string

type CrosTestFinderResponse

type CrosTestFinderResponse struct {

	// Test suites to run (explicit list of tests).
	TestSuites []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosTestFinderResponse) Descriptor deprecated

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

Deprecated: Use CrosTestFinderResponse.ProtoReflect.Descriptor instead.

func (*CrosTestFinderResponse) GetTestSuites

func (x *CrosTestFinderResponse) GetTestSuites() []*TestSuite

func (*CrosTestFinderResponse) ProtoMessage

func (*CrosTestFinderResponse) ProtoMessage()

func (*CrosTestFinderResponse) ProtoReflect

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

func (*CrosTestFinderResponse) Reset

func (x *CrosTestFinderResponse) Reset()

func (*CrosTestFinderResponse) String

func (x *CrosTestFinderResponse) String() string

type CrosTestFinderTemplate

type CrosTestFinderTemplate struct {
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of cros-test-finder container. All fields are required.

func (*CrosTestFinderTemplate) Descriptor deprecated

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

Deprecated: Use CrosTestFinderTemplate.ProtoReflect.Descriptor instead.

func (*CrosTestFinderTemplate) ProtoMessage

func (*CrosTestFinderTemplate) ProtoMessage()

func (*CrosTestFinderTemplate) ProtoReflect

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

func (*CrosTestFinderTemplate) Reset

func (x *CrosTestFinderTemplate) Reset()

func (*CrosTestFinderTemplate) String

func (x *CrosTestFinderTemplate) String() string

type CrosTestReadyConfig

type CrosTestReadyConfig struct {

	// Checksum specifies the files to be checked and their expected checksums.
	Checksums []*CrosTestReadyConfig_KeyValue `protobuf:"bytes,1,rep,name=checksums,proto3" json:"checksums,omitempty"`
	// contains filtered or unexported fields
}

CrosTestReadyConfig specifies what conditions needed to be checked to determine if a DUT is test ready information to run tests.

func (*CrosTestReadyConfig) Descriptor deprecated

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

Deprecated: Use CrosTestReadyConfig.ProtoReflect.Descriptor instead.

func (*CrosTestReadyConfig) GetChecksums

func (*CrosTestReadyConfig) ProtoMessage

func (*CrosTestReadyConfig) ProtoMessage()

func (*CrosTestReadyConfig) ProtoReflect

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

func (*CrosTestReadyConfig) Reset

func (x *CrosTestReadyConfig) Reset()

func (*CrosTestReadyConfig) String

func (x *CrosTestReadyConfig) String() string

type CrosTestReadyConfig_KeyValue

type CrosTestReadyConfig_KeyValue struct {

	// Key specifies the key of a configuration parameter.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value specifies the string value of a configuration parameter.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosTestReadyConfig_KeyValue) Descriptor deprecated

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

Deprecated: Use CrosTestReadyConfig_KeyValue.ProtoReflect.Descriptor instead.

func (*CrosTestReadyConfig_KeyValue) GetKey

func (*CrosTestReadyConfig_KeyValue) GetValue

func (x *CrosTestReadyConfig_KeyValue) GetValue() string

func (*CrosTestReadyConfig_KeyValue) ProtoMessage

func (*CrosTestReadyConfig_KeyValue) ProtoMessage()

func (*CrosTestReadyConfig_KeyValue) ProtoReflect

func (*CrosTestReadyConfig_KeyValue) Reset

func (x *CrosTestReadyConfig_KeyValue) Reset()

func (*CrosTestReadyConfig_KeyValue) String

type CrosTestRequest

type CrosTestRequest struct {

	// Test suites to run (by tag or explicit list of tests)
	TestSuites []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// Primary DUT
	Primary *CrosTestRequest_Device `protobuf:"bytes,2,opt,name=primary,proto3" json:"primary,omitempty"`
	// A list of companion hosts to be used for running tests.
	Companions []*CrosTestRequest_Device `protobuf:"bytes,3,rep,name=companions,proto3" json:"companions,omitempty"`
	// Inventory Server address.
	InventoryServer *api.IpEndpoint `protobuf:"bytes,4,opt,name=inventory_server,json=inventoryServer,proto3" json:"inventory_server,omitempty"`
	// Test harness specific metadata
	Metadata *anypb.Any `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Generic args which will be directly passed to the harness. The driver is responsible for handling them
	Args []*Arg `protobuf:"bytes,6,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

CrosTestRequest specifies test suites, DUTs and other test-related information to run tests.

func (*CrosTestRequest) Descriptor deprecated

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

Deprecated: Use CrosTestRequest.ProtoReflect.Descriptor instead.

func (*CrosTestRequest) GetArgs

func (x *CrosTestRequest) GetArgs() []*Arg

func (*CrosTestRequest) GetCompanions

func (x *CrosTestRequest) GetCompanions() []*CrosTestRequest_Device

func (*CrosTestRequest) GetInventoryServer

func (x *CrosTestRequest) GetInventoryServer() *api.IpEndpoint

func (*CrosTestRequest) GetMetadata

func (x *CrosTestRequest) GetMetadata() *anypb.Any

func (*CrosTestRequest) GetPrimary

func (x *CrosTestRequest) GetPrimary() *CrosTestRequest_Device

func (*CrosTestRequest) GetTestSuites

func (x *CrosTestRequest) GetTestSuites() []*TestSuite

func (*CrosTestRequest) ProtoMessage

func (*CrosTestRequest) ProtoMessage()

func (*CrosTestRequest) ProtoReflect

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

func (*CrosTestRequest) Reset

func (x *CrosTestRequest) Reset()

func (*CrosTestRequest) String

func (x *CrosTestRequest) String() string

type CrosTestRequest_Device

type CrosTestRequest_Device struct {

	// DUT information.
	Dut *api.Dut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
	// DUT Server address.
	DutServer *api.IpEndpoint `protobuf:"bytes,2,opt,name=dut_server,json=dutServer,proto3" json:"dut_server,omitempty"`
	// Provision server address.
	ProvisionServer *api.IpEndpoint `protobuf:"bytes,3,opt,name=provision_server,json=provisionServer,proto3" json:"provision_server,omitempty"`
	// TestLibs server address.
	LibsServer *api.IpEndpoint `protobuf:"bytes,4,opt,name=libs_server,json=libsServer,proto3" json:"libs_server,omitempty"`
	// Devboard server address.
	DevboardServer *api.IpEndpoint `protobuf:"bytes,5,opt,name=devboard_server,json=devboardServer,proto3" json:"devboard_server,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosTestRequest_Device) Descriptor deprecated

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

Deprecated: Use CrosTestRequest_Device.ProtoReflect.Descriptor instead.

func (*CrosTestRequest_Device) GetDevboardServer

func (x *CrosTestRequest_Device) GetDevboardServer() *api.IpEndpoint

func (*CrosTestRequest_Device) GetDut

func (x *CrosTestRequest_Device) GetDut() *api.Dut

func (*CrosTestRequest_Device) GetDutServer

func (x *CrosTestRequest_Device) GetDutServer() *api.IpEndpoint

func (*CrosTestRequest_Device) GetLibsServer

func (x *CrosTestRequest_Device) GetLibsServer() *api.IpEndpoint

func (*CrosTestRequest_Device) GetProvisionServer

func (x *CrosTestRequest_Device) GetProvisionServer() *api.IpEndpoint

func (*CrosTestRequest_Device) ProtoMessage

func (*CrosTestRequest_Device) ProtoMessage()

func (*CrosTestRequest_Device) ProtoReflect

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

func (*CrosTestRequest_Device) Reset

func (x *CrosTestRequest_Device) Reset()

func (*CrosTestRequest_Device) String

func (x *CrosTestRequest_Device) String() string

type CrosTestResponse

type CrosTestResponse struct {
	TestCaseResults []*TestCaseResult `protobuf:"bytes,1,rep,name=test_case_results,json=testCaseResults,proto3" json:"test_case_results,omitempty"`
	Metadata        *anypb.Any        `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosTestResponse) Descriptor deprecated

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

Deprecated: Use CrosTestResponse.ProtoReflect.Descriptor instead.

func (*CrosTestResponse) GetMetadata

func (x *CrosTestResponse) GetMetadata() *anypb.Any

func (*CrosTestResponse) GetTestCaseResults

func (x *CrosTestResponse) GetTestCaseResults() []*TestCaseResult

func (*CrosTestResponse) ProtoMessage

func (*CrosTestResponse) ProtoMessage()

func (*CrosTestResponse) ProtoReflect

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

func (*CrosTestResponse) Reset

func (x *CrosTestResponse) Reset()

func (*CrosTestResponse) String

func (x *CrosTestResponse) String() string

type CrosTestRunnerDynamicRequest

type CrosTestRunnerDynamicRequest struct {

	// Types that are assignable to StartRequest:
	//	*CrosTestRunnerDynamicRequest_Build
	StartRequest isCrosTestRunnerDynamicRequest_StartRequest `protobuf_oneof:"start_request"`
	Params       *CrosTestRunnerParams                       `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"`
	OrderedTasks []*CrosTestRunnerDynamicRequest_Task        `protobuf:"bytes,4,rep,name=ordered_tasks,json=orderedTasks,proto3" json:"ordered_tasks,omitempty"`
	// contains filtered or unexported fields
}

CrosTestRunnerDynamicRequest is an input to CrosTestRunner that provides greater flexibility in regards to the variability and order by which test runner tasks are executed.

next number = 5;

func (*CrosTestRunnerDynamicRequest) Descriptor deprecated

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

Deprecated: Use CrosTestRunnerDynamicRequest.ProtoReflect.Descriptor instead.

func (*CrosTestRunnerDynamicRequest) GetBuild

func (x *CrosTestRunnerDynamicRequest) GetBuild() *BuildMode

func (*CrosTestRunnerDynamicRequest) GetOrderedTasks

func (*CrosTestRunnerDynamicRequest) GetParams

func (*CrosTestRunnerDynamicRequest) GetStartRequest

func (m *CrosTestRunnerDynamicRequest) GetStartRequest() isCrosTestRunnerDynamicRequest_StartRequest

func (*CrosTestRunnerDynamicRequest) ProtoMessage

func (*CrosTestRunnerDynamicRequest) ProtoMessage()

func (*CrosTestRunnerDynamicRequest) ProtoReflect

func (*CrosTestRunnerDynamicRequest) Reset

func (x *CrosTestRunnerDynamicRequest) Reset()

func (*CrosTestRunnerDynamicRequest) String

type CrosTestRunnerDynamicRequest_Build

type CrosTestRunnerDynamicRequest_Build struct {
	Build *BuildMode `protobuf:"bytes,1,opt,name=build,proto3,oneof"`
}

type CrosTestRunnerDynamicRequest_Task

type CrosTestRunnerDynamicRequest_Task struct {

	// List of containers to run for this task.
	// ie container for cros-dut, then for cros-provision.
	OrderedContainerRequests []*ContainerRequest `` /* 135-byte string literal not displayed */
	// Types that are assignable to Task:
	//	*CrosTestRunnerDynamicRequest_Task_Provision
	//	*CrosTestRunnerDynamicRequest_Task_PreTest
	//	*CrosTestRunnerDynamicRequest_Task_Test
	//	*CrosTestRunnerDynamicRequest_Task_PostTest
	//	*CrosTestRunnerDynamicRequest_Task_Publish
	//	*CrosTestRunnerDynamicRequest_Task_Generic
	Task     isCrosTestRunnerDynamicRequest_Task_Task `protobuf_oneof:"task"`
	Required bool                                     `protobuf:"varint,7,opt,name=required,proto3" json:"required,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosTestRunnerDynamicRequest_Task) Descriptor deprecated

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

Deprecated: Use CrosTestRunnerDynamicRequest_Task.ProtoReflect.Descriptor instead.

func (*CrosTestRunnerDynamicRequest_Task) GetGeneric

func (*CrosTestRunnerDynamicRequest_Task) GetOrderedContainerRequests

func (x *CrosTestRunnerDynamicRequest_Task) GetOrderedContainerRequests() []*ContainerRequest

func (*CrosTestRunnerDynamicRequest_Task) GetPostTest

func (*CrosTestRunnerDynamicRequest_Task) GetPreTest

func (*CrosTestRunnerDynamicRequest_Task) GetProvision

func (*CrosTestRunnerDynamicRequest_Task) GetPublish

func (*CrosTestRunnerDynamicRequest_Task) GetRequired

func (x *CrosTestRunnerDynamicRequest_Task) GetRequired() bool

func (*CrosTestRunnerDynamicRequest_Task) GetTask

func (m *CrosTestRunnerDynamicRequest_Task) GetTask() isCrosTestRunnerDynamicRequest_Task_Task

func (*CrosTestRunnerDynamicRequest_Task) GetTest

func (*CrosTestRunnerDynamicRequest_Task) ProtoMessage

func (*CrosTestRunnerDynamicRequest_Task) ProtoMessage()

func (*CrosTestRunnerDynamicRequest_Task) ProtoReflect

func (*CrosTestRunnerDynamicRequest_Task) Reset

func (*CrosTestRunnerDynamicRequest_Task) String

type CrosTestRunnerDynamicRequest_Task_Generic

type CrosTestRunnerDynamicRequest_Task_Generic struct {
	Generic *GenericTask `protobuf:"bytes,8,opt,name=generic,proto3,oneof"`
}

type CrosTestRunnerDynamicRequest_Task_PostTest

type CrosTestRunnerDynamicRequest_Task_PostTest struct {
	PostTest *PostTestTask `protobuf:"bytes,5,opt,name=post_test,json=postTest,proto3,oneof"`
}

type CrosTestRunnerDynamicRequest_Task_PreTest

type CrosTestRunnerDynamicRequest_Task_PreTest struct {
	PreTest *PreTestTask `protobuf:"bytes,3,opt,name=pre_test,json=preTest,proto3,oneof"`
}

type CrosTestRunnerDynamicRequest_Task_Provision

type CrosTestRunnerDynamicRequest_Task_Provision struct {
	Provision *ProvisionTask `protobuf:"bytes,2,opt,name=provision,proto3,oneof"`
}

type CrosTestRunnerDynamicRequest_Task_Publish

type CrosTestRunnerDynamicRequest_Task_Publish struct {
	Publish *PublishTask `protobuf:"bytes,6,opt,name=publish,proto3,oneof"`
}

type CrosTestRunnerDynamicRequest_Task_Test

type CrosTestRunnerDynamicRequest_Task_Test struct {
	Test *TestTask `protobuf:"bytes,4,opt,name=test,proto3,oneof"`
}

type CrosTestRunnerParams

type CrosTestRunnerParams struct {
	TestSuites []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// Container metadata to be used in test execution.
	ContainerMetadata *api.ContainerMetadata `protobuf:"bytes,2,opt,name=container_metadata,json=containerMetadata,proto3" json:"container_metadata,omitempty"`
	// Keyvals are (key, value) pairs
	Keyvals map[string]string `` /* 155-byte string literal not displayed */
	// Key to grab container info.
	ContainerMetadataKey string `protobuf:"bytes,4,opt,name=container_metadata_key,json=containerMetadataKey,proto3" json:"container_metadata_key,omitempty"`
	// Board and model of the primary dut.
	PrimaryDut *api1.DutModel `protobuf:"bytes,5,opt,name=primary_dut,json=primaryDut,proto3" json:"primary_dut,omitempty"`
	// Boards and models of the companion duts.
	CompanionDuts []*api1.DutModel `protobuf:"bytes,6,rep,name=companion_duts,json=companionDuts,proto3" json:"companion_duts,omitempty"`
	// contains filtered or unexported fields
}

Common parameters to include when sending a CrosTestRunnerDynamicRequest

func (*CrosTestRunnerParams) Descriptor deprecated

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

Deprecated: Use CrosTestRunnerParams.ProtoReflect.Descriptor instead.

func (*CrosTestRunnerParams) GetCompanionDuts

func (x *CrosTestRunnerParams) GetCompanionDuts() []*api1.DutModel

func (*CrosTestRunnerParams) GetContainerMetadata

func (x *CrosTestRunnerParams) GetContainerMetadata() *api.ContainerMetadata

func (*CrosTestRunnerParams) GetContainerMetadataKey

func (x *CrosTestRunnerParams) GetContainerMetadataKey() string

func (*CrosTestRunnerParams) GetKeyvals

func (x *CrosTestRunnerParams) GetKeyvals() map[string]string

func (*CrosTestRunnerParams) GetPrimaryDut

func (x *CrosTestRunnerParams) GetPrimaryDut() *api1.DutModel

func (*CrosTestRunnerParams) GetTestSuites

func (x *CrosTestRunnerParams) GetTestSuites() []*TestSuite

func (*CrosTestRunnerParams) ProtoMessage

func (*CrosTestRunnerParams) ProtoMessage()

func (*CrosTestRunnerParams) ProtoReflect

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

func (*CrosTestRunnerParams) Reset

func (x *CrosTestRunnerParams) Reset()

func (*CrosTestRunnerParams) String

func (x *CrosTestRunnerParams) String() string

type CrosTestRunnerRequest

type CrosTestRunnerRequest struct {
	// contains filtered or unexported fields
}

func (*CrosTestRunnerRequest) Descriptor deprecated

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

Deprecated: Use CrosTestRunnerRequest.ProtoReflect.Descriptor instead.

func (*CrosTestRunnerRequest) ProtoMessage

func (*CrosTestRunnerRequest) ProtoMessage()

func (*CrosTestRunnerRequest) ProtoReflect

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

func (*CrosTestRunnerRequest) Reset

func (x *CrosTestRunnerRequest) Reset()

func (*CrosTestRunnerRequest) String

func (x *CrosTestRunnerRequest) String() string

type CrosTestRunnerServiceClient

type CrosTestRunnerServiceClient interface {
	// Executes the given tests on the given dut
	Run(ctx context.Context, in *RunCrosTestRequest, opts ...grpc.CallOption) (*RunCrosTestResponse, error)
}

CrosTestRunnerServiceClient is the client API for CrosTestRunnerService 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 CrosTestRunnerServiceServer

type CrosTestRunnerServiceServer interface {
	// Executes the given tests on the given dut
	Run(context.Context, *RunCrosTestRequest) (*RunCrosTestResponse, error)
}

CrosTestRunnerServiceServer is the server API for CrosTestRunnerService service. All implementations should embed UnimplementedCrosTestRunnerServiceServer for forward compatibility

type CrosTestTemplate

type CrosTestTemplate struct {
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of cros-test container. network and artifact_dir in the StartTemplatedContainer message are required. artifact_dir: Host directory, two sub-directories will be created and mounted into the container. `<artifact_dir>/cros-test/cros-test` for logs and `<artifact_dir>/cros-test/results` for result artifacts to be published

func (*CrosTestTemplate) Descriptor deprecated

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

Deprecated: Use CrosTestTemplate.ProtoReflect.Descriptor instead.

func (*CrosTestTemplate) ProtoMessage

func (*CrosTestTemplate) ProtoMessage()

func (*CrosTestTemplate) ProtoReflect

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

func (*CrosTestTemplate) Reset

func (x *CrosTestTemplate) Reset()

func (*CrosTestTemplate) String

func (x *CrosTestTemplate) String() string

type CrosToolRunnerContainerServiceClient

type CrosToolRunnerContainerServiceClient interface {
	// Creates a docker network
	CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error)
	// Retrieves info of a docker network
	GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error)
	// Shuts down CTR container service
	Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error)
	// Logs in a docker image registry server
	// Call LoginRegistry before StartContainer to avoid permission denied errors.
	// For login GCR, a client is required to run proper `gcloud auth` command to
	// generate a token. For service account, the command is `gcloud auth
	// activate-service-account`; for local development, the command is `gcloud
	// auth login`.
	// Note that the token is short lived for an hour.
	LoginRegistry(ctx context.Context, in *LoginRegistryRequest, opts ...grpc.CallOption) (*LoginRegistryResponse, error)
	// Runs a docker container with the provided start command.
	// This assumes docker is already authenticated to pull the supplied image.
	// The container will run in detached mode (-d); all exposed ports will be
	// published to a random port on host (-P); and the container will be removed
	// after it stops (--rm).
	// StartContainer always returns a success response (for valid requests) as
	// detached mode starts a container in the background. Clients may call
	// GetContainer to verify the container has successfully started before use.
	StartContainer(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*StartContainerResponse, error)
	// Runs a docker container that has a template implemented. A template
	// simplifies the data required in the request, and provides placeholders to
	// populate information that is only known at runtime. E.g. dynamically mapped
	// port number, IP address of a container.
	// A template implementation converts the request to the generic
	// StartContainer endpoint, and returns the generic StartContainerResponse.
	StartTemplatedContainer(ctx context.Context, in *StartTemplatedContainerRequest, opts ...grpc.CallOption) (*StartContainerResponse, error)
	// Executes a stack of commands in order. Only certain commands are supported.
	StackCommands(ctx context.Context, in *StackCommandsRequest, opts ...grpc.CallOption) (*StackCommandsResponse, error)
	// Retrieves information of a container
	GetContainer(ctx context.Context, in *GetContainerRequest, opts ...grpc.CallOption) (*GetContainerResponse, error)
}

CrosToolRunnerContainerServiceClient is the client API for CrosToolRunnerContainerService 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 CrosToolRunnerContainerServiceServer

type CrosToolRunnerContainerServiceServer interface {
	// Creates a docker network
	CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error)
	// Retrieves info of a docker network
	GetNetwork(context.Context, *GetNetworkRequest) (*GetNetworkResponse, error)
	// Shuts down CTR container service
	Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
	// Logs in a docker image registry server
	// Call LoginRegistry before StartContainer to avoid permission denied errors.
	// For login GCR, a client is required to run proper `gcloud auth` command to
	// generate a token. For service account, the command is `gcloud auth
	// activate-service-account`; for local development, the command is `gcloud
	// auth login`.
	// Note that the token is short lived for an hour.
	LoginRegistry(context.Context, *LoginRegistryRequest) (*LoginRegistryResponse, error)
	// Runs a docker container with the provided start command.
	// This assumes docker is already authenticated to pull the supplied image.
	// The container will run in detached mode (-d); all exposed ports will be
	// published to a random port on host (-P); and the container will be removed
	// after it stops (--rm).
	// StartContainer always returns a success response (for valid requests) as
	// detached mode starts a container in the background. Clients may call
	// GetContainer to verify the container has successfully started before use.
	StartContainer(context.Context, *StartContainerRequest) (*StartContainerResponse, error)
	// Runs a docker container that has a template implemented. A template
	// simplifies the data required in the request, and provides placeholders to
	// populate information that is only known at runtime. E.g. dynamically mapped
	// port number, IP address of a container.
	// A template implementation converts the request to the generic
	// StartContainer endpoint, and returns the generic StartContainerResponse.
	StartTemplatedContainer(context.Context, *StartTemplatedContainerRequest) (*StartContainerResponse, error)
	// Executes a stack of commands in order. Only certain commands are supported.
	StackCommands(context.Context, *StackCommandsRequest) (*StackCommandsResponse, error)
	// Retrieves information of a container
	GetContainer(context.Context, *GetContainerRequest) (*GetContainerResponse, error)
}

CrosToolRunnerContainerServiceServer is the server API for CrosToolRunnerContainerService service. All implementations should embed UnimplementedCrosToolRunnerContainerServiceServer for forward compatibility

type CrosToolRunnerPostTestRequest

type CrosToolRunnerPostTestRequest struct {

	// The path of directory that will store all the post-test-request artifacts.
	ArtifactDir string `protobuf:"bytes,1,opt,name=artifact_dir,json=artifactDir,proto3" json:"artifact_dir,omitempty"`
	// ContainerMetadataKey is the key to search in the ContainerMetadata map
	// defined in container_metadata.proto
	ContainerMetadataKey string `protobuf:"bytes,2,opt,name=container_metadata_key,json=containerMetadataKey,proto3" json:"container_metadata_key,omitempty"`
	// The caller should construct the entire request to go to the service.
	Request *RunActivitiesRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// Primary DUT.
	PrimaryDut *CrosToolRunnerPostTestRequest_Device `protobuf:"bytes,4,opt,name=primary_dut,json=primaryDut,proto3" json:"primary_dut,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosToolRunnerPostTestRequest) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerPostTestRequest.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerPostTestRequest) GetArtifactDir

func (x *CrosToolRunnerPostTestRequest) GetArtifactDir() string

func (*CrosToolRunnerPostTestRequest) GetContainerMetadataKey

func (x *CrosToolRunnerPostTestRequest) GetContainerMetadataKey() string

func (*CrosToolRunnerPostTestRequest) GetPrimaryDut

func (*CrosToolRunnerPostTestRequest) GetRequest

func (*CrosToolRunnerPostTestRequest) ProtoMessage

func (*CrosToolRunnerPostTestRequest) ProtoMessage()

func (*CrosToolRunnerPostTestRequest) ProtoReflect

func (*CrosToolRunnerPostTestRequest) Reset

func (x *CrosToolRunnerPostTestRequest) Reset()

func (*CrosToolRunnerPostTestRequest) String

type CrosToolRunnerPostTestRequest_Device

type CrosToolRunnerPostTestRequest_Device struct {

	// DUT to be used in test execution.
	Dut *api.Dut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
	// ContainerMetadataKey is the key to search in the ContainerMetadata map
	// defined in container_metadata.proto
	ContainerMetadataKey string `protobuf:"bytes,2,opt,name=container_metadata_key,json=containerMetadataKey,proto3" json:"container_metadata_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosToolRunnerPostTestRequest_Device) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerPostTestRequest_Device.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerPostTestRequest_Device) GetContainerMetadataKey

func (x *CrosToolRunnerPostTestRequest_Device) GetContainerMetadataKey() string

func (*CrosToolRunnerPostTestRequest_Device) GetDut

func (*CrosToolRunnerPostTestRequest_Device) ProtoMessage

func (*CrosToolRunnerPostTestRequest_Device) ProtoMessage()

func (*CrosToolRunnerPostTestRequest_Device) ProtoReflect

func (*CrosToolRunnerPostTestRequest_Device) Reset

func (*CrosToolRunnerPostTestRequest_Device) String

type CrosToolRunnerPostTestResponse

type CrosToolRunnerPostTestResponse struct {

	// Service response from the caller.
	Response *RunActivitiesResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosToolRunnerPostTestResponse) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerPostTestResponse.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerPostTestResponse) GetResponse

func (*CrosToolRunnerPostTestResponse) ProtoMessage

func (*CrosToolRunnerPostTestResponse) ProtoMessage()

func (*CrosToolRunnerPostTestResponse) ProtoReflect

func (*CrosToolRunnerPostTestResponse) Reset

func (x *CrosToolRunnerPostTestResponse) Reset()

func (*CrosToolRunnerPostTestResponse) String

type CrosToolRunnerPreTestRequest

type CrosToolRunnerPreTestRequest struct {

	// The path of directory that will store all the pre-test-request artifacts.
	ArtifactDir string `protobuf:"bytes,1,opt,name=artifact_dir,json=artifactDir,proto3" json:"artifact_dir,omitempty"`
	// ContainerMetadataKey is the key to search in the ContainerMetadata map
	// defined in container_metadata.proto
	ContainerMetadataKey string `protobuf:"bytes,2,opt,name=container_metadata_key,json=containerMetadataKey,proto3" json:"container_metadata_key,omitempty"`
	// The caller should construct the entire request to go to the service.
	Request *FilterFlakyRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosToolRunnerPreTestRequest) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerPreTestRequest.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerPreTestRequest) GetArtifactDir

func (x *CrosToolRunnerPreTestRequest) GetArtifactDir() string

func (*CrosToolRunnerPreTestRequest) GetContainerMetadataKey

func (x *CrosToolRunnerPreTestRequest) GetContainerMetadataKey() string

func (*CrosToolRunnerPreTestRequest) GetRequest

func (*CrosToolRunnerPreTestRequest) ProtoMessage

func (*CrosToolRunnerPreTestRequest) ProtoMessage()

func (*CrosToolRunnerPreTestRequest) ProtoReflect

func (*CrosToolRunnerPreTestRequest) Reset

func (x *CrosToolRunnerPreTestRequest) Reset()

func (*CrosToolRunnerPreTestRequest) String

type CrosToolRunnerPreTestResponse

type CrosToolRunnerPreTestResponse struct {

	// Service response from the caller.
	Response *FilterFlakyResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

CrosToolRunnerPreTestResponse return filtered list.

func (*CrosToolRunnerPreTestResponse) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerPreTestResponse.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerPreTestResponse) GetResponse

func (*CrosToolRunnerPreTestResponse) ProtoMessage

func (*CrosToolRunnerPreTestResponse) ProtoMessage()

func (*CrosToolRunnerPreTestResponse) ProtoReflect

func (*CrosToolRunnerPreTestResponse) Reset

func (x *CrosToolRunnerPreTestResponse) Reset()

func (*CrosToolRunnerPreTestResponse) String

type CrosToolRunnerProvisionRequest

type CrosToolRunnerProvisionRequest struct {

	// The device information for each DUT's provision request.
	Devices []*CrosToolRunnerProvisionRequest_Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// The server that can provide inventory service.
	InventoryServer *api.IpEndpoint `protobuf:"bytes,2,opt,name=inventory_server,json=inventoryServer,proto3" json:"inventory_server,omitempty"`
	// The path of directory that will store all the cros-provision artifacts.
	ArtifactDir string `protobuf:"bytes,3,opt,name=artifact_dir,json=artifactDir,proto3" json:"artifact_dir,omitempty"`
	// contains filtered or unexported fields
}

CrosToolRunnerProvisionRequest specifies a list of DUTs to be provision.

func (*CrosToolRunnerProvisionRequest) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerProvisionRequest.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerProvisionRequest) GetArtifactDir

func (x *CrosToolRunnerProvisionRequest) GetArtifactDir() string

func (*CrosToolRunnerProvisionRequest) GetDevices

func (*CrosToolRunnerProvisionRequest) GetInventoryServer

func (x *CrosToolRunnerProvisionRequest) GetInventoryServer() *api.IpEndpoint

func (*CrosToolRunnerProvisionRequest) ProtoMessage

func (*CrosToolRunnerProvisionRequest) ProtoMessage()

func (*CrosToolRunnerProvisionRequest) ProtoReflect

func (*CrosToolRunnerProvisionRequest) Reset

func (x *CrosToolRunnerProvisionRequest) Reset()

func (*CrosToolRunnerProvisionRequest) String

type CrosToolRunnerProvisionRequest_Device

type CrosToolRunnerProvisionRequest_Device struct {

	// DUT to be provisioned.
	Dut *api.Dut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
	// Provision state is pass through request to the provision service.
	ProvisionState *ProvisionState `protobuf:"bytes,2,opt,name=provision_state,json=provisionState,proto3" json:"provision_state,omitempty"`
	// ContainerMetadataKey is the key to search in the ContainerMetadata map
	// defined in container_metadata.proto
	ContainerMetadataKey string `protobuf:"bytes,3,opt,name=container_metadata_key,json=containerMetadataKey,proto3" json:"container_metadata_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosToolRunnerProvisionRequest_Device) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerProvisionRequest_Device.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerProvisionRequest_Device) GetContainerMetadataKey

func (x *CrosToolRunnerProvisionRequest_Device) GetContainerMetadataKey() string

func (*CrosToolRunnerProvisionRequest_Device) GetDut

func (*CrosToolRunnerProvisionRequest_Device) GetProvisionState

func (x *CrosToolRunnerProvisionRequest_Device) GetProvisionState() *ProvisionState

func (*CrosToolRunnerProvisionRequest_Device) ProtoMessage

func (*CrosToolRunnerProvisionRequest_Device) ProtoMessage()

func (*CrosToolRunnerProvisionRequest_Device) ProtoReflect

func (*CrosToolRunnerProvisionRequest_Device) Reset

func (*CrosToolRunnerProvisionRequest_Device) String

type CrosToolRunnerProvisionResponse

type CrosToolRunnerProvisionResponse struct {

	// Responses for all the requests specified in
	// CrosToolRunnerProvisionRequest.details.
	Responses []*CrosProvisionResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

CrosToolRunnerProvisionResponse includes provision result for each DUT.

func (*CrosToolRunnerProvisionResponse) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerProvisionResponse.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerProvisionResponse) GetResponses

func (*CrosToolRunnerProvisionResponse) ProtoMessage

func (*CrosToolRunnerProvisionResponse) ProtoMessage()

func (*CrosToolRunnerProvisionResponse) ProtoReflect

func (*CrosToolRunnerProvisionResponse) Reset

func (*CrosToolRunnerProvisionResponse) String

type CrosToolRunnerTestFinderRequest

type CrosToolRunnerTestFinderRequest struct {

	// Test suites to run by tag or explicit list of tests.
	TestSuites []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// The path of directory that will store all the cros-test-finder artifacts.
	ArtifactDir string `protobuf:"bytes,2,opt,name=artifact_dir,json=artifactDir,proto3" json:"artifact_dir,omitempty"`
	// ContainerMetadataKey is the key to search in the ContainerMetadata map
	// defined in container_metadata.proto
	ContainerMetadataKey string `protobuf:"bytes,3,opt,name=container_metadata_key,json=containerMetadataKey,proto3" json:"container_metadata_key,omitempty"`
	// The caller should construct the entire request to go to the service. The
	// test_suites field should not be provided if this field is provided and
	// vise versa (test_suites field is not deleted for backwards compatibility
	// reasons)
	Request *CrosTestFinderRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

CrosToolRunnerTestFinderRequest specifies a list of test suites with or without tags.

func (*CrosToolRunnerTestFinderRequest) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerTestFinderRequest.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerTestFinderRequest) GetArtifactDir

func (x *CrosToolRunnerTestFinderRequest) GetArtifactDir() string

func (*CrosToolRunnerTestFinderRequest) GetContainerMetadataKey

func (x *CrosToolRunnerTestFinderRequest) GetContainerMetadataKey() string

func (*CrosToolRunnerTestFinderRequest) GetRequest

func (*CrosToolRunnerTestFinderRequest) GetTestSuites

func (x *CrosToolRunnerTestFinderRequest) GetTestSuites() []*TestSuite

func (*CrosToolRunnerTestFinderRequest) ProtoMessage

func (*CrosToolRunnerTestFinderRequest) ProtoMessage()

func (*CrosToolRunnerTestFinderRequest) ProtoReflect

func (*CrosToolRunnerTestFinderRequest) Reset

func (*CrosToolRunnerTestFinderRequest) String

type CrosToolRunnerTestFinderResponse

type CrosToolRunnerTestFinderResponse struct {

	// Test suites to run by an explicit list of tests.
	TestSuites []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// contains filtered or unexported fields
}

CrosToolRunnerTestFinderResponse return a lit of test suites without tags.

func (*CrosToolRunnerTestFinderResponse) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerTestFinderResponse.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerTestFinderResponse) GetTestSuites

func (x *CrosToolRunnerTestFinderResponse) GetTestSuites() []*TestSuite

func (*CrosToolRunnerTestFinderResponse) ProtoMessage

func (*CrosToolRunnerTestFinderResponse) ProtoMessage()

func (*CrosToolRunnerTestFinderResponse) ProtoReflect

func (*CrosToolRunnerTestFinderResponse) Reset

func (*CrosToolRunnerTestFinderResponse) String

type CrosToolRunnerTestRequest

type CrosToolRunnerTestRequest struct {

	// Test suites to run (by tag or explicit list of tests)
	TestSuites []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// Primary DUT.
	PrimaryDut *CrosToolRunnerTestRequest_Device `protobuf:"bytes,2,opt,name=primary_dut,json=primaryDut,proto3" json:"primary_dut,omitempty"`
	// A list of companion DUTs to be used for running tests.
	CompanionDuts []*CrosToolRunnerTestRequest_Device `protobuf:"bytes,3,rep,name=companion_duts,json=companionDuts,proto3" json:"companion_duts,omitempty"`
	// Inventory Server address.
	InventoryServer *api.IpEndpoint `protobuf:"bytes,4,opt,name=inventory_server,json=inventoryServer,proto3" json:"inventory_server,omitempty"`
	// The path of directory that will store all the cros-test artifacts.
	ArtifactDir string `protobuf:"bytes,5,opt,name=artifact_dir,json=artifactDir,proto3" json:"artifact_dir,omitempty"`
	// Test harness specific metadata
	Metadata *anypb.Any `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Supported cros-test container type
	CrosTestContainerType CrosToolRunnerTestRequest_CrosTestContainerType `` /* 202-byte string literal not displayed */
	// contains filtered or unexported fields
}

CrosToolRunnerTestRequest specifies tests to be run.

func (*CrosToolRunnerTestRequest) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerTestRequest.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerTestRequest) GetArtifactDir

func (x *CrosToolRunnerTestRequest) GetArtifactDir() string

func (*CrosToolRunnerTestRequest) GetCompanionDuts

func (*CrosToolRunnerTestRequest) GetCrosTestContainerType

func (*CrosToolRunnerTestRequest) GetInventoryServer

func (x *CrosToolRunnerTestRequest) GetInventoryServer() *api.IpEndpoint

func (*CrosToolRunnerTestRequest) GetMetadata

func (x *CrosToolRunnerTestRequest) GetMetadata() *anypb.Any

func (*CrosToolRunnerTestRequest) GetPrimaryDut

func (*CrosToolRunnerTestRequest) GetTestSuites

func (x *CrosToolRunnerTestRequest) GetTestSuites() []*TestSuite

func (*CrosToolRunnerTestRequest) ProtoMessage

func (*CrosToolRunnerTestRequest) ProtoMessage()

func (*CrosToolRunnerTestRequest) ProtoReflect

func (*CrosToolRunnerTestRequest) Reset

func (x *CrosToolRunnerTestRequest) Reset()

func (*CrosToolRunnerTestRequest) String

func (x *CrosToolRunnerTestRequest) String() string

type CrosToolRunnerTestRequest_CrosTestContainerType

type CrosToolRunnerTestRequest_CrosTestContainerType int32
const (
	CrosToolRunnerTestRequest_ALL      CrosToolRunnerTestRequest_CrosTestContainerType = 0
	CrosToolRunnerTestRequest_CQ_LIGHT CrosToolRunnerTestRequest_CrosTestContainerType = 1
)

func (CrosToolRunnerTestRequest_CrosTestContainerType) Descriptor

func (CrosToolRunnerTestRequest_CrosTestContainerType) Enum

func (CrosToolRunnerTestRequest_CrosTestContainerType) EnumDescriptor deprecated

Deprecated: Use CrosToolRunnerTestRequest_CrosTestContainerType.Descriptor instead.

func (CrosToolRunnerTestRequest_CrosTestContainerType) Number

func (CrosToolRunnerTestRequest_CrosTestContainerType) String

func (CrosToolRunnerTestRequest_CrosTestContainerType) Type

type CrosToolRunnerTestRequest_Device

type CrosToolRunnerTestRequest_Device struct {

	// DUT to be used in test execution.
	Dut *api.Dut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
	// ContainerMetadataKey is the key to search in the ContainerMetadata map
	// defined in container_metadata.proto
	ContainerMetadataKey string `protobuf:"bytes,2,opt,name=container_metadata_key,json=containerMetadataKey,proto3" json:"container_metadata_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CrosToolRunnerTestRequest_Device) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerTestRequest_Device.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerTestRequest_Device) GetContainerMetadataKey

func (x *CrosToolRunnerTestRequest_Device) GetContainerMetadataKey() string

func (*CrosToolRunnerTestRequest_Device) GetDut

func (*CrosToolRunnerTestRequest_Device) ProtoMessage

func (*CrosToolRunnerTestRequest_Device) ProtoMessage()

func (*CrosToolRunnerTestRequest_Device) ProtoReflect

func (*CrosToolRunnerTestRequest_Device) Reset

func (*CrosToolRunnerTestRequest_Device) String

type CrosToolRunnerTestResponse

type CrosToolRunnerTestResponse struct {
	TestCaseResults []*TestCaseResult `protobuf:"bytes,1,rep,name=test_case_results,json=testCaseResults,proto3" json:"test_case_results,omitempty"`
	Metadata        *anypb.Any        `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

CrosToolRunnerTestResponse includes all test results.

func (*CrosToolRunnerTestResponse) Descriptor deprecated

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

Deprecated: Use CrosToolRunnerTestResponse.ProtoReflect.Descriptor instead.

func (*CrosToolRunnerTestResponse) GetMetadata

func (x *CrosToolRunnerTestResponse) GetMetadata() *anypb.Any

func (*CrosToolRunnerTestResponse) GetTestCaseResults

func (x *CrosToolRunnerTestResponse) GetTestCaseResults() []*TestCaseResult

func (*CrosToolRunnerTestResponse) ProtoMessage

func (*CrosToolRunnerTestResponse) ProtoMessage()

func (*CrosToolRunnerTestResponse) ProtoReflect

func (*CrosToolRunnerTestResponse) Reset

func (x *CrosToolRunnerTestResponse) Reset()

func (*CrosToolRunnerTestResponse) String

func (x *CrosToolRunnerTestResponse) String() string

type CrosVMProvisionTemplate

type CrosVMProvisionTemplate struct {
	// contains filtered or unexported fields
}

Plain template to demonstrate the usage of vm-provision container. All fields are required.

func (*CrosVMProvisionTemplate) Descriptor deprecated

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

Deprecated: Use CrosVMProvisionTemplate.ProtoReflect.Descriptor instead.

func (*CrosVMProvisionTemplate) ProtoMessage

func (*CrosVMProvisionTemplate) ProtoMessage()

func (*CrosVMProvisionTemplate) ProtoReflect

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

func (*CrosVMProvisionTemplate) Reset

func (x *CrosVMProvisionTemplate) Reset()

func (*CrosVMProvisionTemplate) String

func (x *CrosVMProvisionTemplate) String() string

type DDDHW

type DDDHW struct {
	// contains filtered or unexported fields
}

func (*DDDHW) Descriptor deprecated

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

Deprecated: Use DDDHW.ProtoReflect.Descriptor instead.

func (*DDDHW) ProtoMessage

func (*DDDHW) ProtoMessage()

func (*DDDHW) ProtoReflect

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

func (*DDDHW) Reset

func (x *DDDHW) Reset()

func (*DDDHW) String

func (x *DDDHW) String() string

type DDDSW

type DDDSW struct {
	// contains filtered or unexported fields
}

DDDSW is not yet defined.

func (*DDDSW) Descriptor deprecated

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

Deprecated: Use DDDSW.ProtoReflect.Descriptor instead.

func (*DDDSW) ProtoMessage

func (*DDDSW) ProtoMessage()

func (*DDDSW) ProtoReflect

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

func (*DDDSW) Reset

func (x *DDDSW) Reset()

func (*DDDSW) String

func (x *DDDSW) String() string

type DDDVariantCategory

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

Defines hardware and software capabilities of the device or test rigging it needs, which can influence the behavior of the test and its outcome. Not required for the legacy pipeline.

func (*DDDVariantCategory) Descriptor deprecated

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

Deprecated: Use DDDVariantCategory.ProtoReflect.Descriptor instead.

func (*DDDVariantCategory) GetValue

func (x *DDDVariantCategory) GetValue() string

func (*DDDVariantCategory) ProtoMessage

func (*DDDVariantCategory) ProtoMessage()

func (*DDDVariantCategory) ProtoReflect

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

func (*DDDVariantCategory) Reset

func (x *DDDVariantCategory) Reset()

func (*DDDVariantCategory) String

func (x *DDDVariantCategory) String() string

type DetectDeviceConfigIdRequest

type DetectDeviceConfigIdRequest struct {
	// contains filtered or unexported fields
}

func (*DetectDeviceConfigIdRequest) Descriptor deprecated

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

Deprecated: Use DetectDeviceConfigIdRequest.ProtoReflect.Descriptor instead.

func (*DetectDeviceConfigIdRequest) ProtoMessage

func (*DetectDeviceConfigIdRequest) ProtoMessage()

func (*DetectDeviceConfigIdRequest) ProtoReflect

func (*DetectDeviceConfigIdRequest) Reset

func (x *DetectDeviceConfigIdRequest) Reset()

func (*DetectDeviceConfigIdRequest) String

func (x *DetectDeviceConfigIdRequest) String() string

type DetectDeviceConfigIdResponse

type DetectDeviceConfigIdResponse struct {

	// Types that are assignable to Result:
	//	*DetectDeviceConfigIdResponse_Success_
	//	*DetectDeviceConfigIdResponse_Failure_
	Result isDetectDeviceConfigIdResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*DetectDeviceConfigIdResponse) Descriptor deprecated

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

Deprecated: Use DetectDeviceConfigIdResponse.ProtoReflect.Descriptor instead.

func (*DetectDeviceConfigIdResponse) GetFailure

func (*DetectDeviceConfigIdResponse) GetResult

func (m *DetectDeviceConfigIdResponse) GetResult() isDetectDeviceConfigIdResponse_Result

func (*DetectDeviceConfigIdResponse) GetSuccess

func (*DetectDeviceConfigIdResponse) ProtoMessage

func (*DetectDeviceConfigIdResponse) ProtoMessage()

func (*DetectDeviceConfigIdResponse) ProtoReflect

func (*DetectDeviceConfigIdResponse) Reset

func (x *DetectDeviceConfigIdResponse) Reset()

func (*DetectDeviceConfigIdResponse) String

type DetectDeviceConfigIdResponse_Failure

type DetectDeviceConfigIdResponse_Failure struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*DetectDeviceConfigIdResponse_Failure) Descriptor deprecated

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

Deprecated: Use DetectDeviceConfigIdResponse_Failure.ProtoReflect.Descriptor instead.

func (*DetectDeviceConfigIdResponse_Failure) GetErrorMessage

func (x *DetectDeviceConfigIdResponse_Failure) GetErrorMessage() string

func (*DetectDeviceConfigIdResponse_Failure) ProtoMessage

func (*DetectDeviceConfigIdResponse_Failure) ProtoMessage()

func (*DetectDeviceConfigIdResponse_Failure) ProtoReflect

func (*DetectDeviceConfigIdResponse_Failure) Reset

func (*DetectDeviceConfigIdResponse_Failure) String

type DetectDeviceConfigIdResponse_Failure_

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

type DetectDeviceConfigIdResponse_Success

type DetectDeviceConfigIdResponse_Success struct {
	DetectedScanConfig *api.DeviceConfigId_ScanConfig `protobuf:"bytes,1,opt,name=detected_scan_config,json=detectedScanConfig,proto3" json:"detected_scan_config,omitempty"`
	// contains filtered or unexported fields
}

func (*DetectDeviceConfigIdResponse_Success) Descriptor deprecated

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

Deprecated: Use DetectDeviceConfigIdResponse_Success.ProtoReflect.Descriptor instead.

func (*DetectDeviceConfigIdResponse_Success) GetDetectedScanConfig

func (*DetectDeviceConfigIdResponse_Success) ProtoMessage

func (*DetectDeviceConfigIdResponse_Success) ProtoMessage()

func (*DetectDeviceConfigIdResponse_Success) ProtoReflect

func (*DetectDeviceConfigIdResponse_Success) Reset

func (*DetectDeviceConfigIdResponse_Success) String

type DetectDeviceConfigIdResponse_Success_

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

type Device

type Device struct {

	// In the case of VMs, device id could be the GCE instance name. For physical
	// DUTs we use the IDs we get from UFS.
	Id      string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address *DeviceAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Type    DeviceType     `protobuf:"varint,3,opt,name=type,proto3,enum=chromiumos.test.api.DeviceType" json:"type,omitempty"`
	State   DeviceState    `protobuf:"varint,4,opt,name=state,proto3,enum=chromiumos.test.api.DeviceState" json:"state,omitempty"`
	// This proto contains per-DUT hardware relevant information including labels.
	HardwareReqs *HardwareRequirements `protobuf:"bytes,5,opt,name=hardware_reqs,json=hardwareReqs,proto3" json:"hardware_reqs,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetAddress

func (x *Device) GetAddress() *DeviceAddress

func (*Device) GetHardwareReqs

func (x *Device) GetHardwareReqs() *HardwareRequirements

func (*Device) GetId

func (x *Device) GetId() string

func (*Device) GetState

func (x *Device) GetState() DeviceState

func (*Device) GetType

func (x *Device) GetType() DeviceType

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DeviceAddress

type DeviceAddress struct {

	// IP address of the device.
	// For physical DUTs it can be a hostname.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceAddress) Descriptor deprecated

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

Deprecated: Use DeviceAddress.ProtoReflect.Descriptor instead.

func (*DeviceAddress) GetHost

func (x *DeviceAddress) GetHost() string

func (*DeviceAddress) GetPort

func (x *DeviceAddress) GetPort() int32

func (*DeviceAddress) ProtoMessage

func (*DeviceAddress) ProtoMessage()

func (*DeviceAddress) ProtoReflect

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

func (*DeviceAddress) Reset

func (x *DeviceAddress) Reset()

func (*DeviceAddress) String

func (x *DeviceAddress) String() string

type DeviceLeaseRecord

type DeviceLeaseRecord struct {

	// Lease id
	// Should be uniquely generated by UUID4.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Key specified by client per request.
	// Requests with the same key will be treated as duplicate requests.
	IdempotencyKey string `protobuf:"bytes,2,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	// Device data.
	// Id corresponding to the device name.
	DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// SSH-able address to access the device.
	DeviceAddress *DeviceAddress `protobuf:"bytes,4,opt,name=device_address,json=deviceAddress,proto3" json:"device_address,omitempty"`
	// Type of device leased.
	DeviceType DeviceType `` /* 128-byte string literal not displayed */
	// Tracking times.
	// Time when the device was leased.
	LeasedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=leased_time,json=leasedTime,proto3" json:"leased_time,omitempty"`
	// Time when the device was released by a request or cron.
	ReleasedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=released_time,json=releasedTime,proto3" json:"released_time,omitempty"`
	// Lease expiration time. The time can be updated several times.
	// The record keeps the last known value.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// Last updated time. The time when the lease was last updated.
	// This will be used as a versioning timestamp
	LastUpdatedTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"`
	// Request data.
	// All parameters used to create a device will be saved for further analysis.
	// Possible that the data will be removed later if established as not needed.
	RequestParameters map[string]string `` /* 201-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceLeaseRecord) Descriptor deprecated

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

Deprecated: Use DeviceLeaseRecord.ProtoReflect.Descriptor instead.

func (*DeviceLeaseRecord) GetDeviceAddress

func (x *DeviceLeaseRecord) GetDeviceAddress() *DeviceAddress

func (*DeviceLeaseRecord) GetDeviceId

func (x *DeviceLeaseRecord) GetDeviceId() string

func (*DeviceLeaseRecord) GetDeviceType

func (x *DeviceLeaseRecord) GetDeviceType() DeviceType

func (*DeviceLeaseRecord) GetExpirationTime

func (x *DeviceLeaseRecord) GetExpirationTime() *timestamppb.Timestamp

func (*DeviceLeaseRecord) GetId

func (x *DeviceLeaseRecord) GetId() string

func (*DeviceLeaseRecord) GetIdempotencyKey

func (x *DeviceLeaseRecord) GetIdempotencyKey() string

func (*DeviceLeaseRecord) GetLastUpdatedTime

func (x *DeviceLeaseRecord) GetLastUpdatedTime() *timestamppb.Timestamp

func (*DeviceLeaseRecord) GetLeasedTime

func (x *DeviceLeaseRecord) GetLeasedTime() *timestamppb.Timestamp

func (*DeviceLeaseRecord) GetReleasedTime

func (x *DeviceLeaseRecord) GetReleasedTime() *timestamppb.Timestamp

func (*DeviceLeaseRecord) GetRequestParameters

func (x *DeviceLeaseRecord) GetRequestParameters() map[string]string

func (*DeviceLeaseRecord) ProtoMessage

func (*DeviceLeaseRecord) ProtoMessage()

func (*DeviceLeaseRecord) ProtoReflect

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

func (*DeviceLeaseRecord) Reset

func (x *DeviceLeaseRecord) Reset()

func (*DeviceLeaseRecord) String

func (x *DeviceLeaseRecord) String() string

type DeviceLeaseServiceClient

type DeviceLeaseServiceClient interface {
	// Lease a device and create a lease.
	LeaseDevice(ctx context.Context, in *LeaseDeviceRequest, opts ...grpc.CallOption) (*LeaseDeviceResponse, error)
	// Release a device lease.
	ReleaseDevice(ctx context.Context, in *ReleaseDeviceRequest, opts ...grpc.CallOption) (*ReleaseDeviceResponse, error)
	// Extend a device lease by modifying the expiration time.
	ExtendLease(ctx context.Context, in *ExtendLeaseRequest, opts ...grpc.CallOption) (*ExtendLeaseResponse, error)
	// Get a device by device id.
	// Designed to adhere to https://google.aip.dev/131.
	GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error)
	// List devices managed by Device Manager.
	// Designed to adhere to https://google.aip.dev/132.
	ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
}

DeviceLeaseServiceClient is the client API for DeviceLeaseService 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 DeviceLeaseServiceServer

type DeviceLeaseServiceServer interface {
	// Lease a device and create a lease.
	LeaseDevice(context.Context, *LeaseDeviceRequest) (*LeaseDeviceResponse, error)
	// Release a device lease.
	ReleaseDevice(context.Context, *ReleaseDeviceRequest) (*ReleaseDeviceResponse, error)
	// Extend a device lease by modifying the expiration time.
	ExtendLease(context.Context, *ExtendLeaseRequest) (*ExtendLeaseResponse, error)
	// Get a device by device id.
	// Designed to adhere to https://google.aip.dev/131.
	GetDevice(context.Context, *GetDeviceRequest) (*Device, error)
	// List devices managed by Device Manager.
	// Designed to adhere to https://google.aip.dev/132.
	ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
}

DeviceLeaseServiceServer is the server API for DeviceLeaseService service. All implementations should embed UnimplementedDeviceLeaseServiceServer for forward compatibility

type DeviceState

type DeviceState int32

The list is not final and can be extended later.

const (
	DeviceState_DEVICE_STATE_UNSPECIFIED DeviceState = 0
	// Default state.
	// Device is available to be leased.
	DeviceState_DEVICE_STATE_AVAILABLE DeviceState = 1
	// Device is leased.
	DeviceState_DEVICE_STATE_LEASED DeviceState = 2
)

func (DeviceState) Descriptor

func (DeviceState) Enum

func (x DeviceState) Enum() *DeviceState

func (DeviceState) EnumDescriptor deprecated

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

Deprecated: Use DeviceState.Descriptor instead.

func (DeviceState) Number

func (x DeviceState) Number() protoreflect.EnumNumber

func (DeviceState) String

func (x DeviceState) String() string

func (DeviceState) Type

type DeviceType

type DeviceType int32

This is different than device features which are expressed in requirements_eq. This is more about virtual, physical, or either initially.

const (
	DeviceType_DEVICE_TYPE_UNSPECIFIED DeviceType = 0
	DeviceType_DEVICE_TYPE_VIRTUAL     DeviceType = 1
	DeviceType_DEVICE_TYPE_PHYSICAL    DeviceType = 2
)

func (DeviceType) Descriptor

func (DeviceType) Descriptor() protoreflect.EnumDescriptor

func (DeviceType) Enum

func (x DeviceType) Enum() *DeviceType

func (DeviceType) EnumDescriptor deprecated

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

Deprecated: Use DeviceType.Descriptor instead.

func (DeviceType) Number

func (x DeviceType) Number() protoreflect.EnumNumber

func (DeviceType) String

func (x DeviceType) String() string

func (DeviceType) Type

type DutAttribute

type DutAttribute struct {
	Id *DutAttribute_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Alternate names to make the label available under (for migration and
	// backwards compatibility support).  No restrictions on name format.
	Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// Definition of the attribute source data
	//
	// Types that are assignable to DataSource:
	//	*DutAttribute_FlatConfigSource_
	//	*DutAttribute_HwidSource_
	//	*DutAttribute_TleSource_
	DataSource isDutAttribute_DataSource `protobuf_oneof:"data_source"`
	// Optional values and excluded values.
	//   If these are specified then if the attribute matches _any_ value in
	// allowed_values and _zero_ values in exclude_values, the attribute is
	// exposed with a True value and otherwise it is exposed with a False value.
	//
	// Values are compared case insensitively.
	//
	// Example:
	// {
	//   "id" : {
	//     "value": "starts-with-a-but-not-atlas"
	//   },
	//   "static_field" : {
	//     "field_specs" : ["program.platform.soc_arch"]
	//   },
	//   "allowed_values" : ["asuka", "asurada"],
	//   "exclude_values" : ["atlas"]
	// }
	AllowedValues []string `protobuf:"bytes,5,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
	ExcludeValues []string `protobuf:"bytes,6,rep,name=exclude_values,json=excludeValues,proto3" json:"exclude_values,omitempty"`
	// contains filtered or unexported fields
}

NEXT TAG: 8 DutAttribute defines how attributes of a DUT are encoded into key-value pairs for use in test coverage rules.

func (*DutAttribute) Descriptor deprecated

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

Deprecated: Use DutAttribute.ProtoReflect.Descriptor instead.

func (*DutAttribute) GetAliases

func (x *DutAttribute) GetAliases() []string

func (*DutAttribute) GetAllowedValues

func (x *DutAttribute) GetAllowedValues() []string

func (*DutAttribute) GetDataSource

func (m *DutAttribute) GetDataSource() isDutAttribute_DataSource

func (*DutAttribute) GetExcludeValues

func (x *DutAttribute) GetExcludeValues() []string

func (*DutAttribute) GetFlatConfigSource

func (x *DutAttribute) GetFlatConfigSource() *DutAttribute_FlatConfigSource

func (*DutAttribute) GetHwidSource

func (x *DutAttribute) GetHwidSource() *DutAttribute_HwidSource

func (*DutAttribute) GetId

func (x *DutAttribute) GetId() *DutAttribute_Id

func (*DutAttribute) GetTleSource

func (x *DutAttribute) GetTleSource() *DutAttribute_TleSource

func (*DutAttribute) ProtoMessage

func (*DutAttribute) ProtoMessage()

func (*DutAttribute) ProtoReflect

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

func (*DutAttribute) Reset

func (x *DutAttribute) Reset()

func (*DutAttribute) String

func (x *DutAttribute) String() string

type DutAttributeList

type DutAttributeList struct {
	DutAttributes []*DutAttribute `protobuf:"bytes,1,rep,name=dut_attributes,json=dutAttributes,proto3" json:"dut_attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*DutAttributeList) Descriptor deprecated

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

Deprecated: Use DutAttributeList.ProtoReflect.Descriptor instead.

func (*DutAttributeList) GetDutAttributes

func (x *DutAttributeList) GetDutAttributes() []*DutAttribute

func (*DutAttributeList) ProtoMessage

func (*DutAttributeList) ProtoMessage()

func (*DutAttributeList) ProtoReflect

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

func (*DutAttributeList) Reset

func (x *DutAttributeList) Reset()

func (*DutAttributeList) String

func (x *DutAttributeList) String() string

type DutAttribute_FieldSpec

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

A field spec is a chain of field names ending in a scalar or enum, excluding floating point values.

eg: 'program.platform.soc_arch'

func (*DutAttribute_FieldSpec) Descriptor deprecated

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

Deprecated: Use DutAttribute_FieldSpec.ProtoReflect.Descriptor instead.

func (*DutAttribute_FieldSpec) GetPath

func (x *DutAttribute_FieldSpec) GetPath() string

func (*DutAttribute_FieldSpec) ProtoMessage

func (*DutAttribute_FieldSpec) ProtoMessage()

func (*DutAttribute_FieldSpec) ProtoReflect

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

func (*DutAttribute_FieldSpec) Reset

func (x *DutAttribute_FieldSpec) Reset()

func (*DutAttribute_FieldSpec) String

func (x *DutAttribute_FieldSpec) String() string

type DutAttribute_FlatConfigSource

type DutAttribute_FlatConfigSource struct {
	Fields []*DutAttribute_FieldSpec `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

FlatConfigSource specifies an attribute value that comes directly from the FlatConfig payload. Fields are tried in-order, taking the first one that matches.

func (*DutAttribute_FlatConfigSource) Descriptor deprecated

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

Deprecated: Use DutAttribute_FlatConfigSource.ProtoReflect.Descriptor instead.

func (*DutAttribute_FlatConfigSource) GetFields

func (*DutAttribute_FlatConfigSource) ProtoMessage

func (*DutAttribute_FlatConfigSource) ProtoMessage()

func (*DutAttribute_FlatConfigSource) ProtoReflect

func (*DutAttribute_FlatConfigSource) Reset

func (x *DutAttribute_FlatConfigSource) Reset()

func (*DutAttribute_FlatConfigSource) String

type DutAttribute_FlatConfigSource_

type DutAttribute_FlatConfigSource_ struct {
	FlatConfigSource *DutAttribute_FlatConfigSource `protobuf:"bytes,3,opt,name=flat_config_source,json=flatConfigSource,proto3,oneof"`
}

type DutAttribute_HwidSource

type DutAttribute_HwidSource struct {
	ComponentType string                    `protobuf:"bytes,1,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"`
	Fields        []*DutAttribute_FieldSpec `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

HwidSource specifies an attribute value that's mediated by HWID server Fields are tried in-order, taking the first one that matches.

func (*DutAttribute_HwidSource) Descriptor deprecated

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

Deprecated: Use DutAttribute_HwidSource.ProtoReflect.Descriptor instead.

func (*DutAttribute_HwidSource) GetComponentType

func (x *DutAttribute_HwidSource) GetComponentType() string

func (*DutAttribute_HwidSource) GetFields

func (*DutAttribute_HwidSource) ProtoMessage

func (*DutAttribute_HwidSource) ProtoMessage()

func (*DutAttribute_HwidSource) ProtoReflect

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

func (*DutAttribute_HwidSource) Reset

func (x *DutAttribute_HwidSource) Reset()

func (*DutAttribute_HwidSource) String

func (x *DutAttribute_HwidSource) String() string

type DutAttribute_HwidSource_

type DutAttribute_HwidSource_ struct {
	HwidSource *DutAttribute_HwidSource `protobuf:"bytes,4,opt,name=hwid_source,json=hwidSource,proto3,oneof"`
}

type DutAttribute_Id

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

Globally unique identifier for the attribute. Value must match:

^([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+$

That is, valid identifiers are alphanumberic strings with - joining them.

Examples:

valid
  attr-device-model
  attr-label-2

invalid
  attr_device_model
  _attr-device-model
  attr-device-model-

func (*DutAttribute_Id) Descriptor deprecated

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

Deprecated: Use DutAttribute_Id.ProtoReflect.Descriptor instead.

func (*DutAttribute_Id) GetValue

func (x *DutAttribute_Id) GetValue() string

func (*DutAttribute_Id) ProtoMessage

func (*DutAttribute_Id) ProtoMessage()

func (*DutAttribute_Id) ProtoReflect

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

func (*DutAttribute_Id) Reset

func (x *DutAttribute_Id) Reset()

func (*DutAttribute_Id) String

func (x *DutAttribute_Id) String() string

type DutAttribute_TleSource

type DutAttribute_TleSource struct {
	// contains filtered or unexported fields
}

TleSource specifies the information for querying attribute values based on the definition provided at the TLE level.

func (*DutAttribute_TleSource) Descriptor deprecated

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

Deprecated: Use DutAttribute_TleSource.ProtoReflect.Descriptor instead.

func (*DutAttribute_TleSource) ProtoMessage

func (*DutAttribute_TleSource) ProtoMessage()

func (*DutAttribute_TleSource) ProtoReflect

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

func (*DutAttribute_TleSource) Reset

func (x *DutAttribute_TleSource) Reset()

func (*DutAttribute_TleSource) String

func (x *DutAttribute_TleSource) String() string

type DutAttribute_TleSource_

type DutAttribute_TleSource_ struct {
	TleSource *DutAttribute_TleSource `protobuf:"bytes,7,opt,name=tle_source,json=tleSource,proto3,oneof"`
}

type DutCriterion

type DutCriterion struct {

	// ID of the DUT attribute that must meet the criterion.
	AttributeId *DutAttribute_Id `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// List of ANY acceptable values to match (OR logic is applied).
	// Values are compared as simple strings case insensitively.
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

DutCriterion describes a groups of DUTs, based on DUT attributes.

func (*DutCriterion) Descriptor deprecated

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

Deprecated: Use DutCriterion.ProtoReflect.Descriptor instead.

func (*DutCriterion) GetAttributeId

func (x *DutCriterion) GetAttributeId() *DutAttribute_Id

func (*DutCriterion) GetValues

func (x *DutCriterion) GetValues() []string

func (*DutCriterion) ProtoMessage

func (*DutCriterion) ProtoMessage()

func (*DutCriterion) ProtoReflect

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

func (*DutCriterion) Reset

func (x *DutCriterion) Reset()

func (*DutCriterion) String

func (x *DutCriterion) String() string

type DutInput

type DutInput struct {
	Id *api.Dut_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Provision state is pass through request to the provision service.
	ProvisionState *ProvisionState `protobuf:"bytes,3,opt,name=provision_state,json=provisionState,proto3" json:"provision_state,omitempty"`
	// Docker image info used to pull DUT service.
	DutService *DutInput_DockerImage `protobuf:"bytes,4,opt,name=dut_service,json=dutService,proto3" json:"dut_service,omitempty"`
	// Docker image info used to pull provision service.
	ProvisionService *DutInput_DockerImage `protobuf:"bytes,5,opt,name=provision_service,json=provisionService,proto3" json:"provision_service,omitempty"`
	// contains filtered or unexported fields
}

func (*DutInput) Descriptor deprecated

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

Deprecated: Use DutInput.ProtoReflect.Descriptor instead.

func (*DutInput) GetDutService

func (x *DutInput) GetDutService() *DutInput_DockerImage

func (*DutInput) GetId

func (x *DutInput) GetId() *api.Dut_Id

func (*DutInput) GetProvisionService

func (x *DutInput) GetProvisionService() *DutInput_DockerImage

func (*DutInput) GetProvisionState

func (x *DutInput) GetProvisionState() *ProvisionState

func (*DutInput) ProtoMessage

func (*DutInput) ProtoMessage()

func (*DutInput) ProtoReflect

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

func (*DutInput) Reset

func (x *DutInput) Reset()

func (*DutInput) String

func (x *DutInput) String() string

type DutInput_DockerImage

type DutInput_DockerImage struct {

	// If not specified then used default.
	RepositoryPath string `protobuf:"bytes,1,opt,name=repository_path,json=repositoryPath,proto3" json:"repository_path,omitempty"`
	// If not specified then used 'latest'.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*DutInput_DockerImage) Descriptor deprecated

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

Deprecated: Use DutInput_DockerImage.ProtoReflect.Descriptor instead.

func (*DutInput_DockerImage) GetRepositoryPath

func (x *DutInput_DockerImage) GetRepositoryPath() string

func (*DutInput_DockerImage) GetTag

func (x *DutInput_DockerImage) GetTag() string

func (*DutInput_DockerImage) ProtoMessage

func (*DutInput_DockerImage) ProtoMessage()

func (*DutInput_DockerImage) ProtoReflect

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

func (*DutInput_DockerImage) Reset

func (x *DutInput_DockerImage) Reset()

func (*DutInput_DockerImage) String

func (x *DutInput_DockerImage) String() string

type DutOutput

type DutOutput struct {
	Id *api.Dut_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Outcome represents the result of performing provisioning on the DUT.
	//
	// Types that are assignable to Outcome:
	//	*DutOutput_Success
	//	*DutOutput_Failure
	Outcome isDutOutput_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*DutOutput) Descriptor deprecated

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

Deprecated: Use DutOutput.ProtoReflect.Descriptor instead.

func (*DutOutput) GetFailure

func (x *DutOutput) GetFailure() *InstallFailure

func (*DutOutput) GetId

func (x *DutOutput) GetId() *api.Dut_Id

func (*DutOutput) GetOutcome

func (m *DutOutput) GetOutcome() isDutOutput_Outcome

func (*DutOutput) GetSuccess

func (x *DutOutput) GetSuccess() *InstallSuccess

func (*DutOutput) ProtoMessage

func (*DutOutput) ProtoMessage()

func (*DutOutput) ProtoReflect

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

func (*DutOutput) Reset

func (x *DutOutput) Reset()

func (*DutOutput) String

func (x *DutOutput) String() string

type DutOutput_Failure

type DutOutput_Failure struct {
	Failure *InstallFailure `protobuf:"bytes,3,opt,name=failure,proto3,oneof"`
}

type DutOutput_Success

type DutOutput_Success struct {
	Success *InstallSuccess `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}

type DutServiceClient

type DutServiceClient interface {
	// ExecCommand runs a command on a DUT.
	//
	// The working directory is /.
	// A tty is not spawned for the command.
	// The user and group is root.
	// All signals have their default dispositions and are not masked.
	// The umask is set to 0.
	//
	// The environment contains:
	//
	//   TERM=dumb
	//   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
	//   LANG=en_US.UTF-8
	//   USER=root
	//   HOME=/root
	//
	// The environment MAY also contain SSH client variables.
	// The environment SHALL NOT contain variables not mentioned above.
	//
	// If the stream is interrupted, the implementation MAY attempt to
	// stop the command by sending SIGINT, SIGHUP, SIGTERM, or SIGKILL.
	ExecCommand(ctx context.Context, in *ExecCommandRequest, opts ...grpc.CallOption) (DutService_ExecCommandClient, error)
	// FetchCrashes gets a stream of all crash reports currently on the DUT.
	//
	// The stream returned may split up a crash over multiple
	// `FetchCrashesResponse` protos. See the definition of that proto for
	// details.
	//
	// This call is read-only: it doesn't delete the crashes that it reads.
	FetchCrashes(ctx context.Context, in *FetchCrashesRequest, opts ...grpc.CallOption) (DutService_FetchCrashesClient, error)
	// Restart simply reboots a DUT and returns when done.
	//
	// This is necessary as we need to refresh our connection to the DUT at
	// restart, and this allows a signaling to the server that the connection
	// will be severed.
	Restart(ctx context.Context, in *RestartRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Scans the live device to determine device config identifiers.
	//
	// The returned scan config can then be used to reverse lookup
	// the actual DeviceConfigId values and corresponding configs.
	DetectDeviceConfigId(ctx context.Context, in *DetectDeviceConfigIdRequest, opts ...grpc.CallOption) (DutService_DetectDeviceConfigIdClient, error)
	// Fetch a file or dir from the device.
	//
	// The files will be returned via a tar'd bytestream.
	FetchFile(ctx context.Context, in *FetchFileRequest, opts ...grpc.CallOption) (DutService_FetchFileClient, error)
	// Downloads files from GS to the DUT
	//
	// The files downloaded may be decompressed in this layer to save cycles (and
	// space) in the DUT. This utilizes the cacheForDUT endpoint to download the
	// files.
	Cache(ctx context.Context, in *CacheRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Used to reestablish connection to DUT in case of drops.
	//
	// This is needed in case the connection to the DUT is lost and we need to
	// keep the connection. Previously this was done by the service, but as we try
	// to accomplish true microservice functionality (i.e.: no side-effects) we
	// removed it and gave the option for the user to reconnect if needed with
	// whichever algorithm they prefer.
	ForceReconnect(ctx context.Context, in *ForceReconnectRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

DutServiceClient is the client API for DutService 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.

func NewDutServiceClient

func NewDutServiceClient(cc grpc.ClientConnInterface) DutServiceClient

type DutServiceServer

type DutServiceServer interface {
	// ExecCommand runs a command on a DUT.
	//
	// The working directory is /.
	// A tty is not spawned for the command.
	// The user and group is root.
	// All signals have their default dispositions and are not masked.
	// The umask is set to 0.
	//
	// The environment contains:
	//
	//   TERM=dumb
	//   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
	//   LANG=en_US.UTF-8
	//   USER=root
	//   HOME=/root
	//
	// The environment MAY also contain SSH client variables.
	// The environment SHALL NOT contain variables not mentioned above.
	//
	// If the stream is interrupted, the implementation MAY attempt to
	// stop the command by sending SIGINT, SIGHUP, SIGTERM, or SIGKILL.
	ExecCommand(*ExecCommandRequest, DutService_ExecCommandServer) error
	// FetchCrashes gets a stream of all crash reports currently on the DUT.
	//
	// The stream returned may split up a crash over multiple
	// `FetchCrashesResponse` protos. See the definition of that proto for
	// details.
	//
	// This call is read-only: it doesn't delete the crashes that it reads.
	FetchCrashes(*FetchCrashesRequest, DutService_FetchCrashesServer) error
	// Restart simply reboots a DUT and returns when done.
	//
	// This is necessary as we need to refresh our connection to the DUT at
	// restart, and this allows a signaling to the server that the connection
	// will be severed.
	Restart(context.Context, *RestartRequest) (*longrunning.Operation, error)
	// Scans the live device to determine device config identifiers.
	//
	// The returned scan config can then be used to reverse lookup
	// the actual DeviceConfigId values and corresponding configs.
	DetectDeviceConfigId(*DetectDeviceConfigIdRequest, DutService_DetectDeviceConfigIdServer) error
	// Fetch a file or dir from the device.
	//
	// The files will be returned via a tar'd bytestream.
	FetchFile(*FetchFileRequest, DutService_FetchFileServer) error
	// Downloads files from GS to the DUT
	//
	// The files downloaded may be decompressed in this layer to save cycles (and
	// space) in the DUT. This utilizes the cacheForDUT endpoint to download the
	// files.
	Cache(context.Context, *CacheRequest) (*longrunning.Operation, error)
	// Used to reestablish connection to DUT in case of drops.
	//
	// This is needed in case the connection to the DUT is lost and we need to
	// keep the connection. Previously this was done by the service, but as we try
	// to accomplish true microservice functionality (i.e.: no side-effects) we
	// removed it and gave the option for the user to reconnect if needed with
	// whichever algorithm they prefer.
	ForceReconnect(context.Context, *ForceReconnectRequest) (*longrunning.Operation, error)
}

DutServiceServer is the server API for DutService service. All implementations should embed UnimplementedDutServiceServer for forward compatibility

type DutService_DetectDeviceConfigIdClient

type DutService_DetectDeviceConfigIdClient interface {
	Recv() (*DetectDeviceConfigIdResponse, error)
	grpc.ClientStream
}

type DutService_DetectDeviceConfigIdServer

type DutService_DetectDeviceConfigIdServer interface {
	Send(*DetectDeviceConfigIdResponse) error
	grpc.ServerStream
}

type DutService_ExecCommandClient

type DutService_ExecCommandClient interface {
	Recv() (*ExecCommandResponse, error)
	grpc.ClientStream
}

type DutService_ExecCommandServer

type DutService_ExecCommandServer interface {
	Send(*ExecCommandResponse) error
	grpc.ServerStream
}

type DutService_FetchCrashesClient

type DutService_FetchCrashesClient interface {
	Recv() (*FetchCrashesResponse, error)
	grpc.ClientStream
}

type DutService_FetchCrashesServer

type DutService_FetchCrashesServer interface {
	Send(*FetchCrashesResponse) error
	grpc.ServerStream
}

type DutService_FetchFileClient

type DutService_FetchFileClient interface {
	Recv() (*File, error)
	grpc.ClientStream
}

type DutService_FetchFileServer

type DutService_FetchFileServer interface {
	Send(*File) error
	grpc.ServerStream
}

type DutTarget

type DutTarget struct {
	Criteria []*DutCriterion `protobuf:"bytes,1,rep,name=criteria,proto3" json:"criteria,omitempty"`
	// Provisioning configuration for this device
	ProvisionConfig *ProvisionConfig `protobuf:"bytes,2,opt,name=provision_config,json=provisionConfig,proto3" json:"provision_config,omitempty"`
	// contains filtered or unexported fields
}

DutTarget is a list of DutCriterion that must be met by the DUT executing tests. All criteria must be met (AND logic is applied) by the DUT.

func (*DutTarget) Descriptor deprecated

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

Deprecated: Use DutTarget.ProtoReflect.Descriptor instead.

func (*DutTarget) GetCriteria

func (x *DutTarget) GetCriteria() []*DutCriterion

func (*DutTarget) GetProvisionConfig

func (x *DutTarget) GetProvisionConfig() *ProvisionConfig

func (*DutTarget) ProtoMessage

func (*DutTarget) ProtoMessage()

func (*DutTarget) ProtoReflect

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

func (*DutTarget) Reset

func (x *DutTarget) Reset()

func (*DutTarget) String

func (x *DutTarget) String() string

type DynamicDep

type DynamicDep struct {

	// camelCase object identifier, separated by "."
	// ie dutServer.address
	// If the key needs to point to an array index, simply put the index
	// after the separator.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The identifier of the value within TestRunnerV2's map of
	// locally exposed values.
	// Separate by "." if an interior value of a top-level mapped
	// object is required.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Some information within TestRunnerV2 is required by the services it runs. This information is not known at the time of request, and thus needs to be dynamically injected within the request. This provides the definition required to handle the injection, however, the exact object being injected is unknown to this proto and must be handled by the implementation.

func (*DynamicDep) Descriptor deprecated

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

Deprecated: Use DynamicDep.ProtoReflect.Descriptor instead.

func (*DynamicDep) GetKey

func (x *DynamicDep) GetKey() string

func (*DynamicDep) GetValue

func (x *DynamicDep) GetValue() string

func (*DynamicDep) ProtoMessage

func (*DynamicDep) ProtoMessage()

func (*DynamicDep) ProtoReflect

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

func (*DynamicDep) Reset

func (x *DynamicDep) Reset()

func (*DynamicDep) String

func (x *DynamicDep) String() string

type ExecCmdMetadata

type ExecCmdMetadata struct {
	// contains filtered or unexported fields
}

func (*ExecCmdMetadata) Descriptor deprecated

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

Deprecated: Use ExecCmdMetadata.ProtoReflect.Descriptor instead.

func (*ExecCmdMetadata) ProtoMessage

func (*ExecCmdMetadata) ProtoMessage()

func (*ExecCmdMetadata) ProtoReflect

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

func (*ExecCmdMetadata) Reset

func (x *ExecCmdMetadata) Reset()

func (*ExecCmdMetadata) String

func (x *ExecCmdMetadata) String() string

type ExecCmdRequest

type ExecCmdRequest struct {

	// The path (URI) for the servod (containerized or running as a daemon) host.
	// If cros-servod and docker-servod live on the same host, this parameter
	// should be empty.
	ServoHostPath string `protobuf:"bytes,1,opt,name=servo_host_path,json=servoHostPath,proto3" json:"servo_host_path,omitempty"`
	// The servod Docker container name.
	ServodDockerContainerName string `` /* 140-byte string literal not displayed */
	// The command to execute on the servo host.
	// Example (Flash firmware with the provided image):
	// "futility update -i <IMAGE> --servo_port=<PORT>"
	// Example (Copy a file from B to A while logged into B):
	// "scp /path/to/file username@A:/path/to/destination"
	Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	// stdin is passed to the command as the program's stdin.
	// An empty bytes is not treated specially; if the command reads
	// from stdin, it will receive zero bytes.
	Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecCmdRequest) Descriptor deprecated

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

Deprecated: Use ExecCmdRequest.ProtoReflect.Descriptor instead.

func (*ExecCmdRequest) GetCommand

func (x *ExecCmdRequest) GetCommand() string

func (*ExecCmdRequest) GetServoHostPath

func (x *ExecCmdRequest) GetServoHostPath() string

func (*ExecCmdRequest) GetServodDockerContainerName

func (x *ExecCmdRequest) GetServodDockerContainerName() string

func (*ExecCmdRequest) GetStdin

func (x *ExecCmdRequest) GetStdin() []byte

func (*ExecCmdRequest) ProtoMessage

func (*ExecCmdRequest) ProtoMessage()

func (*ExecCmdRequest) ProtoReflect

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

func (*ExecCmdRequest) Reset

func (x *ExecCmdRequest) Reset()

func (*ExecCmdRequest) String

func (x *ExecCmdRequest) String() string

type ExecCmdResponse

type ExecCmdResponse struct {

	// The exit information that is set when the command has exited
	// or failed to start.
	ExitInfo *ExecCmdResponse_ExitInfo `protobuf:"bytes,1,opt,name=exit_info,json=exitInfo,proto3" json:"exit_info,omitempty"`
	// The shell command's stdout output since the last response.
	Stdout []byte `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// The shell command's stderr output since the last response.
	Stderr []byte `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecCmdResponse) Descriptor deprecated

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

Deprecated: Use ExecCmdResponse.ProtoReflect.Descriptor instead.

func (*ExecCmdResponse) GetExitInfo

func (x *ExecCmdResponse) GetExitInfo() *ExecCmdResponse_ExitInfo

func (*ExecCmdResponse) GetStderr

func (x *ExecCmdResponse) GetStderr() []byte

func (*ExecCmdResponse) GetStdout

func (x *ExecCmdResponse) GetStdout() []byte

func (*ExecCmdResponse) ProtoMessage

func (*ExecCmdResponse) ProtoMessage()

func (*ExecCmdResponse) ProtoReflect

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

func (*ExecCmdResponse) Reset

func (x *ExecCmdResponse) Reset()

func (*ExecCmdResponse) String

func (x *ExecCmdResponse) String() string

type ExecCmdResponse_ExitInfo

type ExecCmdResponse_ExitInfo struct {

	// status provides information about how the command process
	// terminated.
	//
	// If the command failed to start, status is set to an arbitrary
	// non-zero value.
	//
	// If signaled is set, status is set to the signal that caused
	// the command to terminate.
	//
	// Otherwise, status is set to the exit status of the process.
	// Exit statuses outside of 0 to 255 inclusive are not supported;
	// they will be mapped to an arbitrary non-zero value.
	//
	// status is zero if and only if the process was successfully
	// started and exited with a zero status.
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// signaled indicates whether the command exited due to a signal.
	// If set, status contains the signal.
	Signaled bool `protobuf:"varint,2,opt,name=signaled,proto3" json:"signaled,omitempty"`
	// started indicates whether the command was started.
	Started bool `protobuf:"varint,3,opt,name=started,proto3" json:"started,omitempty"`
	// error_message provides a human readable explanation for some errors.
	// This MUST NOT be inspected by programs.
	ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecCmdResponse_ExitInfo) Descriptor deprecated

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

Deprecated: Use ExecCmdResponse_ExitInfo.ProtoReflect.Descriptor instead.

func (*ExecCmdResponse_ExitInfo) GetErrorMessage

func (x *ExecCmdResponse_ExitInfo) GetErrorMessage() string

func (*ExecCmdResponse_ExitInfo) GetSignaled

func (x *ExecCmdResponse_ExitInfo) GetSignaled() bool

func (*ExecCmdResponse_ExitInfo) GetStarted

func (x *ExecCmdResponse_ExitInfo) GetStarted() bool

func (*ExecCmdResponse_ExitInfo) GetStatus

func (x *ExecCmdResponse_ExitInfo) GetStatus() int32

func (*ExecCmdResponse_ExitInfo) ProtoMessage

func (*ExecCmdResponse_ExitInfo) ProtoMessage()

func (*ExecCmdResponse_ExitInfo) ProtoReflect

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

func (*ExecCmdResponse_ExitInfo) Reset

func (x *ExecCmdResponse_ExitInfo) Reset()

func (*ExecCmdResponse_ExitInfo) String

func (x *ExecCmdResponse_ExitInfo) String() string

type ExecCommandRequest

type ExecCommandRequest struct {

	// name is the resource name for the DUT.
	// The DUT name is passed to the RTD when the RTD is started.
	// It is not specified whether the name is the DUT hostname.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// command is the command to run.
	// If this contains no slashes, it is resolved using PATH.
	// If this starts with /, it is used as an absolute path to the
	// program to run.
	// Otherwise, this is treated as a path relative to the working
	// directory.
	Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	// args are the arguments to pass to the command.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// stdin is passed to the command as the program's stdin.
	// The stream does not support seeking.
	// An empty bytes is not treated specially; if the command reads
	// from stdin, it will receive zero bytes.
	Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
	// stdout indicates how to handle the command's stdout.
	Stdout Output `protobuf:"varint,5,opt,name=stdout,proto3,enum=chromiumos.test.api.Output" json:"stdout,omitempty"`
	// stderr indicates how to handle the command's stderr.
	Stderr Output `protobuf:"varint,6,opt,name=stderr,proto3,enum=chromiumos.test.api.Output" json:"stderr,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecCommandRequest) Descriptor deprecated

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

Deprecated: Use ExecCommandRequest.ProtoReflect.Descriptor instead.

func (*ExecCommandRequest) GetArgs

func (x *ExecCommandRequest) GetArgs() []string

func (*ExecCommandRequest) GetCommand

func (x *ExecCommandRequest) GetCommand() string

func (*ExecCommandRequest) GetName

func (x *ExecCommandRequest) GetName() string

func (*ExecCommandRequest) GetStderr

func (x *ExecCommandRequest) GetStderr() Output

func (*ExecCommandRequest) GetStdin

func (x *ExecCommandRequest) GetStdin() []byte

func (*ExecCommandRequest) GetStdout

func (x *ExecCommandRequest) GetStdout() Output

func (*ExecCommandRequest) ProtoMessage

func (*ExecCommandRequest) ProtoMessage()

func (*ExecCommandRequest) ProtoReflect

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

func (*ExecCommandRequest) Reset

func (x *ExecCommandRequest) Reset()

func (*ExecCommandRequest) String

func (x *ExecCommandRequest) String() string

type ExecCommandResponse

type ExecCommandResponse struct {

	// exit_info contains exit information.
	// This is set when the command has exited or failed to start.
	// This is set on the last message in the response stream.
	ExitInfo *ExecCommandResponse_ExitInfo `protobuf:"bytes,1,opt,name=exit_info,json=exitInfo,proto3" json:"exit_info,omitempty"`
	// stdout contains the shell command's stdout output since the last
	// response in the stream.
	// The implementation MAY batch or delay output to later
	// responses in the stream.
	Stdout []byte `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// stderr contains the shell command's stderr output since the last
	// response in the stream.
	// The implementation MAY batch or delay output to later
	// responses in the stream.
	Stderr []byte `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecCommandResponse) Descriptor deprecated

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

Deprecated: Use ExecCommandResponse.ProtoReflect.Descriptor instead.

func (*ExecCommandResponse) GetExitInfo

func (*ExecCommandResponse) GetStderr

func (x *ExecCommandResponse) GetStderr() []byte

func (*ExecCommandResponse) GetStdout

func (x *ExecCommandResponse) GetStdout() []byte

func (*ExecCommandResponse) ProtoMessage

func (*ExecCommandResponse) ProtoMessage()

func (*ExecCommandResponse) ProtoReflect

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

func (*ExecCommandResponse) Reset

func (x *ExecCommandResponse) Reset()

func (*ExecCommandResponse) String

func (x *ExecCommandResponse) String() string

type ExecCommandResponse_ExitInfo

type ExecCommandResponse_ExitInfo struct {

	// status provides information about how the command process
	// terminated.
	//
	// If the command failed to start, status is set to an arbitrary
	// non-zero value.
	//
	// If signaled is set, status is set to the signal that caused
	// the command to terminate.
	//
	// Otherwise, status is set to the exit status of the process.
	// Exit statuses outside of 0 to 255 inclusive are not supported;
	// they will be mapped to an arbitrary non-zero value.
	//
	// status is zero if and only if the process was successfully
	// started and exited with a zero status.
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// signaled indicates whether the command exited due to a signal.
	// If set, status contains the signal.
	Signaled bool `protobuf:"varint,2,opt,name=signaled,proto3" json:"signaled,omitempty"`
	// started indicates whether the command was started.
	Started bool `protobuf:"varint,3,opt,name=started,proto3" json:"started,omitempty"`
	// error_message provides a human readable explanation for some errors.
	// This MUST NOT be inspected by programs.
	ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecCommandResponse_ExitInfo) Descriptor deprecated

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

Deprecated: Use ExecCommandResponse_ExitInfo.ProtoReflect.Descriptor instead.

func (*ExecCommandResponse_ExitInfo) GetErrorMessage

func (x *ExecCommandResponse_ExitInfo) GetErrorMessage() string

func (*ExecCommandResponse_ExitInfo) GetSignaled

func (x *ExecCommandResponse_ExitInfo) GetSignaled() bool

func (*ExecCommandResponse_ExitInfo) GetStarted

func (x *ExecCommandResponse_ExitInfo) GetStarted() bool

func (*ExecCommandResponse_ExitInfo) GetStatus

func (x *ExecCommandResponse_ExitInfo) GetStatus() int32

func (*ExecCommandResponse_ExitInfo) ProtoMessage

func (*ExecCommandResponse_ExitInfo) ProtoMessage()

func (*ExecCommandResponse_ExitInfo) ProtoReflect

func (*ExecCommandResponse_ExitInfo) Reset

func (x *ExecCommandResponse_ExitInfo) Reset()

func (*ExecCommandResponse_ExitInfo) String

type ExecutionMetadata

type ExecutionMetadata struct {

	// Custom arguments passed to the drivers. Drivers responsibility to handle.
	Args []*Arg `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

This is what will be populated from CTP into testrunner args provided on the CTP input request.

func (*ExecutionMetadata) Descriptor deprecated

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

Deprecated: Use ExecutionMetadata.ProtoReflect.Descriptor instead.

func (*ExecutionMetadata) GetArgs

func (x *ExecutionMetadata) GetArgs() []*Arg

func (*ExecutionMetadata) ProtoMessage

func (*ExecutionMetadata) ProtoMessage()

func (*ExecutionMetadata) ProtoReflect

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

func (*ExecutionMetadata) Reset

func (x *ExecutionMetadata) Reset()

func (*ExecutionMetadata) String

func (x *ExecutionMetadata) String() string

type ExecutionServiceClient

type ExecutionServiceClient interface {
	// Provides the ability to run tests as specified per the request.
	RunTests(ctx context.Context, in *CrosTestRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

ExecutionServiceClient is the client API for ExecutionService 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 ExecutionServiceServer

type ExecutionServiceServer interface {
	// Provides the ability to run tests as specified per the request.
	RunTests(context.Context, *CrosTestRequest) (*longrunning.Operation, error)
}

ExecutionServiceServer is the server API for ExecutionService service. All implementations should embed UnimplementedExecutionServiceServer for forward compatibility

type ExtendLeaseRequest

type ExtendLeaseRequest struct {

	// Original lease_id obtained when the lease was created.
	LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	// Important to configure a good lifetime max for leases can not be extended
	// indefinitely. It is also important to ensure same limits as those for
	// LeaseDeviceRequest.duration or LeaseVMRequest.duration.
	ExtendDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=extend_duration,json=extendDuration,proto3" json:"extend_duration,omitempty"`
	// Generated on the client side, shared across retries but pseudo-unique
	// across different logical requests. Requests with the same key will be
	// treated as duplicate of original request, return the same response.
	IdempotencyKey string `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtendLeaseRequest) Descriptor deprecated

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

Deprecated: Use ExtendLeaseRequest.ProtoReflect.Descriptor instead.

func (*ExtendLeaseRequest) GetExtendDuration

func (x *ExtendLeaseRequest) GetExtendDuration() *durationpb.Duration

func (*ExtendLeaseRequest) GetIdempotencyKey

func (x *ExtendLeaseRequest) GetIdempotencyKey() string

func (*ExtendLeaseRequest) GetLeaseId

func (x *ExtendLeaseRequest) GetLeaseId() string

func (*ExtendLeaseRequest) ProtoMessage

func (*ExtendLeaseRequest) ProtoMessage()

func (*ExtendLeaseRequest) ProtoReflect

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

func (*ExtendLeaseRequest) Reset

func (x *ExtendLeaseRequest) Reset()

func (*ExtendLeaseRequest) String

func (x *ExtendLeaseRequest) String() string

type ExtendLeaseResponse

type ExtendLeaseResponse struct {
	LeaseId        string                 `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtendLeaseResponse) Descriptor deprecated

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

Deprecated: Use ExtendLeaseResponse.ProtoReflect.Descriptor instead.

func (*ExtendLeaseResponse) GetExpirationTime

func (x *ExtendLeaseResponse) GetExpirationTime() *timestamppb.Timestamp

func (*ExtendLeaseResponse) GetLeaseId

func (x *ExtendLeaseResponse) GetLeaseId() string

func (*ExtendLeaseResponse) ProtoMessage

func (*ExtendLeaseResponse) ProtoMessage()

func (*ExtendLeaseResponse) ProtoReflect

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

func (*ExtendLeaseResponse) Reset

func (x *ExtendLeaseResponse) Reset()

func (*ExtendLeaseResponse) String

func (x *ExtendLeaseResponse) String() string

type FetchCrashesRequest

type FetchCrashesRequest struct {

	// If true, fetch the core file.
	// For uploads to the crash server, that should generally be false.
	// If the crash file is likely to be used for manual debugging (e.g. on
	// a manually-invoked test suite run), this might be true.
	// Coredumps can be extremely large (even gigabytes), so if resource usage
	// is a concern, this should probably be false.
	FetchCore bool `protobuf:"varint,2,opt,name=fetch_core,json=fetchCore,proto3" json:"fetch_core,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchCrashesRequest) Descriptor deprecated

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

Deprecated: Use FetchCrashesRequest.ProtoReflect.Descriptor instead.

func (*FetchCrashesRequest) GetFetchCore

func (x *FetchCrashesRequest) GetFetchCore() bool

func (*FetchCrashesRequest) ProtoMessage

func (*FetchCrashesRequest) ProtoMessage()

func (*FetchCrashesRequest) ProtoReflect

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

func (*FetchCrashesRequest) Reset

func (x *FetchCrashesRequest) Reset()

func (*FetchCrashesRequest) String

func (x *FetchCrashesRequest) String() string

type FetchCrashesResponse

type FetchCrashesResponse struct {

	// Crash id. unique only within responses to a single FetchCrashes request.
	// Used to assemble multiple streamed |FetchCrashesResponse| protos into a
	// single crash report.
	CrashId int64 `protobuf:"varint,1,opt,name=crash_id,json=crashId,proto3" json:"crash_id,omitempty"`
	// Types that are assignable to Data:
	//	*FetchCrashesResponse_Crash
	//	*FetchCrashesResponse_Blob
	//	*FetchCrashesResponse_Core
	Data isFetchCrashesResponse_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

When this response is streamed, the first proto with a given crash ID will always contain the CrashInfo. Files and core dumps (if present) may be streamed. If they are, subsequent protos with the same crash ID will follow, each containing a chunk of file/coredump. To reassemble these, concatenate the bytes received from each subsequent proto with a matching crash_id (concatenate blobs that have matching crash_ids and keys). Additional crashes may be reported in the same stream with a new crash ID.

func (*FetchCrashesResponse) Descriptor deprecated

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

Deprecated: Use FetchCrashesResponse.ProtoReflect.Descriptor instead.

func (*FetchCrashesResponse) GetBlob

func (x *FetchCrashesResponse) GetBlob() *CrashBlob

func (*FetchCrashesResponse) GetCore

func (x *FetchCrashesResponse) GetCore() []byte

func (*FetchCrashesResponse) GetCrash

func (x *FetchCrashesResponse) GetCrash() *CrashInfo

func (*FetchCrashesResponse) GetCrashId

func (x *FetchCrashesResponse) GetCrashId() int64

func (*FetchCrashesResponse) GetData

func (m *FetchCrashesResponse) GetData() isFetchCrashesResponse_Data

func (*FetchCrashesResponse) ProtoMessage

func (*FetchCrashesResponse) ProtoMessage()

func (*FetchCrashesResponse) ProtoReflect

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

func (*FetchCrashesResponse) Reset

func (x *FetchCrashesResponse) Reset()

func (*FetchCrashesResponse) String

func (x *FetchCrashesResponse) String() string

type FetchCrashesResponse_Blob

type FetchCrashesResponse_Blob struct {
	// Misc file (e.g. minidump, large binary log, etc)
	Blob *CrashBlob `protobuf:"bytes,3,opt,name=blob,proto3,oneof"`
}

type FetchCrashesResponse_Core

type FetchCrashesResponse_Core struct {
	// Coredump. Present if fetch_core was true in FetchCrashesRequest and
	// the crash has a coredump. (kernel warnings, for example, do not have
	// one).
	Core []byte `protobuf:"bytes,4,opt,name=core,proto3,oneof"`
}

type FetchCrashesResponse_Crash

type FetchCrashesResponse_Crash struct {
	// Full details of crash report.
	Crash *CrashInfo `protobuf:"bytes,2,opt,name=crash,proto3,oneof"`
}

type FetchFileRequest

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

Fetch files from remote host into local /var/tmp/remotefiles

func (*FetchFileRequest) Descriptor deprecated

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

Deprecated: Use FetchFileRequest.ProtoReflect.Descriptor instead.

func (*FetchFileRequest) GetFile

func (x *FetchFileRequest) GetFile() string

func (*FetchFileRequest) ProtoMessage

func (*FetchFileRequest) ProtoMessage()

func (*FetchFileRequest) ProtoReflect

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

func (*FetchFileRequest) Reset

func (x *FetchFileRequest) Reset()

func (*FetchFileRequest) String

func (x *FetchFileRequest) String() string

type File

type File struct {
	File []byte `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

Byte stream of the requested file.

func (*File) Descriptor deprecated

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

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetFile

func (x *File) GetFile() []byte

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

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

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type FileMap

type FileMap struct {
	FileName     string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	FileLocation string `protobuf:"bytes,2,opt,name=file_location,json=fileLocation,proto3" json:"file_location,omitempty"`
	// contains filtered or unexported fields
}

FileMap file_name:location in relation to the service.

func (*FileMap) Descriptor deprecated

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

Deprecated: Use FileMap.ProtoReflect.Descriptor instead.

func (*FileMap) GetFileLocation

func (x *FileMap) GetFileLocation() string

func (*FileMap) GetFileName

func (x *FileMap) GetFileName() string

func (*FileMap) ProtoMessage

func (*FileMap) ProtoMessage()

func (*FileMap) ProtoReflect

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

func (*FileMap) Reset

func (x *FileMap) Reset()

func (*FileMap) String

func (x *FileMap) String() string

type FilterCfg

type FilterCfg struct {

	// This applies to the entire suite. Any tests forced_enabled/disabled in this
	// will apply to all boards.
	PassRatePolicy *PassRatePolicy `protobuf:"bytes,1,opt,name=pass_rate_policy,json=passRatePolicy,proto3" json:"pass_rate_policy,omitempty"`
	// Blank will be treated as the global policy. By setting this field, this policy
	// will overwrite the global, and apply to all suites in this list.
	TestSuites []string `protobuf:"bytes,2,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// Fully opt the suite out of filtering.
	OptOut bool `protobuf:"varint,4,opt,name=opt_out,json=optOut,proto3" json:"opt_out,omitempty"`
	// contains filtered or unexported fields
}

FilterCfg is a policy which applies to one or more suites. If there is/are no suite(s) set, it will be treated as the global policy.

func (*FilterCfg) Descriptor deprecated

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

Deprecated: Use FilterCfg.ProtoReflect.Descriptor instead.

func (*FilterCfg) GetOptOut

func (x *FilterCfg) GetOptOut() bool

func (*FilterCfg) GetPassRatePolicy

func (x *FilterCfg) GetPassRatePolicy() *PassRatePolicy

func (*FilterCfg) GetTestSuites

func (x *FilterCfg) GetTestSuites() []string

func (*FilterCfg) ProtoMessage

func (*FilterCfg) ProtoMessage()

func (*FilterCfg) ProtoReflect

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

func (*FilterCfg) Reset

func (x *FilterCfg) Reset()

func (*FilterCfg) String

func (x *FilterCfg) String() string

type FilterCfgs

type FilterCfgs struct {
	FilterCfg []*FilterCfg `protobuf:"bytes,1,rep,name=filter_cfg,json=filterCfg,proto3" json:"filter_cfg,omitempty"`
	// contains filtered or unexported fields
}

FilterCfgs as a whole describes all the policies for test filtering.

func (*FilterCfgs) Descriptor deprecated

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

Deprecated: Use FilterCfgs.ProtoReflect.Descriptor instead.

func (*FilterCfgs) GetFilterCfg

func (x *FilterCfgs) GetFilterCfg() []*FilterCfg

func (*FilterCfgs) ProtoMessage

func (*FilterCfgs) ProtoMessage()

func (*FilterCfgs) ProtoReflect

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

func (*FilterCfgs) Reset

func (x *FilterCfgs) Reset()

func (*FilterCfgs) String

func (x *FilterCfgs) String() string

type FilterFlakyRequest

type FilterFlakyRequest struct {

	// Policy can be expanded to have new policies as needed.
	// Note they must be implemented in the service.
	//
	// Types that are assignable to Policy:
	//	*FilterFlakyRequest_PassRatePolicy
	//	*FilterFlakyRequest_StabilitySensorPolicy
	Policy     isFilterFlakyRequest_Policy `protobuf_oneof:"policy"`
	TestSuites []*TestSuite                `protobuf:"bytes,3,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// Milestone that the test filtering is for.
	// Important as test flake can be very different per milestone based on
	// breakages/fixes across branches.
	Milestone string `protobuf:"bytes,4,opt,name=milestone,proto3" json:"milestone,omitempty"`
	// Currently filtering will be done on _board_ level.
	// Other variants (model, hwid, etc) to follow.
	//
	// Types that are assignable to Variant:
	//	*FilterFlakyRequest_Board
	Variant isFilterFlakyRequest_Variant `protobuf_oneof:"variant"`
	// When there is not enough signal to determine stability (based on policy); default on/off.
	DefaultEnabled bool `protobuf:"varint,6,opt,name=default_enabled,json=defaultEnabled,proto3" json:"default_enabled,omitempty"`
	// BBID of the task
	Bbid string `protobuf:"bytes,7,opt,name=bbid,proto3" json:"bbid,omitempty"`
	// is_dry_run indicates if the results are to be used or not. This will only change
	// how the system logs results.
	IsDryRun bool `protobuf:"varint,8,opt,name=is_dry_run,json=isDryRun,proto3" json:"is_dry_run,omitempty"`
	// contains filtered or unexported fields
}

FilterFlakyRequest request to run. Must be from the list below.

func (*FilterFlakyRequest) Descriptor deprecated

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

Deprecated: Use FilterFlakyRequest.ProtoReflect.Descriptor instead.

func (*FilterFlakyRequest) GetBbid

func (x *FilterFlakyRequest) GetBbid() string

func (*FilterFlakyRequest) GetBoard

func (x *FilterFlakyRequest) GetBoard() string

func (*FilterFlakyRequest) GetDefaultEnabled

func (x *FilterFlakyRequest) GetDefaultEnabled() bool

func (*FilterFlakyRequest) GetIsDryRun

func (x *FilterFlakyRequest) GetIsDryRun() bool

func (*FilterFlakyRequest) GetMilestone

func (x *FilterFlakyRequest) GetMilestone() string

func (*FilterFlakyRequest) GetPassRatePolicy

func (x *FilterFlakyRequest) GetPassRatePolicy() *PassRatePolicy

func (*FilterFlakyRequest) GetPolicy

func (m *FilterFlakyRequest) GetPolicy() isFilterFlakyRequest_Policy

func (*FilterFlakyRequest) GetStabilitySensorPolicy

func (x *FilterFlakyRequest) GetStabilitySensorPolicy() *StabilitySensorPolicy

func (*FilterFlakyRequest) GetTestSuites

func (x *FilterFlakyRequest) GetTestSuites() []*TestSuite

func (*FilterFlakyRequest) GetVariant

func (m *FilterFlakyRequest) GetVariant() isFilterFlakyRequest_Variant

func (*FilterFlakyRequest) ProtoMessage

func (*FilterFlakyRequest) ProtoMessage()

func (*FilterFlakyRequest) ProtoReflect

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

func (*FilterFlakyRequest) Reset

func (x *FilterFlakyRequest) Reset()

func (*FilterFlakyRequest) String

func (x *FilterFlakyRequest) String() string

type FilterFlakyRequest_Board

type FilterFlakyRequest_Board struct {
	Board string `protobuf:"bytes,5,opt,name=board,proto3,oneof"`
}

type FilterFlakyRequest_PassRatePolicy

type FilterFlakyRequest_PassRatePolicy struct {
	PassRatePolicy *PassRatePolicy `protobuf:"bytes,1,opt,name=pass_rate_policy,json=passRatePolicy,proto3,oneof"`
}

type FilterFlakyRequest_StabilitySensorPolicy

type FilterFlakyRequest_StabilitySensorPolicy struct {
	StabilitySensorPolicy *StabilitySensorPolicy `protobuf:"bytes,2,opt,name=stability_sensor_policy,json=stabilitySensorPolicy,proto3,oneof"`
}

type FilterFlakyResponse

type FilterFlakyResponse struct {
	TestSuites   []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	RemovedTests []string     `protobuf:"bytes,2,rep,name=removed_tests,json=removedTests,proto3" json:"removed_tests,omitempty"`
	// contains filtered or unexported fields
}

func (*FilterFlakyResponse) Descriptor deprecated

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

Deprecated: Use FilterFlakyResponse.ProtoReflect.Descriptor instead.

func (*FilterFlakyResponse) GetRemovedTests

func (x *FilterFlakyResponse) GetRemovedTests() []string

func (*FilterFlakyResponse) GetTestSuites

func (x *FilterFlakyResponse) GetTestSuites() []*TestSuite

func (*FilterFlakyResponse) ProtoMessage

func (*FilterFlakyResponse) ProtoMessage()

func (*FilterFlakyResponse) ProtoReflect

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

func (*FilterFlakyResponse) Reset

func (x *FilterFlakyResponse) Reset()

func (*FilterFlakyResponse) String

func (x *FilterFlakyResponse) String() string

type FilterTestConfig

type FilterTestConfig struct {
	Test    string                   `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"`
	Board   []string                 `protobuf:"bytes,2,rep,name=board,proto3" json:"board,omitempty"`
	Setting FilterTestConfig_Setting `protobuf:"varint,3,opt,name=setting,proto3,enum=chromiumos.test.api.FilterTestConfig_Setting" json:"setting,omitempty"`
	// List of bugs associated with the cfg
	Bugs []string `protobuf:"bytes,4,rep,name=bugs,proto3" json:"bugs,omitempty"`
	// contains filtered or unexported fields
}

FilterTestConfig contains a test, boards, and the state of the test.

func (*FilterTestConfig) Descriptor deprecated

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

Deprecated: Use FilterTestConfig.ProtoReflect.Descriptor instead.

func (*FilterTestConfig) GetBoard

func (x *FilterTestConfig) GetBoard() []string

func (*FilterTestConfig) GetBugs

func (x *FilterTestConfig) GetBugs() []string

func (*FilterTestConfig) GetSetting

func (*FilterTestConfig) GetTest

func (x *FilterTestConfig) GetTest() string

func (*FilterTestConfig) ProtoMessage

func (*FilterTestConfig) ProtoMessage()

func (*FilterTestConfig) ProtoReflect

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

func (*FilterTestConfig) Reset

func (x *FilterTestConfig) Reset()

func (*FilterTestConfig) String

func (x *FilterTestConfig) String() string

type FilterTestConfig_Setting

type FilterTestConfig_Setting int32

Force enable/disabled the test on the boards in the cfg.

const (
	FilterTestConfig_NOT_SET  FilterTestConfig_Setting = 0
	FilterTestConfig_ENABLED  FilterTestConfig_Setting = 1
	FilterTestConfig_DISABLED FilterTestConfig_Setting = 2
)

func (FilterTestConfig_Setting) Descriptor

func (FilterTestConfig_Setting) Enum

func (FilterTestConfig_Setting) EnumDescriptor deprecated

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

Deprecated: Use FilterTestConfig_Setting.Descriptor instead.

func (FilterTestConfig_Setting) Number

func (FilterTestConfig_Setting) String

func (x FilterTestConfig_Setting) String() string

func (FilterTestConfig_Setting) Type

type FirmwareProvisionInstallMetadata

type FirmwareProvisionInstallMetadata struct {

	// Detailed Request allows you to specify individual versions of
	// AP_RW, AP_RO, EC_RO, and PD_RO.
	// Service will extract the images from firmware archive and install
	// them individually over futility.
	// ec_ro over Servo is flashed using flash_ec.
	FirmwareConfig *api1.FirmwareConfig `protobuf:"bytes,1,opt,name=firmware_config,json=firmwareConfig,proto3" json:"firmware_config,omitempty"`
	// contains filtered or unexported fields
}

FirmwareProvisionInstallMetadata can be passed to InstallRequest.metadata

func (*FirmwareProvisionInstallMetadata) Descriptor deprecated

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

Deprecated: Use FirmwareProvisionInstallMetadata.ProtoReflect.Descriptor instead.

func (*FirmwareProvisionInstallMetadata) GetFirmwareConfig

func (x *FirmwareProvisionInstallMetadata) GetFirmwareConfig() *api1.FirmwareConfig

func (*FirmwareProvisionInstallMetadata) ProtoMessage

func (*FirmwareProvisionInstallMetadata) ProtoMessage()

func (*FirmwareProvisionInstallMetadata) ProtoReflect

func (*FirmwareProvisionInstallMetadata) Reset

func (*FirmwareProvisionInstallMetadata) String

type FirmwareProvisionStartupMetadata

type FirmwareProvisionStartupMetadata struct {

	// Deprecated. Use ProvisionStartupRequest.dut.cache_server instead.
	//
	// Deprecated: Do not use.
	CacheServerAddress *api.IpEndpoint `protobuf:"bytes,1,opt,name=cache_server_address,json=cacheServerAddress,proto3" json:"cache_server_address,omitempty"`
	// contains filtered or unexported fields
}

FirmwareProvisionStartupMetadata can be passed to ProvisionStartupRequest.metadata

func (*FirmwareProvisionStartupMetadata) Descriptor deprecated

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

Deprecated: Use FirmwareProvisionStartupMetadata.ProtoReflect.Descriptor instead.

func (*FirmwareProvisionStartupMetadata) GetCacheServerAddress deprecated

func (x *FirmwareProvisionStartupMetadata) GetCacheServerAddress() *api.IpEndpoint

Deprecated: Do not use.

func (*FirmwareProvisionStartupMetadata) ProtoMessage

func (*FirmwareProvisionStartupMetadata) ProtoMessage()

func (*FirmwareProvisionStartupMetadata) ProtoReflect

func (*FirmwareProvisionStartupMetadata) Reset

func (*FirmwareProvisionStartupMetadata) String

type FocalTaskFinder

type FocalTaskFinder struct {

	// Types that are assignable to Finder:
	//	*FocalTaskFinder_First_
	//	*FocalTaskFinder_Last_
	//	*FocalTaskFinder_Beginning_
	//	*FocalTaskFinder_End_
	//	*FocalTaskFinder_ByDynamicIdentifier_
	Finder isFocalTaskFinder_Finder `protobuf_oneof:"finder"`
	// contains filtered or unexported fields
}

FocalTaskFinder describes which task is the update based around.

func (*FocalTaskFinder) Descriptor deprecated

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

Deprecated: Use FocalTaskFinder.ProtoReflect.Descriptor instead.

func (*FocalTaskFinder) GetBeginning

func (x *FocalTaskFinder) GetBeginning() *FocalTaskFinder_Beginning

func (*FocalTaskFinder) GetByDynamicIdentifier

func (x *FocalTaskFinder) GetByDynamicIdentifier() *FocalTaskFinder_ByDynamicIdentifier

func (*FocalTaskFinder) GetEnd

func (x *FocalTaskFinder) GetEnd() *FocalTaskFinder_End

func (*FocalTaskFinder) GetFinder

func (m *FocalTaskFinder) GetFinder() isFocalTaskFinder_Finder

func (*FocalTaskFinder) GetFirst

func (x *FocalTaskFinder) GetFirst() *FocalTaskFinder_First

func (*FocalTaskFinder) GetLast

func (x *FocalTaskFinder) GetLast() *FocalTaskFinder_Last

func (*FocalTaskFinder) ProtoMessage

func (*FocalTaskFinder) ProtoMessage()

func (*FocalTaskFinder) ProtoReflect

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

func (*FocalTaskFinder) Reset

func (x *FocalTaskFinder) Reset()

func (*FocalTaskFinder) String

func (x *FocalTaskFinder) String() string

type FocalTaskFinder_Beginning

type FocalTaskFinder_Beginning struct {
	// contains filtered or unexported fields
}

Beginning always gives the first task in the list, ie the 0th index.

func (*FocalTaskFinder_Beginning) Descriptor deprecated

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

Deprecated: Use FocalTaskFinder_Beginning.ProtoReflect.Descriptor instead.

func (*FocalTaskFinder_Beginning) ProtoMessage

func (*FocalTaskFinder_Beginning) ProtoMessage()

func (*FocalTaskFinder_Beginning) ProtoReflect

func (*FocalTaskFinder_Beginning) Reset

func (x *FocalTaskFinder_Beginning) Reset()

func (*FocalTaskFinder_Beginning) String

func (x *FocalTaskFinder_Beginning) String() string

type FocalTaskFinder_Beginning_

type FocalTaskFinder_Beginning_ struct {
	Beginning *FocalTaskFinder_Beginning `protobuf:"bytes,3,opt,name=beginning,proto3,oneof"`
}

type FocalTaskFinder_ByDynamicIdentifier

type FocalTaskFinder_ByDynamicIdentifier struct {
	DynamicIdentifier string `protobuf:"bytes,1,opt,name=dynamic_identifier,json=dynamicIdentifier,proto3" json:"dynamic_identifier,omitempty"`
	// contains filtered or unexported fields
}

ByDynamicIdentifier is a lookup finder that finds the task with the given dynamic identifier set.

func (*FocalTaskFinder_ByDynamicIdentifier) Descriptor deprecated

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

Deprecated: Use FocalTaskFinder_ByDynamicIdentifier.ProtoReflect.Descriptor instead.

func (*FocalTaskFinder_ByDynamicIdentifier) GetDynamicIdentifier

func (x *FocalTaskFinder_ByDynamicIdentifier) GetDynamicIdentifier() string

func (*FocalTaskFinder_ByDynamicIdentifier) ProtoMessage

func (*FocalTaskFinder_ByDynamicIdentifier) ProtoMessage()

func (*FocalTaskFinder_ByDynamicIdentifier) ProtoReflect

func (*FocalTaskFinder_ByDynamicIdentifier) Reset

func (*FocalTaskFinder_ByDynamicIdentifier) String

type FocalTaskFinder_ByDynamicIdentifier_

type FocalTaskFinder_ByDynamicIdentifier_ struct {
	ByDynamicIdentifier *FocalTaskFinder_ByDynamicIdentifier `protobuf:"bytes,5,opt,name=by_dynamic_identifier,json=byDynamicIdentifier,proto3,oneof"`
}

type FocalTaskFinder_End

type FocalTaskFinder_End struct {
	// contains filtered or unexported fields
}

End always gives the last task in the list, ie the len(list)-1 index.

func (*FocalTaskFinder_End) Descriptor deprecated

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

Deprecated: Use FocalTaskFinder_End.ProtoReflect.Descriptor instead.

func (*FocalTaskFinder_End) ProtoMessage

func (*FocalTaskFinder_End) ProtoMessage()

func (*FocalTaskFinder_End) ProtoReflect

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

func (*FocalTaskFinder_End) Reset

func (x *FocalTaskFinder_End) Reset()

func (*FocalTaskFinder_End) String

func (x *FocalTaskFinder_End) String() string

type FocalTaskFinder_End_

type FocalTaskFinder_End_ struct {
	End *FocalTaskFinder_End `protobuf:"bytes,4,opt,name=end,proto3,oneof"`
}

type FocalTaskFinder_First

type FocalTaskFinder_First struct {
	TaskType FocalTaskFinder_TaskType `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

First gives back the first task that is of the type provided.

func (*FocalTaskFinder_First) Descriptor deprecated

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

Deprecated: Use FocalTaskFinder_First.ProtoReflect.Descriptor instead.

func (*FocalTaskFinder_First) GetTaskType

func (*FocalTaskFinder_First) ProtoMessage

func (*FocalTaskFinder_First) ProtoMessage()

func (*FocalTaskFinder_First) ProtoReflect

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

func (*FocalTaskFinder_First) Reset

func (x *FocalTaskFinder_First) Reset()

func (*FocalTaskFinder_First) String

func (x *FocalTaskFinder_First) String() string

type FocalTaskFinder_First_

type FocalTaskFinder_First_ struct {
	First *FocalTaskFinder_First `protobuf:"bytes,1,opt,name=first,proto3,oneof"`
}

type FocalTaskFinder_Last

type FocalTaskFinder_Last struct {
	TaskType FocalTaskFinder_TaskType `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

Last gives back the last task that is of the type provided.

func (*FocalTaskFinder_Last) Descriptor deprecated

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

Deprecated: Use FocalTaskFinder_Last.ProtoReflect.Descriptor instead.

func (*FocalTaskFinder_Last) GetTaskType

func (*FocalTaskFinder_Last) ProtoMessage

func (*FocalTaskFinder_Last) ProtoMessage()

func (*FocalTaskFinder_Last) ProtoReflect

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

func (*FocalTaskFinder_Last) Reset

func (x *FocalTaskFinder_Last) Reset()

func (*FocalTaskFinder_Last) String

func (x *FocalTaskFinder_Last) String() string

type FocalTaskFinder_Last_

type FocalTaskFinder_Last_ struct {
	Last *FocalTaskFinder_Last `protobuf:"bytes,2,opt,name=last,proto3,oneof"`
}

type FocalTaskFinder_TaskType

type FocalTaskFinder_TaskType int32

TaskType defines which task type is being targeted.

const (
	FocalTaskFinder_PROVISION FocalTaskFinder_TaskType = 0
	FocalTaskFinder_PRETEST   FocalTaskFinder_TaskType = 1
	FocalTaskFinder_TEST      FocalTaskFinder_TaskType = 2
	FocalTaskFinder_POSTTEST  FocalTaskFinder_TaskType = 3
	FocalTaskFinder_PUBLISH   FocalTaskFinder_TaskType = 4
	FocalTaskFinder_GENERIC   FocalTaskFinder_TaskType = 5
)

func (FocalTaskFinder_TaskType) Descriptor

func (FocalTaskFinder_TaskType) Enum

func (FocalTaskFinder_TaskType) EnumDescriptor deprecated

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

Deprecated: Use FocalTaskFinder_TaskType.Descriptor instead.

func (FocalTaskFinder_TaskType) Number

func (FocalTaskFinder_TaskType) String

func (x FocalTaskFinder_TaskType) String() string

func (FocalTaskFinder_TaskType) Type

type ForceReconnectMetadata

type ForceReconnectMetadata struct {
	// contains filtered or unexported fields
}

func (*ForceReconnectMetadata) Descriptor deprecated

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

Deprecated: Use ForceReconnectMetadata.ProtoReflect.Descriptor instead.

func (*ForceReconnectMetadata) ProtoMessage

func (*ForceReconnectMetadata) ProtoMessage()

func (*ForceReconnectMetadata) ProtoReflect

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

func (*ForceReconnectMetadata) Reset

func (x *ForceReconnectMetadata) Reset()

func (*ForceReconnectMetadata) String

func (x *ForceReconnectMetadata) String() string

type ForceReconnectRequest

type ForceReconnectRequest struct {
	// contains filtered or unexported fields
}

func (*ForceReconnectRequest) Descriptor deprecated

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

Deprecated: Use ForceReconnectRequest.ProtoReflect.Descriptor instead.

func (*ForceReconnectRequest) ProtoMessage

func (*ForceReconnectRequest) ProtoMessage()

func (*ForceReconnectRequest) ProtoReflect

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

func (*ForceReconnectRequest) Reset

func (x *ForceReconnectRequest) Reset()

func (*ForceReconnectRequest) String

func (x *ForceReconnectRequest) String() string

type ForceReconnectResponse

type ForceReconnectResponse struct {

	// Types that are assignable to Result:
	//	*ForceReconnectResponse_Success_
	//	*ForceReconnectResponse_Failure_
	Result isForceReconnectResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*ForceReconnectResponse) Descriptor deprecated

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

Deprecated: Use ForceReconnectResponse.ProtoReflect.Descriptor instead.

func (*ForceReconnectResponse) GetFailure

func (*ForceReconnectResponse) GetResult

func (m *ForceReconnectResponse) GetResult() isForceReconnectResponse_Result

func (*ForceReconnectResponse) GetSuccess

func (*ForceReconnectResponse) ProtoMessage

func (*ForceReconnectResponse) ProtoMessage()

func (*ForceReconnectResponse) ProtoReflect

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

func (*ForceReconnectResponse) Reset

func (x *ForceReconnectResponse) Reset()

func (*ForceReconnectResponse) String

func (x *ForceReconnectResponse) String() string

type ForceReconnectResponse_Failure

type ForceReconnectResponse_Failure struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ForceReconnectResponse_Failure) Descriptor deprecated

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

Deprecated: Use ForceReconnectResponse_Failure.ProtoReflect.Descriptor instead.

func (*ForceReconnectResponse_Failure) GetErrorMessage

func (x *ForceReconnectResponse_Failure) GetErrorMessage() string

func (*ForceReconnectResponse_Failure) ProtoMessage

func (*ForceReconnectResponse_Failure) ProtoMessage()

func (*ForceReconnectResponse_Failure) ProtoReflect

func (*ForceReconnectResponse_Failure) Reset

func (x *ForceReconnectResponse_Failure) Reset()

func (*ForceReconnectResponse_Failure) String

type ForceReconnectResponse_Failure_

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

type ForceReconnectResponse_Success

type ForceReconnectResponse_Success struct {
	// contains filtered or unexported fields
}

func (*ForceReconnectResponse_Success) Descriptor deprecated

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

Deprecated: Use ForceReconnectResponse_Success.ProtoReflect.Descriptor instead.

func (*ForceReconnectResponse_Success) ProtoMessage

func (*ForceReconnectResponse_Success) ProtoMessage()

func (*ForceReconnectResponse_Success) ProtoReflect

func (*ForceReconnectResponse_Success) Reset

func (x *ForceReconnectResponse_Success) Reset()

func (*ForceReconnectResponse_Success) String

type ForceReconnectResponse_Success_

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

type GceImage

type GceImage struct {

	// Name of GCP project. E.g. betty-cloud-prototype
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Name of GCE image.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Readiness of GCE image.
	Status GceImage_Status `protobuf:"varint,3,opt,name=status,proto3,enum=chromiumos.test.api.GceImage_Status" json:"status,omitempty"`
	// GCS URL of source image to be imported.
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// Labels of the image, including build-type, board, milestone.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Description of the image which contains source image in GS bucket.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// Timestamp when the image is created in UTC.
	TimeCreated *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
	// contains filtered or unexported fields
}

GceImage represents an existing GCE image.

func (*GceImage) Descriptor deprecated

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

Deprecated: Use GceImage.ProtoReflect.Descriptor instead.

func (*GceImage) GetDescription

func (x *GceImage) GetDescription() string

func (*GceImage) GetLabels

func (x *GceImage) GetLabels() map[string]string

func (*GceImage) GetName

func (x *GceImage) GetName() string

func (*GceImage) GetProject

func (x *GceImage) GetProject() string

func (*GceImage) GetSource

func (x *GceImage) GetSource() string

func (*GceImage) GetStatus

func (x *GceImage) GetStatus() GceImage_Status

func (*GceImage) GetTimeCreated

func (x *GceImage) GetTimeCreated() *timestamppb.Timestamp

func (*GceImage) ProtoMessage

func (*GceImage) ProtoMessage()

func (*GceImage) ProtoReflect

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

func (*GceImage) Reset

func (x *GceImage) Reset()

func (*GceImage) String

func (x *GceImage) String() string

type GceImage_Status

type GceImage_Status int32

Status tracks the relevant status of VM lab use case: READY, PENDING, FAILED, DELETING, NOT_FOUND. Unknown statuses are mapped to UNKNOWN.

const (
	GceImage_UNKNOWN   GceImage_Status = 0
	GceImage_READY     GceImage_Status = 1
	GceImage_PENDING   GceImage_Status = 2
	GceImage_FAILED    GceImage_Status = 3
	GceImage_DELETING  GceImage_Status = 4
	GceImage_NOT_FOUND GceImage_Status = 5
)

func (GceImage_Status) Descriptor

func (GceImage_Status) Enum

func (x GceImage_Status) Enum() *GceImage_Status

func (GceImage_Status) EnumDescriptor deprecated

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

Deprecated: Use GceImage_Status.Descriptor instead.

func (GceImage_Status) Number

func (GceImage_Status) String

func (x GceImage_Status) String() string

func (GceImage_Status) Type

type GenericFilterServiceClient

type GenericFilterServiceClient interface {
	Execute(ctx context.Context, in *InternalTestplan, opts ...grpc.CallOption) (*InternalTestplan, error)
}

GenericFilterServiceClient is the client API for GenericFilterService 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 GenericFilterServiceServer

type GenericFilterServiceServer interface {
	Execute(context.Context, *InternalTestplan) (*InternalTestplan, error)
}

GenericFilterServiceServer is the server API for GenericFilterService service. All implementations should embed UnimplementedGenericFilterServiceServer for forward compatibility

type GenericMessage

type GenericMessage struct {
	Values map[string]*anypb.Any `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GenericMessage) Descriptor deprecated

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

Deprecated: Use GenericMessage.ProtoReflect.Descriptor instead.

func (*GenericMessage) GetValues

func (x *GenericMessage) GetValues() map[string]*anypb.Any

func (*GenericMessage) ProtoMessage

func (*GenericMessage) ProtoMessage()

func (*GenericMessage) ProtoReflect

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

func (*GenericMessage) Reset

func (x *GenericMessage) Reset()

func (*GenericMessage) String

func (x *GenericMessage) String() string

type GenericProvisionServiceClient

type GenericProvisionServiceClient interface {
	// StartUp prepares the provision service by providing
	// necessary input values for initialization prior to
	// calling any other provision related service calls.
	StartUp(ctx context.Context, in *ProvisionStartupRequest, opts ...grpc.CallOption) (*ProvisionStartupResponse, error)
	// Install installs a specified OS on the DUT.
	// It is intended to be a generic installation grpc that may be used by all
	// OS flavors.
	Install(ctx context.Context, in *InstallRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

GenericProvisionServiceClient is the client API for GenericProvisionService 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 GenericProvisionServiceServer

type GenericProvisionServiceServer interface {
	// StartUp prepares the provision service by providing
	// necessary input values for initialization prior to
	// calling any other provision related service calls.
	StartUp(context.Context, *ProvisionStartupRequest) (*ProvisionStartupResponse, error)
	// Install installs a specified OS on the DUT.
	// It is intended to be a generic installation grpc that may be used by all
	// OS flavors.
	Install(context.Context, *InstallRequest) (*longrunning.Operation, error)
}

GenericProvisionServiceServer is the server API for GenericProvisionService service. All implementations should embed UnimplementedGenericProvisionServiceServer for forward compatibility

type GenericPublishServiceClient

type GenericPublishServiceClient interface {
	// Publish publishes test results to a specific endpoint.
	// It is intended to be a generic publish grpc that may be
	// used by all endpoints.
	Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

GenericPublishServiceClient is the client API for GenericPublishService 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 GenericPublishServiceServer

type GenericPublishServiceServer interface {
	// Publish publishes test results to a specific endpoint.
	// It is intended to be a generic publish grpc that may be
	// used by all endpoints.
	Publish(context.Context, *PublishRequest) (*longrunning.Operation, error)
}

GenericPublishServiceServer is the server API for GenericPublishService service. All implementations should embed UnimplementedGenericPublishServiceServer for forward compatibility

type GenericRunRequest

type GenericRunRequest struct {
	Message *GenericMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericRunRequest) Descriptor deprecated

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

Deprecated: Use GenericRunRequest.ProtoReflect.Descriptor instead.

func (*GenericRunRequest) GetMessage

func (x *GenericRunRequest) GetMessage() *GenericMessage

func (*GenericRunRequest) ProtoMessage

func (*GenericRunRequest) ProtoMessage()

func (*GenericRunRequest) ProtoReflect

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

func (*GenericRunRequest) Reset

func (x *GenericRunRequest) Reset()

func (*GenericRunRequest) String

func (x *GenericRunRequest) String() string

type GenericRunResponse

type GenericRunResponse struct {
	Message *GenericMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericRunResponse) Descriptor deprecated

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

Deprecated: Use GenericRunResponse.ProtoReflect.Descriptor instead.

func (*GenericRunResponse) GetMessage

func (x *GenericRunResponse) GetMessage() *GenericMessage

func (*GenericRunResponse) ProtoMessage

func (*GenericRunResponse) ProtoMessage()

func (*GenericRunResponse) ProtoReflect

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

func (*GenericRunResponse) Reset

func (x *GenericRunResponse) Reset()

func (*GenericRunResponse) String

func (x *GenericRunResponse) String() string

type GenericServiceClient

type GenericServiceClient interface {
	Start(ctx context.Context, in *GenericStartRequest, opts ...grpc.CallOption) (*GenericStartResponse, error)
	Run(ctx context.Context, in *GenericRunRequest, opts ...grpc.CallOption) (*GenericRunResponse, error)
	Stop(ctx context.Context, in *GenericStopRequest, opts ...grpc.CallOption) (*GenericStopResponse, error)
}

GenericServiceClient is the client API for GenericService 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 GenericServiceServer

GenericServiceServer is the server API for GenericService service. All implementations should embed UnimplementedGenericServiceServer for forward compatibility

type GenericStartRequest

type GenericStartRequest struct {
	Message *GenericMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericStartRequest) Descriptor deprecated

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

Deprecated: Use GenericStartRequest.ProtoReflect.Descriptor instead.

func (*GenericStartRequest) GetMessage

func (x *GenericStartRequest) GetMessage() *GenericMessage

func (*GenericStartRequest) ProtoMessage

func (*GenericStartRequest) ProtoMessage()

func (*GenericStartRequest) ProtoReflect

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

func (*GenericStartRequest) Reset

func (x *GenericStartRequest) Reset()

func (*GenericStartRequest) String

func (x *GenericStartRequest) String() string

type GenericStartResponse

type GenericStartResponse struct {
	Message *GenericMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericStartResponse) Descriptor deprecated

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

Deprecated: Use GenericStartResponse.ProtoReflect.Descriptor instead.

func (*GenericStartResponse) GetMessage

func (x *GenericStartResponse) GetMessage() *GenericMessage

func (*GenericStartResponse) ProtoMessage

func (*GenericStartResponse) ProtoMessage()

func (*GenericStartResponse) ProtoReflect

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

func (*GenericStartResponse) Reset

func (x *GenericStartResponse) Reset()

func (*GenericStartResponse) String

func (x *GenericStartResponse) String() string

type GenericStopRequest

type GenericStopRequest struct {
	Message *GenericMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericStopRequest) Descriptor deprecated

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

Deprecated: Use GenericStopRequest.ProtoReflect.Descriptor instead.

func (*GenericStopRequest) GetMessage

func (x *GenericStopRequest) GetMessage() *GenericMessage

func (*GenericStopRequest) ProtoMessage

func (*GenericStopRequest) ProtoMessage()

func (*GenericStopRequest) ProtoReflect

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

func (*GenericStopRequest) Reset

func (x *GenericStopRequest) Reset()

func (*GenericStopRequest) String

func (x *GenericStopRequest) String() string

type GenericStopResponse

type GenericStopResponse struct {
	Message *GenericMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericStopResponse) Descriptor deprecated

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

Deprecated: Use GenericStopResponse.ProtoReflect.Descriptor instead.

func (*GenericStopResponse) GetMessage

func (x *GenericStopResponse) GetMessage() *GenericMessage

func (*GenericStopResponse) ProtoMessage

func (*GenericStopResponse) ProtoMessage()

func (*GenericStopResponse) ProtoReflect

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

func (*GenericStopResponse) Reset

func (x *GenericStopResponse) Reset()

func (*GenericStopResponse) String

func (x *GenericStopResponse) String() string

type GenericTask

type GenericTask struct {
	ServiceAddress *api1.IpEndpoint     `protobuf:"bytes,1,opt,name=service_address,json=serviceAddress,proto3" json:"service_address,omitempty"`
	StartRequest   *GenericStartRequest `protobuf:"bytes,2,opt,name=start_request,json=startRequest,proto3" json:"start_request,omitempty"`
	RunRequest     *GenericRunRequest   `protobuf:"bytes,3,opt,name=run_request,json=runRequest,proto3" json:"run_request,omitempty"`
	StopRequest    *GenericStopRequest  `protobuf:"bytes,4,opt,name=stop_request,json=stopRequest,proto3" json:"stop_request,omitempty"`
	DynamicDeps    []*DynamicDep        `protobuf:"bytes,5,rep,name=dynamic_deps,json=dynamicDeps,proto3" json:"dynamic_deps,omitempty"`
	// Task identifier for cross-referencing within dynamic dependencies.
	DynamicIdentifier string `protobuf:"bytes,6,opt,name=dynamic_identifier,json=dynamicIdentifier,proto3" json:"dynamic_identifier,omitempty"`
	// contains filtered or unexported fields
}

GenericTask targets request towards services that implement the GenericService.

func (*GenericTask) Descriptor deprecated

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

Deprecated: Use GenericTask.ProtoReflect.Descriptor instead.

func (*GenericTask) GetDynamicDeps

func (x *GenericTask) GetDynamicDeps() []*DynamicDep

func (*GenericTask) GetDynamicIdentifier

func (x *GenericTask) GetDynamicIdentifier() string

func (*GenericTask) GetRunRequest

func (x *GenericTask) GetRunRequest() *GenericRunRequest

func (*GenericTask) GetServiceAddress

func (x *GenericTask) GetServiceAddress() *api1.IpEndpoint

func (*GenericTask) GetStartRequest

func (x *GenericTask) GetStartRequest() *GenericStartRequest

func (*GenericTask) GetStopRequest

func (x *GenericTask) GetStopRequest() *GenericStopRequest

func (*GenericTask) ProtoMessage

func (*GenericTask) ProtoMessage()

func (*GenericTask) ProtoReflect

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

func (*GenericTask) Reset

func (x *GenericTask) Reset()

func (*GenericTask) String

func (x *GenericTask) String() string

type GenericTemplate

type GenericTemplate struct {

	// Name of the binary called within the container.
	BinaryName string `protobuf:"bytes,1,opt,name=binary_name,json=binaryName,proto3" json:"binary_name,omitempty"`
	// Args passed to the call to the binary.
	BinaryArgs []string `protobuf:"bytes,2,rep,name=binary_args,json=binaryArgs,proto3" json:"binary_args,omitempty"`
	// Directory mount from the perspective of the docker container.
	DockerArtifactDir string   `protobuf:"bytes,3,opt,name=docker_artifact_dir,json=dockerArtifactDir,proto3" json:"docker_artifact_dir,omitempty"`
	AdditionalVolumes []string `protobuf:"bytes,4,rep,name=additional_volumes,json=additionalVolumes,proto3" json:"additional_volumes,omitempty"`
	Expose            []string `protobuf:"bytes,5,rep,name=expose,proto3" json:"expose,omitempty"`
	Env               []string `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

Generic template to demonstrate the usage of any container.

func (*GenericTemplate) Descriptor deprecated

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

Deprecated: Use GenericTemplate.ProtoReflect.Descriptor instead.

func (*GenericTemplate) GetAdditionalVolumes

func (x *GenericTemplate) GetAdditionalVolumes() []string

func (*GenericTemplate) GetBinaryArgs

func (x *GenericTemplate) GetBinaryArgs() []string

func (*GenericTemplate) GetBinaryName

func (x *GenericTemplate) GetBinaryName() string

func (*GenericTemplate) GetDockerArtifactDir

func (x *GenericTemplate) GetDockerArtifactDir() string

func (*GenericTemplate) GetEnv

func (x *GenericTemplate) GetEnv() []string

func (*GenericTemplate) GetExpose

func (x *GenericTemplate) GetExpose() []string

func (*GenericTemplate) ProtoMessage

func (*GenericTemplate) ProtoMessage()

func (*GenericTemplate) ProtoReflect

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

func (*GenericTemplate) Reset

func (x *GenericTemplate) Reset()

func (*GenericTemplate) String

func (x *GenericTemplate) String() string

type GetContainerRequest

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

func (*GetContainerRequest) Descriptor deprecated

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

Deprecated: Use GetContainerRequest.ProtoReflect.Descriptor instead.

func (*GetContainerRequest) GetName

func (x *GetContainerRequest) GetName() string

func (*GetContainerRequest) ProtoMessage

func (*GetContainerRequest) ProtoMessage()

func (*GetContainerRequest) ProtoReflect

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

func (*GetContainerRequest) Reset

func (x *GetContainerRequest) Reset()

func (*GetContainerRequest) String

func (x *GetContainerRequest) String() string

type GetContainerResponse

type GetContainerResponse struct {
	Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// contains filtered or unexported fields
}

func (*GetContainerResponse) Descriptor deprecated

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

Deprecated: Use GetContainerResponse.ProtoReflect.Descriptor instead.

func (*GetContainerResponse) GetContainer

func (x *GetContainerResponse) GetContainer() *Container

func (*GetContainerResponse) ProtoMessage

func (*GetContainerResponse) ProtoMessage()

func (*GetContainerResponse) ProtoReflect

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

func (*GetContainerResponse) Reset

func (x *GetContainerResponse) Reset()

func (*GetContainerResponse) String

func (x *GetContainerResponse) String() string

type GetDeviceRequest

type GetDeviceRequest struct {

	// The name of the device to retrieve.
	// Format: devices/{device_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceRequest) Descriptor deprecated

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

Deprecated: Use GetDeviceRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceRequest) GetName

func (x *GetDeviceRequest) GetName() string

func (*GetDeviceRequest) ProtoMessage

func (*GetDeviceRequest) ProtoMessage()

func (*GetDeviceRequest) ProtoReflect

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

func (*GetDeviceRequest) Reset

func (x *GetDeviceRequest) Reset()

func (*GetDeviceRequest) String

func (x *GetDeviceRequest) String() string

type GetFWInfoRequest

type GetFWInfoRequest struct {
	// contains filtered or unexported fields
}

GetFWInfo gets the fwInfo needed for rdb uploads from DUT.

func (*GetFWInfoRequest) Descriptor deprecated

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

Deprecated: Use GetFWInfoRequest.ProtoReflect.Descriptor instead.

func (*GetFWInfoRequest) ProtoMessage

func (*GetFWInfoRequest) ProtoMessage()

func (*GetFWInfoRequest) ProtoReflect

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

func (*GetFWInfoRequest) Reset

func (x *GetFWInfoRequest) Reset()

func (*GetFWInfoRequest) String

func (x *GetFWInfoRequest) String() string

type GetFWInfoResponse

type GetFWInfoResponse struct {
	RoFwid        string `protobuf:"bytes,1,opt,name=ro_fwid,json=roFwid,proto3" json:"ro_fwid,omitempty"`
	RwFwid        string `protobuf:"bytes,2,opt,name=rw_fwid,json=rwFwid,proto3" json:"rw_fwid,omitempty"`
	KernelVersion string `protobuf:"bytes,3,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
	GscRo         string `protobuf:"bytes,4,opt,name=gsc_ro,json=gscRo,proto3" json:"gsc_ro,omitempty"`
	GscRw         string `protobuf:"bytes,5,opt,name=gsc_rw,json=gscRw,proto3" json:"gsc_rw,omitempty"`
	// contains filtered or unexported fields
}

GetFWInfoResponse provides the value of each field from the DUT.

func (*GetFWInfoResponse) Descriptor deprecated

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

Deprecated: Use GetFWInfoResponse.ProtoReflect.Descriptor instead.

func (*GetFWInfoResponse) GetGscRo

func (x *GetFWInfoResponse) GetGscRo() string

func (*GetFWInfoResponse) GetGscRw

func (x *GetFWInfoResponse) GetGscRw() string

func (*GetFWInfoResponse) GetKernelVersion

func (x *GetFWInfoResponse) GetKernelVersion() string

func (*GetFWInfoResponse) GetRoFwid

func (x *GetFWInfoResponse) GetRoFwid() string

func (*GetFWInfoResponse) GetRwFwid

func (x *GetFWInfoResponse) GetRwFwid() string

func (*GetFWInfoResponse) ProtoMessage

func (*GetFWInfoResponse) ProtoMessage()

func (*GetFWInfoResponse) ProtoReflect

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

func (*GetFWInfoResponse) Reset

func (x *GetFWInfoResponse) Reset()

func (*GetFWInfoResponse) String

func (x *GetFWInfoResponse) String() string

type GetFilesFromDUTRequest

type GetFilesFromDUTRequest struct {
	Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

GetFilesFromDUT will gather files from the DUT post test.

func (*GetFilesFromDUTRequest) Descriptor deprecated

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

Deprecated: Use GetFilesFromDUTRequest.ProtoReflect.Descriptor instead.

func (*GetFilesFromDUTRequest) GetFiles

func (x *GetFilesFromDUTRequest) GetFiles() []string

func (*GetFilesFromDUTRequest) ProtoMessage

func (*GetFilesFromDUTRequest) ProtoMessage()

func (*GetFilesFromDUTRequest) ProtoReflect

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

func (*GetFilesFromDUTRequest) Reset

func (x *GetFilesFromDUTRequest) Reset()

func (*GetFilesFromDUTRequest) String

func (x *GetFilesFromDUTRequest) String() string

type GetFilesFromDUTResponse

type GetFilesFromDUTResponse struct {
	FileMap []*FileMap `protobuf:"bytes,1,rep,name=file_map,json=fileMap,proto3" json:"file_map,omitempty"`
	// contains filtered or unexported fields
}

GetFWInfoResponse is a list of filemaps in relation to the service.

func (*GetFilesFromDUTResponse) Descriptor deprecated

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

Deprecated: Use GetFilesFromDUTResponse.ProtoReflect.Descriptor instead.

func (*GetFilesFromDUTResponse) GetFileMap

func (x *GetFilesFromDUTResponse) GetFileMap() []*FileMap

func (*GetFilesFromDUTResponse) ProtoMessage

func (*GetFilesFromDUTResponse) ProtoMessage()

func (*GetFilesFromDUTResponse) ProtoReflect

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

func (*GetFilesFromDUTResponse) Reset

func (x *GetFilesFromDUTResponse) Reset()

func (*GetFilesFromDUTResponse) String

func (x *GetFilesFromDUTResponse) String() string

type GetGfxInfoRequest

type GetGfxInfoRequest struct {
	// contains filtered or unexported fields
}

GetGfxInfo captures graphics/hardware_probe values for reporting

func (*GetGfxInfoRequest) Descriptor deprecated

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

Deprecated: Use GetGfxInfoRequest.ProtoReflect.Descriptor instead.

func (*GetGfxInfoRequest) ProtoMessage

func (*GetGfxInfoRequest) ProtoMessage()

func (*GetGfxInfoRequest) ProtoReflect

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

func (*GetGfxInfoRequest) Reset

func (x *GetGfxInfoRequest) Reset()

func (*GetGfxInfoRequest) String

func (x *GetGfxInfoRequest) String() string

type GetGfxInfoResponse

type GetGfxInfoResponse struct {
	GfxLabels map[string]string `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

GetGfxInfoResponse contents of the reporting section of graphics/hardware_probe

func (*GetGfxInfoResponse) Descriptor deprecated

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

Deprecated: Use GetGfxInfoResponse.ProtoReflect.Descriptor instead.

func (*GetGfxInfoResponse) GetGfxLabels

func (x *GetGfxInfoResponse) GetGfxLabels() map[string]string

func (*GetGfxInfoResponse) ProtoMessage

func (*GetGfxInfoResponse) ProtoMessage()

func (*GetGfxInfoResponse) ProtoReflect

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

func (*GetGfxInfoResponse) Reset

func (x *GetGfxInfoResponse) Reset()

func (*GetGfxInfoResponse) String

func (x *GetGfxInfoResponse) String() string

type GetLibFailure

type GetLibFailure struct {
	Reason GetLibFailure_Reason `protobuf:"varint,1,opt,name=reason,proto3,enum=chromiumos.test.api.GetLibFailure_Reason" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLibFailure) Descriptor deprecated

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

Deprecated: Use GetLibFailure.ProtoReflect.Descriptor instead.

func (*GetLibFailure) GetReason

func (x *GetLibFailure) GetReason() GetLibFailure_Reason

func (*GetLibFailure) ProtoMessage

func (*GetLibFailure) ProtoMessage()

func (*GetLibFailure) ProtoReflect

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

func (*GetLibFailure) Reset

func (x *GetLibFailure) Reset()

func (*GetLibFailure) String

func (x *GetLibFailure) String() string

type GetLibFailure_Reason

type GetLibFailure_Reason int32
const (
	GetLibFailure_REASON_UNKNOWN               GetLibFailure_Reason = 0
	GetLibFailure_REASON_UNREGISTERED_LIB      GetLibFailure_Reason = 1
	GetLibFailure_REASON_CONTAINER_START_ERROR GetLibFailure_Reason = 2
)

func (GetLibFailure_Reason) Descriptor

func (GetLibFailure_Reason) Enum

func (GetLibFailure_Reason) EnumDescriptor deprecated

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

Deprecated: Use GetLibFailure_Reason.Descriptor instead.

func (GetLibFailure_Reason) Number

func (GetLibFailure_Reason) String

func (x GetLibFailure_Reason) String() string

func (GetLibFailure_Reason) Type

type GetLibRequest

type GetLibRequest struct {
	Name    string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLibRequest) Descriptor deprecated

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

Deprecated: Use GetLibRequest.ProtoReflect.Descriptor instead.

func (*GetLibRequest) GetName

func (x *GetLibRequest) GetName() string

func (*GetLibRequest) GetOptions

func (x *GetLibRequest) GetOptions() []string

func (*GetLibRequest) GetVersion

func (x *GetLibRequest) GetVersion() string

func (*GetLibRequest) ProtoMessage

func (*GetLibRequest) ProtoMessage()

func (*GetLibRequest) ProtoReflect

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

func (*GetLibRequest) Reset

func (x *GetLibRequest) Reset()

func (*GetLibRequest) String

func (x *GetLibRequest) String() string

type GetLibResponse

type GetLibResponse struct {

	// Types that are assignable to Outcome:
	//	*GetLibResponse_Success
	//	*GetLibResponse_Failure
	Outcome isGetLibResponse_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*GetLibResponse) Descriptor deprecated

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

Deprecated: Use GetLibResponse.ProtoReflect.Descriptor instead.

func (*GetLibResponse) GetFailure

func (x *GetLibResponse) GetFailure() *GetLibFailure

func (*GetLibResponse) GetOutcome

func (m *GetLibResponse) GetOutcome() isGetLibResponse_Outcome

func (*GetLibResponse) GetSuccess

func (x *GetLibResponse) GetSuccess() *GetLibSuccess

func (*GetLibResponse) ProtoMessage

func (*GetLibResponse) ProtoMessage()

func (*GetLibResponse) ProtoReflect

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

func (*GetLibResponse) Reset

func (x *GetLibResponse) Reset()

func (*GetLibResponse) String

func (x *GetLibResponse) String() string

type GetLibResponse_Failure

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

type GetLibResponse_Success

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

type GetLibSuccess

type GetLibSuccess struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Get Lib messages.

func (*GetLibSuccess) Descriptor deprecated

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

Deprecated: Use GetLibSuccess.ProtoReflect.Descriptor instead.

func (*GetLibSuccess) GetId

func (x *GetLibSuccess) GetId() string

func (*GetLibSuccess) GetPort

func (x *GetLibSuccess) GetPort() string

func (*GetLibSuccess) ProtoMessage

func (*GetLibSuccess) ProtoMessage()

func (*GetLibSuccess) ProtoReflect

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

func (*GetLibSuccess) Reset

func (x *GetLibSuccess) Reset()

func (*GetLibSuccess) String

func (x *GetLibSuccess) String() string

type GetNetworkRequest

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

func (*GetNetworkRequest) Descriptor deprecated

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

Deprecated: Use GetNetworkRequest.ProtoReflect.Descriptor instead.

func (*GetNetworkRequest) GetName

func (x *GetNetworkRequest) GetName() string

func (*GetNetworkRequest) ProtoMessage

func (*GetNetworkRequest) ProtoMessage()

func (*GetNetworkRequest) ProtoReflect

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

func (*GetNetworkRequest) Reset

func (x *GetNetworkRequest) Reset()

func (*GetNetworkRequest) String

func (x *GetNetworkRequest) String() string

type GetNetworkResponse

type GetNetworkResponse struct {
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNetworkResponse) Descriptor deprecated

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

Deprecated: Use GetNetworkResponse.ProtoReflect.Descriptor instead.

func (*GetNetworkResponse) GetNetwork

func (x *GetNetworkResponse) GetNetwork() *Network

func (*GetNetworkResponse) ProtoMessage

func (*GetNetworkResponse) ProtoMessage()

func (*GetNetworkResponse) ProtoReflect

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

func (*GetNetworkResponse) Reset

func (x *GetNetworkResponse) Reset()

func (*GetNetworkResponse) String

func (x *GetNetworkResponse) String() string

type GsPath

type GsPath struct {

	// GS bucket. Optional, android-provisioning-images is used by default.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Folder name where the image files are stored.
	Folder string `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 4

func (*GsPath) Descriptor deprecated

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

Deprecated: Use GsPath.ProtoReflect.Descriptor instead.

func (*GsPath) GetBucket

func (x *GsPath) GetBucket() string

func (*GsPath) GetFolder

func (x *GsPath) GetFolder() string

func (*GsPath) ProtoMessage

func (*GsPath) ProtoMessage()

func (*GsPath) ProtoReflect

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

func (*GsPath) Reset

func (x *GsPath) Reset()

func (*GsPath) String

func (x *GsPath) String() string

type HWRequirements

type HWRequirements struct {
	HwDefinition []*SwarmingDefinition `protobuf:"bytes,1,rep,name=hw_definition,json=hwDefinition,proto3" json:"hw_definition,omitempty"`
	State        HWRequirements_State  `protobuf:"varint,6,opt,name=state,proto3,enum=chromiumos.test.api.HWRequirements_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*HWRequirements) Descriptor deprecated

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

Deprecated: Use HWRequirements.ProtoReflect.Descriptor instead.

func (*HWRequirements) GetHwDefinition

func (x *HWRequirements) GetHwDefinition() []*SwarmingDefinition

func (*HWRequirements) GetState

func (x *HWRequirements) GetState() HWRequirements_State

func (*HWRequirements) ProtoMessage

func (*HWRequirements) ProtoMessage()

func (*HWRequirements) ProtoReflect

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

func (*HWRequirements) Reset

func (x *HWRequirements) Reset()

func (*HWRequirements) String

func (x *HWRequirements) String() string

type HWRequirements_State

type HWRequirements_State int32
const (
	HWRequirements_REQUIRED  HWRequirements_State = 0
	HWRequirements_OPTIONAL  HWRequirements_State = 1
	HWRequirements_PREFERRED HWRequirements_State = 2
	HWRequirements_BANNED    HWRequirements_State = 3
	HWRequirements_ONEOF     HWRequirements_State = 4
)

func (HWRequirements_State) Descriptor

func (HWRequirements_State) Enum

func (HWRequirements_State) EnumDescriptor deprecated

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

Deprecated: Use HWRequirements_State.Descriptor instead.

func (HWRequirements_State) Number

func (HWRequirements_State) String

func (x HWRequirements_State) String() string

func (HWRequirements_State) Type

type HWTarget

type HWTarget struct {

	// Types that are assignable to Target:
	//	*HWTarget_LegacyHw
	//	*HWTarget_DddHw
	Target isHWTarget_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*HWTarget) Descriptor deprecated

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

Deprecated: Use HWTarget.ProtoReflect.Descriptor instead.

func (*HWTarget) GetDddHw

func (x *HWTarget) GetDddHw() *DDDHW

func (*HWTarget) GetLegacyHw

func (x *HWTarget) GetLegacyHw() *LegacyHW

func (*HWTarget) GetTarget

func (m *HWTarget) GetTarget() isHWTarget_Target

func (*HWTarget) ProtoMessage

func (*HWTarget) ProtoMessage()

func (*HWTarget) ProtoReflect

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

func (*HWTarget) Reset

func (x *HWTarget) Reset()

func (*HWTarget) String

func (x *HWTarget) String() string

type HWTarget_DddHw

type HWTarget_DddHw struct {
	DddHw *DDDHW `protobuf:"bytes,2,opt,name=ddd_hw,json=dddHw,proto3,oneof"`
}

type HWTarget_LegacyHw

type HWTarget_LegacyHw struct {
	LegacyHw *LegacyHW `protobuf:"bytes,1,opt,name=legacy_hw,json=legacyHw,proto3,oneof"`
}

type HWTestPlan deprecated

type HWTestPlan struct {
	Id            *HWTestPlan_TestPlanId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CoverageRules []*CoverageRule        `protobuf:"bytes,2,rep,name=coverage_rules,json=coverageRules,proto3" json:"coverage_rules,omitempty"`
	// contains filtered or unexported fields
}

A hardware test plan is composed of coverage rules Deprecated: Use v1/plan.proto instead.

Deprecated: Do not use.

func (*HWTestPlan) Descriptor deprecated

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

Deprecated: Use HWTestPlan.ProtoReflect.Descriptor instead.

func (*HWTestPlan) GetCoverageRules

func (x *HWTestPlan) GetCoverageRules() []*CoverageRule

func (*HWTestPlan) GetId

func (x *HWTestPlan) GetId() *HWTestPlan_TestPlanId

func (*HWTestPlan) ProtoMessage

func (*HWTestPlan) ProtoMessage()

func (*HWTestPlan) ProtoReflect

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

func (*HWTestPlan) Reset

func (x *HWTestPlan) Reset()

func (*HWTestPlan) String

func (x *HWTestPlan) String() string

type HWTestPlan_TestPlanId

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

Unique name to identify the test plan, recommend reverse domain name rooted at chromeos:

chromeos.release.wifi....

func (*HWTestPlan_TestPlanId) Descriptor deprecated

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

Deprecated: Use HWTestPlan_TestPlanId.ProtoReflect.Descriptor instead.

func (*HWTestPlan_TestPlanId) GetValue

func (x *HWTestPlan_TestPlanId) GetValue() string

func (*HWTestPlan_TestPlanId) ProtoMessage

func (*HWTestPlan_TestPlanId) ProtoMessage()

func (*HWTestPlan_TestPlanId) ProtoReflect

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

func (*HWTestPlan_TestPlanId) Reset

func (x *HWTestPlan_TestPlanId) Reset()

func (*HWTestPlan_TestPlanId) String

func (x *HWTestPlan_TestPlanId) String() string

type HardwareRequirements

type HardwareRequirements struct {

	// A map for schedulable labels used to request a matching device.
	SchedulableLabels map[string]*HardwareRequirements_LabelValues `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HardwareRequirements) Descriptor deprecated

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

Deprecated: Use HardwareRequirements.ProtoReflect.Descriptor instead.

func (*HardwareRequirements) GetSchedulableLabels

func (x *HardwareRequirements) GetSchedulableLabels() map[string]*HardwareRequirements_LabelValues

func (*HardwareRequirements) ProtoMessage

func (*HardwareRequirements) ProtoMessage()

func (*HardwareRequirements) ProtoReflect

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

func (*HardwareRequirements) Reset

func (x *HardwareRequirements) Reset()

func (*HardwareRequirements) String

func (x *HardwareRequirements) String() string

type HardwareRequirements_LabelValues

type HardwareRequirements_LabelValues struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*HardwareRequirements_LabelValues) Descriptor deprecated

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

Deprecated: Use HardwareRequirements_LabelValues.ProtoReflect.Descriptor instead.

func (*HardwareRequirements_LabelValues) GetValues

func (x *HardwareRequirements_LabelValues) GetValues() []string

func (*HardwareRequirements_LabelValues) ProtoMessage

func (*HardwareRequirements_LabelValues) ProtoMessage()

func (*HardwareRequirements_LabelValues) ProtoReflect

func (*HardwareRequirements_LabelValues) Reset

func (*HardwareRequirements_LabelValues) String

type HwAgnostic

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

Specifies if a test can be run on VM or not.

func (*HwAgnostic) Descriptor deprecated

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

Deprecated: Use HwAgnostic.ProtoReflect.Descriptor instead.

func (*HwAgnostic) GetValue

func (x *HwAgnostic) GetValue() bool

func (*HwAgnostic) ProtoMessage

func (*HwAgnostic) ProtoMessage()

func (*HwAgnostic) ProtoReflect

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

func (*HwAgnostic) Reset

func (x *HwAgnostic) Reset()

func (*HwAgnostic) String

func (x *HwAgnostic) String() string

type ImportImageRequest

type ImportImageRequest struct {

	// Build path of the image, e.g. betty-arc-r-release/R119-15626.0.0
	ImagePath string `protobuf:"bytes,1,opt,name=image_path,json=imagePath,proto3" json:"image_path,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportImageRequest) Descriptor deprecated

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

Deprecated: Use ImportImageRequest.ProtoReflect.Descriptor instead.

func (*ImportImageRequest) GetImagePath

func (x *ImportImageRequest) GetImagePath() string

func (*ImportImageRequest) ProtoMessage

func (*ImportImageRequest) ProtoMessage()

func (*ImportImageRequest) ProtoReflect

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

func (*ImportImageRequest) Reset

func (x *ImportImageRequest) Reset()

func (*ImportImageRequest) String

func (x *ImportImageRequest) String() string

type ImportImageResponse

type ImportImageResponse struct {

	// Name of the imported custom image.
	ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportImageResponse) Descriptor deprecated

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

Deprecated: Use ImportImageResponse.ProtoReflect.Descriptor instead.

func (*ImportImageResponse) GetImageName

func (x *ImportImageResponse) GetImageName() string

func (*ImportImageResponse) ProtoMessage

func (*ImportImageResponse) ProtoMessage()

func (*ImportImageResponse) ProtoReflect

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

func (*ImportImageResponse) Reset

func (x *ImportImageResponse) Reset()

func (*ImportImageResponse) String

func (x *ImportImageResponse) String() string

type InstallArcMetadata

type InstallArcMetadata struct {
	// contains filtered or unexported fields
}

func (*InstallArcMetadata) Descriptor deprecated

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

Deprecated: Use InstallArcMetadata.ProtoReflect.Descriptor instead.

func (*InstallArcMetadata) ProtoMessage

func (*InstallArcMetadata) ProtoMessage()

func (*InstallArcMetadata) ProtoReflect

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

func (*InstallArcMetadata) Reset

func (x *InstallArcMetadata) Reset()

func (*InstallArcMetadata) String

func (x *InstallArcMetadata) String() string

type InstallArcRequest

type InstallArcRequest struct {
	AshImagePath *_go.StoragePath `protobuf:"bytes,1,opt,name=ash_image_path,json=ashImagePath,proto3" json:"ash_image_path,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallArcRequest) Descriptor deprecated

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

Deprecated: Use InstallArcRequest.ProtoReflect.Descriptor instead.

func (*InstallArcRequest) GetAshImagePath

func (x *InstallArcRequest) GetAshImagePath() *_go.StoragePath

func (*InstallArcRequest) ProtoMessage

func (*InstallArcRequest) ProtoMessage()

func (*InstallArcRequest) ProtoReflect

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

func (*InstallArcRequest) Reset

func (x *InstallArcRequest) Reset()

func (*InstallArcRequest) String

func (x *InstallArcRequest) String() string

type InstallArcResponse

type InstallArcResponse struct {

	// Types that are assignable to Outcome:
	//	*InstallArcResponse_Success
	//	*InstallArcResponse_Failure
	Outcome isInstallArcResponse_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*InstallArcResponse) Descriptor deprecated

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

Deprecated: Use InstallArcResponse.ProtoReflect.Descriptor instead.

func (*InstallArcResponse) GetFailure

func (x *InstallArcResponse) GetFailure() *InstallFailure

func (*InstallArcResponse) GetOutcome

func (m *InstallArcResponse) GetOutcome() isInstallArcResponse_Outcome

func (*InstallArcResponse) GetSuccess

func (x *InstallArcResponse) GetSuccess() *InstallSuccess

func (*InstallArcResponse) ProtoMessage

func (*InstallArcResponse) ProtoMessage()

func (*InstallArcResponse) ProtoReflect

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

func (*InstallArcResponse) Reset

func (x *InstallArcResponse) Reset()

func (*InstallArcResponse) String

func (x *InstallArcResponse) String() string

type InstallArcResponse_Failure

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

type InstallArcResponse_Success

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

type InstallAshMetadata

type InstallAshMetadata struct {
	// contains filtered or unexported fields
}

func (*InstallAshMetadata) Descriptor deprecated

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

Deprecated: Use InstallAshMetadata.ProtoReflect.Descriptor instead.

func (*InstallAshMetadata) ProtoMessage

func (*InstallAshMetadata) ProtoMessage()

func (*InstallAshMetadata) ProtoReflect

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

func (*InstallAshMetadata) Reset

func (x *InstallAshMetadata) Reset()

func (*InstallAshMetadata) String

func (x *InstallAshMetadata) String() string

type InstallAshRequest

type InstallAshRequest struct {
	AshImagePath *_go.StoragePath `protobuf:"bytes,1,opt,name=ash_image_path,json=ashImagePath,proto3" json:"ash_image_path,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallAshRequest) Descriptor deprecated

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

Deprecated: Use InstallAshRequest.ProtoReflect.Descriptor instead.

func (*InstallAshRequest) GetAshImagePath

func (x *InstallAshRequest) GetAshImagePath() *_go.StoragePath

func (*InstallAshRequest) ProtoMessage

func (*InstallAshRequest) ProtoMessage()

func (*InstallAshRequest) ProtoReflect

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

func (*InstallAshRequest) Reset

func (x *InstallAshRequest) Reset()

func (*InstallAshRequest) String

func (x *InstallAshRequest) String() string

type InstallAshResponse

type InstallAshResponse struct {

	// Types that are assignable to Outcome:
	//	*InstallAshResponse_Success
	//	*InstallAshResponse_Failure
	Outcome isInstallAshResponse_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*InstallAshResponse) Descriptor deprecated

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

Deprecated: Use InstallAshResponse.ProtoReflect.Descriptor instead.

func (*InstallAshResponse) GetFailure

func (x *InstallAshResponse) GetFailure() *InstallFailure

func (*InstallAshResponse) GetOutcome

func (m *InstallAshResponse) GetOutcome() isInstallAshResponse_Outcome

func (*InstallAshResponse) GetSuccess

func (x *InstallAshResponse) GetSuccess() *InstallSuccess

func (*InstallAshResponse) ProtoMessage

func (*InstallAshResponse) ProtoMessage()

func (*InstallAshResponse) ProtoReflect

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

func (*InstallAshResponse) Reset

func (x *InstallAshResponse) Reset()

func (*InstallAshResponse) String

func (x *InstallAshResponse) String() string

type InstallAshResponse_Failure

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

type InstallAshResponse_Success

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

type InstallCrosMetadata

type InstallCrosMetadata struct {
	// contains filtered or unexported fields
}

func (*InstallCrosMetadata) Descriptor deprecated

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

Deprecated: Use InstallCrosMetadata.ProtoReflect.Descriptor instead.

func (*InstallCrosMetadata) ProtoMessage

func (*InstallCrosMetadata) ProtoMessage()

func (*InstallCrosMetadata) ProtoReflect

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

func (*InstallCrosMetadata) Reset

func (x *InstallCrosMetadata) Reset()

func (*InstallCrosMetadata) String

func (x *InstallCrosMetadata) String() string

type InstallCrosRequest

type InstallCrosRequest struct {
	CrosImagePath *_go.StoragePath `protobuf:"bytes,1,opt,name=cros_image_path,json=crosImagePath,proto3" json:"cros_image_path,omitempty"`
	// dlc_specs specifies which DLCs to install on the DUT after provisioning.
	DlcSpecs []*InstallCrosRequest_DLCSpec `protobuf:"bytes,2,rep,name=dlc_specs,json=dlcSpecs,proto3" json:"dlc_specs,omitempty"`
	// preserve_stateful specifies whether the stateful partition should be preserved during
	// provisioning. If preserve_stateful is not set to true, the stateful partition is
	// block-level wiped and reset during provisioning.
	PreserveStateful bool `protobuf:"varint,3,opt,name=preserve_stateful,json=preserveStateful,proto3" json:"preserve_stateful,omitempty"`
	// Prevents device reboot during system image provisioning.
	PreventReboot bool `protobuf:"varint,4,opt,name=prevent_reboot,json=preventReboot,proto3" json:"prevent_reboot,omitempty"`
	// Provides a possible tar file to overwrite current install files
	OverwritePayload *_go.StoragePath `protobuf:"bytes,5,opt,name=overwrite_payload,json=overwritePayload,proto3" json:"overwrite_payload,omitempty"`
	// update_firmware will update OS bundled firmware(RW only) during the provision.
	// Please note this firmware update only update RW firmware that built in the
	// target_build OS image and it is different from firmware provision which
	// download and update a separate firmware image based on request.
	UpdateFirmware bool `protobuf:"varint,6,opt,name=update_firmware,json=updateFirmware,proto3" json:"update_firmware,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallCrosRequest) Descriptor deprecated

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

Deprecated: Use InstallCrosRequest.ProtoReflect.Descriptor instead.

func (*InstallCrosRequest) GetCrosImagePath

func (x *InstallCrosRequest) GetCrosImagePath() *_go.StoragePath

func (*InstallCrosRequest) GetDlcSpecs

func (x *InstallCrosRequest) GetDlcSpecs() []*InstallCrosRequest_DLCSpec

func (*InstallCrosRequest) GetOverwritePayload

func (x *InstallCrosRequest) GetOverwritePayload() *_go.StoragePath

func (*InstallCrosRequest) GetPreserveStateful

func (x *InstallCrosRequest) GetPreserveStateful() bool

func (*InstallCrosRequest) GetPreventReboot

func (x *InstallCrosRequest) GetPreventReboot() bool

func (*InstallCrosRequest) GetUpdateFirmware

func (x *InstallCrosRequest) GetUpdateFirmware() bool

func (*InstallCrosRequest) ProtoMessage

func (*InstallCrosRequest) ProtoMessage()

func (*InstallCrosRequest) ProtoReflect

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

func (*InstallCrosRequest) Reset

func (x *InstallCrosRequest) Reset()

func (*InstallCrosRequest) String

func (x *InstallCrosRequest) String() string

type InstallCrosRequest_DLCSpec

type InstallCrosRequest_DLCSpec struct {

	// id is the DLC ID which is a unique identifier.
	// The DLC ID must follow a specific format that can be found in the DLC
	// developer doc below.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Reference DLCs developer documentation: https://source.corp.google.com/chromeos_public/src/platform2/dlcservice/docs/developer.md

func (*InstallCrosRequest_DLCSpec) Descriptor deprecated

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

Deprecated: Use InstallCrosRequest_DLCSpec.ProtoReflect.Descriptor instead.

func (*InstallCrosRequest_DLCSpec) GetId

func (*InstallCrosRequest_DLCSpec) ProtoMessage

func (*InstallCrosRequest_DLCSpec) ProtoMessage()

func (*InstallCrosRequest_DLCSpec) ProtoReflect

func (*InstallCrosRequest_DLCSpec) Reset

func (x *InstallCrosRequest_DLCSpec) Reset()

func (*InstallCrosRequest_DLCSpec) String

func (x *InstallCrosRequest_DLCSpec) String() string

type InstallCrosResponse

type InstallCrosResponse struct {

	// Types that are assignable to Outcome:
	//	*InstallCrosResponse_Success
	//	*InstallCrosResponse_Failure
	Outcome isInstallCrosResponse_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*InstallCrosResponse) Descriptor deprecated

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

Deprecated: Use InstallCrosResponse.ProtoReflect.Descriptor instead.

func (*InstallCrosResponse) GetFailure

func (x *InstallCrosResponse) GetFailure() *InstallFailure

func (*InstallCrosResponse) GetOutcome

func (m *InstallCrosResponse) GetOutcome() isInstallCrosResponse_Outcome

func (*InstallCrosResponse) GetSuccess

func (x *InstallCrosResponse) GetSuccess() *InstallSuccess

func (*InstallCrosResponse) ProtoMessage

func (*InstallCrosResponse) ProtoMessage()

func (*InstallCrosResponse) ProtoReflect

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

func (*InstallCrosResponse) Reset

func (x *InstallCrosResponse) Reset()

func (*InstallCrosResponse) String

func (x *InstallCrosResponse) String() string

type InstallCrosResponse_Failure

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

type InstallCrosResponse_Success

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

type InstallFailure

type InstallFailure struct {
	Reason InstallFailure_Reason `protobuf:"varint,1,opt,name=reason,proto3,enum=chromiumos.test.api.InstallFailure_Reason" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallFailure) Descriptor deprecated

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

Deprecated: Use InstallFailure.ProtoReflect.Descriptor instead.

func (*InstallFailure) GetReason

func (x *InstallFailure) GetReason() InstallFailure_Reason

func (*InstallFailure) ProtoMessage

func (*InstallFailure) ProtoMessage()

func (*InstallFailure) ProtoReflect

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

func (*InstallFailure) Reset

func (x *InstallFailure) Reset()

func (*InstallFailure) String

func (x *InstallFailure) String() string

type InstallFailure_Reason

type InstallFailure_Reason int32

When the status code is other than OK, details in Status message should be parsed for ErrorInfo message with the following Reasons as the reason.

const (
	// status code: INVALID_ARGUMENT
	InstallFailure_REASON_INVALID_REQUEST InstallFailure_Reason = 0
	// status code: FAILED_PRECONDITION
	InstallFailure_REASON_DUT_UNREACHABLE_PRE_PROVISION InstallFailure_Reason = 1
	// status code: FAILED_PRECONDITION
	InstallFailure_REASON_DOWNLOADING_IMAGE_FAILED InstallFailure_Reason = 2
	// status code: DEADLINE_EXCEEDED
	InstallFailure_REASON_PROVISIONING_TIMEDOUT InstallFailure_Reason = 3
	// status code: ABORTED
	InstallFailure_REASON_PROVISIONING_FAILED InstallFailure_Reason = 4
	// status code: ABORTED
	InstallFailure_REASON_DUT_UNREACHABLE_POST_PROVISION InstallFailure_Reason = 5
	// status code: ABORTED
	InstallFailure_REASON_UPDATE_FIRMWARE_FAILED InstallFailure_Reason = 6
	// status code: ABORTED
	InstallFailure_REASON_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE InstallFailure_Reason = 7
	// status code: ABORTED
	InstallFailure_REASON_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE InstallFailure_Reason = 8
	// status code: ABORTED
	InstallFailure_REASON_UPDATE_MINIOS_FAILED InstallFailure_Reason = 9
	// status code: ABORTED
	InstallFailure_REASON_POST_PROVISION_SETUP_FAILED InstallFailure_Reason = 10
	// status code: ABORTED
	InstallFailure_REASON_CLEAR_TPM_FAILED InstallFailure_Reason = 11
	// status code: ABORTED
	InstallFailure_REASON_STABLIZE_DUT_FAILED InstallFailure_Reason = 12
	// status code: ABORTED
	InstallFailure_REASON_INSTALL_DLC_FAILED InstallFailure_Reason = 13
	// status code: ABORTED
	InstallFailure_REASON_PRE_PROVISION_SETUP_FAILED InstallFailure_Reason = 14
	// status code: ABORTED
	InstallFailure_REASON_CIPD_PACKAGE_LOOKUP_FAILED InstallFailure_Reason = 15
	// status code: ABORTED
	InstallFailure_REASON_CIPD_PACKAGE_FETCH_FAILED InstallFailure_Reason = 16
	// status code: ABORTED
	InstallFailure_REASON_GS_UPLOAD_FAILED InstallFailure_Reason = 17
	// status code: ABORTED
	InstallFailure_REASON_GS_DOWNLOAD_FAILED InstallFailure_Reason = 18
	// status code: ABORTED
	// TODO (b/266634996) Remove once CTRv1 is deprecated and move into TR.
	InstallFailure_REASON_DOCKER_UNABLE_TO_START InstallFailure_Reason = 19
	// TODO (b/266634996) Remove once CTRv1 is deprecated and move into TR.
	// status code: ABORTED
	InstallFailure_REASON_SERVICE_UNABLE_TO_START InstallFailure_Reason = 20
	// TODO (b/266634996) Remove once CTRv1 is deprecated and move into TR.
	// status:code ABORT
	InstallFailure_REASON_SERVICE_CONTAINER_UNABLE_TO_PULL InstallFailure_Reason = 21
	// status code: ABORTED
	InstallFailure_REASON_IMAGE_MISMATCH_POST_PROVISION_UPDATE InstallFailure_Reason = 22
)

func (InstallFailure_Reason) Descriptor

func (InstallFailure_Reason) Enum

func (InstallFailure_Reason) EnumDescriptor deprecated

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

Deprecated: Use InstallFailure_Reason.Descriptor instead.

func (InstallFailure_Reason) Number

func (InstallFailure_Reason) String

func (x InstallFailure_Reason) String() string

func (InstallFailure_Reason) Type

type InstallFirmwareMetadata

type InstallFirmwareMetadata struct {
	// contains filtered or unexported fields
}

func (*InstallFirmwareMetadata) Descriptor deprecated

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

Deprecated: Use InstallFirmwareMetadata.ProtoReflect.Descriptor instead.

func (*InstallFirmwareMetadata) ProtoMessage

func (*InstallFirmwareMetadata) ProtoMessage()

func (*InstallFirmwareMetadata) ProtoReflect

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

func (*InstallFirmwareMetadata) Reset

func (x *InstallFirmwareMetadata) Reset()

func (*InstallFirmwareMetadata) String

func (x *InstallFirmwareMetadata) String() string

type InstallFirmwareRequest

type InstallFirmwareRequest struct {
	FirmwareConfig *api.FirmwareConfig `protobuf:"bytes,1,opt,name=firmware_config,json=firmwareConfig,proto3" json:"firmware_config,omitempty"`
	// Use force to pass "--force" to futility, which skips the TPM checks.
	Force bool `protobuf:"varint,8,opt,name=force,proto3" json:"force,omitempty"`
	// If True, provision firmware over servo; information about
	// servo to use will be pulled from a `Dut` proto, that will be
	// requested from InventoryService.
	// If False, SSH to the DUT and provision it directly.
	UseServo bool `protobuf:"varint,9,opt,name=use_servo,json=useServo,proto3" json:"use_servo,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallFirmwareRequest) Descriptor deprecated

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

Deprecated: Use InstallFirmwareRequest.ProtoReflect.Descriptor instead.

func (*InstallFirmwareRequest) GetFirmwareConfig

func (x *InstallFirmwareRequest) GetFirmwareConfig() *api.FirmwareConfig

func (*InstallFirmwareRequest) GetForce

func (x *InstallFirmwareRequest) GetForce() bool

func (*InstallFirmwareRequest) GetUseServo

func (x *InstallFirmwareRequest) GetUseServo() bool

func (*InstallFirmwareRequest) ProtoMessage

func (*InstallFirmwareRequest) ProtoMessage()

func (*InstallFirmwareRequest) ProtoReflect

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

func (*InstallFirmwareRequest) Reset

func (x *InstallFirmwareRequest) Reset()

func (*InstallFirmwareRequest) String

func (x *InstallFirmwareRequest) String() string

type InstallFirmwareResponse

type InstallFirmwareResponse struct {

	// Types that are assignable to Outcome:
	//	*InstallFirmwareResponse_Success
	//	*InstallFirmwareResponse_Failure
	Outcome isInstallFirmwareResponse_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*InstallFirmwareResponse) Descriptor deprecated

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

Deprecated: Use InstallFirmwareResponse.ProtoReflect.Descriptor instead.

func (*InstallFirmwareResponse) GetFailure

func (x *InstallFirmwareResponse) GetFailure() *InstallFailure

func (*InstallFirmwareResponse) GetOutcome

func (m *InstallFirmwareResponse) GetOutcome() isInstallFirmwareResponse_Outcome

func (*InstallFirmwareResponse) GetSuccess

func (x *InstallFirmwareResponse) GetSuccess() *InstallSuccess

func (*InstallFirmwareResponse) ProtoMessage

func (*InstallFirmwareResponse) ProtoMessage()

func (*InstallFirmwareResponse) ProtoReflect

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

func (*InstallFirmwareResponse) Reset

func (x *InstallFirmwareResponse) Reset()

func (*InstallFirmwareResponse) String

func (x *InstallFirmwareResponse) String() string

type InstallFirmwareResponse_Failure

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

type InstallFirmwareResponse_Success

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

type InstallLacrosMetadata

type InstallLacrosMetadata struct {
	// contains filtered or unexported fields
}

func (*InstallLacrosMetadata) Descriptor deprecated

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

Deprecated: Use InstallLacrosMetadata.ProtoReflect.Descriptor instead.

func (*InstallLacrosMetadata) ProtoMessage

func (*InstallLacrosMetadata) ProtoMessage()

func (*InstallLacrosMetadata) ProtoReflect

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

func (*InstallLacrosMetadata) Reset

func (x *InstallLacrosMetadata) Reset()

func (*InstallLacrosMetadata) String

func (x *InstallLacrosMetadata) String() string

type InstallLacrosRequest

type InstallLacrosRequest struct {
	LacrosImagePath     *_go.StoragePath `protobuf:"bytes,1,opt,name=lacros_image_path,json=lacrosImagePath,proto3" json:"lacros_image_path,omitempty"`
	OverrideVersion     string           `protobuf:"bytes,2,opt,name=override_version,json=overrideVersion,proto3" json:"override_version,omitempty"`
	OverrideInstallPath string           `protobuf:"bytes,3,opt,name=override_install_path,json=overrideInstallPath,proto3" json:"override_install_path,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallLacrosRequest) Descriptor deprecated

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

Deprecated: Use InstallLacrosRequest.ProtoReflect.Descriptor instead.

func (*InstallLacrosRequest) GetLacrosImagePath

func (x *InstallLacrosRequest) GetLacrosImagePath() *_go.StoragePath

func (*InstallLacrosRequest) GetOverrideInstallPath

func (x *InstallLacrosRequest) GetOverrideInstallPath() string

func (*InstallLacrosRequest) GetOverrideVersion

func (x *InstallLacrosRequest) GetOverrideVersion() string

func (*InstallLacrosRequest) ProtoMessage

func (*InstallLacrosRequest) ProtoMessage()

func (*InstallLacrosRequest) ProtoReflect

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

func (*InstallLacrosRequest) Reset

func (x *InstallLacrosRequest) Reset()

func (*InstallLacrosRequest) String

func (x *InstallLacrosRequest) String() string

type InstallLacrosResponse

type InstallLacrosResponse struct {

	// Types that are assignable to Outcome:
	//	*InstallLacrosResponse_Success
	//	*InstallLacrosResponse_Failure
	Outcome isInstallLacrosResponse_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*InstallLacrosResponse) Descriptor deprecated

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

Deprecated: Use InstallLacrosResponse.ProtoReflect.Descriptor instead.

func (*InstallLacrosResponse) GetFailure

func (x *InstallLacrosResponse) GetFailure() *InstallFailure

func (*InstallLacrosResponse) GetOutcome

func (m *InstallLacrosResponse) GetOutcome() isInstallLacrosResponse_Outcome

func (*InstallLacrosResponse) GetSuccess

func (x *InstallLacrosResponse) GetSuccess() *InstallSuccess

func (*InstallLacrosResponse) ProtoMessage

func (*InstallLacrosResponse) ProtoMessage()

func (*InstallLacrosResponse) ProtoReflect

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

func (*InstallLacrosResponse) Reset

func (x *InstallLacrosResponse) Reset()

func (*InstallLacrosResponse) String

func (x *InstallLacrosResponse) String() string

type InstallLacrosResponse_Failure

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

type InstallLacrosResponse_Success

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

type InstallMetadata

type InstallMetadata struct {
	// contains filtered or unexported fields
}

Metadata for long running operation

func (*InstallMetadata) Descriptor deprecated

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

Deprecated: Use InstallMetadata.ProtoReflect.Descriptor instead.

func (*InstallMetadata) ProtoMessage

func (*InstallMetadata) ProtoMessage()

func (*InstallMetadata) ProtoReflect

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

func (*InstallMetadata) Reset

func (x *InstallMetadata) Reset()

func (*InstallMetadata) String

func (x *InstallMetadata) String() string

type InstallRequest

type InstallRequest struct {

	// Local or remote path to where the OS to be installed lives.
	ImagePath *_go.StoragePath `protobuf:"bytes,1,opt,name=image_path,json=imagePath,proto3" json:"image_path,omitempty"`
	// Prevents device reboot during system image provisioning.
	PreventReboot bool `protobuf:"varint,2,opt,name=prevent_reboot,json=preventReboot,proto3" json:"prevent_reboot,omitempty"`
	// Provides a possible tar file to overwrite current install files
	OverwritePayload *_go.StoragePath `protobuf:"bytes,3,opt,name=overwrite_payload,json=overwritePayload,proto3" json:"overwrite_payload,omitempty"`
	// Specific metadata to the install flavor. May be ignored if unneeded.
	Metadata *anypb.Any `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallRequest) Descriptor deprecated

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

Deprecated: Use InstallRequest.ProtoReflect.Descriptor instead.

func (*InstallRequest) GetImagePath

func (x *InstallRequest) GetImagePath() *_go.StoragePath

func (*InstallRequest) GetMetadata

func (x *InstallRequest) GetMetadata() *anypb.Any

func (*InstallRequest) GetOverwritePayload

func (x *InstallRequest) GetOverwritePayload() *_go.StoragePath

func (*InstallRequest) GetPreventReboot

func (x *InstallRequest) GetPreventReboot() bool

func (*InstallRequest) ProtoMessage

func (*InstallRequest) ProtoMessage()

func (*InstallRequest) ProtoReflect

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

func (*InstallRequest) Reset

func (x *InstallRequest) Reset()

func (*InstallRequest) String

func (x *InstallRequest) String() string

type InstallResponse

type InstallResponse struct {
	Status InstallResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chromiumos.test.api.InstallResponse_Status" json:"status,omitempty"`
	// OS flavor specific metadata
	Metadata *anypb.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallResponse) Descriptor deprecated

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

Deprecated: Use InstallResponse.ProtoReflect.Descriptor instead.

func (*InstallResponse) GetMetadata

func (x *InstallResponse) GetMetadata() *anypb.Any

func (*InstallResponse) GetStatus

func (x *InstallResponse) GetStatus() InstallResponse_Status

func (*InstallResponse) ProtoMessage

func (*InstallResponse) ProtoMessage()

func (*InstallResponse) ProtoReflect

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

func (*InstallResponse) Reset

func (x *InstallResponse) Reset()

func (*InstallResponse) String

func (x *InstallResponse) String() string

type InstallResponse_Status

type InstallResponse_Status int32

When the status code is other than SUCCESS, details in Status message should be parsed for ErrorInfo message with the following Reasons as the reason.

const (
	// In proto3, zero value fields are indistinguishable from unset fields,
	// by design. They are not sent on the wire either.
	InstallResponse_STATUS_UNSPECIFIED InstallResponse_Status = 0
	// status code: INVALID_ARGUMENT
	InstallResponse_STATUS_INVALID_REQUEST InstallResponse_Status = 1
	// status code: FAILED_PRECONDITION
	InstallResponse_STATUS_DUT_UNREACHABLE_PRE_PROVISION InstallResponse_Status = 2
	// status code: FAILED_PRECONDITION
	InstallResponse_STATUS_DOWNLOADING_IMAGE_FAILED InstallResponse_Status = 3
	// status code: DEADLINE_EXCEEDED
	InstallResponse_STATUS_PROVISIONING_TIMEDOUT InstallResponse_Status = 4
	// status code: ABORTED
	InstallResponse_STATUS_PROVISIONING_FAILED InstallResponse_Status = 5
	// status code: ABORTED
	InstallResponse_STATUS_DUT_UNREACHABLE_POST_PROVISION InstallResponse_Status = 6
	// status code: ABORTED
	InstallResponse_STATUS_UPDATE_FIRMWARE_FAILED InstallResponse_Status = 7
	// status code: ABORTED
	InstallResponse_STATUS_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE InstallResponse_Status = 8
	// status code: ABORTED
	InstallResponse_STATUS_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE InstallResponse_Status = 9
	// status code: ABORTED
	InstallResponse_STATUS_UPDATE_MINIOS_FAILED InstallResponse_Status = 10
	// status code: ABORTED
	InstallResponse_STATUS_POST_PROVISION_SETUP_FAILED InstallResponse_Status = 11
	// status code: ABORTED
	InstallResponse_STATUS_CLEAR_TPM_FAILED InstallResponse_Status = 12
	// status code: ABORTED
	InstallResponse_STATUS_STABLIZE_DUT_FAILED InstallResponse_Status = 13
	// status code: ABORTED
	InstallResponse_STATUS_INSTALL_DLC_FAILED InstallResponse_Status = 14
	// status code: ABORTED
	InstallResponse_STATUS_PRE_PROVISION_SETUP_FAILED InstallResponse_Status = 15
	// status code: ABORTED
	InstallResponse_STATUS_CIPD_PACKAGE_LOOKUP_FAILED InstallResponse_Status = 16
	// status code: ABORTED
	InstallResponse_STATUS_CIPD_PACKAGE_FETCH_FAILED InstallResponse_Status = 17
	// status code: ABORTED
	InstallResponse_STATUS_GS_UPLOAD_FAILED InstallResponse_Status = 18
	// status code: ABORTED
	InstallResponse_STATUS_GS_DOWNLOAD_FAILED InstallResponse_Status = 19
	// status code: SUCCESS
	InstallResponse_STATUS_SUCCESS InstallResponse_Status = 20
	// status code: ABORTED
	InstallResponse_STATUS_IMAGE_MISMATCH_POST_PROVISION_UPDATE InstallResponse_Status = 21
)

func (InstallResponse_Status) Descriptor

func (InstallResponse_Status) Enum

func (InstallResponse_Status) EnumDescriptor deprecated

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

Deprecated: Use InstallResponse_Status.Descriptor instead.

func (InstallResponse_Status) Number

func (InstallResponse_Status) String

func (x InstallResponse_Status) String() string

func (InstallResponse_Status) Type

type InstallSuccess

type InstallSuccess struct {
	// contains filtered or unexported fields
}

func (*InstallSuccess) Descriptor deprecated

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

Deprecated: Use InstallSuccess.ProtoReflect.Descriptor instead.

func (*InstallSuccess) ProtoMessage

func (*InstallSuccess) ProtoMessage()

func (*InstallSuccess) ProtoReflect

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

func (*InstallSuccess) Reset

func (x *InstallSuccess) Reset()

func (*InstallSuccess) String

func (x *InstallSuccess) String() string

type InstalledAndroidOS

type InstalledAndroidOS struct {

	// Android OS build ID (ro.build.id).
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// Android OS version (ro.build.version.release).
	OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	// Android OS build incremental version (ro.build.version.incremental).
	IncrementalVersion string `protobuf:"bytes,3,opt,name=incremental_version,json=incrementalVersion,proto3" json:"incremental_version,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 4

func (*InstalledAndroidOS) Descriptor deprecated

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

Deprecated: Use InstalledAndroidOS.ProtoReflect.Descriptor instead.

func (*InstalledAndroidOS) GetBuildId

func (x *InstalledAndroidOS) GetBuildId() string

func (*InstalledAndroidOS) GetIncrementalVersion

func (x *InstalledAndroidOS) GetIncrementalVersion() string

func (*InstalledAndroidOS) GetOsVersion

func (x *InstalledAndroidOS) GetOsVersion() string

func (*InstalledAndroidOS) ProtoMessage

func (*InstalledAndroidOS) ProtoMessage()

func (*InstalledAndroidOS) ProtoReflect

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

func (*InstalledAndroidOS) Reset

func (x *InstalledAndroidOS) Reset()

func (*InstalledAndroidOS) String

func (x *InstalledAndroidOS) String() string

type InstalledAndroidPackage

type InstalledAndroidPackage struct {

	// Name of the installed package.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Version of the installed package.
	VersionCode string `protobuf:"bytes,2,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 3

func (*InstalledAndroidPackage) Descriptor deprecated

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

Deprecated: Use InstalledAndroidPackage.ProtoReflect.Descriptor instead.

func (*InstalledAndroidPackage) GetName

func (x *InstalledAndroidPackage) GetName() string

func (*InstalledAndroidPackage) GetVersionCode

func (x *InstalledAndroidPackage) GetVersionCode() string

func (*InstalledAndroidPackage) ProtoMessage

func (*InstalledAndroidPackage) ProtoMessage()

func (*InstalledAndroidPackage) ProtoReflect

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

func (*InstalledAndroidPackage) Reset

func (x *InstalledAndroidPackage) Reset()

func (*InstalledAndroidPackage) String

func (x *InstalledAndroidPackage) String() string

type InternalTestplan

type InternalTestplan struct {
	TestCases []*CTPTestCase `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`
	SuiteInfo *SuiteInfo     `protobuf:"bytes,2,opt,name=suite_info,json=suiteInfo,proto3" json:"suite_info,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalTestplan) Descriptor deprecated

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

Deprecated: Use InternalTestplan.ProtoReflect.Descriptor instead.

func (*InternalTestplan) GetSuiteInfo

func (x *InternalTestplan) GetSuiteInfo() *SuiteInfo

func (*InternalTestplan) GetTestCases

func (x *InternalTestplan) GetTestCases() []*CTPTestCase

func (*InternalTestplan) ProtoMessage

func (*InternalTestplan) ProtoMessage()

func (*InternalTestplan) ProtoReflect

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

func (*InternalTestplan) Reset

func (x *InternalTestplan) Reset()

func (*InternalTestplan) String

func (x *InternalTestplan) String() string

type KeyValue

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

func (*KeyValue) Descriptor deprecated

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

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect

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

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) String

func (x *KeyValue) String() string

type KillLibRequest

type KillLibRequest struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Options string `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

Kill Lib messages.

func (*KillLibRequest) Descriptor deprecated

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

Deprecated: Use KillLibRequest.ProtoReflect.Descriptor instead.

func (*KillLibRequest) GetId

func (x *KillLibRequest) GetId() string

func (*KillLibRequest) GetOptions

func (x *KillLibRequest) GetOptions() string

func (*KillLibRequest) ProtoMessage

func (*KillLibRequest) ProtoMessage()

func (*KillLibRequest) ProtoReflect

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

func (*KillLibRequest) Reset

func (x *KillLibRequest) Reset()

func (*KillLibRequest) String

func (x *KillLibRequest) String() string

type KillLibResponse

type KillLibResponse struct {
	// contains filtered or unexported fields
}

func (*KillLibResponse) Descriptor deprecated

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

Deprecated: Use KillLibResponse.ProtoReflect.Descriptor instead.

func (*KillLibResponse) ProtoMessage

func (*KillLibResponse) ProtoMessage()

func (*KillLibResponse) ProtoReflect

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

func (*KillLibResponse) Reset

func (x *KillLibResponse) Reset()

func (*KillLibResponse) String

func (x *KillLibResponse) String() string

type LaCrOSProvisionMetadata

type LaCrOSProvisionMetadata struct {

	// override_version is the Lacros version string used to override when Lacros
	// is provisioned from the image source in the |LacrosImage| to the component
	// path. This is useful for simulating any desired version of Lacros for
	// autoupdate testing.
	// By default, if not specified, the actual version in the |LacrosImage| is
	// used.
	OverrideVersion string `protobuf:"bytes,1,opt,name=override_version,json=overrideVersion,proto3" json:"override_version,omitempty"`
	// override_install_path changes the install location from the default
	// imageloader component path.
	// If not specified, it defaults to the imageloader component path.
	OverrideInstallPath string `protobuf:"bytes,2,opt,name=override_install_path,json=overrideInstallPath,proto3" json:"override_install_path,omitempty"`
	// contains filtered or unexported fields
}

func (*LaCrOSProvisionMetadata) Descriptor deprecated

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

Deprecated: Use LaCrOSProvisionMetadata.ProtoReflect.Descriptor instead.

func (*LaCrOSProvisionMetadata) GetOverrideInstallPath

func (x *LaCrOSProvisionMetadata) GetOverrideInstallPath() string

func (*LaCrOSProvisionMetadata) GetOverrideVersion

func (x *LaCrOSProvisionMetadata) GetOverrideVersion() string

func (*LaCrOSProvisionMetadata) ProtoMessage

func (*LaCrOSProvisionMetadata) ProtoMessage()

func (*LaCrOSProvisionMetadata) ProtoReflect

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

func (*LaCrOSProvisionMetadata) Reset

func (x *LaCrOSProvisionMetadata) Reset()

func (*LaCrOSProvisionMetadata) String

func (x *LaCrOSProvisionMetadata) String() string

type LeaseDeviceRequest

type LeaseDeviceRequest struct {

	// Generated on the client side, shared across retries but pseudo-unique
	// across different logical requests. Requests with the same key will be
	// treated as duplicate of original request, return the same response.
	IdempotencyKey string `protobuf:"bytes,1,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	// This is the final end user (can be human or robot). Useful for both
	// debugging and analytics. For example, for a tests triggered for a CL,
	// this field could indicate the CL author as they are the end user.
	//
	// For direct invocations like CLI, this is enforced at first entry point
	// but trusted from there.
	//
	// Not to be confused with LUCI auth which is done by the caller assuming
	// the appropriate identity from a permissions perspective — like LUCI
	// project.
	OnBehalfOf string `protobuf:"bytes,2,opt,name=on_behalf_of,json=onBehalfOf,proto3" json:"on_behalf_of,omitempty"`
	// This is the quota the end user is requesting to use. One user can have
	// access to multiple quotas. For example, release, CQ, performance testing,
	// etc.
	QuotaId string `protobuf:"bytes,3,opt,name=quota_id,json=quotaId,proto3" json:"quota_id,omitempty"`
	// Optional with a good default.
	// Important to configure a good max (e.g. 10 min). This will put a ceiling
	// on time wasted if the client dies.
	LeaseDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"`
	// The populated requirements will specify what kind of device manager
	// returns. The client can populate both to indicate that they are ok with
	// either a VM or Hardware DUT.
	VmHostReqs         *VMRequirements       `protobuf:"bytes,5,opt,name=vm_host_reqs,json=vmHostReqs,proto3" json:"vm_host_reqs,omitempty"`
	HardwareDeviceReqs *HardwareRequirements `protobuf:"bytes,6,opt,name=hardware_device_reqs,json=hardwareDeviceReqs,proto3" json:"hardware_device_reqs,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaseDeviceRequest) Descriptor deprecated

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

Deprecated: Use LeaseDeviceRequest.ProtoReflect.Descriptor instead.

func (*LeaseDeviceRequest) GetHardwareDeviceReqs

func (x *LeaseDeviceRequest) GetHardwareDeviceReqs() *HardwareRequirements

func (*LeaseDeviceRequest) GetIdempotencyKey

func (x *LeaseDeviceRequest) GetIdempotencyKey() string

func (*LeaseDeviceRequest) GetLeaseDuration

func (x *LeaseDeviceRequest) GetLeaseDuration() *durationpb.Duration

func (*LeaseDeviceRequest) GetOnBehalfOf

func (x *LeaseDeviceRequest) GetOnBehalfOf() string

func (*LeaseDeviceRequest) GetQuotaId

func (x *LeaseDeviceRequest) GetQuotaId() string

func (*LeaseDeviceRequest) GetVmHostReqs

func (x *LeaseDeviceRequest) GetVmHostReqs() *VMRequirements

func (*LeaseDeviceRequest) ProtoMessage

func (*LeaseDeviceRequest) ProtoMessage()

func (*LeaseDeviceRequest) ProtoReflect

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

func (*LeaseDeviceRequest) Reset

func (x *LeaseDeviceRequest) Reset()

func (*LeaseDeviceRequest) String

func (x *LeaseDeviceRequest) String() string

type LeaseDeviceResponse

type LeaseDeviceResponse struct {
	DeviceLease *DeviceLeaseRecord `protobuf:"bytes,1,opt,name=device_lease,json=deviceLease,proto3" json:"device_lease,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaseDeviceResponse) Descriptor deprecated

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

Deprecated: Use LeaseDeviceResponse.ProtoReflect.Descriptor instead.

func (*LeaseDeviceResponse) GetDeviceLease

func (x *LeaseDeviceResponse) GetDeviceLease() *DeviceLeaseRecord

func (*LeaseDeviceResponse) ProtoMessage

func (*LeaseDeviceResponse) ProtoMessage()

func (*LeaseDeviceResponse) ProtoReflect

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

func (*LeaseDeviceResponse) Reset

func (x *LeaseDeviceResponse) Reset()

func (*LeaseDeviceResponse) String

func (x *LeaseDeviceResponse) String() string

type LeaseVMRequest

type LeaseVMRequest struct {

	// Generated on the client side, shared across retries but pseudo-unique
	// across different logical requests. Requests with the same key will be
	// treated as duplicate of original request, return the same response.
	IdempotencyKey string `protobuf:"bytes,1,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	// This is the final end user (can be human or robot). Useful for both
	// debugging and analytics. For example for a tests triggered for a CL, this
	// field could indicate the CL author as they are the end user.
	//
	// For direct invocations like CLI, this is enforced at first entry point but
	// trusted from there.
	//
	// Not to be confused with LUCI auth which is done by the caller assuming the
	// appropriate identity from a permissions perspective — like LUCI project.
	OnBehalfOf string `protobuf:"bytes,2,opt,name=on_behalf_of,json=onBehalfOf,proto3" json:"on_behalf_of,omitempty"`
	// This is the quota the end user is requesting to use. One user can have
	// access to multiple quotas. For example, release, CQ, performance testing,
	// etc.
	QuotaId string `protobuf:"bytes,3,opt,name=quota_id,json=quotaId,proto3" json:"quota_id,omitempty"`
	// Optional with a good default.
	// Important to configure a good max (e.g. 10 min). This will put a ceiling on
	// time wasted if the client dies.
	LeaseDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"`
	// The populated requirements will specify the requirements for a VM host.
	HostReqs *VMRequirements `protobuf:"bytes,5,opt,name=host_reqs,json=hostReqs,proto3" json:"host_reqs,omitempty"`
	// The client that is calling VM Leaser for a VM host.
	TestingClient VMTestingClient `` /* 142-byte string literal not displayed */
	// Optional labels added to the VM. Useful for filtering.
	// Requirements: https://cloud.google.com/compute/docs/labeling-resources
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LeaseVMRequest) Descriptor deprecated

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

Deprecated: Use LeaseVMRequest.ProtoReflect.Descriptor instead.

func (*LeaseVMRequest) GetHostReqs

func (x *LeaseVMRequest) GetHostReqs() *VMRequirements

func (*LeaseVMRequest) GetIdempotencyKey

func (x *LeaseVMRequest) GetIdempotencyKey() string

func (*LeaseVMRequest) GetLabels

func (x *LeaseVMRequest) GetLabels() map[string]string

func (*LeaseVMRequest) GetLeaseDuration

func (x *LeaseVMRequest) GetLeaseDuration() *durationpb.Duration

func (*LeaseVMRequest) GetOnBehalfOf

func (x *LeaseVMRequest) GetOnBehalfOf() string

func (*LeaseVMRequest) GetQuotaId

func (x *LeaseVMRequest) GetQuotaId() string

func (*LeaseVMRequest) GetTestingClient

func (x *LeaseVMRequest) GetTestingClient() VMTestingClient

func (*LeaseVMRequest) ProtoMessage

func (*LeaseVMRequest) ProtoMessage()

func (*LeaseVMRequest) ProtoReflect

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

func (*LeaseVMRequest) Reset

func (x *LeaseVMRequest) Reset()

func (*LeaseVMRequest) String

func (x *LeaseVMRequest) String() string

type LeaseVMResponse

type LeaseVMResponse struct {

	// Relevant information for the lease.
	LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	Vm      *VM    `protobuf:"bytes,2,opt,name=vm,proto3" json:"vm,omitempty"`
	// Client is responsible for extending the lease as needed.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaseVMResponse) Descriptor deprecated

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

Deprecated: Use LeaseVMResponse.ProtoReflect.Descriptor instead.

func (*LeaseVMResponse) GetExpirationTime

func (x *LeaseVMResponse) GetExpirationTime() *timestamppb.Timestamp

func (*LeaseVMResponse) GetLeaseId

func (x *LeaseVMResponse) GetLeaseId() string

func (*LeaseVMResponse) GetVm

func (x *LeaseVMResponse) GetVm() *VM

func (*LeaseVMResponse) ProtoMessage

func (*LeaseVMResponse) ProtoMessage()

func (*LeaseVMResponse) ProtoReflect

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

func (*LeaseVMResponse) Reset

func (x *LeaseVMResponse) Reset()

func (*LeaseVMResponse) String

func (x *LeaseVMResponse) String() string

type LegacyHW

type LegacyHW struct {
	Board string `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"`
	Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	// In the process of deprecation. Do not set.
	//
	// Deprecated: Do not use.
	Variant string `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
	// In the process of deprecation. Do not set.
	//
	// Deprecated: Do not use.
	MultiDut *MultiDut `protobuf:"bytes,4,opt,name=multi_dut,json=multiDut,proto3" json:"multi_dut,omitempty"`
	// Deprecated: Do not use.
	Pool               string   `protobuf:"bytes,5,opt,name=pool,proto3" json:"pool,omitempty"`
	SwarmingDimensions []string `protobuf:"bytes,6,rep,name=swarming_dimensions,json=swarmingDimensions,proto3" json:"swarming_dimensions,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyHW) Descriptor deprecated

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

Deprecated: Use LegacyHW.ProtoReflect.Descriptor instead.

func (*LegacyHW) GetBoard

func (x *LegacyHW) GetBoard() string

func (*LegacyHW) GetModel

func (x *LegacyHW) GetModel() string

func (*LegacyHW) GetMultiDut deprecated

func (x *LegacyHW) GetMultiDut() *MultiDut

Deprecated: Do not use.

func (*LegacyHW) GetPool deprecated

func (x *LegacyHW) GetPool() string

Deprecated: Do not use.

func (*LegacyHW) GetSwarmingDimensions

func (x *LegacyHW) GetSwarmingDimensions() []string

func (*LegacyHW) GetVariant deprecated

func (x *LegacyHW) GetVariant() string

Deprecated: Do not use.

func (*LegacyHW) ProtoMessage

func (*LegacyHW) ProtoMessage()

func (*LegacyHW) ProtoReflect

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

func (*LegacyHW) Reset

func (x *LegacyHW) Reset()

func (*LegacyHW) String

func (x *LegacyHW) String() string

type LegacySW

type LegacySW struct {
	Build     string      `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
	GcsPath   string      `protobuf:"bytes,2,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"`
	KeyValues []*KeyValue `protobuf:"bytes,3,rep,name=key_values,json=keyValues,proto3" json:"key_values,omitempty"`
	Variant   string      `protobuf:"bytes,4,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacySW) Descriptor deprecated

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

Deprecated: Use LegacySW.ProtoReflect.Descriptor instead.

func (*LegacySW) GetBuild

func (x *LegacySW) GetBuild() string

func (*LegacySW) GetGcsPath

func (x *LegacySW) GetGcsPath() string

func (*LegacySW) GetKeyValues

func (x *LegacySW) GetKeyValues() []*KeyValue

func (*LegacySW) GetVariant

func (x *LegacySW) GetVariant() string

func (*LegacySW) ProtoMessage

func (*LegacySW) ProtoMessage()

func (*LegacySW) ProtoReflect

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

func (*LegacySW) Reset

func (x *LegacySW) Reset()

func (*LegacySW) String

func (x *LegacySW) String() string

type LifeCycleStage

type LifeCycleStage struct {
	Value LifeCycleStage_LifeCycle `protobuf:"varint,1,opt,name=value,proto3,enum=chromiumos.test.api.LifeCycleStage_LifeCycle" json:"value,omitempty"`
	// contains filtered or unexported fields
}

LifeCycleStage denotes the overall usage of the test.

func (*LifeCycleStage) Descriptor deprecated

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

Deprecated: Use LifeCycleStage.ProtoReflect.Descriptor instead.

func (*LifeCycleStage) GetValue

func (*LifeCycleStage) ProtoMessage

func (*LifeCycleStage) ProtoMessage()

func (*LifeCycleStage) ProtoReflect

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

func (*LifeCycleStage) Reset

func (x *LifeCycleStage) Reset()

func (*LifeCycleStage) String

func (x *LifeCycleStage) String() string

type LifeCycleStage_LifeCycle

type LifeCycleStage_LifeCycle int32
const (
	LifeCycleStage_LIFE_CYCLE_PRODUCTION_READY LifeCycleStage_LifeCycle = 0
	LifeCycleStage_LIFE_CYCLE_DISABLED         LifeCycleStage_LifeCycle = 1
	LifeCycleStage_LIFE_CYCLE_IN_DEVELOPMENT   LifeCycleStage_LifeCycle = 2
	LifeCycleStage_LIFE_CYCLE_MANUAL_ONLY      LifeCycleStage_LifeCycle = 3
	LifeCycleStage_LIFE_CYCLE_OWNER_MONITORED  LifeCycleStage_LifeCycle = 4
)

func (LifeCycleStage_LifeCycle) Descriptor

func (LifeCycleStage_LifeCycle) Enum

func (LifeCycleStage_LifeCycle) EnumDescriptor deprecated

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

Deprecated: Use LifeCycleStage_LifeCycle.Descriptor instead.

func (LifeCycleStage_LifeCycle) Number

func (LifeCycleStage_LifeCycle) String

func (x LifeCycleStage_LifeCycle) String() string

func (LifeCycleStage_LifeCycle) Type

type ListDevicesRequest

type ListDevicesRequest struct {

	// The parent for which to list devices. Based on collections of pools.
	// If no parent is specified, all devices will be queried.
	// Format: pools/{pool}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of devices to return. The service may return fewer than
	// this value. If unspecified, at most 50 devices will be returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListDevices` call. Provide this to
	// retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListDevices` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The string filter follows AIP-160 (https://google.aip.dev/160) for the
	// filtering syntax.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesRequest) Descriptor deprecated

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

Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.

func (*ListDevicesRequest) GetFilter

func (x *ListDevicesRequest) GetFilter() string

func (*ListDevicesRequest) GetPageSize

func (x *ListDevicesRequest) GetPageSize() int32

func (*ListDevicesRequest) GetPageToken

func (x *ListDevicesRequest) GetPageToken() string

func (*ListDevicesRequest) GetParent

func (x *ListDevicesRequest) GetParent() string

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) ProtoReflect

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

func (*ListDevicesRequest) Reset

func (x *ListDevicesRequest) Reset()

func (*ListDevicesRequest) String

func (x *ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {

	// List of devices to be returned.
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page. If
	// this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesResponse) Descriptor deprecated

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

Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.

func (*ListDevicesResponse) GetDevices

func (x *ListDevicesResponse) GetDevices() []*Device

func (*ListDevicesResponse) GetNextPageToken

func (x *ListDevicesResponse) GetNextPageToken() string

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) ProtoReflect

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

func (*ListDevicesResponse) Reset

func (x *ListDevicesResponse) Reset()

func (*ListDevicesResponse) String

func (x *ListDevicesResponse) String() string

type ListLeasesRequest

type ListLeasesRequest struct {

	// The name of the GCP project for which to list VM leases.
	// Format: projects/{project}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of VM leases to return. The service may return fewer
	// than this value. If unspecified, at most 50 leases will be returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListLeases` call. Provide this to
	// retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListLeases` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The string filter follows AIP-160 (https://google.aip.dev/160) for the
	// filtering syntax. For the initial release, this filter only supports
	// filtering by zone, tags, and metadata fields related to VMs.
	//
	// Examples:
	// 1. `metadata.idempotency_key = "test-idempotency-uuid-key"` will find the
	// VMs that have the key matched.
	// 2. `metadata.expiration_time > 1690490598` will find the VMs that expire
	// later than the specified unix time.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

ListLeasesRequest is the request to list VM Leases.

TODO (b/294414530): Need support for googleapis protos enabled. It follows AIP-132 (https://google.aip.dev/132) but do not have use the google.api.* annotations as they are not currently supported in this repo.

func (*ListLeasesRequest) Descriptor deprecated

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

Deprecated: Use ListLeasesRequest.ProtoReflect.Descriptor instead.

func (*ListLeasesRequest) GetFilter

func (x *ListLeasesRequest) GetFilter() string

func (*ListLeasesRequest) GetPageSize

func (x *ListLeasesRequest) GetPageSize() int32

func (*ListLeasesRequest) GetPageToken

func (x *ListLeasesRequest) GetPageToken() string

func (*ListLeasesRequest) GetParent

func (x *ListLeasesRequest) GetParent() string

func (*ListLeasesRequest) ProtoMessage

func (*ListLeasesRequest) ProtoMessage()

func (*ListLeasesRequest) ProtoReflect

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

func (*ListLeasesRequest) Reset

func (x *ListLeasesRequest) Reset()

func (*ListLeasesRequest) String

func (x *ListLeasesRequest) String() string

type ListLeasesResponse

type ListLeasesResponse struct {
	Vms []*VM `protobuf:"bytes,1,rep,name=vms,proto3" json:"vms,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page. If
	// this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLeasesResponse) Descriptor deprecated

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

Deprecated: Use ListLeasesResponse.ProtoReflect.Descriptor instead.

func (*ListLeasesResponse) GetNextPageToken

func (x *ListLeasesResponse) GetNextPageToken() string

func (*ListLeasesResponse) GetVms

func (x *ListLeasesResponse) GetVms() []*VM

func (*ListLeasesResponse) ProtoMessage

func (*ListLeasesResponse) ProtoMessage()

func (*ListLeasesResponse) ProtoReflect

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

func (*ListLeasesResponse) Reset

func (x *ListLeasesResponse) Reset()

func (*ListLeasesResponse) String

func (x *ListLeasesResponse) String() string

type ListVmInstancesRequest

type ListVmInstancesRequest struct {

	// Configuration of the backend to list the instance.
	Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// Instances with matching tags will be filtered.
	TagFilters map[string]string `` /* 179-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request for the InstanceApi.List endpoint.

func (*ListVmInstancesRequest) Descriptor deprecated

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

Deprecated: Use ListVmInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListVmInstancesRequest) GetConfig

func (x *ListVmInstancesRequest) GetConfig() *Config

func (*ListVmInstancesRequest) GetTagFilters

func (x *ListVmInstancesRequest) GetTagFilters() map[string]string

func (*ListVmInstancesRequest) ProtoMessage

func (*ListVmInstancesRequest) ProtoMessage()

func (*ListVmInstancesRequest) ProtoReflect

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

func (*ListVmInstancesRequest) Reset

func (x *ListVmInstancesRequest) Reset()

func (*ListVmInstancesRequest) String

func (x *ListVmInstancesRequest) String() string

type LoginRegistryExtensions

type LoginRegistryExtensions struct {

	// Provides a hook to execute `gcloud auth activate-service-account` before
	// login. The value are the arguments of the command documented in
	// http://cloud/sdk/gcloud/reference/auth/activate-service-account.
	// e.g. ["service_account@domain.com", "--key-file=/path/key.json"] or
	// ["--key-file", "/path/key.json"]
	GcloudAuthServiceAccountArgs []string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Extensions to the LoginRegistry API. Extensions will be handled before login.

func (*LoginRegistryExtensions) Descriptor deprecated

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

Deprecated: Use LoginRegistryExtensions.ProtoReflect.Descriptor instead.

func (*LoginRegistryExtensions) GetGcloudAuthServiceAccountArgs

func (x *LoginRegistryExtensions) GetGcloudAuthServiceAccountArgs() []string

func (*LoginRegistryExtensions) ProtoMessage

func (*LoginRegistryExtensions) ProtoMessage()

func (*LoginRegistryExtensions) ProtoReflect

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

func (*LoginRegistryExtensions) Reset

func (x *LoginRegistryExtensions) Reset()

func (*LoginRegistryExtensions) String

func (x *LoginRegistryExtensions) String() string

type LoginRegistryRequest

type LoginRegistryRequest struct {

	// User name. For gcloud, this should be `oauth2accesstoken`
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Password value or a command substitution. E.g. actual token value or
	// $(gcloud auth print-access-token)
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Registry server name. E.g. us-docker.pkg.dev
	Registry string `protobuf:"bytes,3,opt,name=registry,proto3" json:"registry,omitempty"`
	// Optional extensions to change behavior before the login action
	Extensions *LoginRegistryExtensions `protobuf:"bytes,4,opt,name=extensions,proto3" json:"extensions,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRegistryRequest) Descriptor deprecated

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

Deprecated: Use LoginRegistryRequest.ProtoReflect.Descriptor instead.

func (*LoginRegistryRequest) GetExtensions

func (x *LoginRegistryRequest) GetExtensions() *LoginRegistryExtensions

func (*LoginRegistryRequest) GetPassword

func (x *LoginRegistryRequest) GetPassword() string

func (*LoginRegistryRequest) GetRegistry

func (x *LoginRegistryRequest) GetRegistry() string

func (*LoginRegistryRequest) GetUsername

func (x *LoginRegistryRequest) GetUsername() string

func (*LoginRegistryRequest) ProtoMessage

func (*LoginRegistryRequest) ProtoMessage()

func (*LoginRegistryRequest) ProtoReflect

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

func (*LoginRegistryRequest) Reset

func (x *LoginRegistryRequest) Reset()

func (*LoginRegistryRequest) String

func (x *LoginRegistryRequest) String() string

type LoginRegistryResponse

type LoginRegistryResponse struct {

	// Message returned by docker login command
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Messages returned by extensions
	ExtensionsOutput []string `protobuf:"bytes,2,rep,name=extensions_output,json=extensionsOutput,proto3" json:"extensions_output,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRegistryResponse) Descriptor deprecated

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

Deprecated: Use LoginRegistryResponse.ProtoReflect.Descriptor instead.

func (*LoginRegistryResponse) GetExtensionsOutput

func (x *LoginRegistryResponse) GetExtensionsOutput() []string

func (*LoginRegistryResponse) GetMessage

func (x *LoginRegistryResponse) GetMessage() string

func (*LoginRegistryResponse) ProtoMessage

func (*LoginRegistryResponse) ProtoMessage()

func (*LoginRegistryResponse) ProtoReflect

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

func (*LoginRegistryResponse) Reset

func (x *LoginRegistryResponse) Reset()

func (*LoginRegistryResponse) String

func (x *LoginRegistryResponse) String() string

type Metadata

type Metadata struct {

	// Email contacts of owners that gate changes to the Suite/SuiteSet and
	// should be notified regarding any Suite/SuiteSet issues (e.g. flakiness,
	// runtime).
	Owners []*Contact `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty"`
	// The Buganizer component to issue bugs against regarding the
	// Suite/SuiteSet.
	BugComponent *BugComponent `protobuf:"bytes,2,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
	// A short summary capturing the quality guarantee validated by the
	// Suite/SuiteSet (e.g. “Validates a device passes Engineering Verification
	// Testing and is ready to continue to Design Verification Testing”).
	Criteria *Criteria `protobuf:"bytes,3,opt,name=criteria,proto3" json:"criteria,omitempty"`
	// contains filtered or unexported fields
}

Contains extra information regarding the Suite/SuiteSet that does not affect execution or scheduling.

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetBugComponent

func (x *Metadata) GetBugComponent() *BugComponent

func (*Metadata) GetCriteria

func (x *Metadata) GetCriteria() *Criteria

func (*Metadata) GetOwners

func (x *Metadata) GetOwners() []*Contact

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type MultiDut

type MultiDut struct {
	Boards *Pair `protobuf:"bytes,1,opt,name=boards,proto3" json:"boards,omitempty"`
	Model  *Pair `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiDut) Descriptor deprecated

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

Deprecated: Use MultiDut.ProtoReflect.Descriptor instead.

func (*MultiDut) GetBoards

func (x *MultiDut) GetBoards() *Pair

func (*MultiDut) GetModel

func (x *MultiDut) GetModel() *Pair

func (*MultiDut) ProtoMessage

func (*MultiDut) ProtoMessage()

func (*MultiDut) ProtoReflect

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

func (*MultiDut) Reset

func (x *MultiDut) Reset()

func (*MultiDut) String

func (x *MultiDut) String() string

type Network

type Network struct {

	// Network name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Network ID assigned by docker
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Indicates if the network was created by the current container service.
	Owned bool `protobuf:"varint,3,opt,name=owned,proto3" json:"owned,omitempty"`
	// contains filtered or unexported fields
}

Represents basic info of a docker network

func (*Network) Descriptor deprecated

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetId

func (x *Network) GetId() string

func (*Network) GetName

func (x *Network) GetName() string

func (*Network) GetOwned

func (x *Network) GetOwned() bool

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

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

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

type Output

type Output int32

Output enumeration for ExecCommandRequest.

const (
	// OUTPUT_PIPE means to collect output and return it.
	Output_OUTPUT_PIPE Output = 0
	// OUTPUT_STDOUT is a special value for stderr which means to merge stderr
	// into stdout.
	Output_OUTPUT_STDOUT Output = 1
)

func (Output) Descriptor

func (Output) Descriptor() protoreflect.EnumDescriptor

func (Output) Enum

func (x Output) Enum() *Output

func (Output) EnumDescriptor deprecated

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

Deprecated: Use Output.Descriptor instead.

func (Output) Number

func (x Output) Number() protoreflect.EnumNumber

func (Output) String

func (x Output) String() string

func (Output) Type

func (Output) Type() protoreflect.EnumType

type Pair

type Pair struct {
	Primary   string `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"`
	Secondary string `protobuf:"bytes,2,opt,name=secondary,proto3" json:"secondary,omitempty"`
	// contains filtered or unexported fields
}

func (*Pair) Descriptor deprecated

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

Deprecated: Use Pair.ProtoReflect.Descriptor instead.

func (*Pair) GetPrimary

func (x *Pair) GetPrimary() string

func (*Pair) GetSecondary

func (x *Pair) GetSecondary() string

func (*Pair) ProtoMessage

func (*Pair) ProtoMessage()

func (*Pair) ProtoReflect

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

func (*Pair) Reset

func (x *Pair) Reset()

func (*Pair) String

func (x *Pair) String() string

type PassRatePolicy

type PassRatePolicy struct {
	PassRate int32 `protobuf:"varint,1,opt,name=pass_rate,json=passRate,proto3" json:"pass_rate,omitempty"`
	MinRuns  int32 `protobuf:"varint,2,opt,name=min_runs,json=minRuns,proto3" json:"min_runs,omitempty"`
	// NOTE: num_of_milestones determines how many milestones back to look for results.
	// The number here will default to 0 (meaning current only); however, if there are not enough
	// results on the current milestone to meet `min_runs`, then will go back up to 1 milestone.
	// Setting this value will override the default behavior, and will not have the
	// logic to go back an additional milestone if not enough results.
	NumOfMilestones int32 `protobuf:"varint,4,opt,name=num_of_milestones,json=numOfMilestones,proto3" json:"num_of_milestones,omitempty"`
	// force_enabled_tests DEPRECATED
	ForceEnabledTests []string `protobuf:"bytes,5,rep,name=force_enabled_tests,json=forceEnabledTests,proto3" json:"force_enabled_tests,omitempty"`
	// force_disabled_tests DEPRECATED
	ForceDisabledTests []string `protobuf:"bytes,6,rep,name=force_disabled_tests,json=forceDisabledTests,proto3" json:"force_disabled_tests,omitempty"`
	// force_enabled_boards DEPRECATED
	ForceEnabledBoards []string `protobuf:"bytes,7,rep,name=force_enabled_boards,json=forceEnabledBoards,proto3" json:"force_enabled_boards,omitempty"`
	// Recent results are a method to re-enable historically flaky tests, with
	// more recent results. Its expected that the recent result will be more stringent
	// than the long-term results. For example, if a test has a long-term passrate of
	// 95% with 1000 samples, but a recent passrate of 100% with 200 samples, its
	// signal that its stable enough to be re-enabled.
	PassRateRecent int32               `protobuf:"varint,8,opt,name=pass_rate_recent,json=passRateRecent,proto3" json:"pass_rate_recent,omitempty"`
	MinRunsRecent  int32               `protobuf:"varint,9,opt,name=min_runs_recent,json=minRunsRecent,proto3" json:"min_runs_recent,omitempty"`
	RecentWindow   int32               `protobuf:"varint,10,opt,name=recent_window,json=recentWindow,proto3" json:"recent_window,omitempty"`
	Dryrun         bool                `protobuf:"varint,11,opt,name=dryrun,proto3" json:"dryrun,omitempty"`
	Testconfigs    []*FilterTestConfig `protobuf:"bytes,12,rep,name=testconfigs,proto3" json:"testconfigs,omitempty"`
	// max_filtered_percent is the max % of tests that can be filtered. Eg 20%.
	// If the limit is hit, the filtered tests will be ordered by flake.
	MaxFilteredPercent int32 `protobuf:"varint,13,opt,name=max_filtered_percent,json=maxFilteredPercent,proto3" json:"max_filtered_percent,omitempty"`
	// max_filtered_int follows the same logic as above.
	// NOTE: if both fields are set, we will use the more restrictive of the two.
	// For example:
	//   100 tests with a max_filtered_percent=50% and max_filtered_int=5
	//   20 tests hit the filter threshold,
	//   Only 5 would get filtered out.
	MaxFilteredInt int32 `protobuf:"varint,14,opt,name=max_filtered_int,json=maxFilteredInt,proto3" json:"max_filtered_int,omitempty"`
	// contains filtered or unexported fields
}

PassRatePolicy indicates to use the StabilitySensor for determine flake.

func (*PassRatePolicy) Descriptor deprecated

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

Deprecated: Use PassRatePolicy.ProtoReflect.Descriptor instead.

func (*PassRatePolicy) GetDryrun

func (x *PassRatePolicy) GetDryrun() bool

func (*PassRatePolicy) GetForceDisabledTests

func (x *PassRatePolicy) GetForceDisabledTests() []string

func (*PassRatePolicy) GetForceEnabledBoards

func (x *PassRatePolicy) GetForceEnabledBoards() []string

func (*PassRatePolicy) GetForceEnabledTests

func (x *PassRatePolicy) GetForceEnabledTests() []string

func (*PassRatePolicy) GetMaxFilteredInt

func (x *PassRatePolicy) GetMaxFilteredInt() int32

func (*PassRatePolicy) GetMaxFilteredPercent

func (x *PassRatePolicy) GetMaxFilteredPercent() int32

func (*PassRatePolicy) GetMinRuns

func (x *PassRatePolicy) GetMinRuns() int32

func (*PassRatePolicy) GetMinRunsRecent

func (x *PassRatePolicy) GetMinRunsRecent() int32

func (*PassRatePolicy) GetNumOfMilestones

func (x *PassRatePolicy) GetNumOfMilestones() int32

func (*PassRatePolicy) GetPassRate

func (x *PassRatePolicy) GetPassRate() int32

func (*PassRatePolicy) GetPassRateRecent

func (x *PassRatePolicy) GetPassRateRecent() int32

func (*PassRatePolicy) GetRecentWindow

func (x *PassRatePolicy) GetRecentWindow() int32

func (*PassRatePolicy) GetTestconfigs

func (x *PassRatePolicy) GetTestconfigs() []*FilterTestConfig

func (*PassRatePolicy) ProtoMessage

func (*PassRatePolicy) ProtoMessage()

func (*PassRatePolicy) ProtoReflect

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

func (*PassRatePolicy) Reset

func (x *PassRatePolicy) Reset()

func (*PassRatePolicy) String

func (x *PassRatePolicy) String() string

type PostTestServiceClient

type PostTestServiceClient interface {
	RunActivity(ctx context.Context, in *RunActivityRequest, opts ...grpc.CallOption) (*RunActivityResponse, error)
}

PostTestServiceClient is the client API for PostTestService 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 PostTestServiceServer

type PostTestServiceServer interface {
	RunActivity(context.Context, *RunActivityRequest) (*RunActivityResponse, error)
}

PostTestServiceServer is the server API for PostTestService service. All implementations should embed UnimplementedPostTestServiceServer for forward compatibility

type PostTestStartUpRequest

type PostTestStartUpRequest struct {
	DutServer *api.IpEndpoint `protobuf:"bytes,1,opt,name=dut_server,json=dutServer,proto3" json:"dut_server,omitempty"`
	// Specific metadata to the individual PostTest service implementation.
	Metadata *anypb.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

PostTestStartUpRequest provides a generic form for initializing any post test service. This provides a route for initialization rather than using the CLI arguments to provide this info.

func (*PostTestStartUpRequest) Descriptor deprecated

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

Deprecated: Use PostTestStartUpRequest.ProtoReflect.Descriptor instead.

func (*PostTestStartUpRequest) GetDutServer

func (x *PostTestStartUpRequest) GetDutServer() *api.IpEndpoint

func (*PostTestStartUpRequest) GetMetadata

func (x *PostTestStartUpRequest) GetMetadata() *anypb.Any

func (*PostTestStartUpRequest) ProtoMessage

func (*PostTestStartUpRequest) ProtoMessage()

func (*PostTestStartUpRequest) ProtoReflect

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

func (*PostTestStartUpRequest) Reset

func (x *PostTestStartUpRequest) Reset()

func (*PostTestStartUpRequest) String

func (x *PostTestStartUpRequest) String() string

type PostTestStartUpResponse

type PostTestStartUpResponse struct {
	Status PostTestStartUpResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chromiumos.test.api.PostTestStartUpResponse_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

PostTestStartUpResponse provides a status message to signal what the result of startup call was.

func (*PostTestStartUpResponse) Descriptor deprecated

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

Deprecated: Use PostTestStartUpResponse.ProtoReflect.Descriptor instead.

func (*PostTestStartUpResponse) GetStatus

func (*PostTestStartUpResponse) ProtoMessage

func (*PostTestStartUpResponse) ProtoMessage()

func (*PostTestStartUpResponse) ProtoReflect

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

func (*PostTestStartUpResponse) Reset

func (x *PostTestStartUpResponse) Reset()

func (*PostTestStartUpResponse) String

func (x *PostTestStartUpResponse) String() string

type PostTestStartUpResponse_Status

type PostTestStartUpResponse_Status int32
const (
	// In proto3, zero value fields are indistinguishable from unset fields,
	// by design. They are not sent on the wire either.
	// SHOULD NOT BE USED.
	PostTestStartUpResponse_STATUS_UNSPECIFIED     PostTestStartUpResponse_Status = 0
	PostTestStartUpResponse_STATUS_SUCCESS         PostTestStartUpResponse_Status = 1
	PostTestStartUpResponse_STATUS_INVALID_REQUEST PostTestStartUpResponse_Status = 2
	PostTestStartUpResponse_STATUS_STARTUP_FAILED  PostTestStartUpResponse_Status = 3
)

func (PostTestStartUpResponse_Status) Descriptor

func (PostTestStartUpResponse_Status) Enum

func (PostTestStartUpResponse_Status) EnumDescriptor deprecated

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

Deprecated: Use PostTestStartUpResponse_Status.Descriptor instead.

func (PostTestStartUpResponse_Status) Number

func (PostTestStartUpResponse_Status) String

func (PostTestStartUpResponse_Status) Type

type PostTestTask

type PostTestTask struct {
	ServiceAddress  *api1.IpEndpoint `protobuf:"bytes,1,opt,name=service_address,json=serviceAddress,proto3" json:"service_address,omitempty"`
	PostTestRequest *anypb.Any       `protobuf:"bytes,2,opt,name=post_test_request,json=postTestRequest,proto3" json:"post_test_request,omitempty"`
	DynamicDeps     []*DynamicDep    `protobuf:"bytes,3,rep,name=dynamic_deps,json=dynamicDeps,proto3" json:"dynamic_deps,omitempty"`
	// RunActivityRequest will trigger a call to RunActivity
	// within the rpc service `PostTestService`.
	RunActivityRequest *RunActivityRequest `protobuf:"bytes,4,opt,name=run_activity_request,json=runActivityRequest,proto3" json:"run_activity_request,omitempty"`
	// Task identifier for cross-referencing within dynamic dependencies.
	DynamicIdentifier string `protobuf:"bytes,5,opt,name=dynamic_identifier,json=dynamicIdentifier,proto3" json:"dynamic_identifier,omitempty"`
	// contains filtered or unexported fields
}

PostTestTask targets requests towards services that implement the PostTestService.

func (*PostTestTask) Descriptor deprecated

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

Deprecated: Use PostTestTask.ProtoReflect.Descriptor instead.

func (*PostTestTask) GetDynamicDeps

func (x *PostTestTask) GetDynamicDeps() []*DynamicDep

func (*PostTestTask) GetDynamicIdentifier

func (x *PostTestTask) GetDynamicIdentifier() string

func (*PostTestTask) GetPostTestRequest

func (x *PostTestTask) GetPostTestRequest() *anypb.Any

func (*PostTestTask) GetRunActivityRequest

func (x *PostTestTask) GetRunActivityRequest() *RunActivityRequest

func (*PostTestTask) GetServiceAddress

func (x *PostTestTask) GetServiceAddress() *api1.IpEndpoint

func (*PostTestTask) ProtoMessage

func (*PostTestTask) ProtoMessage()

func (*PostTestTask) ProtoReflect

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

func (*PostTestTask) Reset

func (x *PostTestTask) Reset()

func (*PostTestTask) String

func (x *PostTestTask) String() string

type PreTestServiceClient

type PreTestServiceClient interface {
	// FilterFlakyTests will take in a policy + TestSuites
	// and will echo out the TestSuites; with the flaky tests removed.
	// along with a list of removed tests for logging purposes.
	FilterFlakyTests(ctx context.Context, in *FilterFlakyRequest, opts ...grpc.CallOption) (*FilterFlakyResponse, error)
}

PreTestServiceClient is the client API for PreTestService 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 PreTestServiceServer

type PreTestServiceServer interface {
	// FilterFlakyTests will take in a policy + TestSuites
	// and will echo out the TestSuites; with the flaky tests removed.
	// along with a list of removed tests for logging purposes.
	FilterFlakyTests(context.Context, *FilterFlakyRequest) (*FilterFlakyResponse, error)
}

PreTestServiceServer is the server API for PreTestService service. All implementations should embed UnimplementedPreTestServiceServer for forward compatibility

type PreTestTask

type PreTestTask struct {
	ServiceAddress *api1.IpEndpoint `protobuf:"bytes,1,opt,name=service_address,json=serviceAddress,proto3" json:"service_address,omitempty"`
	PreTestRequest *anypb.Any       `protobuf:"bytes,2,opt,name=pre_test_request,json=preTestRequest,proto3" json:"pre_test_request,omitempty"`
	DynamicDeps    []*DynamicDep    `protobuf:"bytes,3,rep,name=dynamic_deps,json=dynamicDeps,proto3" json:"dynamic_deps,omitempty"`
	// Task identifier for cross-referencing within dynamic dependencies.
	DynamicIdentifier string `protobuf:"bytes,4,opt,name=dynamic_identifier,json=dynamicIdentifier,proto3" json:"dynamic_identifier,omitempty"`
	// contains filtered or unexported fields
}

PreTestTask targets requests towards services that implement the PreTestService.

func (*PreTestTask) Descriptor deprecated

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

Deprecated: Use PreTestTask.ProtoReflect.Descriptor instead.

func (*PreTestTask) GetDynamicDeps

func (x *PreTestTask) GetDynamicDeps() []*DynamicDep

func (*PreTestTask) GetDynamicIdentifier

func (x *PreTestTask) GetDynamicIdentifier() string

func (*PreTestTask) GetPreTestRequest

func (x *PreTestTask) GetPreTestRequest() *anypb.Any

func (*PreTestTask) GetServiceAddress

func (x *PreTestTask) GetServiceAddress() *api1.IpEndpoint

func (*PreTestTask) ProtoMessage

func (*PreTestTask) ProtoMessage()

func (*PreTestTask) ProtoReflect

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

func (*PreTestTask) Reset

func (x *PreTestTask) Reset()

func (*PreTestTask) String

func (x *PreTestTask) String() string

type ProviderId

type ProviderId int32

ProviderId is the ID of various VM service providers: GCloud, VM leaser service etc.

const (
	ProviderId_UNKNOWN   ProviderId = 0
	ProviderId_GCLOUD    ProviderId = 1
	ProviderId_CLOUDSDK  ProviderId = 2
	ProviderId_VM_LEASER ProviderId = 3
)

func (ProviderId) Descriptor

func (ProviderId) Descriptor() protoreflect.EnumDescriptor

func (ProviderId) Enum

func (x ProviderId) Enum() *ProviderId

func (ProviderId) EnumDescriptor deprecated

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

Deprecated: Use ProviderId.Descriptor instead.

func (ProviderId) Number

func (x ProviderId) Number() protoreflect.EnumNumber

func (ProviderId) String

func (x ProviderId) String() string

func (ProviderId) Type

type ProvisionCliInput

type ProvisionCliInput struct {
	DutInputs []*DutInput `protobuf:"bytes,1,rep,name=dut_inputs,json=dutInputs,proto3" json:"dut_inputs,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionCliInput) Descriptor deprecated

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

Deprecated: Use ProvisionCliInput.ProtoReflect.Descriptor instead.

func (*ProvisionCliInput) GetDutInputs

func (x *ProvisionCliInput) GetDutInputs() []*DutInput

func (*ProvisionCliInput) ProtoMessage

func (*ProvisionCliInput) ProtoMessage()

func (*ProvisionCliInput) ProtoReflect

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

func (*ProvisionCliInput) Reset

func (x *ProvisionCliInput) Reset()

func (*ProvisionCliInput) String

func (x *ProvisionCliInput) String() string

type ProvisionCliOutput

type ProvisionCliOutput struct {
	DutOutputs []*DutOutput `protobuf:"bytes,1,rep,name=dut_outputs,json=dutOutputs,proto3" json:"dut_outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionCliOutput) Descriptor deprecated

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

Deprecated: Use ProvisionCliOutput.ProtoReflect.Descriptor instead.

func (*ProvisionCliOutput) GetDutOutputs

func (x *ProvisionCliOutput) GetDutOutputs() []*DutOutput

func (*ProvisionCliOutput) ProtoMessage

func (*ProvisionCliOutput) ProtoMessage()

func (*ProvisionCliOutput) ProtoReflect

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

func (*ProvisionCliOutput) Reset

func (x *ProvisionCliOutput) Reset()

func (*ProvisionCliOutput) String

func (x *ProvisionCliOutput) String() string

type ProvisionConfig

type ProvisionConfig struct {
	Firmware *api.FirmwareConfig       `protobuf:"bytes,1,opt,name=firmware,proto3" json:"firmware,omitempty"`
	Dlcs     []*api.Dlc_Id             `protobuf:"bytes,2,rep,name=dlcs,proto3" json:"dlcs,omitempty"`
	Packages []*ProvisionState_Package `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty"`
	// Variant on the primary build target to test with.
	//
	// E.g.: If we were targeting a 'coral' board for testing, setting this to
	// 'kernelnext' would use the coral-kernelnext image from the build for
	// testing.
	//
	// Note that this looks for an overlay called <build target>-<variant>,
	// (in the above example, there is an overlay called 'coral-kernelnext').
	// If you are targeting a non-base profile of a build target, use the
	// 'profile' field.
	BoardVariant string `protobuf:"bytes,4,opt,name=board_variant,json=boardVariant,proto3" json:"board_variant,omitempty"`
	// Profile to test with. If not set, the 'base' profile is used.
	//
	// E.g. If you are targeting a 'amd64-generic' board for testing, setting
	// this to 'asan' would use the amd64-generic ASAN image for testing.
	//
	// Note that if you are looking to use the 'base' profile of a variant
	// overlay ('coral-kernelnext') use the 'board_variant' field above.
	Profile string `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"`
	// Optional tarball to pass through to provisioning.
	OverwritePayload *_go.StoragePath `protobuf:"bytes,5,opt,name=overwrite_payload,json=overwritePayload,proto3" json:"overwrite_payload,omitempty"`
	// Optional config for one companion DUT. Note that this field is NOT used
	// to determine whether the DUT is a companion, meaning setting the field on
	// the first (primary) DutTarget is invalid and will be ignored. The field
	// only provides additional provision config that may affect how the
	// underlying DUT companion should be provisioned.
	Companion *CompanionConfig `protobuf:"bytes,7,opt,name=companion,proto3" json:"companion,omitempty"`
	// contains filtered or unexported fields
}

User configurable provisioning settings. These inform the final ProvisionState that's requested from the provisioning service.

func (*ProvisionConfig) Descriptor deprecated

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

Deprecated: Use ProvisionConfig.ProtoReflect.Descriptor instead.

func (*ProvisionConfig) GetBoardVariant

func (x *ProvisionConfig) GetBoardVariant() string

func (*ProvisionConfig) GetCompanion

func (x *ProvisionConfig) GetCompanion() *CompanionConfig

func (*ProvisionConfig) GetDlcs

func (x *ProvisionConfig) GetDlcs() []*api.Dlc_Id

func (*ProvisionConfig) GetFirmware

func (x *ProvisionConfig) GetFirmware() *api.FirmwareConfig

func (*ProvisionConfig) GetOverwritePayload

func (x *ProvisionConfig) GetOverwritePayload() *_go.StoragePath

func (*ProvisionConfig) GetPackages

func (x *ProvisionConfig) GetPackages() []*ProvisionState_Package

func (*ProvisionConfig) GetProfile

func (x *ProvisionConfig) GetProfile() string

func (*ProvisionConfig) ProtoMessage

func (*ProvisionConfig) ProtoMessage()

func (*ProvisionConfig) ProtoReflect

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

func (*ProvisionConfig) Reset

func (x *ProvisionConfig) Reset()

func (*ProvisionConfig) String

func (x *ProvisionConfig) String() string

type ProvisionInfo

type ProvisionInfo struct {
	InstallRequest *InstallRequest    `protobuf:"bytes,1,opt,name=install_request,json=installRequest,proto3" json:"install_request,omitempty"`
	Identifier     string             `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Type           ProvisionInfo_Type `protobuf:"varint,3,opt,name=type,proto3,enum=chromiumos.test.api.ProvisionInfo_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionInfo) Descriptor deprecated

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

Deprecated: Use ProvisionInfo.ProtoReflect.Descriptor instead.

func (*ProvisionInfo) GetIdentifier

func (x *ProvisionInfo) GetIdentifier() string

func (*ProvisionInfo) GetInstallRequest

func (x *ProvisionInfo) GetInstallRequest() *InstallRequest

func (*ProvisionInfo) GetType

func (x *ProvisionInfo) GetType() ProvisionInfo_Type

func (*ProvisionInfo) ProtoMessage

func (*ProvisionInfo) ProtoMessage()

func (*ProvisionInfo) ProtoReflect

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

func (*ProvisionInfo) Reset

func (x *ProvisionInfo) Reset()

func (*ProvisionInfo) String

func (x *ProvisionInfo) String() string

type ProvisionInfo_Type

type ProvisionInfo_Type int32

Should this be a generic string? Then we don't have to touch proto when new provision comes.

const (
	ProvisionInfo_CROS    ProvisionInfo_Type = 0
	ProvisionInfo_ANDROID ProvisionInfo_Type = 1
	ProvisionInfo_ROFW    ProvisionInfo_Type = 2
)

func (ProvisionInfo_Type) Descriptor

func (ProvisionInfo_Type) Enum

func (ProvisionInfo_Type) EnumDescriptor deprecated

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

Deprecated: Use ProvisionInfo_Type.Descriptor instead.

func (ProvisionInfo_Type) Number

func (ProvisionInfo_Type) String

func (x ProvisionInfo_Type) String() string

func (ProvisionInfo_Type) Type

type ProvisionServiceClient

type ProvisionServiceClient interface {
	// InstallCros installs a specified version of Chrome OS on the DUT, along
	// with any specified DLCs.
	//
	// If the DUT is already on the specified version of Chrome OS, the OS will
	// not be installed.
	//
	// If the DUT already has the specified list of DLCs, only the missing DLCs
	// will be installed.
	InstallCros(ctx context.Context, in *InstallCrosRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// InstallLacros installs a specified version of Lacros on the DUT.
	//
	// If the DUT already has the specified version of Lacros, Lacros will not be
	// installed.
	InstallLacros(ctx context.Context, in *InstallLacrosRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// InstallAsh installs a specified version of ash-chrome on the DUT.
	//
	// This directly overwrites the version of ash-chrome on the current root
	// disk partition.
	InstallAsh(ctx context.Context, in *InstallAshRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// InstallArc installs a specified version of ARC on the DUT.
	//
	// This directly overwrites the version of ARC on the current root
	// disk partition.
	InstallArc(ctx context.Context, in *InstallArcRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// InstallFirmware installs all of the firmware images specified.
	InstallFirmware(ctx context.Context, in *InstallFirmwareRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

ProvisionServiceClient is the client API for ProvisionService 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 ProvisionServiceServer

type ProvisionServiceServer interface {
	// InstallCros installs a specified version of Chrome OS on the DUT, along
	// with any specified DLCs.
	//
	// If the DUT is already on the specified version of Chrome OS, the OS will
	// not be installed.
	//
	// If the DUT already has the specified list of DLCs, only the missing DLCs
	// will be installed.
	InstallCros(context.Context, *InstallCrosRequest) (*longrunning.Operation, error)
	// InstallLacros installs a specified version of Lacros on the DUT.
	//
	// If the DUT already has the specified version of Lacros, Lacros will not be
	// installed.
	InstallLacros(context.Context, *InstallLacrosRequest) (*longrunning.Operation, error)
	// InstallAsh installs a specified version of ash-chrome on the DUT.
	//
	// This directly overwrites the version of ash-chrome on the current root
	// disk partition.
	InstallAsh(context.Context, *InstallAshRequest) (*longrunning.Operation, error)
	// InstallArc installs a specified version of ARC on the DUT.
	//
	// This directly overwrites the version of ARC on the current root
	// disk partition.
	InstallArc(context.Context, *InstallArcRequest) (*longrunning.Operation, error)
	// InstallFirmware installs all of the firmware images specified.
	InstallFirmware(context.Context, *InstallFirmwareRequest) (*longrunning.Operation, error)
}

ProvisionServiceServer is the server API for ProvisionService service. All implementations should embed UnimplementedProvisionServiceServer for forward compatibility

type ProvisionStartupRequest

type ProvisionStartupRequest struct {
	Dut       *api.Dut        `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
	DutServer *api.IpEndpoint `protobuf:"bytes,2,opt,name=dut_server,json=dutServer,proto3" json:"dut_server,omitempty"`
	// Specific metadata to the individual provision services.
	Metadata *anypb.Any `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

ProvisionStartupRequest provides a generic form for initializing the provision services. This provides an alternative route for the initialization rather than using the CLI arguments that are used for starting the gRPC server.

func (*ProvisionStartupRequest) Descriptor deprecated

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

Deprecated: Use ProvisionStartupRequest.ProtoReflect.Descriptor instead.

func (*ProvisionStartupRequest) GetDut

func (x *ProvisionStartupRequest) GetDut() *api.Dut

func (*ProvisionStartupRequest) GetDutServer

func (x *ProvisionStartupRequest) GetDutServer() *api.IpEndpoint

func (*ProvisionStartupRequest) GetMetadata

func (x *ProvisionStartupRequest) GetMetadata() *anypb.Any

func (*ProvisionStartupRequest) ProtoMessage

func (*ProvisionStartupRequest) ProtoMessage()

func (*ProvisionStartupRequest) ProtoReflect

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

func (*ProvisionStartupRequest) Reset

func (x *ProvisionStartupRequest) Reset()

func (*ProvisionStartupRequest) String

func (x *ProvisionStartupRequest) String() string

type ProvisionStartupResponse

type ProvisionStartupResponse struct {
	Status ProvisionStartupResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chromiumos.test.api.ProvisionStartupResponse_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

ProvisionStartupResponse provides a status message to signal what the result of the startup call was.

func (*ProvisionStartupResponse) Descriptor deprecated

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

Deprecated: Use ProvisionStartupResponse.ProtoReflect.Descriptor instead.

func (*ProvisionStartupResponse) GetStatus

func (*ProvisionStartupResponse) ProtoMessage

func (*ProvisionStartupResponse) ProtoMessage()

func (*ProvisionStartupResponse) ProtoReflect

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

func (*ProvisionStartupResponse) Reset

func (x *ProvisionStartupResponse) Reset()

func (*ProvisionStartupResponse) String

func (x *ProvisionStartupResponse) String() string

type ProvisionStartupResponse_Status

type ProvisionStartupResponse_Status int32
const (
	// In proto3, zero value fields are indistinguishable from unset fields,
	// by design. They are not sent on the wire either.
	// SHOULD NOT BE USED.
	ProvisionStartupResponse_STATUS_UNSPECIFIED     ProvisionStartupResponse_Status = 0
	ProvisionStartupResponse_STATUS_SUCCESS         ProvisionStartupResponse_Status = 1
	ProvisionStartupResponse_STATUS_INVALID_REQUEST ProvisionStartupResponse_Status = 2
	ProvisionStartupResponse_STATUS_STARTUP_FAILED  ProvisionStartupResponse_Status = 3
)

func (ProvisionStartupResponse_Status) Descriptor

func (ProvisionStartupResponse_Status) Enum

func (ProvisionStartupResponse_Status) EnumDescriptor deprecated

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

Deprecated: Use ProvisionStartupResponse_Status.Descriptor instead.

func (ProvisionStartupResponse_Status) Number

func (ProvisionStartupResponse_Status) String

func (ProvisionStartupResponse_Status) Type

type ProvisionState

type ProvisionState struct {
	Id          *ProvisionState_Id          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Firmware    *api.FirmwareConfig         `protobuf:"bytes,2,opt,name=firmware,proto3" json:"firmware,omitempty"`
	SystemImage *ProvisionState_SystemImage `protobuf:"bytes,3,opt,name=system_image,json=systemImage,proto3" json:"system_image,omitempty"`
	Packages    []*ProvisionState_Package   `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"`
	// Prevents device reboot during system image provisioning.
	PreventReboot bool `protobuf:"varint,5,opt,name=prevent_reboot,json=preventReboot,proto3" json:"prevent_reboot,omitempty"`
	// update_firmware will update OS bundled firmware(RW only) during the provision.
	// Please note this firmware update only update RW firmware that built in the
	// target_build OS image and it is different from firmware provision which
	// download and update a separate firmware image based on request.
	UpdateFirmware bool `protobuf:"varint,6,opt,name=update_firmware,json=updateFirmware,proto3" json:"update_firmware,omitempty"`
	// Use force to pass "--force" to futility, which skips the TPM checks.
	FirmwareForce bool `protobuf:"varint,7,opt,name=firmware_force,json=firmwareForce,proto3" json:"firmware_force,omitempty"`
	// If True, provision firmware over servo; information about
	// servo to use will be pulled from a `Dut` proto, that will be
	// requested from InventoryService.
	// If False, SSH to the DUT and provision it directly.
	UseServo bool `protobuf:"varint,8,opt,name=use_servo,json=useServo,proto3" json:"use_servo,omitempty"`
	// Specific metadata for provisioning android etc for companion dut
	ProvisionMetadata *anypb.Any `protobuf:"bytes,9,opt,name=provision_metadata,json=provisionMetadata,proto3" json:"provision_metadata,omitempty"`
	// contains filtered or unexported fields
}

ProvisionState defines all of the installable (provisionable) elements on a ChromeOS test device as part of device setup for test operations.

This record is used to define the following:

How devices should be provisioned based on the client's respective needs.
  E.g.
    CrOS CI - System image only
    Lacros CI - System image + Lacros component
How device provisioning state is reported for corresponding test results.
  Every test result will link to a provisioning record for
  analysis/debugging.

func (*ProvisionState) Descriptor deprecated

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

Deprecated: Use ProvisionState.ProtoReflect.Descriptor instead.

func (*ProvisionState) GetFirmware

func (x *ProvisionState) GetFirmware() *api.FirmwareConfig

func (*ProvisionState) GetFirmwareForce

func (x *ProvisionState) GetFirmwareForce() bool

func (*ProvisionState) GetId

func (x *ProvisionState) GetId() *ProvisionState_Id

func (*ProvisionState) GetPackages

func (x *ProvisionState) GetPackages() []*ProvisionState_Package

func (*ProvisionState) GetPreventReboot

func (x *ProvisionState) GetPreventReboot() bool

func (*ProvisionState) GetProvisionMetadata

func (x *ProvisionState) GetProvisionMetadata() *anypb.Any

func (*ProvisionState) GetSystemImage

func (x *ProvisionState) GetSystemImage() *ProvisionState_SystemImage

func (*ProvisionState) GetUpdateFirmware

func (x *ProvisionState) GetUpdateFirmware() bool

func (*ProvisionState) GetUseServo

func (x *ProvisionState) GetUseServo() bool

func (*ProvisionState) ProtoMessage

func (*ProvisionState) ProtoMessage()

func (*ProvisionState) ProtoReflect

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

func (*ProvisionState) Reset

func (x *ProvisionState) Reset()

func (*ProvisionState) String

func (x *ProvisionState) String() string

type ProvisionState_Id

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

String encoded id that uniquely reflects a given ProvisionState. This is used for both scheduling and reporting purposes. For scheduling, is used to determine if a device is in the requested provisioning state for testing or it needs to be reprovisioned. For reporting, this can be used to compare the entire provision state (in a summarized string) across different test results.

func (*ProvisionState_Id) Descriptor deprecated

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

Deprecated: Use ProvisionState_Id.ProtoReflect.Descriptor instead.

func (*ProvisionState_Id) GetValue

func (x *ProvisionState_Id) GetValue() string

func (*ProvisionState_Id) ProtoMessage

func (*ProvisionState_Id) ProtoMessage()

func (*ProvisionState_Id) ProtoReflect

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

func (*ProvisionState_Id) Reset

func (x *ProvisionState_Id) Reset()

func (*ProvisionState_Id) String

func (x *ProvisionState_Id) String() string

type ProvisionState_Package

type ProvisionState_Package struct {

	// Package names must match actual portage package names that
	// exist in a given ChromeOS test image.
	// Package versions may be in any scheme that is relevant to the clients
	// versioning scheme (e.g. Lacros build versions).
	PortagePackage *api.Portage_Package `protobuf:"bytes,1,opt,name=portage_package,json=portagePackage,proto3" json:"portage_package,omitempty"`
	PackagePath    *_go.StoragePath     `protobuf:"bytes,2,opt,name=package_path,json=packagePath,proto3" json:"package_path,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionState_Package) Descriptor deprecated

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

Deprecated: Use ProvisionState_Package.ProtoReflect.Descriptor instead.

func (*ProvisionState_Package) GetPackagePath

func (x *ProvisionState_Package) GetPackagePath() *_go.StoragePath

func (*ProvisionState_Package) GetPortagePackage

func (x *ProvisionState_Package) GetPortagePackage() *api.Portage_Package

func (*ProvisionState_Package) ProtoMessage

func (*ProvisionState_Package) ProtoMessage()

func (*ProvisionState_Package) ProtoReflect

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

func (*ProvisionState_Package) Reset

func (x *ProvisionState_Package) Reset()

func (*ProvisionState_Package) String

func (x *ProvisionState_Package) String() string

type ProvisionState_SystemImage

type ProvisionState_SystemImage struct {

	// Unique version used in constructing the overall Id
	Version         string           `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	SystemImagePath *_go.StoragePath `protobuf:"bytes,2,opt,name=system_image_path,json=systemImagePath,proto3" json:"system_image_path,omitempty"`
	// List of DLCs that were built/archived for a given system image and are
	// installed as part of provisioning.
	Dlcs []*api.Dlc_Id `protobuf:"bytes,3,rep,name=dlcs,proto3" json:"dlcs,omitempty"`
	// An optional tarball to be extracted at the root of the filesystem to
	// overwrite existing binary payloads.
	OverwritePayload *_go.StoragePath `protobuf:"bytes,4,opt,name=overwrite_payload,json=overwritePayload,proto3" json:"overwrite_payload,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionState_SystemImage) Descriptor deprecated

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

Deprecated: Use ProvisionState_SystemImage.ProtoReflect.Descriptor instead.

func (*ProvisionState_SystemImage) GetDlcs

func (x *ProvisionState_SystemImage) GetDlcs() []*api.Dlc_Id

func (*ProvisionState_SystemImage) GetOverwritePayload

func (x *ProvisionState_SystemImage) GetOverwritePayload() *_go.StoragePath

func (*ProvisionState_SystemImage) GetSystemImagePath

func (x *ProvisionState_SystemImage) GetSystemImagePath() *_go.StoragePath

func (*ProvisionState_SystemImage) GetVersion

func (x *ProvisionState_SystemImage) GetVersion() string

func (*ProvisionState_SystemImage) ProtoMessage

func (*ProvisionState_SystemImage) ProtoMessage()

func (*ProvisionState_SystemImage) ProtoReflect

func (*ProvisionState_SystemImage) Reset

func (x *ProvisionState_SystemImage) Reset()

func (*ProvisionState_SystemImage) String

func (x *ProvisionState_SystemImage) String() string

type ProvisionTask

type ProvisionTask struct {
	ServiceAddress *api1.IpEndpoint         `protobuf:"bytes,1,opt,name=service_address,json=serviceAddress,proto3" json:"service_address,omitempty"`
	StartupRequest *ProvisionStartupRequest `protobuf:"bytes,2,opt,name=startup_request,json=startupRequest,proto3" json:"startup_request,omitempty"`
	InstallRequest *InstallRequest          `protobuf:"bytes,3,opt,name=install_request,json=installRequest,proto3" json:"install_request,omitempty"`
	DynamicDeps    []*DynamicDep            `protobuf:"bytes,4,rep,name=dynamic_deps,json=dynamicDeps,proto3" json:"dynamic_deps,omitempty"`
	// target refers to the device targeted for provision.
	// i.e. primaryDevice, companionDevice_brya, companionDevice_brya_2
	Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
	// Task identifier for cross-referencing within dynamic dependencies.
	DynamicIdentifier string `protobuf:"bytes,6,opt,name=dynamic_identifier,json=dynamicIdentifier,proto3" json:"dynamic_identifier,omitempty"`
	// contains filtered or unexported fields
}

ProvisionTask is designed to be extensible to all provisions that implement the GenericProvisionService, not just cros-provision.

func (*ProvisionTask) Descriptor deprecated

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

Deprecated: Use ProvisionTask.ProtoReflect.Descriptor instead.

func (*ProvisionTask) GetDynamicDeps

func (x *ProvisionTask) GetDynamicDeps() []*DynamicDep

func (*ProvisionTask) GetDynamicIdentifier

func (x *ProvisionTask) GetDynamicIdentifier() string

func (*ProvisionTask) GetInstallRequest

func (x *ProvisionTask) GetInstallRequest() *InstallRequest

func (*ProvisionTask) GetServiceAddress

func (x *ProvisionTask) GetServiceAddress() *api1.IpEndpoint

func (*ProvisionTask) GetStartupRequest

func (x *ProvisionTask) GetStartupRequest() *ProvisionStartupRequest

func (*ProvisionTask) GetTarget

func (x *ProvisionTask) GetTarget() string

func (*ProvisionTask) ProtoMessage

func (*ProvisionTask) ProtoMessage()

func (*ProvisionTask) ProtoReflect

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

func (*ProvisionTask) Reset

func (x *ProvisionTask) Reset()

func (*ProvisionTask) String

func (x *ProvisionTask) String() string

type PublishGcsMetadata

type PublishGcsMetadata struct {

	// GCS location where artifacts will be uploaded.
	GcsPath *_go.StoragePath `protobuf:"bytes,1,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"`
	// Local file path to GCS creds that should be used for GCS upload.
	ServiceAccountCredsFilePath *_go.StoragePath `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishGcsMetadata) Descriptor deprecated

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

Deprecated: Use PublishGcsMetadata.ProtoReflect.Descriptor instead.

func (*PublishGcsMetadata) GetGcsPath

func (x *PublishGcsMetadata) GetGcsPath() *_go.StoragePath

func (*PublishGcsMetadata) GetServiceAccountCredsFilePath

func (x *PublishGcsMetadata) GetServiceAccountCredsFilePath() *_go.StoragePath

func (*PublishGcsMetadata) ProtoMessage

func (*PublishGcsMetadata) ProtoMessage()

func (*PublishGcsMetadata) ProtoReflect

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

func (*PublishGcsMetadata) Reset

func (x *PublishGcsMetadata) Reset()

func (*PublishGcsMetadata) String

func (x *PublishGcsMetadata) String() string

type PublishRequest

type PublishRequest struct {

	// Local path to tests artifact directory
	ArtifactDirPath *_go.StoragePath `protobuf:"bytes,1,opt,name=artifact_dir_path,json=artifactDirPath,proto3" json:"artifact_dir_path,omitempty"`
	// Test responses from cros-test
	TestResponse *CrosTestResponse `protobuf:"bytes,2,opt,name=test_response,json=testResponse,proto3" json:"test_response,omitempty"`
	// Retry count. Default is 0 where no retry will be done.
	RetryCount int32 `protobuf:"varint,3,opt,name=retry_count,json=retryCount,proto3" json:"retry_count,omitempty"`
	// Endpoint specific metadata
	Metadata *anypb.Any `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

NEXT_TAG: 5

func (*PublishRequest) Descriptor deprecated

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

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetArtifactDirPath

func (x *PublishRequest) GetArtifactDirPath() *_go.StoragePath

func (*PublishRequest) GetMetadata

func (x *PublishRequest) GetMetadata() *anypb.Any

func (*PublishRequest) GetRetryCount

func (x *PublishRequest) GetRetryCount() int32

func (*PublishRequest) GetTestResponse

func (x *PublishRequest) GetTestResponse() *CrosTestResponse

func (*PublishRequest) ProtoMessage

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect

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

func (*PublishRequest) Reset

func (x *PublishRequest) Reset()

func (*PublishRequest) String

func (x *PublishRequest) String() string

type PublishResponse

type PublishResponse struct {

	// Status of the publish operation
	Status PublishResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chromiumos.test.api.PublishResponse_Status" json:"status,omitempty"`
	// Any kind of message that the service wants to respond with.
	// In case of failure, this will hold the error message.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Endpoint specific metadata
	Metadata *anypb.Any `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishResponse) Descriptor deprecated

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

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) GetMessage

func (x *PublishResponse) GetMessage() string

func (*PublishResponse) GetMetadata

func (x *PublishResponse) GetMetadata() *anypb.Any

func (*PublishResponse) GetStatus

func (x *PublishResponse) GetStatus() PublishResponse_Status

func (*PublishResponse) ProtoMessage

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect

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

func (*PublishResponse) Reset

func (x *PublishResponse) Reset()

func (*PublishResponse) String

func (x *PublishResponse) String() string

type PublishResponse_Status

type PublishResponse_Status int32

Status of the publish operation

const (
	// Unspecified.  Invalid state.
	PublishResponse_STATUS_UNSPECIFIED PublishResponse_Status = 0
	// Success
	PublishResponse_STATUS_SUCCESS PublishResponse_Status = 1
	// Invalid Request
	PublishResponse_STATUS_INVALID_REQUEST PublishResponse_Status = 2
	// Failure
	PublishResponse_STATUS_FAILURE PublishResponse_Status = 3
)

func (PublishResponse_Status) Descriptor

func (PublishResponse_Status) Enum

func (PublishResponse_Status) EnumDescriptor deprecated

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

Deprecated: Use PublishResponse_Status.Descriptor instead.

func (PublishResponse_Status) Number

func (PublishResponse_Status) String

func (x PublishResponse_Status) String() string

func (PublishResponse_Status) Type

type PublishServiceClient

type PublishServiceClient interface {
	// UploadToGS uploads a folder to Google Cloud Storage
	//
	// Effectively this should function as a thin wrapper around the GCS API.
	UploadToGS(ctx context.Context, in *UploadToGSRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

PublishServiceClient is the client API for PublishService 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 PublishServiceServer

type PublishServiceServer interface {
	// UploadToGS uploads a folder to Google Cloud Storage
	//
	// Effectively this should function as a thin wrapper around the GCS API.
	UploadToGS(context.Context, *UploadToGSRequest) (*longrunning.Operation, error)
}

PublishServiceServer is the server API for PublishService service. All implementations should embed UnimplementedPublishServiceServer for forward compatibility

type PublishTask

type PublishTask struct {
	ServiceAddress *api1.IpEndpoint `protobuf:"bytes,1,opt,name=service_address,json=serviceAddress,proto3" json:"service_address,omitempty"`
	PublishRequest *PublishRequest  `protobuf:"bytes,2,opt,name=publish_request,json=publishRequest,proto3" json:"publish_request,omitempty"`
	DynamicDeps    []*DynamicDep    `protobuf:"bytes,3,rep,name=dynamic_deps,json=dynamicDeps,proto3" json:"dynamic_deps,omitempty"`
	// Task identifier for cross-referencing within dynamic dependencies.
	DynamicIdentifier string `protobuf:"bytes,4,opt,name=dynamic_identifier,json=dynamicIdentifier,proto3" json:"dynamic_identifier,omitempty"`
	// contains filtered or unexported fields
}

PublishTask targets requests towards services that implement the GenericPublishService.

func (*PublishTask) Descriptor deprecated

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

Deprecated: Use PublishTask.ProtoReflect.Descriptor instead.

func (*PublishTask) GetDynamicDeps

func (x *PublishTask) GetDynamicDeps() []*DynamicDep

func (*PublishTask) GetDynamicIdentifier

func (x *PublishTask) GetDynamicIdentifier() string

func (*PublishTask) GetPublishRequest

func (x *PublishTask) GetPublishRequest() *PublishRequest

func (*PublishTask) GetServiceAddress

func (x *PublishTask) GetServiceAddress() *api1.IpEndpoint

func (*PublishTask) ProtoMessage

func (*PublishTask) ProtoMessage()

func (*PublishTask) ProtoReflect

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

func (*PublishTask) Reset

func (x *PublishTask) Reset()

func (*PublishTask) String

func (x *PublishTask) String() string

type PublishTkoMetadata

type PublishTkoMetadata struct {

	// Job name to be sent to tko/parse
	JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishTkoMetadata) Descriptor deprecated

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

Deprecated: Use PublishTkoMetadata.ProtoReflect.Descriptor instead.

func (*PublishTkoMetadata) GetJobName

func (x *PublishTkoMetadata) GetJobName() string

func (*PublishTkoMetadata) ProtoMessage

func (*PublishTkoMetadata) ProtoMessage()

func (*PublishTkoMetadata) ProtoReflect

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

func (*PublishTkoMetadata) Reset

func (x *PublishTkoMetadata) Reset()

func (*PublishTkoMetadata) String

func (x *PublishTkoMetadata) String() string

type ReleaseDeviceRequest

type ReleaseDeviceRequest struct {
	LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseDeviceRequest) Descriptor deprecated

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

Deprecated: Use ReleaseDeviceRequest.ProtoReflect.Descriptor instead.

func (*ReleaseDeviceRequest) GetLeaseId

func (x *ReleaseDeviceRequest) GetLeaseId() string

func (*ReleaseDeviceRequest) ProtoMessage

func (*ReleaseDeviceRequest) ProtoMessage()

func (*ReleaseDeviceRequest) ProtoReflect

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

func (*ReleaseDeviceRequest) Reset

func (x *ReleaseDeviceRequest) Reset()

func (*ReleaseDeviceRequest) String

func (x *ReleaseDeviceRequest) String() string

type ReleaseDeviceResponse

type ReleaseDeviceResponse struct {
	LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseDeviceResponse) Descriptor deprecated

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

Deprecated: Use ReleaseDeviceResponse.ProtoReflect.Descriptor instead.

func (*ReleaseDeviceResponse) GetLeaseId

func (x *ReleaseDeviceResponse) GetLeaseId() string

func (*ReleaseDeviceResponse) ProtoMessage

func (*ReleaseDeviceResponse) ProtoMessage()

func (*ReleaseDeviceResponse) ProtoReflect

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

func (*ReleaseDeviceResponse) Reset

func (x *ReleaseDeviceResponse) Reset()

func (*ReleaseDeviceResponse) String

func (x *ReleaseDeviceResponse) String() string

type ReleaseVMRequest

type ReleaseVMRequest struct {
	LeaseId    string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	GceProject string `protobuf:"bytes,2,opt,name=gce_project,json=gceProject,proto3" json:"gce_project,omitempty"`
	GceRegion  string `protobuf:"bytes,3,opt,name=gce_region,json=gceRegion,proto3" json:"gce_region,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseVMRequest) Descriptor deprecated

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

Deprecated: Use ReleaseVMRequest.ProtoReflect.Descriptor instead.

func (*ReleaseVMRequest) GetGceProject

func (x *ReleaseVMRequest) GetGceProject() string

func (*ReleaseVMRequest) GetGceRegion

func (x *ReleaseVMRequest) GetGceRegion() string

func (*ReleaseVMRequest) GetLeaseId

func (x *ReleaseVMRequest) GetLeaseId() string

func (*ReleaseVMRequest) ProtoMessage

func (*ReleaseVMRequest) ProtoMessage()

func (*ReleaseVMRequest) ProtoReflect

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

func (*ReleaseVMRequest) Reset

func (x *ReleaseVMRequest) Reset()

func (*ReleaseVMRequest) String

func (x *ReleaseVMRequest) String() string

type ReleaseVMResponse

type ReleaseVMResponse struct {
	LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseVMResponse) Descriptor deprecated

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

Deprecated: Use ReleaseVMResponse.ProtoReflect.Descriptor instead.

func (*ReleaseVMResponse) GetLeaseId

func (x *ReleaseVMResponse) GetLeaseId() string

func (*ReleaseVMResponse) ProtoMessage

func (*ReleaseVMResponse) ProtoMessage()

func (*ReleaseVMResponse) ProtoReflect

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

func (*ReleaseVMResponse) Reset

func (x *ReleaseVMResponse) Reset()

func (*ReleaseVMResponse) String

func (x *ReleaseVMResponse) String() string

type Request

type Request struct {

	// Types that are assignable to Request:
	//	*Request_GetFwInfoRequest
	//	*Request_GetFilesFromDutRequest
	//	*Request_GetGfxInfoRequest
	Request isRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetGetFilesFromDutRequest

func (x *Request) GetGetFilesFromDutRequest() *GetFilesFromDUTRequest

func (*Request) GetGetFwInfoRequest

func (x *Request) GetGetFwInfoRequest() *GetFWInfoRequest

func (*Request) GetGetGfxInfoRequest

func (x *Request) GetGetGfxInfoRequest() *GetGfxInfoRequest

func (*Request) GetRequest

func (m *Request) GetRequest() isRequest_Request

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Request_GetFilesFromDutRequest

type Request_GetFilesFromDutRequest struct {
	GetFilesFromDutRequest *GetFilesFromDUTRequest `protobuf:"bytes,2,opt,name=get_files_from_dut_request,json=getFilesFromDutRequest,proto3,oneof"`
}

type Request_GetFwInfoRequest

type Request_GetFwInfoRequest struct {
	GetFwInfoRequest *GetFWInfoRequest `protobuf:"bytes,1,opt,name=get_fw_info_request,json=getFwInfoRequest,proto3,oneof"`
}

type Request_GetGfxInfoRequest

type Request_GetGfxInfoRequest struct {
	GetGfxInfoRequest *GetGfxInfoRequest `protobuf:"bytes,3,opt,name=get_gfx_info_request,json=getGfxInfoRequest,proto3,oneof"`
}

type Requirement

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

Requirements satisfied by test case

func (*Requirement) Descriptor deprecated

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

Deprecated: Use Requirement.ProtoReflect.Descriptor instead.

func (*Requirement) GetValue

func (x *Requirement) GetValue() string

func (*Requirement) ProtoMessage

func (*Requirement) ProtoMessage()

func (*Requirement) ProtoReflect

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

func (*Requirement) Reset

func (x *Requirement) Reset()

func (*Requirement) String

func (x *Requirement) String() string

type Reserved

type Reserved struct {
	// contains filtered or unexported fields
}

func (*Reserved) Descriptor deprecated

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

Deprecated: Use Reserved.ProtoReflect.Descriptor instead.

func (*Reserved) ProtoMessage

func (*Reserved) ProtoMessage()

func (*Reserved) ProtoReflect

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

func (*Reserved) Reset

func (x *Reserved) Reset()

func (*Reserved) String

func (x *Reserved) String() string

type RestartMetadata

type RestartMetadata struct {
	// contains filtered or unexported fields
}

func (*RestartMetadata) Descriptor deprecated

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

Deprecated: Use RestartMetadata.ProtoReflect.Descriptor instead.

func (*RestartMetadata) ProtoMessage

func (*RestartMetadata) ProtoMessage()

func (*RestartMetadata) ProtoReflect

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

func (*RestartMetadata) Reset

func (x *RestartMetadata) Reset()

func (*RestartMetadata) String

func (x *RestartMetadata) String() string

type RestartRequest

type RestartRequest struct {

	// args are the arguments to pass to the reboot command.
	Args  []string                       `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	Retry *RestartRequest_ReconnectRetry `protobuf:"bytes,2,opt,name=retry,proto3" json:"retry,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartRequest) Descriptor deprecated

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

Deprecated: Use RestartRequest.ProtoReflect.Descriptor instead.

func (*RestartRequest) GetArgs

func (x *RestartRequest) GetArgs() []string

func (*RestartRequest) GetRetry

func (*RestartRequest) ProtoMessage

func (*RestartRequest) ProtoMessage()

func (*RestartRequest) ProtoReflect

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

func (*RestartRequest) Reset

func (x *RestartRequest) Reset()

func (*RestartRequest) String

func (x *RestartRequest) String() string

type RestartRequest_ReconnectRetry

type RestartRequest_ReconnectRetry struct {
	Times      int32 `protobuf:"varint,1,opt,name=times,proto3" json:"times,omitempty"`
	IntervalMs int64 `protobuf:"varint,2,opt,name=interval_ms,json=intervalMs,proto3" json:"interval_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartRequest_ReconnectRetry) Descriptor deprecated

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

Deprecated: Use RestartRequest_ReconnectRetry.ProtoReflect.Descriptor instead.

func (*RestartRequest_ReconnectRetry) GetIntervalMs

func (x *RestartRequest_ReconnectRetry) GetIntervalMs() int64

func (*RestartRequest_ReconnectRetry) GetTimes

func (x *RestartRequest_ReconnectRetry) GetTimes() int32

func (*RestartRequest_ReconnectRetry) ProtoMessage

func (*RestartRequest_ReconnectRetry) ProtoMessage()

func (*RestartRequest_ReconnectRetry) ProtoReflect

func (*RestartRequest_ReconnectRetry) Reset

func (x *RestartRequest_ReconnectRetry) Reset()

func (*RestartRequest_ReconnectRetry) String

type RestartResponse

type RestartResponse struct {

	// output represents the stdout for the reboot. Useful if the verbose flag is
	// used.
	Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartResponse) Descriptor deprecated

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

Deprecated: Use RestartResponse.ProtoReflect.Descriptor instead.

func (*RestartResponse) GetOutput

func (x *RestartResponse) GetOutput() string

func (*RestartResponse) ProtoMessage

func (*RestartResponse) ProtoMessage()

func (*RestartResponse) ProtoReflect

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

func (*RestartResponse) Reset

func (x *RestartResponse) Reset()

func (*RestartResponse) String

func (x *RestartResponse) String() string

type RunActivitiesRequest

type RunActivitiesRequest struct {
	Requests []*Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// Address of the DUT Server.
	DutServer *api.IpEndpoint `protobuf:"bytes,2,opt,name=dut_server,json=dutServer,proto3" json:"dut_server,omitempty"`
	// contains filtered or unexported fields
}

func (*RunActivitiesRequest) Descriptor deprecated

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

Deprecated: Use RunActivitiesRequest.ProtoReflect.Descriptor instead.

func (*RunActivitiesRequest) GetDutServer

func (x *RunActivitiesRequest) GetDutServer() *api.IpEndpoint

func (*RunActivitiesRequest) GetRequests

func (x *RunActivitiesRequest) GetRequests() []*Request

func (*RunActivitiesRequest) ProtoMessage

func (*RunActivitiesRequest) ProtoMessage()

func (*RunActivitiesRequest) ProtoReflect

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

func (*RunActivitiesRequest) Reset

func (x *RunActivitiesRequest) Reset()

func (*RunActivitiesRequest) String

func (x *RunActivitiesRequest) String() string

type RunActivitiesResponse

type RunActivitiesResponse struct {
	Responses []*RunActivityResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*RunActivitiesResponse) Descriptor deprecated

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

Deprecated: Use RunActivitiesResponse.ProtoReflect.Descriptor instead.

func (*RunActivitiesResponse) GetResponses

func (x *RunActivitiesResponse) GetResponses() []*RunActivityResponse

func (*RunActivitiesResponse) ProtoMessage

func (*RunActivitiesResponse) ProtoMessage()

func (*RunActivitiesResponse) ProtoReflect

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

func (*RunActivitiesResponse) Reset

func (x *RunActivitiesResponse) Reset()

func (*RunActivitiesResponse) String

func (x *RunActivitiesResponse) String() string

type RunActivityRequest

type RunActivityRequest struct {
	Request *Request `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Specific request to run. Must be from the list below.

func (*RunActivityRequest) Descriptor deprecated

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

Deprecated: Use RunActivityRequest.ProtoReflect.Descriptor instead.

func (*RunActivityRequest) GetRequest

func (x *RunActivityRequest) GetRequest() *Request

func (*RunActivityRequest) ProtoMessage

func (*RunActivityRequest) ProtoMessage()

func (*RunActivityRequest) ProtoReflect

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

func (*RunActivityRequest) Reset

func (x *RunActivityRequest) Reset()

func (*RunActivityRequest) String

func (x *RunActivityRequest) String() string

type RunActivityResponse

type RunActivityResponse struct {

	// Types that are assignable to Response:
	//	*RunActivityResponse_GetFwInfoResponse
	//	*RunActivityResponse_GetFilesFromDutResponse
	//	*RunActivityResponse_GetGfxInfoResponse
	Response isRunActivityResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

Specific response to be matched with the request.

func (*RunActivityResponse) Descriptor deprecated

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

Deprecated: Use RunActivityResponse.ProtoReflect.Descriptor instead.

func (*RunActivityResponse) GetGetFilesFromDutResponse

func (x *RunActivityResponse) GetGetFilesFromDutResponse() *GetFilesFromDUTResponse

func (*RunActivityResponse) GetGetFwInfoResponse

func (x *RunActivityResponse) GetGetFwInfoResponse() *GetFWInfoResponse

func (*RunActivityResponse) GetGetGfxInfoResponse

func (x *RunActivityResponse) GetGetGfxInfoResponse() *GetGfxInfoResponse

func (*RunActivityResponse) GetResponse

func (m *RunActivityResponse) GetResponse() isRunActivityResponse_Response

func (*RunActivityResponse) ProtoMessage

func (*RunActivityResponse) ProtoMessage()

func (*RunActivityResponse) ProtoReflect

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

func (*RunActivityResponse) Reset

func (x *RunActivityResponse) Reset()

func (*RunActivityResponse) String

func (x *RunActivityResponse) String() string

type RunActivityResponse_GetFilesFromDutResponse

type RunActivityResponse_GetFilesFromDutResponse struct {
	GetFilesFromDutResponse *GetFilesFromDUTResponse `protobuf:"bytes,2,opt,name=get_files_from_dut_response,json=getFilesFromDutResponse,proto3,oneof"`
}

type RunActivityResponse_GetFwInfoResponse

type RunActivityResponse_GetFwInfoResponse struct {
	GetFwInfoResponse *GetFWInfoResponse `protobuf:"bytes,1,opt,name=get_fw_info_response,json=getFwInfoResponse,proto3,oneof"`
}

type RunActivityResponse_GetGfxInfoResponse

type RunActivityResponse_GetGfxInfoResponse struct {
	GetGfxInfoResponse *GetGfxInfoResponse `protobuf:"bytes,3,opt,name=get_gfx_info_response,json=getGfxInfoResponse,proto3,oneof"`
}

type RunCrosTestMetadata

type RunCrosTestMetadata struct {
	// contains filtered or unexported fields
}

func (*RunCrosTestMetadata) Descriptor deprecated

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

Deprecated: Use RunCrosTestMetadata.ProtoReflect.Descriptor instead.

func (*RunCrosTestMetadata) ProtoMessage

func (*RunCrosTestMetadata) ProtoMessage()

func (*RunCrosTestMetadata) ProtoReflect

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

func (*RunCrosTestMetadata) Reset

func (x *RunCrosTestMetadata) Reset()

func (*RunCrosTestMetadata) String

func (x *RunCrosTestMetadata) String() string

type RunCrosTestRequest

type RunCrosTestRequest struct {

	// The ip of the dut
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// The board name of the dut
	Board string `protobuf:"bytes,2,opt,name=board,proto3" json:"board,omitempty"`
	// The tast and tauto tests to run on the dut
	Tests []string `protobuf:"bytes,3,rep,name=tests,proto3" json:"tests,omitempty"`
	// The directory where test results and logs will be placed
	ResultsDirName string `protobuf:"bytes,4,opt,name=results_dir_name,json=resultsDirName,proto3" json:"results_dir_name,omitempty"`
	// Custom arguments passed into the autotest test harness
	AutotestArgs []*RunCrosTestRequest_AutotestArg `protobuf:"bytes,5,rep,name=autotest_args,json=autotestArgs,proto3" json:"autotest_args,omitempty"`
	// The docker image tag of cros-test container to run
	CrosTestImageTag string `protobuf:"bytes,6,opt,name=cros_test_image_tag,json=crosTestImageTag,proto3" json:"cros_test_image_tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCrosTestRequest) Descriptor deprecated

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

Deprecated: Use RunCrosTestRequest.ProtoReflect.Descriptor instead.

func (*RunCrosTestRequest) GetAutotestArgs

func (x *RunCrosTestRequest) GetAutotestArgs() []*RunCrosTestRequest_AutotestArg

func (*RunCrosTestRequest) GetBoard

func (x *RunCrosTestRequest) GetBoard() string

func (*RunCrosTestRequest) GetCrosTestImageTag

func (x *RunCrosTestRequest) GetCrosTestImageTag() string

func (*RunCrosTestRequest) GetHost

func (x *RunCrosTestRequest) GetHost() string

func (*RunCrosTestRequest) GetResultsDirName

func (x *RunCrosTestRequest) GetResultsDirName() string

func (*RunCrosTestRequest) GetTests

func (x *RunCrosTestRequest) GetTests() []string

func (*RunCrosTestRequest) ProtoMessage

func (*RunCrosTestRequest) ProtoMessage()

func (*RunCrosTestRequest) ProtoReflect

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

func (*RunCrosTestRequest) Reset

func (x *RunCrosTestRequest) Reset()

func (*RunCrosTestRequest) String

func (x *RunCrosTestRequest) String() string

type RunCrosTestRequest_AutotestArg

type RunCrosTestRequest_AutotestArg struct {

	// The name of the autotest argument
	Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"`
	// The value of the autotest argument
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCrosTestRequest_AutotestArg) Descriptor deprecated

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

Deprecated: Use RunCrosTestRequest_AutotestArg.ProtoReflect.Descriptor instead.

func (*RunCrosTestRequest_AutotestArg) GetFlag

func (*RunCrosTestRequest_AutotestArg) GetValue

func (x *RunCrosTestRequest_AutotestArg) GetValue() string

func (*RunCrosTestRequest_AutotestArg) ProtoMessage

func (*RunCrosTestRequest_AutotestArg) ProtoMessage()

func (*RunCrosTestRequest_AutotestArg) ProtoReflect

func (*RunCrosTestRequest_AutotestArg) Reset

func (x *RunCrosTestRequest_AutotestArg) Reset()

func (*RunCrosTestRequest_AutotestArg) String

type RunCrosTestResponse

type RunCrosTestResponse struct {

	// standard out from the run
	Stdout string `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// standard err from the run
	Stderr string `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// return code
	ReturnCode int32 `protobuf:"varint,3,opt,name=return_code,json=returnCode,proto3" json:"return_code,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCrosTestResponse) Descriptor deprecated

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

Deprecated: Use RunCrosTestResponse.ProtoReflect.Descriptor instead.

func (*RunCrosTestResponse) GetReturnCode

func (x *RunCrosTestResponse) GetReturnCode() int32

func (*RunCrosTestResponse) GetStderr

func (x *RunCrosTestResponse) GetStderr() string

func (*RunCrosTestResponse) GetStdout

func (x *RunCrosTestResponse) GetStdout() string

func (*RunCrosTestResponse) ProtoMessage

func (*RunCrosTestResponse) ProtoMessage()

func (*RunCrosTestResponse) ProtoReflect

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

func (*RunCrosTestResponse) Reset

func (x *RunCrosTestResponse) Reset()

func (*RunCrosTestResponse) String

func (x *RunCrosTestResponse) String() string

type SWRequirements

type SWRequirements struct {
	// contains filtered or unexported fields
}

func (*SWRequirements) Descriptor deprecated

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

Deprecated: Use SWRequirements.ProtoReflect.Descriptor instead.

func (*SWRequirements) ProtoMessage

func (*SWRequirements) ProtoMessage()

func (*SWRequirements) ProtoReflect

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

func (*SWRequirements) Reset

func (x *SWRequirements) Reset()

func (*SWRequirements) String

func (x *SWRequirements) String() string

type SWTarget

type SWTarget struct {

	// Types that are assignable to SwTarget:
	//	*SWTarget_LegacySw
	//	*SWTarget_DddSw
	SwTarget isSWTarget_SwTarget `protobuf_oneof:"sw_target"`
	// contains filtered or unexported fields
}

func (*SWTarget) Descriptor deprecated

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

Deprecated: Use SWTarget.ProtoReflect.Descriptor instead.

func (*SWTarget) GetDddSw

func (x *SWTarget) GetDddSw() *DDDSW

func (*SWTarget) GetLegacySw

func (x *SWTarget) GetLegacySw() *LegacySW

func (*SWTarget) GetSwTarget

func (m *SWTarget) GetSwTarget() isSWTarget_SwTarget

func (*SWTarget) ProtoMessage

func (*SWTarget) ProtoMessage()

func (*SWTarget) ProtoReflect

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

func (*SWTarget) Reset

func (x *SWTarget) Reset()

func (*SWTarget) String

func (x *SWTarget) String() string

type SWTarget_DddSw

type SWTarget_DddSw struct {
	DddSw *DDDSW `protobuf:"bytes,2,opt,name=ddd_sw,json=dddSw,proto3,oneof"`
}

type SWTarget_LegacySw

type SWTarget_LegacySw struct {
	LegacySw *LegacySW `protobuf:"bytes,1,opt,name=legacy_sw,json=legacySw,proto3,oneof"`
}

type ScheduleTargetRequirements

type ScheduleTargetRequirements struct {
	TargetRequirements []*TargetRequirements `protobuf:"bytes,1,rep,name=target_requirements,json=targetRequirements,proto3" json:"target_requirements,omitempty"`
	// contains filtered or unexported fields
}

ScheduleTargets represents groups of target requirements for CTPv2. Multi-DUT by design with target requirements length of 1 being single-dut.

func (*ScheduleTargetRequirements) Descriptor deprecated

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

Deprecated: Use ScheduleTargetRequirements.ProtoReflect.Descriptor instead.

func (*ScheduleTargetRequirements) GetTargetRequirements

func (x *ScheduleTargetRequirements) GetTargetRequirements() []*TargetRequirements

func (*ScheduleTargetRequirements) ProtoMessage

func (*ScheduleTargetRequirements) ProtoMessage()

func (*ScheduleTargetRequirements) ProtoReflect

func (*ScheduleTargetRequirements) Reset

func (x *ScheduleTargetRequirements) Reset()

func (*ScheduleTargetRequirements) String

func (x *ScheduleTargetRequirements) String() string

type ScheduleTargets

type ScheduleTargets struct {
	Targets []*Targets `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

ScheduleTargets represents groups of targets for CTPv2. Multi-DUT by design with targets length of 1 being single-dut.

func (*ScheduleTargets) Descriptor deprecated

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

Deprecated: Use ScheduleTargets.ProtoReflect.Descriptor instead.

func (*ScheduleTargets) GetTargets

func (x *ScheduleTargets) GetTargets() []*Targets

func (*ScheduleTargets) ProtoMessage

func (*ScheduleTargets) ProtoMessage()

func (*ScheduleTargets) ProtoReflect

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

func (*ScheduleTargets) Reset

func (x *ScheduleTargets) Reset()

func (*ScheduleTargets) String

func (x *ScheduleTargets) String() string

type SchedulerInfo

type SchedulerInfo struct {
	Scheduler SchedulerInfo_Scheduler `protobuf:"varint,1,opt,name=scheduler,proto3,enum=chromiumos.test.api.SchedulerInfo_Scheduler" json:"scheduler,omitempty"`
	// Will only be used when scheduler type is QSCHEDULER.
	QsAccount string `protobuf:"bytes,2,opt,name=qs_account,json=qsAccount,proto3" json:"qs_account,omitempty"`
	// contains filtered or unexported fields
}

func (*SchedulerInfo) Descriptor deprecated

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

Deprecated: Use SchedulerInfo.ProtoReflect.Descriptor instead.

func (*SchedulerInfo) GetQsAccount

func (x *SchedulerInfo) GetQsAccount() string

func (*SchedulerInfo) GetScheduler

func (x *SchedulerInfo) GetScheduler() SchedulerInfo_Scheduler

func (*SchedulerInfo) ProtoMessage

func (*SchedulerInfo) ProtoMessage()

func (*SchedulerInfo) ProtoReflect

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

func (*SchedulerInfo) Reset

func (x *SchedulerInfo) Reset()

func (*SchedulerInfo) String

func (x *SchedulerInfo) String() string

type SchedulerInfo_Scheduler

type SchedulerInfo_Scheduler int32
const (
	// UNSPECIFIED scheduler
	SchedulerInfo_UNSPECIFIED SchedulerInfo_Scheduler = 0
	// Quota Scheduler
	SchedulerInfo_QSCHEDULER SchedulerInfo_Scheduler = 1
	// Scheduke
	SchedulerInfo_SCHEDUKE SchedulerInfo_Scheduler = 2
	// Will only be used for debugging and local mode. The BB requests will be
	// printed to luci log but won't be scheduled.
	SchedulerInfo_PRINT_REQUEST_ONLY SchedulerInfo_Scheduler = 3
)

func (SchedulerInfo_Scheduler) Descriptor

func (SchedulerInfo_Scheduler) Enum

func (SchedulerInfo_Scheduler) EnumDescriptor deprecated

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

Deprecated: Use SchedulerInfo_Scheduler.Descriptor instead.

func (SchedulerInfo_Scheduler) Number

func (SchedulerInfo_Scheduler) String

func (x SchedulerInfo_Scheduler) String() string

func (SchedulerInfo_Scheduler) Type

type ServodServiceClient

type ServodServiceClient interface {
	// StartServod runs a servod Docker container and starts the servod daemon
	// inside the container if servod is containerized. Otherwise, it simply
	// starts the servod daemon.
	StartServod(ctx context.Context, in *StartServodRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// StopServod stops the servod daemon inside the container and stops the
	// servod Docker container if servod is containerized. Otherwise, it simply
	// stops the servod daemon.
	StopServod(ctx context.Context, in *StopServodRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// ExecCmd executes a system command that is provided through the command
	// parameter in the request. It allows the user to execute arbitrary commands
	// that can't be handled by calling servod (e.g. update firmware through
	// "futility", remote file copy through "scp").
	// It executes the command inside the servod Docker container if the
	// servod_docker_container_name parameter is provided in the request.
	// Otherwise, it executes the command directly inside the host that the servo
	// is physically connected to.
	ExecCmd(ctx context.Context, in *ExecCmdRequest, opts ...grpc.CallOption) (*ExecCmdResponse, error)
	// CallServod runs a servod command through an XML-RPC call.
	// It runs the command inside the servod Docker container if the
	// servod_docker_container_name parameter is provided in the request.
	// Otherwise, it runs the command directly inside the host that the servo
	// is physically connected to.
	// Allowed methods: doc, get, set, and hwinit.
	CallServod(ctx context.Context, in *CallServodRequest, opts ...grpc.CallOption) (*CallServodResponse, error)
}

ServodServiceClient is the client API for ServodService 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 ServodServiceServer

type ServodServiceServer interface {
	// StartServod runs a servod Docker container and starts the servod daemon
	// inside the container if servod is containerized. Otherwise, it simply
	// starts the servod daemon.
	StartServod(context.Context, *StartServodRequest) (*longrunning.Operation, error)
	// StopServod stops the servod daemon inside the container and stops the
	// servod Docker container if servod is containerized. Otherwise, it simply
	// stops the servod daemon.
	StopServod(context.Context, *StopServodRequest) (*longrunning.Operation, error)
	// ExecCmd executes a system command that is provided through the command
	// parameter in the request. It allows the user to execute arbitrary commands
	// that can't be handled by calling servod (e.g. update firmware through
	// "futility", remote file copy through "scp").
	// It executes the command inside the servod Docker container if the
	// servod_docker_container_name parameter is provided in the request.
	// Otherwise, it executes the command directly inside the host that the servo
	// is physically connected to.
	ExecCmd(context.Context, *ExecCmdRequest) (*ExecCmdResponse, error)
	// CallServod runs a servod command through an XML-RPC call.
	// It runs the command inside the servod Docker container if the
	// servod_docker_container_name parameter is provided in the request.
	// Otherwise, it runs the command directly inside the host that the servo
	// is physically connected to.
	// Allowed methods: doc, get, set, and hwinit.
	CallServod(context.Context, *CallServodRequest) (*CallServodResponse, error)
}

ServodServiceServer is the server API for ServodService service. All implementations should embed UnimplementedServodServiceServer for forward compatibility

type ShutdownRequest

type ShutdownRequest struct {
	// contains filtered or unexported fields
}

func (*ShutdownRequest) Descriptor deprecated

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

Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.

func (*ShutdownRequest) ProtoMessage

func (*ShutdownRequest) ProtoMessage()

func (*ShutdownRequest) ProtoReflect

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

func (*ShutdownRequest) Reset

func (x *ShutdownRequest) Reset()

func (*ShutdownRequest) String

func (x *ShutdownRequest) String() string

type ShutdownResponse

type ShutdownResponse struct {
	// contains filtered or unexported fields
}

func (*ShutdownResponse) Descriptor deprecated

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

Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.

func (*ShutdownResponse) ProtoMessage

func (*ShutdownResponse) ProtoMessage()

func (*ShutdownResponse) ProtoReflect

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

func (*ShutdownResponse) Reset

func (x *ShutdownResponse) Reset()

func (*ShutdownResponse) String

func (x *ShutdownResponse) String() string

type StabilitySensorPolicy

type StabilitySensorPolicy struct {
	// contains filtered or unexported fields
}

StabilitySensorPolicy indicates to use the StabilitySensor for determine flake.

func (*StabilitySensorPolicy) Descriptor deprecated

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

Deprecated: Use StabilitySensorPolicy.ProtoReflect.Descriptor instead.

func (*StabilitySensorPolicy) ProtoMessage

func (*StabilitySensorPolicy) ProtoMessage()

func (*StabilitySensorPolicy) ProtoReflect

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

func (*StabilitySensorPolicy) Reset

func (x *StabilitySensorPolicy) Reset()

func (*StabilitySensorPolicy) String

func (x *StabilitySensorPolicy) String() string

type StackCommandsRequest

type StackCommandsRequest struct {
	Requests []*StackCommandsRequest_Stackable `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*StackCommandsRequest) Descriptor deprecated

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

Deprecated: Use StackCommandsRequest.ProtoReflect.Descriptor instead.

func (*StackCommandsRequest) GetRequests

func (*StackCommandsRequest) ProtoMessage

func (*StackCommandsRequest) ProtoMessage()

func (*StackCommandsRequest) ProtoReflect

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

func (*StackCommandsRequest) Reset

func (x *StackCommandsRequest) Reset()

func (*StackCommandsRequest) String

func (x *StackCommandsRequest) String() string

type StackCommandsRequest_Stackable

type StackCommandsRequest_Stackable struct {

	// Types that are assignable to Command:
	//	*StackCommandsRequest_Stackable_StartContainer
	//	*StackCommandsRequest_Stackable_StartTemplatedContainer
	//	*StackCommandsRequest_Stackable_CreateNetwork
	//	*StackCommandsRequest_Stackable_LoginRegistry
	Command isStackCommandsRequest_Stackable_Command `protobuf_oneof:"command"`
	// contains filtered or unexported fields
}

func (*StackCommandsRequest_Stackable) Descriptor deprecated

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

Deprecated: Use StackCommandsRequest_Stackable.ProtoReflect.Descriptor instead.

func (*StackCommandsRequest_Stackable) GetCommand

func (m *StackCommandsRequest_Stackable) GetCommand() isStackCommandsRequest_Stackable_Command

func (*StackCommandsRequest_Stackable) GetCreateNetwork

func (*StackCommandsRequest_Stackable) GetLoginRegistry

func (*StackCommandsRequest_Stackable) GetStartContainer

func (x *StackCommandsRequest_Stackable) GetStartContainer() *StartContainerRequest

func (*StackCommandsRequest_Stackable) GetStartTemplatedContainer

func (x *StackCommandsRequest_Stackable) GetStartTemplatedContainer() *StartTemplatedContainerRequest

func (*StackCommandsRequest_Stackable) ProtoMessage

func (*StackCommandsRequest_Stackable) ProtoMessage()

func (*StackCommandsRequest_Stackable) ProtoReflect

func (*StackCommandsRequest_Stackable) Reset

func (x *StackCommandsRequest_Stackable) Reset()

func (*StackCommandsRequest_Stackable) String

type StackCommandsRequest_Stackable_CreateNetwork

type StackCommandsRequest_Stackable_CreateNetwork struct {
	CreateNetwork *CreateNetworkRequest `protobuf:"bytes,3,opt,name=create_network,json=createNetwork,proto3,oneof"`
}

type StackCommandsRequest_Stackable_LoginRegistry

type StackCommandsRequest_Stackable_LoginRegistry struct {
	LoginRegistry *LoginRegistryRequest `protobuf:"bytes,4,opt,name=login_registry,json=loginRegistry,proto3,oneof"`
}

type StackCommandsRequest_Stackable_StartContainer

type StackCommandsRequest_Stackable_StartContainer struct {
	StartContainer *StartContainerRequest `protobuf:"bytes,1,opt,name=start_container,json=startContainer,proto3,oneof"`
}

type StackCommandsRequest_Stackable_StartTemplatedContainer

type StackCommandsRequest_Stackable_StartTemplatedContainer struct {
	StartTemplatedContainer *StartTemplatedContainerRequest `protobuf:"bytes,2,opt,name=start_templated_container,json=startTemplatedContainer,proto3,oneof"`
}

type StackCommandsResponse

type StackCommandsResponse struct {
	Responses []*StackCommandsResponse_Stackable `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*StackCommandsResponse) Descriptor deprecated

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

Deprecated: Use StackCommandsResponse.ProtoReflect.Descriptor instead.

func (*StackCommandsResponse) GetResponses

func (*StackCommandsResponse) ProtoMessage

func (*StackCommandsResponse) ProtoMessage()

func (*StackCommandsResponse) ProtoReflect

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

func (*StackCommandsResponse) Reset

func (x *StackCommandsResponse) Reset()

func (*StackCommandsResponse) String

func (x *StackCommandsResponse) String() string

type StackCommandsResponse_Stackable

type StackCommandsResponse_Stackable struct {

	// Types that are assignable to Output:
	//	*StackCommandsResponse_Stackable_StartContainer
	//	*StackCommandsResponse_Stackable_CreateNetwork
	//	*StackCommandsResponse_Stackable_LoginRegistry
	Output isStackCommandsResponse_Stackable_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

func (*StackCommandsResponse_Stackable) Descriptor deprecated

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

Deprecated: Use StackCommandsResponse_Stackable.ProtoReflect.Descriptor instead.

func (*StackCommandsResponse_Stackable) GetCreateNetwork

func (*StackCommandsResponse_Stackable) GetLoginRegistry

func (*StackCommandsResponse_Stackable) GetOutput

func (m *StackCommandsResponse_Stackable) GetOutput() isStackCommandsResponse_Stackable_Output

func (*StackCommandsResponse_Stackable) GetStartContainer

func (*StackCommandsResponse_Stackable) ProtoMessage

func (*StackCommandsResponse_Stackable) ProtoMessage()

func (*StackCommandsResponse_Stackable) ProtoReflect

func (*StackCommandsResponse_Stackable) Reset

func (*StackCommandsResponse_Stackable) String

type StackCommandsResponse_Stackable_CreateNetwork

type StackCommandsResponse_Stackable_CreateNetwork struct {
	CreateNetwork *CreateNetworkResponse `protobuf:"bytes,2,opt,name=create_network,json=createNetwork,proto3,oneof"`
}

type StackCommandsResponse_Stackable_LoginRegistry

type StackCommandsResponse_Stackable_LoginRegistry struct {
	LoginRegistry *LoginRegistryResponse `protobuf:"bytes,3,opt,name=login_registry,json=loginRegistry,proto3,oneof"`
}

type StackCommandsResponse_Stackable_StartContainer

type StackCommandsResponse_Stackable_StartContainer struct {
	StartContainer *StartContainerResponse `protobuf:"bytes,1,opt,name=start_container,json=startContainer,proto3,oneof"`
}

type StartContainerRequest

type StartContainerRequest struct {

	// Unique name given to the container that will be used later to retrieve
	// container info.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Location of image that can be directly pulled by docker. Note that start
	// container assumes docker is already authenticated.
	// e.g. us-docker.pkg.dev/cros-registry/test-services/cros-dut:latest
	ContainerImage string `protobuf:"bytes,2,opt,name=container_image,json=containerImage,proto3" json:"container_image,omitempty"`
	// Additional options for `docker run`.
	AdditionalOptions *StartContainerRequest_Options `protobuf:"bytes,3,opt,name=additional_options,json=additionalOptions,proto3" json:"additional_options,omitempty"`
	// Command to run the server in a container.
	// e.g. ["cros-dut", "-port", "80", ...]
	StartCommand []string `protobuf:"bytes,4,rep,name=start_command,json=startCommand,proto3" json:"start_command,omitempty"`
	// contains filtered or unexported fields
}

func (*StartContainerRequest) Descriptor deprecated

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

Deprecated: Use StartContainerRequest.ProtoReflect.Descriptor instead.

func (*StartContainerRequest) GetAdditionalOptions

func (x *StartContainerRequest) GetAdditionalOptions() *StartContainerRequest_Options

func (*StartContainerRequest) GetContainerImage

func (x *StartContainerRequest) GetContainerImage() string

func (*StartContainerRequest) GetName

func (x *StartContainerRequest) GetName() string

func (*StartContainerRequest) GetStartCommand

func (x *StartContainerRequest) GetStartCommand() []string

func (*StartContainerRequest) ProtoMessage

func (*StartContainerRequest) ProtoMessage()

func (*StartContainerRequest) ProtoReflect

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

func (*StartContainerRequest) Reset

func (x *StartContainerRequest) Reset()

func (*StartContainerRequest) String

func (x *StartContainerRequest) String() string

type StartContainerRequest_Options

type StartContainerRequest_Options struct {

	// Expose port. see docker run --expose. All exposed ports will be published
	// to a random port on the host. Currently only support one exposed port.
	// e.g. 80
	Expose []string `protobuf:"bytes,1,rep,name=expose,proto3" json:"expose,omitempty"`
	// Volume mounting. see docker run --volume
	// e.g. /tmp/host-src/cros-test:/tmp/container-dest/cros-test
	Volume []string `protobuf:"bytes,2,rep,name=volume,proto3" json:"volume,omitempty"`
	// Connect to the named docker network. see docker run --network
	// e.g. bridge
	Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	// Set environment variables. see docker run --env
	// e.g. VAR1=123
	Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

Supported options match corresponding `docker run` flags.

func (*StartContainerRequest_Options) Descriptor deprecated

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

Deprecated: Use StartContainerRequest_Options.ProtoReflect.Descriptor instead.

func (*StartContainerRequest_Options) GetEnv

func (x *StartContainerRequest_Options) GetEnv() []string

func (*StartContainerRequest_Options) GetExpose

func (x *StartContainerRequest_Options) GetExpose() []string

func (*StartContainerRequest_Options) GetNetwork

func (x *StartContainerRequest_Options) GetNetwork() string

func (*StartContainerRequest_Options) GetVolume

func (x *StartContainerRequest_Options) GetVolume() []string

func (*StartContainerRequest_Options) ProtoMessage

func (*StartContainerRequest_Options) ProtoMessage()

func (*StartContainerRequest_Options) ProtoReflect

func (*StartContainerRequest_Options) Reset

func (x *StartContainerRequest_Options) Reset()

func (*StartContainerRequest_Options) String

type StartContainerResponse

type StartContainerResponse struct {
	Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// contains filtered or unexported fields
}

func (*StartContainerResponse) Descriptor deprecated

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

Deprecated: Use StartContainerResponse.ProtoReflect.Descriptor instead.

func (*StartContainerResponse) GetContainer

func (x *StartContainerResponse) GetContainer() *Container

func (*StartContainerResponse) ProtoMessage

func (*StartContainerResponse) ProtoMessage()

func (*StartContainerResponse) ProtoReflect

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

func (*StartContainerResponse) Reset

func (x *StartContainerResponse) Reset()

func (*StartContainerResponse) String

func (x *StartContainerResponse) String() string

type StartServodMetadata

type StartServodMetadata struct {
	// contains filtered or unexported fields
}

func (*StartServodMetadata) Descriptor deprecated

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

Deprecated: Use StartServodMetadata.ProtoReflect.Descriptor instead.

func (*StartServodMetadata) ProtoMessage

func (*StartServodMetadata) ProtoMessage()

func (*StartServodMetadata) ProtoReflect

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

func (*StartServodMetadata) Reset

func (x *StartServodMetadata) Reset()

func (*StartServodMetadata) String

func (x *StartServodMetadata) String() string

type StartServodRequest

type StartServodRequest struct {

	// The path (URI) for the servod (containerized or running as a daemon) host.
	// If cros-servod and docker-servod live on the same host, this parameter
	// should be empty.
	ServoHostPath string `protobuf:"bytes,1,opt,name=servo_host_path,json=servoHostPath,proto3" json:"servo_host_path,omitempty"`
	// The servod Docker container name.
	ServodDockerContainerName string `` /* 140-byte string literal not displayed */
	// The servod Docker image path to pull from GCR.
	// Example: gcr.io/chromeos-bot/servod@sha256:2d25f6313c7bbac349607
	ServodDockerImagePath string `` /* 128-byte string literal not displayed */
	// The --PORT parameter value for servod command.
	ServodPort int32 `protobuf:"varint,4,opt,name=servod_port,json=servodPort,proto3" json:"servod_port,omitempty"`
	// The --BOARD parameter value for servod command.
	Board string `protobuf:"bytes,5,opt,name=board,proto3" json:"board,omitempty"`
	// The --MODEL parameter value for servod command.
	Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
	// The --SERIALNAME parameter value for servod command.
	SerialName string `protobuf:"bytes,7,opt,name=serial_name,json=serialName,proto3" json:"serial_name,omitempty"`
	// The --DEBUG parameter value for servod command.
	Debug string `protobuf:"bytes,8,opt,name=debug,proto3" json:"debug,omitempty"`
	// The --RECOVERY_MODE parameter value for servod command.
	RecoveryMode string `protobuf:"bytes,9,opt,name=recovery_mode,json=recoveryMode,proto3" json:"recovery_mode,omitempty"`
	// The --CONFIG parameter value for servod command.
	Config string `protobuf:"bytes,10,opt,name=config,proto3" json:"config,omitempty"`
	// The --ALLOW-DUAL-V4 parameter value for servod command.
	AllowDualV4 string `protobuf:"bytes,11,opt,name=allow_dual_v4,json=allowDualV4,proto3" json:"allow_dual_v4,omitempty"`
	// contains filtered or unexported fields
}

func (*StartServodRequest) Descriptor deprecated

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

Deprecated: Use StartServodRequest.ProtoReflect.Descriptor instead.

func (*StartServodRequest) GetAllowDualV4

func (x *StartServodRequest) GetAllowDualV4() string

func (*StartServodRequest) GetBoard

func (x *StartServodRequest) GetBoard() string

func (*StartServodRequest) GetConfig

func (x *StartServodRequest) GetConfig() string

func (*StartServodRequest) GetDebug

func (x *StartServodRequest) GetDebug() string

func (*StartServodRequest) GetModel

func (x *StartServodRequest) GetModel() string

func (*StartServodRequest) GetRecoveryMode

func (x *StartServodRequest) GetRecoveryMode() string

func (*StartServodRequest) GetSerialName

func (x *StartServodRequest) GetSerialName() string

func (*StartServodRequest) GetServoHostPath

func (x *StartServodRequest) GetServoHostPath() string

func (*StartServodRequest) GetServodDockerContainerName

func (x *StartServodRequest) GetServodDockerContainerName() string

func (*StartServodRequest) GetServodDockerImagePath

func (x *StartServodRequest) GetServodDockerImagePath() string

func (*StartServodRequest) GetServodPort

func (x *StartServodRequest) GetServodPort() int32

func (*StartServodRequest) ProtoMessage

func (*StartServodRequest) ProtoMessage()

func (*StartServodRequest) ProtoReflect

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

func (*StartServodRequest) Reset

func (x *StartServodRequest) Reset()

func (*StartServodRequest) String

func (x *StartServodRequest) String() string

type StartServodResponse

type StartServodResponse struct {

	// Types that are assignable to Result:
	//	*StartServodResponse_Success_
	//	*StartServodResponse_Failure_
	Result isStartServodResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*StartServodResponse) Descriptor deprecated

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

Deprecated: Use StartServodResponse.ProtoReflect.Descriptor instead.

func (*StartServodResponse) GetFailure

func (*StartServodResponse) GetResult

func (m *StartServodResponse) GetResult() isStartServodResponse_Result

func (*StartServodResponse) GetSuccess

func (*StartServodResponse) ProtoMessage

func (*StartServodResponse) ProtoMessage()

func (*StartServodResponse) ProtoReflect

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

func (*StartServodResponse) Reset

func (x *StartServodResponse) Reset()

func (*StartServodResponse) String

func (x *StartServodResponse) String() string

type StartServodResponse_Failure

type StartServodResponse_Failure struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

Error message for failure.

func (*StartServodResponse_Failure) Descriptor deprecated

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

Deprecated: Use StartServodResponse_Failure.ProtoReflect.Descriptor instead.

func (*StartServodResponse_Failure) GetErrorMessage

func (x *StartServodResponse_Failure) GetErrorMessage() string

func (*StartServodResponse_Failure) ProtoMessage

func (*StartServodResponse_Failure) ProtoMessage()

func (*StartServodResponse_Failure) ProtoReflect

func (*StartServodResponse_Failure) Reset

func (x *StartServodResponse_Failure) Reset()

func (*StartServodResponse_Failure) String

func (x *StartServodResponse_Failure) String() string

type StartServodResponse_Failure_

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

type StartServodResponse_Success

type StartServodResponse_Success struct {
	// contains filtered or unexported fields
}

Empty response for success.

func (*StartServodResponse_Success) Descriptor deprecated

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

Deprecated: Use StartServodResponse_Success.ProtoReflect.Descriptor instead.

func (*StartServodResponse_Success) ProtoMessage

func (*StartServodResponse_Success) ProtoMessage()

func (*StartServodResponse_Success) ProtoReflect

func (*StartServodResponse_Success) Reset

func (x *StartServodResponse_Success) Reset()

func (*StartServodResponse_Success) String

func (x *StartServodResponse_Success) String() string

type StartServodResponse_Success_

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

type StartTemplatedContainerRequest

type StartTemplatedContainerRequest struct {

	// Unique name given to the container that will be used later to retrieve
	// container info.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Location of image that can be directly pulled by docker. Note that start
	// container assumes docker is already authenticated.
	// e.g. us-docker.pkg.dev/cros-registry/test-services/cros-dut:latest
	ContainerImage string `protobuf:"bytes,2,opt,name=container_image,json=containerImage,proto3" json:"container_image,omitempty"`
	// Container-specific template
	Template *Template `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
	// Name of an existing network to join
	Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// Host directory to be mounted into the container for logs and other artifacts
	ArtifactDir string `protobuf:"bytes,5,opt,name=artifact_dir,json=artifactDir,proto3" json:"artifact_dir,omitempty"`
	// contains filtered or unexported fields
}

StartTemplatedContainerRequest does not use additional_options or start_command as in StartContainerRequest. Instead, container-specific template is used to provide instructions on how to start the container.

func (*StartTemplatedContainerRequest) Descriptor deprecated

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

Deprecated: Use StartTemplatedContainerRequest.ProtoReflect.Descriptor instead.

func (*StartTemplatedContainerRequest) GetArtifactDir

func (x *StartTemplatedContainerRequest) GetArtifactDir() string

func (*StartTemplatedContainerRequest) GetContainerImage

func (x *StartTemplatedContainerRequest) GetContainerImage() string

func (*StartTemplatedContainerRequest) GetName

func (*StartTemplatedContainerRequest) GetNetwork

func (x *StartTemplatedContainerRequest) GetNetwork() string

func (*StartTemplatedContainerRequest) GetTemplate

func (x *StartTemplatedContainerRequest) GetTemplate() *Template

func (*StartTemplatedContainerRequest) ProtoMessage

func (*StartTemplatedContainerRequest) ProtoMessage()

func (*StartTemplatedContainerRequest) ProtoReflect

func (*StartTemplatedContainerRequest) Reset

func (x *StartTemplatedContainerRequest) Reset()

func (*StartTemplatedContainerRequest) String

type StopServodMetadata

type StopServodMetadata struct {
	// contains filtered or unexported fields
}

func (*StopServodMetadata) Descriptor deprecated

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

Deprecated: Use StopServodMetadata.ProtoReflect.Descriptor instead.

func (*StopServodMetadata) ProtoMessage

func (*StopServodMetadata) ProtoMessage()

func (*StopServodMetadata) ProtoReflect

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

func (*StopServodMetadata) Reset

func (x *StopServodMetadata) Reset()

func (*StopServodMetadata) String

func (x *StopServodMetadata) String() string

type StopServodRequest

type StopServodRequest struct {

	// The path (URI) for the servod (containerized or running as a daemon) host.
	// If cros-servod and docker-servod live on the same host, this parameter
	// should be empty.
	ServoHostPath string `protobuf:"bytes,1,opt,name=servo_host_path,json=servoHostPath,proto3" json:"servo_host_path,omitempty"`
	// The servod Docker container name.
	ServodDockerContainerName string `` /* 140-byte string literal not displayed */
	// The port that servod is running on the servo host.
	ServodPort int32 `protobuf:"varint,3,opt,name=servod_port,json=servodPort,proto3" json:"servod_port,omitempty"`
	// contains filtered or unexported fields
}

func (*StopServodRequest) Descriptor deprecated

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

Deprecated: Use StopServodRequest.ProtoReflect.Descriptor instead.

func (*StopServodRequest) GetServoHostPath

func (x *StopServodRequest) GetServoHostPath() string

func (*StopServodRequest) GetServodDockerContainerName

func (x *StopServodRequest) GetServodDockerContainerName() string

func (*StopServodRequest) GetServodPort

func (x *StopServodRequest) GetServodPort() int32

func (*StopServodRequest) ProtoMessage

func (*StopServodRequest) ProtoMessage()

func (*StopServodRequest) ProtoReflect

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

func (*StopServodRequest) Reset

func (x *StopServodRequest) Reset()

func (*StopServodRequest) String

func (x *StopServodRequest) String() string

type StopServodResponse

type StopServodResponse struct {

	// Types that are assignable to Result:
	//	*StopServodResponse_Success_
	//	*StopServodResponse_Failure_
	Result isStopServodResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*StopServodResponse) Descriptor deprecated

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

Deprecated: Use StopServodResponse.ProtoReflect.Descriptor instead.

func (*StopServodResponse) GetFailure

func (*StopServodResponse) GetResult

func (m *StopServodResponse) GetResult() isStopServodResponse_Result

func (*StopServodResponse) GetSuccess

func (*StopServodResponse) ProtoMessage

func (*StopServodResponse) ProtoMessage()

func (*StopServodResponse) ProtoReflect

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

func (*StopServodResponse) Reset

func (x *StopServodResponse) Reset()

func (*StopServodResponse) String

func (x *StopServodResponse) String() string

type StopServodResponse_Failure

type StopServodResponse_Failure struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

Error message for failure.

func (*StopServodResponse_Failure) Descriptor deprecated

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

Deprecated: Use StopServodResponse_Failure.ProtoReflect.Descriptor instead.

func (*StopServodResponse_Failure) GetErrorMessage

func (x *StopServodResponse_Failure) GetErrorMessage() string

func (*StopServodResponse_Failure) ProtoMessage

func (*StopServodResponse_Failure) ProtoMessage()

func (*StopServodResponse_Failure) ProtoReflect

func (*StopServodResponse_Failure) Reset

func (x *StopServodResponse_Failure) Reset()

func (*StopServodResponse_Failure) String

func (x *StopServodResponse_Failure) String() string

type StopServodResponse_Failure_

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

type StopServodResponse_Success

type StopServodResponse_Success struct {
	// contains filtered or unexported fields
}

Empty response for success.

func (*StopServodResponse_Success) Descriptor deprecated

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

Deprecated: Use StopServodResponse_Success.ProtoReflect.Descriptor instead.

func (*StopServodResponse_Success) ProtoMessage

func (*StopServodResponse_Success) ProtoMessage()

func (*StopServodResponse_Success) ProtoReflect

func (*StopServodResponse_Success) Reset

func (x *StopServodResponse_Success) Reset()

func (*StopServodResponse_Success) String

func (x *StopServodResponse_Success) String() string

type StopServodResponse_Success_

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

type Suite

type Suite struct {

	// Globally unique identifier across all SuiteSets and Suites.
	Id *Suite_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Defines all the metadata about a Suite.
	Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The list of Tests contained within the Suite.
	Tests []*TestCase_Id `protobuf:"bytes,3,rep,name=tests,proto3" json:"tests,omitempty"`
	// contains filtered or unexported fields
}

Defines a grouping of Tests that represent scheduling units CTP can enforce predefined Suite rules against like runtime limits. A Suite represents a smaller validation assertion that is satisfied if all its containing Tests pass.

func (*Suite) Descriptor deprecated

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

Deprecated: Use Suite.ProtoReflect.Descriptor instead.

func (*Suite) GetId

func (x *Suite) GetId() *Suite_Id

func (*Suite) GetMetadata

func (x *Suite) GetMetadata() *Metadata

func (*Suite) GetTests

func (x *Suite) GetTests() []*TestCase_Id

func (*Suite) ProtoMessage

func (*Suite) ProtoMessage()

func (*Suite) ProtoReflect

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

func (*Suite) Reset

func (x *Suite) Reset()

func (*Suite) String

func (x *Suite) String() string

type SuiteInfo

type SuiteInfo struct {
	SuiteMetadata *SuiteMetadata `protobuf:"bytes,1,opt,name=suite_metadata,json=suiteMetadata,proto3" json:"suite_metadata,omitempty"`
	SuiteRequest  *SuiteRequest  `protobuf:"bytes,2,opt,name=suite_request,json=suiteRequest,proto3" json:"suite_request,omitempty"`
	// contains filtered or unexported fields
}

func (*SuiteInfo) Descriptor deprecated

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

Deprecated: Use SuiteInfo.ProtoReflect.Descriptor instead.

func (*SuiteInfo) GetSuiteMetadata

func (x *SuiteInfo) GetSuiteMetadata() *SuiteMetadata

func (*SuiteInfo) GetSuiteRequest

func (x *SuiteInfo) GetSuiteRequest() *SuiteRequest

func (*SuiteInfo) ProtoMessage

func (*SuiteInfo) ProtoMessage()

func (*SuiteInfo) ProtoReflect

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

func (*SuiteInfo) Reset

func (x *SuiteInfo) Reset()

func (*SuiteInfo) String

func (x *SuiteInfo) String() string

type SuiteList

type SuiteList struct {
	Suites []*Suite `protobuf:"bytes,1,rep,name=suites,proto3" json:"suites,omitempty"`
	// contains filtered or unexported fields
}

Defines a list of Suites

func (*SuiteList) Descriptor deprecated

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

Deprecated: Use SuiteList.ProtoReflect.Descriptor instead.

func (*SuiteList) GetSuites

func (x *SuiteList) GetSuites() []*Suite

func (*SuiteList) ProtoMessage

func (*SuiteList) ProtoMessage()

func (*SuiteList) ProtoReflect

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

func (*SuiteList) Reset

func (x *SuiteList) Reset()

func (*SuiteList) String

func (x *SuiteList) String() string

type SuiteMetadata

type SuiteMetadata struct {
	TargetRequirements         []*TargetRequirements         `protobuf:"bytes,1,rep,name=target_requirements,json=targetRequirements,proto3" json:"target_requirements,omitempty"`
	ScheduleTargetRequirements []*ScheduleTargetRequirements `` /* 141-byte string literal not displayed */
	Channels                   []string                      `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
	Pool                       string                        `protobuf:"bytes,3,opt,name=pool,proto3" json:"pool,omitempty"`
	ExecutionMetadata          *ExecutionMetadata            `protobuf:"bytes,5,opt,name=execution_metadata,json=executionMetadata,proto3" json:"execution_metadata,omitempty"`
	// Scheduler info for this suite
	SchedulerInfo *SchedulerInfo `protobuf:"bytes,6,opt,name=scheduler_info,json=schedulerInfo,proto3" json:"scheduler_info,omitempty"`
	// contains filtered or unexported fields
}

Everything by CTPv2, less provision_info. next value = 5;

func (*SuiteMetadata) Descriptor deprecated

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

Deprecated: Use SuiteMetadata.ProtoReflect.Descriptor instead.

func (*SuiteMetadata) GetChannels

func (x *SuiteMetadata) GetChannels() []string

func (*SuiteMetadata) GetExecutionMetadata

func (x *SuiteMetadata) GetExecutionMetadata() *ExecutionMetadata

func (*SuiteMetadata) GetPool

func (x *SuiteMetadata) GetPool() string

func (*SuiteMetadata) GetScheduleTargetRequirements

func (x *SuiteMetadata) GetScheduleTargetRequirements() []*ScheduleTargetRequirements

func (*SuiteMetadata) GetSchedulerInfo

func (x *SuiteMetadata) GetSchedulerInfo() *SchedulerInfo

func (*SuiteMetadata) GetTargetRequirements

func (x *SuiteMetadata) GetTargetRequirements() []*TargetRequirements

func (*SuiteMetadata) ProtoMessage

func (*SuiteMetadata) ProtoMessage()

func (*SuiteMetadata) ProtoReflect

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

func (*SuiteMetadata) Reset

func (x *SuiteMetadata) Reset()

func (*SuiteMetadata) String

func (x *SuiteMetadata) String() string

type SuiteRequest

type SuiteRequest struct {

	// Types that are assignable to SuiteRequest:
	//	*SuiteRequest_TestSuite
	//	*SuiteRequest_HierarchicalPlan
	SuiteRequest isSuiteRequest_SuiteRequest `protobuf_oneof:"suite_request"`
	// Maximum duration for the entire request to be handled.
	MaximumDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=maximum_duration,json=maximumDuration,proto3" json:"maximum_duration,omitempty"`
	// suite level test args.
	TestArgs string `protobuf:"bytes,4,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
	// Identifying suite name for analytics.
	AnalyticsName string `protobuf:"bytes,5,opt,name=analytics_name,json=analyticsName,proto3" json:"analytics_name,omitempty"`
	// The total number of tests allowed to be used in a shard.
	MaxInShard int64 `protobuf:"varint,6,opt,name=max_in_shard,json=maxInShard,proto3" json:"max_in_shard,omitempty"`
	// Should run the suite via 3d or not. Default false.
	DddSuite bool `protobuf:"varint,7,opt,name=ddd_suite,json=dddSuite,proto3" json:"ddd_suite,omitempty"`
	// contains filtered or unexported fields
}

func (*SuiteRequest) Descriptor deprecated

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

Deprecated: Use SuiteRequest.ProtoReflect.Descriptor instead.

func (*SuiteRequest) GetAnalyticsName

func (x *SuiteRequest) GetAnalyticsName() string

func (*SuiteRequest) GetDddSuite

func (x *SuiteRequest) GetDddSuite() bool

func (*SuiteRequest) GetHierarchicalPlan

func (x *SuiteRequest) GetHierarchicalPlan() *Reserved

func (*SuiteRequest) GetMaxInShard

func (x *SuiteRequest) GetMaxInShard() int64

func (*SuiteRequest) GetMaximumDuration

func (x *SuiteRequest) GetMaximumDuration() *durationpb.Duration

func (*SuiteRequest) GetSuiteRequest

func (m *SuiteRequest) GetSuiteRequest() isSuiteRequest_SuiteRequest

func (*SuiteRequest) GetTestArgs

func (x *SuiteRequest) GetTestArgs() string

func (*SuiteRequest) GetTestSuite

func (x *SuiteRequest) GetTestSuite() *TestSuite

func (*SuiteRequest) ProtoMessage

func (*SuiteRequest) ProtoMessage()

func (*SuiteRequest) ProtoReflect

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

func (*SuiteRequest) Reset

func (x *SuiteRequest) Reset()

func (*SuiteRequest) String

func (x *SuiteRequest) String() string

type SuiteRequest_HierarchicalPlan

type SuiteRequest_HierarchicalPlan struct {
	HierarchicalPlan *Reserved `protobuf:"bytes,2,opt,name=hierarchical_plan,json=hierarchicalPlan,proto3,oneof"`
}

type SuiteRequest_TestSuite

type SuiteRequest_TestSuite struct {
	TestSuite *TestSuite `protobuf:"bytes,1,opt,name=test_suite,json=testSuite,proto3,oneof"`
}

type SuiteSet

type SuiteSet struct {

	// Globally unique identifier across all SuiteSets and Suites.
	Id *SuiteSet_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Defines all the metadata about a SuiteSet.
	Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// A list SuiteSet Id's contained within the SuiteSet.
	SuiteSets []*SuiteSet_Id `protobuf:"bytes,4,rep,name=suite_sets,json=suiteSets,proto3" json:"suite_sets,omitempty"`
	// A list Suite Id's contained within the SuiteSet.
	Suites []*Suite_Id `protobuf:"bytes,3,rep,name=suites,proto3" json:"suites,omitempty"`
	// contains filtered or unexported fields
}

Defines a grouping of Suites either directly through a list of Suites or indirectly through a list of other contained SuiteSets. A SuiteSet is intended to represent a validation assertion that is satisfied if all its containing Suites pass.

func (*SuiteSet) Descriptor deprecated

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

Deprecated: Use SuiteSet.ProtoReflect.Descriptor instead.

func (*SuiteSet) GetId

func (x *SuiteSet) GetId() *SuiteSet_Id

func (*SuiteSet) GetMetadata

func (x *SuiteSet) GetMetadata() *Metadata

func (*SuiteSet) GetSuiteSets

func (x *SuiteSet) GetSuiteSets() []*SuiteSet_Id

func (*SuiteSet) GetSuites

func (x *SuiteSet) GetSuites() []*Suite_Id

func (*SuiteSet) ProtoMessage

func (*SuiteSet) ProtoMessage()

func (*SuiteSet) ProtoReflect

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

func (*SuiteSet) Reset

func (x *SuiteSet) Reset()

func (*SuiteSet) String

func (x *SuiteSet) String() string

type SuiteSetList

type SuiteSetList struct {
	SuiteSets []*SuiteSet `protobuf:"bytes,1,rep,name=suite_sets,json=suiteSets,proto3" json:"suite_sets,omitempty"`
	// contains filtered or unexported fields
}

Defines a list of SuiteSets

func (*SuiteSetList) Descriptor deprecated

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

Deprecated: Use SuiteSetList.ProtoReflect.Descriptor instead.

func (*SuiteSetList) GetSuiteSets

func (x *SuiteSetList) GetSuiteSets() []*SuiteSet

func (*SuiteSetList) ProtoMessage

func (*SuiteSetList) ProtoMessage()

func (*SuiteSetList) ProtoReflect

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

func (*SuiteSetList) Reset

func (x *SuiteSetList) Reset()

func (*SuiteSetList) String

func (x *SuiteSetList) String() string

type SuiteSet_Id

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

func (*SuiteSet_Id) Descriptor deprecated

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

Deprecated: Use SuiteSet_Id.ProtoReflect.Descriptor instead.

func (*SuiteSet_Id) GetValue

func (x *SuiteSet_Id) GetValue() string

func (*SuiteSet_Id) ProtoMessage

func (*SuiteSet_Id) ProtoMessage()

func (*SuiteSet_Id) ProtoReflect

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

func (*SuiteSet_Id) Reset

func (x *SuiteSet_Id) Reset()

func (*SuiteSet_Id) String

func (x *SuiteSet_Id) String() string

type Suite_Id

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

func (*Suite_Id) Descriptor deprecated

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

Deprecated: Use Suite_Id.ProtoReflect.Descriptor instead.

func (*Suite_Id) GetValue

func (x *Suite_Id) GetValue() string

func (*Suite_Id) ProtoMessage

func (*Suite_Id) ProtoMessage()

func (*Suite_Id) ProtoReflect

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

func (*Suite_Id) Reset

func (x *Suite_Id) Reset()

func (*Suite_Id) String

func (x *Suite_Id) String() string

type SwarmingDefinition

type SwarmingDefinition struct {

	// This is effectively the UFS proto. This will be the universal language spoken by all filters.
	DutInfo        *api1.Dut        `protobuf:"bytes,1,opt,name=dut_info,json=dutInfo,proto3" json:"dut_info,omitempty"`
	ProvisionInfo  []*ProvisionInfo `protobuf:"bytes,2,rep,name=provision_info,json=provisionInfo,proto3" json:"provision_info,omitempty"`
	SwarmingLabels []string         `protobuf:"bytes,3,rep,name=swarming_labels,json=swarmingLabels,proto3" json:"swarming_labels,omitempty"`
	Variant        string           `protobuf:"bytes,4,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

func (*SwarmingDefinition) Descriptor deprecated

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

Deprecated: Use SwarmingDefinition.ProtoReflect.Descriptor instead.

func (*SwarmingDefinition) GetDutInfo

func (x *SwarmingDefinition) GetDutInfo() *api1.Dut

func (*SwarmingDefinition) GetProvisionInfo

func (x *SwarmingDefinition) GetProvisionInfo() []*ProvisionInfo

func (*SwarmingDefinition) GetSwarmingLabels

func (x *SwarmingDefinition) GetSwarmingLabels() []string

func (*SwarmingDefinition) GetVariant

func (x *SwarmingDefinition) GetVariant() string

func (*SwarmingDefinition) ProtoMessage

func (*SwarmingDefinition) ProtoMessage()

func (*SwarmingDefinition) ProtoReflect

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

func (*SwarmingDefinition) Reset

func (x *SwarmingDefinition) Reset()

func (*SwarmingDefinition) String

func (x *SwarmingDefinition) String() string

type TargetRequirements

type TargetRequirements struct {
	HwRequirements *HWRequirements `protobuf:"bytes,1,opt,name=hw_requirements,json=hwRequirements,proto3" json:"hw_requirements,omitempty"`
	// One HW, can have multiple SW configs., eg Cros + Lacros + FW + Kernel.
	//
	// Deprecated: Do not use.
	SwRequirements []*LegacySW `protobuf:"bytes,2,rep,name=sw_requirements,json=swRequirements,proto3" json:"sw_requirements,omitempty"`
	SwRequirement  *LegacySW   `protobuf:"bytes,3,opt,name=sw_requirement,json=swRequirement,proto3" json:"sw_requirement,omitempty"`
	// contains filtered or unexported fields
}

func (*TargetRequirements) Descriptor deprecated

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

Deprecated: Use TargetRequirements.ProtoReflect.Descriptor instead.

func (*TargetRequirements) GetHwRequirements

func (x *TargetRequirements) GetHwRequirements() *HWRequirements

func (*TargetRequirements) GetSwRequirement

func (x *TargetRequirements) GetSwRequirement() *LegacySW

func (*TargetRequirements) GetSwRequirements deprecated

func (x *TargetRequirements) GetSwRequirements() []*LegacySW

Deprecated: Do not use.

func (*TargetRequirements) ProtoMessage

func (*TargetRequirements) ProtoMessage()

func (*TargetRequirements) ProtoReflect

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

func (*TargetRequirements) Reset

func (x *TargetRequirements) Reset()

func (*TargetRequirements) String

func (x *TargetRequirements) String() string

type Targets

type Targets struct {
	HwTarget *HWTarget `protobuf:"bytes,1,opt,name=hw_target,json=hwTarget,proto3" json:"hw_target,omitempty"`
	// Deprecated: Do not use.
	SwTargets []*SWTarget `protobuf:"bytes,2,rep,name=sw_targets,json=swTargets,proto3" json:"sw_targets,omitempty"`
	SwTarget  *SWTarget   `protobuf:"bytes,3,opt,name=sw_target,json=swTarget,proto3" json:"sw_target,omitempty"`
	// contains filtered or unexported fields
}

func (*Targets) Descriptor deprecated

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

Deprecated: Use Targets.ProtoReflect.Descriptor instead.

func (*Targets) GetHwTarget

func (x *Targets) GetHwTarget() *HWTarget

func (*Targets) GetSwTarget

func (x *Targets) GetSwTarget() *SWTarget

func (*Targets) GetSwTargets deprecated

func (x *Targets) GetSwTargets() []*SWTarget

Deprecated: Do not use.

func (*Targets) ProtoMessage

func (*Targets) ProtoMessage()

func (*Targets) ProtoReflect

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

func (*Targets) Reset

func (x *Targets) Reset()

func (*Targets) String

func (x *Targets) String() string

type TastExecutionMetadata deprecated

type TastExecutionMetadata struct {

	// Custom arguments passed into the Tast.
	Args []*Arg `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

HARNESS SPECIFIC ARGS TO BE DEPRECATED IN FAVOR OF GENERIC ARGS.

Deprecated: Do not use.

func (*TastExecutionMetadata) Descriptor deprecated

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

Deprecated: Use TastExecutionMetadata.ProtoReflect.Descriptor instead.

func (*TastExecutionMetadata) GetArgs

func (x *TastExecutionMetadata) GetArgs() []*Arg

func (*TastExecutionMetadata) ProtoMessage

func (*TastExecutionMetadata) ProtoMessage()

func (*TastExecutionMetadata) ProtoReflect

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

func (*TastExecutionMetadata) Reset

func (x *TastExecutionMetadata) Reset()

func (*TastExecutionMetadata) String

func (x *TastExecutionMetadata) String() string

type Template

type Template struct {

	// Types that are assignable to Container:
	//	*Template_CrosDut
	//	*Template_CrosProvision
	//	*Template_CrosTest
	//	*Template_CrosPublish
	//	*Template_CrosFwProvision
	//	*Template_CacheServer
	//	*Template_CrosTestFinder
	//	*Template_AndroidProvision
	//	*Template_Generic
	//	*Template_CrosVmProvision
	Container isTemplate_Container `protobuf_oneof:"container"`
	// contains filtered or unexported fields
}

Wrapper message of one of container-specific templates

func (*Template) Descriptor deprecated

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

Deprecated: Use Template.ProtoReflect.Descriptor instead.

func (*Template) GetAndroidProvision

func (x *Template) GetAndroidProvision() *AndroidProvisionTemplate

func (*Template) GetCacheServer

func (x *Template) GetCacheServer() *CacheServerTemplate

func (*Template) GetContainer

func (m *Template) GetContainer() isTemplate_Container

func (*Template) GetCrosDut

func (x *Template) GetCrosDut() *CrosDutTemplate

func (*Template) GetCrosFwProvision

func (x *Template) GetCrosFwProvision() *CrosFirmwareProvisionTemplate

func (*Template) GetCrosProvision

func (x *Template) GetCrosProvision() *CrosProvisionTemplate

func (*Template) GetCrosPublish

func (x *Template) GetCrosPublish() *CrosPublishTemplate

func (*Template) GetCrosTest

func (x *Template) GetCrosTest() *CrosTestTemplate

func (*Template) GetCrosTestFinder

func (x *Template) GetCrosTestFinder() *CrosTestFinderTemplate

func (*Template) GetCrosVmProvision

func (x *Template) GetCrosVmProvision() *CrosVMProvisionTemplate

func (*Template) GetGeneric

func (x *Template) GetGeneric() *GenericTemplate

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) ProtoReflect

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

func (*Template) Reset

func (x *Template) Reset()

func (*Template) String

func (x *Template) String() string

type Template_AndroidProvision

type Template_AndroidProvision struct {
	AndroidProvision *AndroidProvisionTemplate `protobuf:"bytes,8,opt,name=android_provision,json=androidProvision,proto3,oneof"`
}

type Template_CacheServer

type Template_CacheServer struct {
	CacheServer *CacheServerTemplate `protobuf:"bytes,6,opt,name=cache_server,json=cacheServer,proto3,oneof"`
}

type Template_CrosDut

type Template_CrosDut struct {
	CrosDut *CrosDutTemplate `protobuf:"bytes,1,opt,name=cros_dut,json=crosDut,proto3,oneof"`
}

type Template_CrosFwProvision

type Template_CrosFwProvision struct {
	CrosFwProvision *CrosFirmwareProvisionTemplate `protobuf:"bytes,5,opt,name=cros_fw_provision,json=crosFwProvision,proto3,oneof"`
}

type Template_CrosProvision

type Template_CrosProvision struct {
	CrosProvision *CrosProvisionTemplate `protobuf:"bytes,2,opt,name=cros_provision,json=crosProvision,proto3,oneof"`
}

type Template_CrosPublish

type Template_CrosPublish struct {
	CrosPublish *CrosPublishTemplate `protobuf:"bytes,4,opt,name=cros_publish,json=crosPublish,proto3,oneof"`
}

type Template_CrosTest

type Template_CrosTest struct {
	CrosTest *CrosTestTemplate `protobuf:"bytes,3,opt,name=cros_test,json=crosTest,proto3,oneof"`
}

type Template_CrosTestFinder

type Template_CrosTestFinder struct {
	CrosTestFinder *CrosTestFinderTemplate `protobuf:"bytes,7,opt,name=cros_test_finder,json=crosTestFinder,proto3,oneof"`
}

type Template_CrosVmProvision

type Template_CrosVmProvision struct {
	CrosVmProvision *CrosVMProvisionTemplate `protobuf:"bytes,10,opt,name=cros_vm_provision,json=crosVmProvision,proto3,oneof"`
}

type Template_Generic

type Template_Generic struct {
	Generic *GenericTemplate `protobuf:"bytes,9,opt,name=generic,proto3,oneof"`
}

type TestCase

type TestCase struct {

	// Globally unique (for ChromeOS) string id for a given test case.
	Id *TestCase_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Human friendly name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Tags associated with a given test case, which drive scheduling logic
	// based on tag inclusion or exclusion criteria.
	Tags []*TestCase_Tag `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// Dependencies for a given test cases, which drive scheduling logic for
	// dut matching.
	Dependencies []*TestCase_Dependency `protobuf:"bytes,4,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// BuildDeps for a given test cases, which drive test filtering logic for
	// scheduling.
	BuildDependencies []*TestCase_BuildDeps `protobuf:"bytes,5,rep,name=build_dependencies,json=buildDependencies,proto3" json:"build_dependencies,omitempty"`
	// contains filtered or unexported fields
}

Defines an atomic unit of test work that's independently executable.

Test cases are the atomic building blocks used to define/generate test plans and then ultimately scheduling units of work (batched or independent).

Test case definitions can come from any execution workflow/environment. E.g. Automated test cases will generally be defined/reported by the

various test-drivers (e.g. Tast/Tauto/...) at build time.

Manual test cases will be defined/managed directly in starlark config
and then act as the building blocks for manual test planning/scheduling.

Test cases also are the atom at which test results can be reported.

func (*TestCase) Descriptor deprecated

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

Deprecated: Use TestCase.ProtoReflect.Descriptor instead.

func (*TestCase) GetBuildDependencies

func (x *TestCase) GetBuildDependencies() []*TestCase_BuildDeps

func (*TestCase) GetDependencies

func (x *TestCase) GetDependencies() []*TestCase_Dependency

func (*TestCase) GetId

func (x *TestCase) GetId() *TestCase_Id

func (*TestCase) GetName

func (x *TestCase) GetName() string

func (*TestCase) GetTags

func (x *TestCase) GetTags() []*TestCase_Tag

func (*TestCase) ProtoMessage

func (*TestCase) ProtoMessage()

func (*TestCase) ProtoReflect

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

func (*TestCase) Reset

func (x *TestCase) Reset()

func (*TestCase) String

func (x *TestCase) String() string

type TestCaseExec

type TestCaseExec struct {
	TestHarness *TestHarness `protobuf:"bytes,1,opt,name=test_harness,json=testHarness,proto3" json:"test_harness,omitempty"`
	// contains filtered or unexported fields
}

Contains details needed to execute a given test case.

func (*TestCaseExec) Descriptor deprecated

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

Deprecated: Use TestCaseExec.ProtoReflect.Descriptor instead.

func (*TestCaseExec) GetTestHarness

func (x *TestCaseExec) GetTestHarness() *TestHarness

func (*TestCaseExec) ProtoMessage

func (*TestCaseExec) ProtoMessage()

func (*TestCaseExec) ProtoReflect

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

func (*TestCaseExec) Reset

func (x *TestCaseExec) Reset()

func (*TestCaseExec) String

func (x *TestCaseExec) String() string

type TestCaseIdList

type TestCaseIdList struct {
	TestCaseIds []*TestCase_Id `protobuf:"bytes,1,rep,name=test_case_ids,json=testCaseIds,proto3" json:"test_case_ids,omitempty"`
	// contains filtered or unexported fields
}

List of globally unique test case identifiers

func (*TestCaseIdList) Descriptor deprecated

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

Deprecated: Use TestCaseIdList.ProtoReflect.Descriptor instead.

func (*TestCaseIdList) GetTestCaseIds

func (x *TestCaseIdList) GetTestCaseIds() []*TestCase_Id

func (*TestCaseIdList) ProtoMessage

func (*TestCaseIdList) ProtoMessage()

func (*TestCaseIdList) ProtoReflect

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

func (*TestCaseIdList) Reset

func (x *TestCaseIdList) Reset()

func (*TestCaseIdList) String

func (x *TestCaseIdList) String() string

type TestCaseInfo

type TestCaseInfo struct {

	// Contacts for ownership / flakiness notification etc.
	Owners          []*Contact          `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty"`
	Requirements    []*Requirement      `protobuf:"bytes,2,rep,name=requirements,proto3" json:"requirements,omitempty"`
	BugComponent    *BugComponent       `protobuf:"bytes,3,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
	Criteria        *Criteria           `protobuf:"bytes,4,opt,name=criteria,proto3" json:"criteria,omitempty"`
	HwAgnostic      *HwAgnostic         `protobuf:"bytes,5,opt,name=hw_agnostic,json=hwAgnostic,proto3" json:"hw_agnostic,omitempty"`
	LifeCycleStage  *LifeCycleStage     `protobuf:"bytes,6,opt,name=life_cycle_stage,json=lifeCycleStage,proto3" json:"life_cycle_stage,omitempty"`
	VariantCategory *DDDVariantCategory `protobuf:"bytes,7,opt,name=variant_category,json=variantCategory,proto3" json:"variant_category,omitempty"`
	// contains filtered or unexported fields
}

Contains informational details about a test case which doesn't affect scheduling or execution behavior.

func (*TestCaseInfo) Descriptor deprecated

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

Deprecated: Use TestCaseInfo.ProtoReflect.Descriptor instead.

func (*TestCaseInfo) GetBugComponent

func (x *TestCaseInfo) GetBugComponent() *BugComponent

func (*TestCaseInfo) GetCriteria

func (x *TestCaseInfo) GetCriteria() *Criteria

func (*TestCaseInfo) GetHwAgnostic

func (x *TestCaseInfo) GetHwAgnostic() *HwAgnostic

func (*TestCaseInfo) GetLifeCycleStage

func (x *TestCaseInfo) GetLifeCycleStage() *LifeCycleStage

func (*TestCaseInfo) GetOwners

func (x *TestCaseInfo) GetOwners() []*Contact

func (*TestCaseInfo) GetRequirements

func (x *TestCaseInfo) GetRequirements() []*Requirement

func (*TestCaseInfo) GetVariantCategory

func (x *TestCaseInfo) GetVariantCategory() *DDDVariantCategory

func (*TestCaseInfo) ProtoMessage

func (*TestCaseInfo) ProtoMessage()

func (*TestCaseInfo) ProtoReflect

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

func (*TestCaseInfo) Reset

func (x *TestCaseInfo) Reset()

func (*TestCaseInfo) String

func (x *TestCaseInfo) String() string

type TestCaseList

type TestCaseList struct {
	TestCases []*TestCase `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCaseList) Descriptor deprecated

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

Deprecated: Use TestCaseList.ProtoReflect.Descriptor instead.

func (*TestCaseList) GetTestCases

func (x *TestCaseList) GetTestCases() []*TestCase

func (*TestCaseList) ProtoMessage

func (*TestCaseList) ProtoMessage()

func (*TestCaseList) ProtoReflect

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

func (*TestCaseList) Reset

func (x *TestCaseList) Reset()

func (*TestCaseList) String

func (x *TestCaseList) String() string

type TestCaseMetadata

type TestCaseMetadata struct {
	TestCase     *TestCase     `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"`
	TestCaseExec *TestCaseExec `protobuf:"bytes,2,opt,name=test_case_exec,json=testCaseExec,proto3" json:"test_case_exec,omitempty"`
	TestCaseInfo *TestCaseInfo `protobuf:"bytes,3,opt,name=test_case_info,json=testCaseInfo,proto3" json:"test_case_info,omitempty"`
	// contains filtered or unexported fields
}

Defines all metadata about a given test case to support the entire test case lifecycle (planning, execution, debugging, triage, reporting, ...).

func (*TestCaseMetadata) Descriptor deprecated

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

Deprecated: Use TestCaseMetadata.ProtoReflect.Descriptor instead.

func (*TestCaseMetadata) GetTestCase

func (x *TestCaseMetadata) GetTestCase() *TestCase

func (*TestCaseMetadata) GetTestCaseExec

func (x *TestCaseMetadata) GetTestCaseExec() *TestCaseExec

func (*TestCaseMetadata) GetTestCaseInfo

func (x *TestCaseMetadata) GetTestCaseInfo() *TestCaseInfo

func (*TestCaseMetadata) ProtoMessage

func (*TestCaseMetadata) ProtoMessage()

func (*TestCaseMetadata) ProtoReflect

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

func (*TestCaseMetadata) Reset

func (x *TestCaseMetadata) Reset()

func (*TestCaseMetadata) String

func (x *TestCaseMetadata) String() string

type TestCaseMetadataList

type TestCaseMetadataList struct {
	Values []*TestCaseMetadata `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

A list of TestCaseMetadata for ease of serialization into a file.

func (*TestCaseMetadataList) Descriptor deprecated

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

Deprecated: Use TestCaseMetadataList.ProtoReflect.Descriptor instead.

func (*TestCaseMetadataList) GetValues

func (x *TestCaseMetadataList) GetValues() []*TestCaseMetadata

func (*TestCaseMetadataList) ProtoMessage

func (*TestCaseMetadataList) ProtoMessage()

func (*TestCaseMetadataList) ProtoReflect

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

func (*TestCaseMetadataList) Reset

func (x *TestCaseMetadataList) Reset()

func (*TestCaseMetadataList) String

func (x *TestCaseMetadataList) String() string

type TestCaseResult

type TestCaseResult struct {

	// Unique ID of test case executed
	TestCaseId *TestCase_Id `protobuf:"bytes,1,opt,name=test_case_id,json=testCaseId,proto3" json:"test_case_id,omitempty"`
	// Location of the test result artifacts generated during execution.
	ResultDirPath *_go.StoragePath `protobuf:"bytes,2,opt,name=result_dir_path,json=resultDirPath,proto3" json:"result_dir_path,omitempty"`
	// Types that are assignable to Verdict:
	//	*TestCaseResult_Pass_
	//	*TestCaseResult_Fail_
	//	*TestCaseResult_Crash_
	//	*TestCaseResult_Abort_
	//	*TestCaseResult_Skip_
	//	*TestCaseResult_NotRun_
	Verdict isTestCaseResult_Verdict `protobuf_oneof:"verdict"`
	// Reason associated with status above to provide more information.
	//
	// For fail/crash/abort statuses, the `errors` collection below
	// should be populated in preference to this field. For skip or
	// not_run status, this field may be used to communicate why the
	// test was skipped or not run.
	Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"`
	// Test harness information.
	TestHarness *TestHarness `protobuf:"bytes,10,opt,name=test_harness,json=testHarness,proto3" json:"test_harness,omitempty"`
	// The time when the test case started to execute.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Duration of the test case execution.
	Duration *durationpb.Duration `protobuf:"bytes,12,opt,name=duration,proto3" json:"duration,omitempty"`
	// Bool to show if the test was a retry or not.
	Retry bool `protobuf:"varint,13,opt,name=retry,proto3" json:"retry,omitempty"`
	// The metadata of the test.
	TestCaseMetadata *TestCaseMetadata `protobuf:"bytes,14,opt,name=test_case_metadata,json=testCaseMetadata,proto3" json:"test_case_metadata,omitempty"`
	// The error(s) that caused the test to fail.
	//
	// If there is more than one error (e.g. due to multiple expectation failures),
	// a stable sorting should be used. A recommended form of stable sorting is:
	// - Fatal errors (errors that cause the test to terminate immediately first,
	//   then
	// - Within fatal/non-fatal errors, sort by chronological order
	//   (earliest error first).
	Errors []*TestCaseResult_Error `protobuf:"bytes,16,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

Result of a single execution of a given TestCase. NEXT TAG: 17

func (*TestCaseResult) Descriptor deprecated

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

Deprecated: Use TestCaseResult.ProtoReflect.Descriptor instead.

func (*TestCaseResult) GetAbort

func (x *TestCaseResult) GetAbort() *TestCaseResult_Abort

func (*TestCaseResult) GetCrash

func (x *TestCaseResult) GetCrash() *TestCaseResult_Crash

func (*TestCaseResult) GetDuration

func (x *TestCaseResult) GetDuration() *durationpb.Duration

func (*TestCaseResult) GetErrors

func (x *TestCaseResult) GetErrors() []*TestCaseResult_Error

func (*TestCaseResult) GetFail

func (x *TestCaseResult) GetFail() *TestCaseResult_Fail

func (*TestCaseResult) GetNotRun

func (x *TestCaseResult) GetNotRun() *TestCaseResult_NotRun

func (*TestCaseResult) GetPass

func (x *TestCaseResult) GetPass() *TestCaseResult_Pass

func (*TestCaseResult) GetReason

func (x *TestCaseResult) GetReason() string

func (*TestCaseResult) GetResultDirPath

func (x *TestCaseResult) GetResultDirPath() *_go.StoragePath

func (*TestCaseResult) GetRetry

func (x *TestCaseResult) GetRetry() bool

func (*TestCaseResult) GetSkip

func (x *TestCaseResult) GetSkip() *TestCaseResult_Skip

func (*TestCaseResult) GetStartTime

func (x *TestCaseResult) GetStartTime() *timestamppb.Timestamp

func (*TestCaseResult) GetTestCaseId

func (x *TestCaseResult) GetTestCaseId() *TestCase_Id

func (*TestCaseResult) GetTestCaseMetadata

func (x *TestCaseResult) GetTestCaseMetadata() *TestCaseMetadata

func (*TestCaseResult) GetTestHarness

func (x *TestCaseResult) GetTestHarness() *TestHarness

func (*TestCaseResult) GetVerdict

func (m *TestCaseResult) GetVerdict() isTestCaseResult_Verdict

func (*TestCaseResult) ProtoMessage

func (*TestCaseResult) ProtoMessage()

func (*TestCaseResult) ProtoReflect

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

func (*TestCaseResult) Reset

func (x *TestCaseResult) Reset()

func (*TestCaseResult) String

func (x *TestCaseResult) String() string

type TestCaseResult_Abort

type TestCaseResult_Abort struct {
	// contains filtered or unexported fields
}

func (*TestCaseResult_Abort) Descriptor deprecated

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

Deprecated: Use TestCaseResult_Abort.ProtoReflect.Descriptor instead.

func (*TestCaseResult_Abort) ProtoMessage

func (*TestCaseResult_Abort) ProtoMessage()

func (*TestCaseResult_Abort) ProtoReflect

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

func (*TestCaseResult_Abort) Reset

func (x *TestCaseResult_Abort) Reset()

func (*TestCaseResult_Abort) String

func (x *TestCaseResult_Abort) String() string

type TestCaseResult_Abort_

type TestCaseResult_Abort_ struct {
	// Set if test execution was aborted before finishing either due to system
	// limitation or user requests.
	Abort *TestCaseResult_Abort `protobuf:"bytes,6,opt,name=abort,proto3,oneof"`
}

type TestCaseResult_Artifacts

type TestCaseResult_Artifacts struct {
	// contains filtered or unexported fields
}

func (*TestCaseResult_Artifacts) Descriptor deprecated

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

Deprecated: Use TestCaseResult_Artifacts.ProtoReflect.Descriptor instead.

func (*TestCaseResult_Artifacts) ProtoMessage

func (*TestCaseResult_Artifacts) ProtoMessage()

func (*TestCaseResult_Artifacts) ProtoReflect

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

func (*TestCaseResult_Artifacts) Reset

func (x *TestCaseResult_Artifacts) Reset()

func (*TestCaseResult_Artifacts) String

func (x *TestCaseResult_Artifacts) String() string

type TestCaseResult_Crash

type TestCaseResult_Crash struct {
	// contains filtered or unexported fields
}

func (*TestCaseResult_Crash) Descriptor deprecated

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

Deprecated: Use TestCaseResult_Crash.ProtoReflect.Descriptor instead.

func (*TestCaseResult_Crash) ProtoMessage

func (*TestCaseResult_Crash) ProtoMessage()

func (*TestCaseResult_Crash) ProtoReflect

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

func (*TestCaseResult_Crash) Reset

func (x *TestCaseResult_Crash) Reset()

func (*TestCaseResult_Crash) String

func (x *TestCaseResult_Crash) String() string

type TestCaseResult_Crash_

type TestCaseResult_Crash_ struct {
	// Set if test execution encountered errors (i.e. started/attempted).
	Crash *TestCaseResult_Crash `protobuf:"bytes,5,opt,name=crash,proto3,oneof"`
}

type TestCaseResult_Error

type TestCaseResult_Error struct {

	// The error message. This should only be the error message and
	// should not include any stack traces. An example would be the
	// message passed to .Error(...) in a Tast test.
	//
	// This message may be used to cluster related failures together.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Error represents a problem that caused a test to fail, such as a crash or expectation failure.

func (*TestCaseResult_Error) Descriptor deprecated

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

Deprecated: Use TestCaseResult_Error.ProtoReflect.Descriptor instead.

func (*TestCaseResult_Error) GetMessage

func (x *TestCaseResult_Error) GetMessage() string

func (*TestCaseResult_Error) ProtoMessage

func (*TestCaseResult_Error) ProtoMessage()

func (*TestCaseResult_Error) ProtoReflect

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

func (*TestCaseResult_Error) Reset

func (x *TestCaseResult_Error) Reset()

func (*TestCaseResult_Error) String

func (x *TestCaseResult_Error) String() string

type TestCaseResult_Fail

type TestCaseResult_Fail struct {
	// contains filtered or unexported fields
}

func (*TestCaseResult_Fail) Descriptor deprecated

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

Deprecated: Use TestCaseResult_Fail.ProtoReflect.Descriptor instead.

func (*TestCaseResult_Fail) ProtoMessage

func (*TestCaseResult_Fail) ProtoMessage()

func (*TestCaseResult_Fail) ProtoReflect

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

func (*TestCaseResult_Fail) Reset

func (x *TestCaseResult_Fail) Reset()

func (*TestCaseResult_Fail) String

func (x *TestCaseResult_Fail) String() string

type TestCaseResult_Fail_

type TestCaseResult_Fail_ struct {
	// Set if test ran successfully and failed.
	Fail *TestCaseResult_Fail `protobuf:"bytes,4,opt,name=fail,proto3,oneof"`
}

type TestCaseResult_NotRun

type TestCaseResult_NotRun struct {
	// contains filtered or unexported fields
}

func (*TestCaseResult_NotRun) Descriptor deprecated

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

Deprecated: Use TestCaseResult_NotRun.ProtoReflect.Descriptor instead.

func (*TestCaseResult_NotRun) ProtoMessage

func (*TestCaseResult_NotRun) ProtoMessage()

func (*TestCaseResult_NotRun) ProtoReflect

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

func (*TestCaseResult_NotRun) Reset

func (x *TestCaseResult_NotRun) Reset()

func (*TestCaseResult_NotRun) String

func (x *TestCaseResult_NotRun) String() string

type TestCaseResult_NotRun_

type TestCaseResult_NotRun_ struct {
	// Set if test did not run.
	NotRun *TestCaseResult_NotRun `protobuf:"bytes,8,opt,name=not_run,json=notRun,proto3,oneof"`
}

type TestCaseResult_Pass

type TestCaseResult_Pass struct {
	// contains filtered or unexported fields
}

func (*TestCaseResult_Pass) Descriptor deprecated

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

Deprecated: Use TestCaseResult_Pass.ProtoReflect.Descriptor instead.

func (*TestCaseResult_Pass) ProtoMessage

func (*TestCaseResult_Pass) ProtoMessage()

func (*TestCaseResult_Pass) ProtoReflect

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

func (*TestCaseResult_Pass) Reset

func (x *TestCaseResult_Pass) Reset()

func (*TestCaseResult_Pass) String

func (x *TestCaseResult_Pass) String() string

type TestCaseResult_Pass_

type TestCaseResult_Pass_ struct {
	// Set if test ran successfully and passed.
	Pass *TestCaseResult_Pass `protobuf:"bytes,3,opt,name=pass,proto3,oneof"`
}

type TestCaseResult_Skip

type TestCaseResult_Skip struct {
	// contains filtered or unexported fields
}

func (*TestCaseResult_Skip) Descriptor deprecated

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

Deprecated: Use TestCaseResult_Skip.ProtoReflect.Descriptor instead.

func (*TestCaseResult_Skip) ProtoMessage

func (*TestCaseResult_Skip) ProtoMessage()

func (*TestCaseResult_Skip) ProtoReflect

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

func (*TestCaseResult_Skip) Reset

func (x *TestCaseResult_Skip) Reset()

func (*TestCaseResult_Skip) String

func (x *TestCaseResult_Skip) String() string

type TestCaseResult_Skip_

type TestCaseResult_Skip_ struct {
	// Set if test was skipped due to dependency requirements.
	Skip *TestCaseResult_Skip `protobuf:"bytes,7,opt,name=skip,proto3,oneof"`
}

type TestCase_BuildDeps

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

func (*TestCase_BuildDeps) Descriptor deprecated

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

Deprecated: Use TestCase_BuildDeps.ProtoReflect.Descriptor instead.

func (*TestCase_BuildDeps) GetValue

func (x *TestCase_BuildDeps) GetValue() string

func (*TestCase_BuildDeps) ProtoMessage

func (*TestCase_BuildDeps) ProtoMessage()

func (*TestCase_BuildDeps) ProtoReflect

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

func (*TestCase_BuildDeps) Reset

func (x *TestCase_BuildDeps) Reset()

func (*TestCase_BuildDeps) String

func (x *TestCase_BuildDeps) String() string

type TestCase_Dependency

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

func (*TestCase_Dependency) Descriptor deprecated

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

Deprecated: Use TestCase_Dependency.ProtoReflect.Descriptor instead.

func (*TestCase_Dependency) GetValue

func (x *TestCase_Dependency) GetValue() string

func (*TestCase_Dependency) ProtoMessage

func (*TestCase_Dependency) ProtoMessage()

func (*TestCase_Dependency) ProtoReflect

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

func (*TestCase_Dependency) Reset

func (x *TestCase_Dependency) Reset()

func (*TestCase_Dependency) String

func (x *TestCase_Dependency) String() string

type TestCase_Id

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

func (*TestCase_Id) Descriptor deprecated

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

Deprecated: Use TestCase_Id.ProtoReflect.Descriptor instead.

func (*TestCase_Id) GetValue

func (x *TestCase_Id) GetValue() string

func (*TestCase_Id) ProtoMessage

func (*TestCase_Id) ProtoMessage()

func (*TestCase_Id) ProtoReflect

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

func (*TestCase_Id) Reset

func (x *TestCase_Id) Reset()

func (*TestCase_Id) String

func (x *TestCase_Id) String() string

type TestCase_Tag

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

func (*TestCase_Tag) Descriptor deprecated

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

Deprecated: Use TestCase_Tag.ProtoReflect.Descriptor instead.

func (*TestCase_Tag) GetValue

func (x *TestCase_Tag) GetValue() string

func (*TestCase_Tag) ProtoMessage

func (*TestCase_Tag) ProtoMessage()

func (*TestCase_Tag) ProtoReflect

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

func (*TestCase_Tag) Reset

func (x *TestCase_Tag) Reset()

func (*TestCase_Tag) String

func (x *TestCase_Tag) String() string

type TestFinderServiceClient

type TestFinderServiceClient interface {
	// FindTests finds test associated with the provided input.
	FindTests(ctx context.Context, in *CrosTestFinderRequest, opts ...grpc.CallOption) (*CrosTestFinderResponse, error)
}

TestFinderServiceClient is the client API for TestFinderService 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 TestFinderServiceServer

type TestFinderServiceServer interface {
	// FindTests finds test associated with the provided input.
	FindTests(context.Context, *CrosTestFinderRequest) (*CrosTestFinderResponse, error)
}

TestFinderServiceServer is the server API for TestFinderService service. All implementations should embed UnimplementedTestFinderServiceServer for forward compatibility

type TestHarness

type TestHarness struct {

	// Globally unique (for ChromeOS) identifier of a given test harness
	//
	// Types that are assignable to TestHarnessType:
	//	*TestHarness_Manual_
	//	*TestHarness_Tauto_
	//	*TestHarness_Tast_
	//	*TestHarness_Gtest_
	//	*TestHarness_Mobly_
	//	*TestHarness_Crosier_
	TestHarnessType isTestHarness_TestHarnessType `protobuf_oneof:"test_harness_type"`
	// contains filtered or unexported fields
}

Defines a test execution framework that can execute test cases and report results.

func (*TestHarness) Descriptor deprecated

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

Deprecated: Use TestHarness.ProtoReflect.Descriptor instead.

func (*TestHarness) GetCrosier

func (x *TestHarness) GetCrosier() *TestHarness_Crosier

func (*TestHarness) GetGtest

func (x *TestHarness) GetGtest() *TestHarness_Gtest

func (*TestHarness) GetManual

func (x *TestHarness) GetManual() *TestHarness_Manual

func (*TestHarness) GetMobly

func (x *TestHarness) GetMobly() *TestHarness_Mobly

func (*TestHarness) GetTast

func (x *TestHarness) GetTast() *TestHarness_Tast

func (*TestHarness) GetTauto

func (x *TestHarness) GetTauto() *TestHarness_Tauto

func (*TestHarness) GetTestHarnessType

func (m *TestHarness) GetTestHarnessType() isTestHarness_TestHarnessType

func (*TestHarness) ProtoMessage

func (*TestHarness) ProtoMessage()

func (*TestHarness) ProtoReflect

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

func (*TestHarness) Reset

func (x *TestHarness) Reset()

func (*TestHarness) String

func (x *TestHarness) String() string

type TestHarness_Crosier

type TestHarness_Crosier struct {
	// contains filtered or unexported fields
}

func (*TestHarness_Crosier) Descriptor deprecated

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

Deprecated: Use TestHarness_Crosier.ProtoReflect.Descriptor instead.

func (*TestHarness_Crosier) ProtoMessage

func (*TestHarness_Crosier) ProtoMessage()

func (*TestHarness_Crosier) ProtoReflect

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

func (*TestHarness_Crosier) Reset

func (x *TestHarness_Crosier) Reset()

func (*TestHarness_Crosier) String

func (x *TestHarness_Crosier) String() string

type TestHarness_Crosier_

type TestHarness_Crosier_ struct {
	Crosier *TestHarness_Crosier `protobuf:"bytes,6,opt,name=crosier,proto3,oneof"`
}

type TestHarness_Gtest

type TestHarness_Gtest struct {

	// Location of the test binary on the DUT
	TargetBinLocation string `protobuf:"bytes,1,opt,name=target_bin_location,json=targetBinLocation,proto3" json:"target_bin_location,omitempty"`
	// contains filtered or unexported fields
}

func (*TestHarness_Gtest) Descriptor deprecated

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

Deprecated: Use TestHarness_Gtest.ProtoReflect.Descriptor instead.

func (*TestHarness_Gtest) GetTargetBinLocation

func (x *TestHarness_Gtest) GetTargetBinLocation() string

func (*TestHarness_Gtest) ProtoMessage

func (*TestHarness_Gtest) ProtoMessage()

func (*TestHarness_Gtest) ProtoReflect

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

func (*TestHarness_Gtest) Reset

func (x *TestHarness_Gtest) Reset()

func (*TestHarness_Gtest) String

func (x *TestHarness_Gtest) String() string

type TestHarness_Gtest_

type TestHarness_Gtest_ struct {
	Gtest *TestHarness_Gtest `protobuf:"bytes,4,opt,name=gtest,proto3,oneof"`
}

type TestHarness_Manual

type TestHarness_Manual struct {
	// contains filtered or unexported fields
}

func (*TestHarness_Manual) Descriptor deprecated

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

Deprecated: Use TestHarness_Manual.ProtoReflect.Descriptor instead.

func (*TestHarness_Manual) ProtoMessage

func (*TestHarness_Manual) ProtoMessage()

func (*TestHarness_Manual) ProtoReflect

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

func (*TestHarness_Manual) Reset

func (x *TestHarness_Manual) Reset()

func (*TestHarness_Manual) String

func (x *TestHarness_Manual) String() string

type TestHarness_Manual_

type TestHarness_Manual_ struct {
	Manual *TestHarness_Manual `protobuf:"bytes,1,opt,name=manual,proto3,oneof"`
}

type TestHarness_Mobly

type TestHarness_Mobly struct {
	// contains filtered or unexported fields
}

func (*TestHarness_Mobly) Descriptor deprecated

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

Deprecated: Use TestHarness_Mobly.ProtoReflect.Descriptor instead.

func (*TestHarness_Mobly) ProtoMessage

func (*TestHarness_Mobly) ProtoMessage()

func (*TestHarness_Mobly) ProtoReflect

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

func (*TestHarness_Mobly) Reset

func (x *TestHarness_Mobly) Reset()

func (*TestHarness_Mobly) String

func (x *TestHarness_Mobly) String() string

type TestHarness_Mobly_

type TestHarness_Mobly_ struct {
	Mobly *TestHarness_Mobly `protobuf:"bytes,5,opt,name=mobly,proto3,oneof"`
}

type TestHarness_Tast

type TestHarness_Tast struct {
	// contains filtered or unexported fields
}

func (*TestHarness_Tast) Descriptor deprecated

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

Deprecated: Use TestHarness_Tast.ProtoReflect.Descriptor instead.

func (*TestHarness_Tast) ProtoMessage

func (*TestHarness_Tast) ProtoMessage()

func (*TestHarness_Tast) ProtoReflect

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

func (*TestHarness_Tast) Reset

func (x *TestHarness_Tast) Reset()

func (*TestHarness_Tast) String

func (x *TestHarness_Tast) String() string

type TestHarness_Tast_

type TestHarness_Tast_ struct {
	Tast *TestHarness_Tast `protobuf:"bytes,3,opt,name=tast,proto3,oneof"`
}

type TestHarness_Tauto

type TestHarness_Tauto struct {
	// contains filtered or unexported fields
}

func (*TestHarness_Tauto) Descriptor deprecated

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

Deprecated: Use TestHarness_Tauto.ProtoReflect.Descriptor instead.

func (*TestHarness_Tauto) ProtoMessage

func (*TestHarness_Tauto) ProtoMessage()

func (*TestHarness_Tauto) ProtoReflect

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

func (*TestHarness_Tauto) Reset

func (x *TestHarness_Tauto) Reset()

func (*TestHarness_Tauto) String

func (x *TestHarness_Tauto) String() string

type TestHarness_Tauto_

type TestHarness_Tauto_ struct {
	Tauto *TestHarness_Tauto `protobuf:"bytes,2,opt,name=tauto,proto3,oneof"`
}

type TestLibsServiceClient

type TestLibsServiceClient interface {
	// StartLib starts a new docker container running for the given library.
	StartLib(ctx context.Context, in *GetLibRequest, opts ...grpc.CallOption) (*GetLibResponse, error)
	// FindLib connects to an existing docker container (or starts one if no match
	// is found).
	FindLib(ctx context.Context, in *GetLibRequest, opts ...grpc.CallOption) (*GetLibResponse, error)
	// KillLib closes a running docker container.
	KillLib(ctx context.Context, in *KillLibRequest, opts ...grpc.CallOption) (*KillLibResponse, error)
}

TestLibsServiceClient is the client API for TestLibsService 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 TestLibsServiceServer

type TestLibsServiceServer interface {
	// StartLib starts a new docker container running for the given library.
	StartLib(context.Context, *GetLibRequest) (*GetLibResponse, error)
	// FindLib connects to an existing docker container (or starts one if no match
	// is found).
	FindLib(context.Context, *GetLibRequest) (*GetLibResponse, error)
	// KillLib closes a running docker container.
	KillLib(context.Context, *KillLibRequest) (*KillLibResponse, error)
}

TestLibsServiceServer is the server API for TestLibsService service. All implementations should embed UnimplementedTestLibsServiceServer for forward compatibility

type TestSuite

type TestSuite struct {

	// Optional human friendly name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Spec:
	//	*TestSuite_TestCaseIds
	//	*TestSuite_TestCaseTagCriteria_
	//	*TestSuite_TestCases
	//	*TestSuite_TestCasesMetadata
	Spec isTestSuite_Spec `protobuf_oneof:"spec"`
	// The total number of shards to be used in a test run.
	// Currently only supported for Tast VM tests which are not run by CFT.
	TotalShards int64 `protobuf:"varint,5,opt,name=total_shards,json=totalShards,proto3" json:"total_shards,omitempty"`
	// K:Vs to be passed to the harness. Mostly will be used for args; but
	// technically can go for others.
	ExecutionMetadata *ExecutionMetadata `protobuf:"bytes,7,opt,name=execution_metadata,json=executionMetadata,proto3" json:"execution_metadata,omitempty"`
	// contains filtered or unexported fields
}

Defines a named collection of tests.

For test scheduling/execution purposes, there is no guarantee on ordering. Tests can be batched/unbatched in different sequences and can be executed on different devices altogether.

func (*TestSuite) Descriptor deprecated

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

Deprecated: Use TestSuite.ProtoReflect.Descriptor instead.

func (*TestSuite) GetExecutionMetadata

func (x *TestSuite) GetExecutionMetadata() *ExecutionMetadata

func (*TestSuite) GetName

func (x *TestSuite) GetName() string

func (*TestSuite) GetSpec

func (m *TestSuite) GetSpec() isTestSuite_Spec

func (*TestSuite) GetTestCaseIds

func (x *TestSuite) GetTestCaseIds() *TestCaseIdList

func (*TestSuite) GetTestCaseTagCriteria

func (x *TestSuite) GetTestCaseTagCriteria() *TestSuite_TestCaseTagCriteria

func (*TestSuite) GetTestCases

func (x *TestSuite) GetTestCases() *TestCaseList

func (*TestSuite) GetTestCasesMetadata

func (x *TestSuite) GetTestCasesMetadata() *TestCaseMetadataList

func (*TestSuite) GetTotalShards

func (x *TestSuite) GetTotalShards() int64

func (*TestSuite) ProtoMessage

func (*TestSuite) ProtoMessage()

func (*TestSuite) ProtoReflect

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

func (*TestSuite) Reset

func (x *TestSuite) Reset()

func (*TestSuite) String

func (x *TestSuite) String() string

type TestSuite_TestCaseIds

type TestSuite_TestCaseIds struct {
	// Explicit list of tests
	TestCaseIds *TestCaseIdList `protobuf:"bytes,2,opt,name=test_case_ids,json=testCaseIds,proto3,oneof"`
}

type TestSuite_TestCaseTagCriteria

type TestSuite_TestCaseTagCriteria struct {
	Tags             []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	TagExcludes      []string `protobuf:"bytes,2,rep,name=tag_excludes,json=tagExcludes,proto3" json:"tag_excludes,omitempty"`
	TestNames        []string `protobuf:"bytes,3,rep,name=test_names,json=testNames,proto3" json:"test_names,omitempty"`
	TestNameExcludes []string `protobuf:"bytes,4,rep,name=test_name_excludes,json=testNameExcludes,proto3" json:"test_name_excludes,omitempty"`
	// contains filtered or unexported fields
}

Defines a combination of tag and test name based selection criteria, which is applied against a list of TestCase definitions to determine test suite inclusion.

Tests are included if they meet the following:

  • MATCH ALL of the [include] tags and at least one from [include] test names
  • DO NOT MATCH ANY of the exclude tags or test names

Tags must match exactly (i.e. no regexp, wildcard, etc. allowed). Test names allow usage of wildcard.

func (*TestSuite_TestCaseTagCriteria) Descriptor deprecated

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

Deprecated: Use TestSuite_TestCaseTagCriteria.ProtoReflect.Descriptor instead.

func (*TestSuite_TestCaseTagCriteria) GetTagExcludes

func (x *TestSuite_TestCaseTagCriteria) GetTagExcludes() []string

func (*TestSuite_TestCaseTagCriteria) GetTags

func (x *TestSuite_TestCaseTagCriteria) GetTags() []string

func (*TestSuite_TestCaseTagCriteria) GetTestNameExcludes

func (x *TestSuite_TestCaseTagCriteria) GetTestNameExcludes() []string

func (*TestSuite_TestCaseTagCriteria) GetTestNames

func (x *TestSuite_TestCaseTagCriteria) GetTestNames() []string

func (*TestSuite_TestCaseTagCriteria) ProtoMessage

func (*TestSuite_TestCaseTagCriteria) ProtoMessage()

func (*TestSuite_TestCaseTagCriteria) ProtoReflect

func (*TestSuite_TestCaseTagCriteria) Reset

func (x *TestSuite_TestCaseTagCriteria) Reset()

func (*TestSuite_TestCaseTagCriteria) String

type TestSuite_TestCaseTagCriteria_

type TestSuite_TestCaseTagCriteria_ struct {
	// Tests are included via tag inclusion/exclusion criteria.
	TestCaseTagCriteria *TestSuite_TestCaseTagCriteria `protobuf:"bytes,3,opt,name=test_case_tag_criteria,json=testCaseTagCriteria,proto3,oneof"`
}

type TestSuite_TestCases

type TestSuite_TestCases struct {
	// List of all test_cases
	TestCases *TestCaseList `protobuf:"bytes,4,opt,name=test_cases,json=testCases,proto3,oneof"`
}

type TestSuite_TestCasesMetadata

type TestSuite_TestCasesMetadata struct {
	// List of TestCaseMetadata which is list of test case with metadata.
	TestCasesMetadata *TestCaseMetadataList `protobuf:"bytes,6,opt,name=test_cases_metadata,json=testCasesMetadata,proto3,oneof"`
}

type TestTask

type TestTask struct {
	ServiceAddress *api1.IpEndpoint `protobuf:"bytes,1,opt,name=service_address,json=serviceAddress,proto3" json:"service_address,omitempty"`
	TestRequest    *CrosTestRequest `protobuf:"bytes,2,opt,name=test_request,json=testRequest,proto3" json:"test_request,omitempty"`
	DynamicDeps    []*DynamicDep    `protobuf:"bytes,3,rep,name=dynamic_deps,json=dynamicDeps,proto3" json:"dynamic_deps,omitempty"`
	// Task identifier for cross-referencing within dynamic dependencies.
	DynamicIdentifier string `protobuf:"bytes,4,opt,name=dynamic_identifier,json=dynamicIdentifier,proto3" json:"dynamic_identifier,omitempty"`
	// contains filtered or unexported fields
}

TestTask targets requests towards services that implement the ExecutionService.

func (*TestTask) Descriptor deprecated

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

Deprecated: Use TestTask.ProtoReflect.Descriptor instead.

func (*TestTask) GetDynamicDeps

func (x *TestTask) GetDynamicDeps() []*DynamicDep

func (*TestTask) GetDynamicIdentifier

func (x *TestTask) GetDynamicIdentifier() string

func (*TestTask) GetServiceAddress

func (x *TestTask) GetServiceAddress() *api1.IpEndpoint

func (*TestTask) GetTestRequest

func (x *TestTask) GetTestRequest() *CrosTestRequest

func (*TestTask) ProtoMessage

func (*TestTask) ProtoMessage()

func (*TestTask) ProtoReflect

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

func (*TestTask) Reset

func (x *TestTask) Reset()

func (*TestTask) String

func (x *TestTask) String() string

type UnimplementedCTPv2ServiceServer

type UnimplementedCTPv2ServiceServer struct {
}

UnimplementedCTPv2ServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCTPv2ServiceServer) RequestResolver

type UnimplementedCallboxServiceServer

type UnimplementedCallboxServiceServer struct {
}

UnimplementedCallboxServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCallboxServiceServer) CheckHealth

type UnimplementedChameleonLibServiceServer

type UnimplementedChameleonLibServiceServer struct {
}

UnimplementedChameleonLibServiceServer should be embedded to have forward compatible implementations.

type UnimplementedCrosTestRunnerServiceServer

type UnimplementedCrosTestRunnerServiceServer struct {
}

UnimplementedCrosTestRunnerServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCrosTestRunnerServiceServer) Run

type UnimplementedCrosToolRunnerContainerServiceServer

type UnimplementedCrosToolRunnerContainerServiceServer struct {
}

UnimplementedCrosToolRunnerContainerServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCrosToolRunnerContainerServiceServer) CreateNetwork

func (UnimplementedCrosToolRunnerContainerServiceServer) GetContainer

func (UnimplementedCrosToolRunnerContainerServiceServer) GetNetwork

func (UnimplementedCrosToolRunnerContainerServiceServer) LoginRegistry

func (UnimplementedCrosToolRunnerContainerServiceServer) Shutdown

func (UnimplementedCrosToolRunnerContainerServiceServer) StackCommands

func (UnimplementedCrosToolRunnerContainerServiceServer) StartContainer

func (UnimplementedCrosToolRunnerContainerServiceServer) StartTemplatedContainer

type UnimplementedDeviceLeaseServiceServer

type UnimplementedDeviceLeaseServiceServer struct {
}

UnimplementedDeviceLeaseServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedDeviceLeaseServiceServer) ExtendLease

func (UnimplementedDeviceLeaseServiceServer) GetDevice

func (UnimplementedDeviceLeaseServiceServer) LeaseDevice

func (UnimplementedDeviceLeaseServiceServer) ListDevices

func (UnimplementedDeviceLeaseServiceServer) ReleaseDevice

type UnimplementedDutServiceServer

type UnimplementedDutServiceServer struct {
}

UnimplementedDutServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedDutServiceServer) Cache

func (UnimplementedDutServiceServer) ExecCommand

func (UnimplementedDutServiceServer) FetchCrashes

func (UnimplementedDutServiceServer) FetchFile

func (UnimplementedDutServiceServer) ForceReconnect

func (UnimplementedDutServiceServer) Restart

type UnimplementedExecutionServiceServer

type UnimplementedExecutionServiceServer struct {
}

UnimplementedExecutionServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedExecutionServiceServer) RunTests

type UnimplementedGenericFilterServiceServer

type UnimplementedGenericFilterServiceServer struct {
}

UnimplementedGenericFilterServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGenericFilterServiceServer) Execute

type UnimplementedGenericProvisionServiceServer

type UnimplementedGenericProvisionServiceServer struct {
}

UnimplementedGenericProvisionServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGenericProvisionServiceServer) Install

func (UnimplementedGenericProvisionServiceServer) StartUp

type UnimplementedGenericPublishServiceServer

type UnimplementedGenericPublishServiceServer struct {
}

UnimplementedGenericPublishServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGenericPublishServiceServer) Publish

type UnimplementedGenericServiceServer

type UnimplementedGenericServiceServer struct {
}

UnimplementedGenericServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGenericServiceServer) Run

func (UnimplementedGenericServiceServer) Start

func (UnimplementedGenericServiceServer) Stop

type UnimplementedPostTestServiceServer

type UnimplementedPostTestServiceServer struct {
}

UnimplementedPostTestServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPostTestServiceServer) RunActivity

type UnimplementedPreTestServiceServer

type UnimplementedPreTestServiceServer struct {
}

UnimplementedPreTestServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPreTestServiceServer) FilterFlakyTests

type UnimplementedProvisionServiceServer

type UnimplementedProvisionServiceServer struct {
}

UnimplementedProvisionServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProvisionServiceServer) InstallArc

func (UnimplementedProvisionServiceServer) InstallAsh

func (UnimplementedProvisionServiceServer) InstallCros

func (UnimplementedProvisionServiceServer) InstallFirmware

func (UnimplementedProvisionServiceServer) InstallLacros

type UnimplementedPublishServiceServer

type UnimplementedPublishServiceServer struct {
}

UnimplementedPublishServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPublishServiceServer) UploadToGS

type UnimplementedServodServiceServer

type UnimplementedServodServiceServer struct {
}

UnimplementedServodServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedServodServiceServer) CallServod

func (UnimplementedServodServiceServer) ExecCmd

func (UnimplementedServodServiceServer) StartServod

func (UnimplementedServodServiceServer) StopServod

type UnimplementedTestFinderServiceServer

type UnimplementedTestFinderServiceServer struct {
}

UnimplementedTestFinderServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTestFinderServiceServer) FindTests

type UnimplementedTestLibsServiceServer

type UnimplementedTestLibsServiceServer struct {
}

UnimplementedTestLibsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTestLibsServiceServer) FindLib

func (UnimplementedTestLibsServiceServer) KillLib

func (UnimplementedTestLibsServiceServer) StartLib

type UnimplementedVMLeaserServiceServer

type UnimplementedVMLeaserServiceServer struct {
}

UnimplementedVMLeaserServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedVMLeaserServiceServer) ExtendLease

func (UnimplementedVMLeaserServiceServer) ImportImage

func (UnimplementedVMLeaserServiceServer) LeaseVM

func (UnimplementedVMLeaserServiceServer) ListLeases

func (UnimplementedVMLeaserServiceServer) ReleaseVM

type UnsafeCTPv2ServiceServer

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

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

type UnsafeCallboxServiceServer

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

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

type UnsafeChameleonLibServiceServer

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

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

type UnsafeCrosTestRunnerServiceServer

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

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

type UnsafeCrosToolRunnerContainerServiceServer

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

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

type UnsafeDeviceLeaseServiceServer

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

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

type UnsafeDutServiceServer

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

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

type UnsafeExecutionServiceServer

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

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

type UnsafeGenericFilterServiceServer

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

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

type UnsafeGenericProvisionServiceServer

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

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

type UnsafeGenericPublishServiceServer

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

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

type UnsafeGenericServiceServer

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

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

type UnsafePostTestServiceServer

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

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

type UnsafePreTestServiceServer

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

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

type UnsafeProvisionServiceServer

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

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

type UnsafePublishServiceServer

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

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

type UnsafeServodServiceServer

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

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

type UnsafeTestFinderServiceServer

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

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

type UnsafeTestLibsServiceServer

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

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

type UnsafeVMLeaserServiceServer

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

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

type UpdateAction

type UpdateAction struct {

	// Types that are assignable to Action:
	//	*UpdateAction_Insert_
	//	*UpdateAction_Remove_
	//	*UpdateAction_Modify_
	Action isUpdateAction_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

UpdateAction describes what action will be taken around the focal task.

func (*UpdateAction) Descriptor deprecated

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

Deprecated: Use UpdateAction.ProtoReflect.Descriptor instead.

func (*UpdateAction) GetAction

func (m *UpdateAction) GetAction() isUpdateAction_Action

func (*UpdateAction) GetInsert

func (x *UpdateAction) GetInsert() *UpdateAction_Insert

func (*UpdateAction) GetModify

func (x *UpdateAction) GetModify() *UpdateAction_Modify

func (*UpdateAction) GetRemove

func (x *UpdateAction) GetRemove() *UpdateAction_Remove

func (*UpdateAction) ProtoMessage

func (*UpdateAction) ProtoMessage()

func (*UpdateAction) ProtoReflect

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

func (*UpdateAction) Reset

func (x *UpdateAction) Reset()

func (*UpdateAction) String

func (x *UpdateAction) String() string

type UpdateAction_Insert

type UpdateAction_Insert struct {
	InsertType UpdateAction_Insert_InsertType `` /* 148-byte string literal not displayed */
	// Task payload that will be inserted into the task list.
	Task *CrosTestRunnerDynamicRequest_Task `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
	// contains filtered or unexported fields
}

Insert places the entire task provided within the ordered task list based on the insert type.

func (*UpdateAction_Insert) Descriptor deprecated

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

Deprecated: Use UpdateAction_Insert.ProtoReflect.Descriptor instead.

func (*UpdateAction_Insert) GetInsertType

func (*UpdateAction_Insert) GetTask

func (*UpdateAction_Insert) ProtoMessage

func (*UpdateAction_Insert) ProtoMessage()

func (*UpdateAction_Insert) ProtoReflect

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

func (*UpdateAction_Insert) Reset

func (x *UpdateAction_Insert) Reset()

func (*UpdateAction_Insert) String

func (x *UpdateAction_Insert) String() string

type UpdateAction_Insert_

type UpdateAction_Insert_ struct {
	Insert *UpdateAction_Insert `protobuf:"bytes,1,opt,name=insert,proto3,oneof"`
}

type UpdateAction_Insert_InsertType

type UpdateAction_Insert_InsertType int32

InsertType describes how the task should be placed within ordered task list around the focal task.

const (
	UpdateAction_Insert_APPEND  UpdateAction_Insert_InsertType = 0
	UpdateAction_Insert_PREPEND UpdateAction_Insert_InsertType = 1
	UpdateAction_Insert_REPLACE UpdateAction_Insert_InsertType = 2
)

func (UpdateAction_Insert_InsertType) Descriptor

func (UpdateAction_Insert_InsertType) Enum

func (UpdateAction_Insert_InsertType) EnumDescriptor deprecated

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

Deprecated: Use UpdateAction_Insert_InsertType.Descriptor instead.

func (UpdateAction_Insert_InsertType) Number

func (UpdateAction_Insert_InsertType) String

func (UpdateAction_Insert_InsertType) Type

type UpdateAction_Modify

type UpdateAction_Modify struct {

	// May bundle modifications within a single action.
	Modifications []*UpdateAction_Modify_Modification `protobuf:"bytes,1,rep,name=modifications,proto3" json:"modifications,omitempty"`
	// contains filtered or unexported fields
}

Modify deploys in-place modifications to the focal task based on the given payloads and their corresponding instructions.

func (*UpdateAction_Modify) Descriptor deprecated

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

Deprecated: Use UpdateAction_Modify.ProtoReflect.Descriptor instead.

func (*UpdateAction_Modify) GetModifications

func (x *UpdateAction_Modify) GetModifications() []*UpdateAction_Modify_Modification

func (*UpdateAction_Modify) ProtoMessage

func (*UpdateAction_Modify) ProtoMessage()

func (*UpdateAction_Modify) ProtoReflect

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

func (*UpdateAction_Modify) Reset

func (x *UpdateAction_Modify) Reset()

func (*UpdateAction_Modify) String

func (x *UpdateAction_Modify) String() string

type UpdateAction_Modify_

type UpdateAction_Modify_ struct {
	Modify *UpdateAction_Modify `protobuf:"bytes,3,opt,name=modify,proto3,oneof"`
}

type UpdateAction_Modify_Modification

type UpdateAction_Modify_Modification struct {

	// Payload is the reference object for modifying the task in-place.
	Payload *anypb.Any `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// Instructions follow the DynamicDeps formatting rules in which the
	// key represents where in the task the modification is occurring, and
	// the value represents which part of the payload is being deployed to
	// that portion of the task.
	// Note: An empty value within an instruction represents a one-to-one
	//  mapping between the type of the modified task portion and the payload.
	//
	// Example:
	//  Payload = {
	//      Value = "example string"
	//  }
	//  Instructions = {
	//      "provision.provisionRequest.target": "value"
	//  }
	Instructions map[string]string `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateAction_Modify_Modification) Descriptor deprecated

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

Deprecated: Use UpdateAction_Modify_Modification.ProtoReflect.Descriptor instead.

func (*UpdateAction_Modify_Modification) GetInstructions

func (x *UpdateAction_Modify_Modification) GetInstructions() map[string]string

func (*UpdateAction_Modify_Modification) GetPayload

func (x *UpdateAction_Modify_Modification) GetPayload() *anypb.Any

func (*UpdateAction_Modify_Modification) ProtoMessage

func (*UpdateAction_Modify_Modification) ProtoMessage()

func (*UpdateAction_Modify_Modification) ProtoReflect

func (*UpdateAction_Modify_Modification) Reset

func (*UpdateAction_Modify_Modification) String

type UpdateAction_Remove

type UpdateAction_Remove struct {
	// contains filtered or unexported fields
}

Remove will fully remove the focal task, shrinking the ordered task list by one.

func (*UpdateAction_Remove) Descriptor deprecated

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

Deprecated: Use UpdateAction_Remove.ProtoReflect.Descriptor instead.

func (*UpdateAction_Remove) ProtoMessage

func (*UpdateAction_Remove) ProtoMessage()

func (*UpdateAction_Remove) ProtoReflect

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

func (*UpdateAction_Remove) Reset

func (x *UpdateAction_Remove) Reset()

func (*UpdateAction_Remove) String

func (x *UpdateAction_Remove) String() string

type UpdateAction_Remove_

type UpdateAction_Remove_ struct {
	Remove *UpdateAction_Remove `protobuf:"bytes,2,opt,name=remove,proto3,oneof"`
}

type UploadToGSMetadata

type UploadToGSMetadata struct {
	// contains filtered or unexported fields
}

func (*UploadToGSMetadata) Descriptor deprecated

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

Deprecated: Use UploadToGSMetadata.ProtoReflect.Descriptor instead.

func (*UploadToGSMetadata) ProtoMessage

func (*UploadToGSMetadata) ProtoMessage()

func (*UploadToGSMetadata) ProtoReflect

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

func (*UploadToGSMetadata) Reset

func (x *UploadToGSMetadata) Reset()

func (*UploadToGSMetadata) String

func (x *UploadToGSMetadata) String() string

type UploadToGSRequest

type UploadToGSRequest struct {

	// GS path to upload to, e.g. gs://foo/bar/baz/
	GsDirectory string `protobuf:"bytes,1,opt,name=gs_directory,json=gsDirectory,proto3" json:"gs_directory,omitempty"`
	// Absolute path to local directory to upload to GS, e.g. /usr/local/foo/bar
	LocalDirectory string `protobuf:"bytes,2,opt,name=local_directory,json=localDirectory,proto3" json:"local_directory,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadToGSRequest) Descriptor deprecated

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

Deprecated: Use UploadToGSRequest.ProtoReflect.Descriptor instead.

func (*UploadToGSRequest) GetGsDirectory

func (x *UploadToGSRequest) GetGsDirectory() string

func (*UploadToGSRequest) GetLocalDirectory

func (x *UploadToGSRequest) GetLocalDirectory() string

func (*UploadToGSRequest) ProtoMessage

func (*UploadToGSRequest) ProtoMessage()

func (*UploadToGSRequest) ProtoReflect

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

func (*UploadToGSRequest) Reset

func (x *UploadToGSRequest) Reset()

func (*UploadToGSRequest) String

func (x *UploadToGSRequest) String() string

type UploadToGSResponse

type UploadToGSResponse struct {

	// URL of Google Storage location containing offloaded files
	GsUrl string `protobuf:"bytes,1,opt,name=gs_url,json=gsUrl,proto3" json:"gs_url,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadToGSResponse) Descriptor deprecated

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

Deprecated: Use UploadToGSResponse.ProtoReflect.Descriptor instead.

func (*UploadToGSResponse) GetGsUrl

func (x *UploadToGSResponse) GetGsUrl() string

func (*UploadToGSResponse) ProtoMessage

func (*UploadToGSResponse) ProtoMessage()

func (*UploadToGSResponse) ProtoReflect

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

func (*UploadToGSResponse) Reset

func (x *UploadToGSResponse) Reset()

func (*UploadToGSResponse) String

func (x *UploadToGSResponse) String() string

type UserDefinedDynamicUpdate

type UserDefinedDynamicUpdate struct {
	FocalTaskFinder *FocalTaskFinder `protobuf:"bytes,1,opt,name=focal_task_finder,json=focalTaskFinder,proto3" json:"focal_task_finder,omitempty"`
	UpdateAction    *UpdateAction    `protobuf:"bytes,2,opt,name=update_action,json=updateAction,proto3" json:"update_action,omitempty"`
	// contains filtered or unexported fields
}

UserDefinedDynamicUpdate is what updates a dynamic trv2 request.

func (*UserDefinedDynamicUpdate) Descriptor deprecated

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

Deprecated: Use UserDefinedDynamicUpdate.ProtoReflect.Descriptor instead.

func (*UserDefinedDynamicUpdate) GetFocalTaskFinder

func (x *UserDefinedDynamicUpdate) GetFocalTaskFinder() *FocalTaskFinder

func (*UserDefinedDynamicUpdate) GetUpdateAction

func (x *UserDefinedDynamicUpdate) GetUpdateAction() *UpdateAction

func (*UserDefinedDynamicUpdate) ProtoMessage

func (*UserDefinedDynamicUpdate) ProtoMessage()

func (*UserDefinedDynamicUpdate) ProtoReflect

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

func (*UserDefinedDynamicUpdate) Reset

func (x *UserDefinedDynamicUpdate) Reset()

func (*UserDefinedDynamicUpdate) String

func (x *UserDefinedDynamicUpdate) String() string

type VM

type VM struct {
	Id             string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address        *VMAddress             `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Type           VMType                 `protobuf:"varint,3,opt,name=type,proto3,enum=chromiumos.test.api.VMType" json:"type,omitempty"`
	GceRegion      string                 `protobuf:"bytes,4,opt,name=gce_region,json=gceRegion,proto3" json:"gce_region,omitempty"`
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// contains filtered or unexported fields
}

func (*VM) Descriptor deprecated

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

Deprecated: Use VM.ProtoReflect.Descriptor instead.

func (*VM) GetAddress

func (x *VM) GetAddress() *VMAddress

func (*VM) GetExpirationTime

func (x *VM) GetExpirationTime() *timestamppb.Timestamp

func (*VM) GetGceRegion

func (x *VM) GetGceRegion() string

func (*VM) GetId

func (x *VM) GetId() string

func (*VM) GetType

func (x *VM) GetType() VMType

func (*VM) ProtoMessage

func (*VM) ProtoMessage()

func (*VM) ProtoReflect

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

func (*VM) Reset

func (x *VM) Reset()

func (*VM) String

func (x *VM) String() string

type VMAddress

type VMAddress struct {

	// IP address of the device.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*VMAddress) Descriptor deprecated

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

Deprecated: Use VMAddress.ProtoReflect.Descriptor instead.

func (*VMAddress) GetHost

func (x *VMAddress) GetHost() string

func (*VMAddress) GetPort

func (x *VMAddress) GetPort() int32

func (*VMAddress) ProtoMessage

func (*VMAddress) ProtoMessage()

func (*VMAddress) ProtoReflect

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

func (*VMAddress) Reset

func (x *VMAddress) Reset()

func (*VMAddress) String

func (x *VMAddress) String() string

type VMLeaserServiceClient

type VMLeaserServiceClient interface {
	// Creates a lease record and returns a VM.
	LeaseVM(ctx context.Context, in *LeaseVMRequest, opts ...grpc.CallOption) (*LeaseVMResponse, error)
	// Releases a lease for a VM.
	ReleaseVM(ctx context.Context, in *ReleaseVMRequest, opts ...grpc.CallOption) (*ReleaseVMResponse, error)
	// Extends a lease for a VM.
	ExtendLease(ctx context.Context, in *ExtendLeaseRequest, opts ...grpc.CallOption) (*ExtendLeaseResponse, error)
	// Lists the current VM leases.
	ListLeases(ctx context.Context, in *ListLeasesRequest, opts ...grpc.CallOption) (*ListLeasesResponse, error)
	// Imports a VM custom image.
	ImportImage(ctx context.Context, in *ImportImageRequest, opts ...grpc.CallOption) (*ImportImageResponse, error)
}

VMLeaserServiceClient is the client API for VMLeaserService 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 VMLeaserServiceServer

type VMLeaserServiceServer interface {
	// Creates a lease record and returns a VM.
	LeaseVM(context.Context, *LeaseVMRequest) (*LeaseVMResponse, error)
	// Releases a lease for a VM.
	ReleaseVM(context.Context, *ReleaseVMRequest) (*ReleaseVMResponse, error)
	// Extends a lease for a VM.
	ExtendLease(context.Context, *ExtendLeaseRequest) (*ExtendLeaseResponse, error)
	// Lists the current VM leases.
	ListLeases(context.Context, *ListLeasesRequest) (*ListLeasesResponse, error)
	// Imports a VM custom image.
	ImportImage(context.Context, *ImportImageRequest) (*ImportImageResponse, error)
}

VMLeaserServiceServer is the server API for VMLeaserService service. All implementations should embed UnimplementedVMLeaserServiceServer for forward compatibility

type VMRequirements

type VMRequirements struct {
	GceImage   string `protobuf:"bytes,1,opt,name=gce_image,json=gceImage,proto3" json:"gce_image,omitempty"`
	GceRegion  string `protobuf:"bytes,2,opt,name=gce_region,json=gceRegion,proto3" json:"gce_region,omitempty"`
	GceProject string `protobuf:"bytes,3,opt,name=gce_project,json=gceProject,proto3" json:"gce_project,omitempty"`
	// Networking-related params
	GceNetwork               string `protobuf:"bytes,4,opt,name=gce_network,json=gceNetwork,proto3" json:"gce_network,omitempty"`
	GceSubnet                string `protobuf:"bytes,5,opt,name=gce_subnet,json=gceSubnet,proto3" json:"gce_subnet,omitempty"`
	SubnetModeNetworkEnabled bool   `` /* 139-byte string literal not displayed */
	GceMachineType           string `protobuf:"bytes,6,opt,name=gce_machine_type,json=gceMachineType,proto3" json:"gce_machine_type,omitempty"`
	GceScope                 string `protobuf:"bytes,7,opt,name=gce_scope,json=gceScope,proto3" json:"gce_scope,omitempty"`
	// Specified IP address for VM. If not, use ephemeral IP.
	GceIpAddress      string `protobuf:"bytes,8,opt,name=gce_ip_address,json=gceIpAddress,proto3" json:"gce_ip_address,omitempty"`
	GceDiskSize       int64  `protobuf:"varint,10,opt,name=gce_disk_size,json=gceDiskSize,proto3" json:"gce_disk_size,omitempty"`
	GceMinCpuPlatform string `protobuf:"bytes,12,opt,name=gce_min_cpu_platform,json=gceMinCpuPlatform,proto3" json:"gce_min_cpu_platform,omitempty"`
	Type              VMType `protobuf:"varint,9,opt,name=type,proto3,enum=chromiumos.test.api.VMType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

NEXT TAG: 13

func (*VMRequirements) Descriptor deprecated

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

Deprecated: Use VMRequirements.ProtoReflect.Descriptor instead.

func (*VMRequirements) GetGceDiskSize

func (x *VMRequirements) GetGceDiskSize() int64

func (*VMRequirements) GetGceImage

func (x *VMRequirements) GetGceImage() string

func (*VMRequirements) GetGceIpAddress

func (x *VMRequirements) GetGceIpAddress() string

func (*VMRequirements) GetGceMachineType

func (x *VMRequirements) GetGceMachineType() string

func (*VMRequirements) GetGceMinCpuPlatform

func (x *VMRequirements) GetGceMinCpuPlatform() string

func (*VMRequirements) GetGceNetwork

func (x *VMRequirements) GetGceNetwork() string

func (*VMRequirements) GetGceProject

func (x *VMRequirements) GetGceProject() string

func (*VMRequirements) GetGceRegion

func (x *VMRequirements) GetGceRegion() string

func (*VMRequirements) GetGceScope

func (x *VMRequirements) GetGceScope() string

func (*VMRequirements) GetGceSubnet

func (x *VMRequirements) GetGceSubnet() string

func (*VMRequirements) GetSubnetModeNetworkEnabled

func (x *VMRequirements) GetSubnetModeNetworkEnabled() bool

func (*VMRequirements) GetType

func (x *VMRequirements) GetType() VMType

func (*VMRequirements) ProtoMessage

func (*VMRequirements) ProtoMessage()

func (*VMRequirements) ProtoReflect

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

func (*VMRequirements) Reset

func (x *VMRequirements) Reset()

func (*VMRequirements) String

func (x *VMRequirements) String() string

type VMTestingClient

type VMTestingClient int32

VMTestingClient specifies who the caller is (e.g. ChromeOS, Android, etc.)

const (
	VMTestingClient_VM_TESTING_CLIENT_UNSPECIFIED VMTestingClient = 0
	VMTestingClient_VM_TESTING_CLIENT_CHROMEOS    VMTestingClient = 1
	VMTestingClient_VM_TESTING_CLIENT_CROSFLEET   VMTestingClient = 2
)

func (VMTestingClient) Descriptor

func (VMTestingClient) Enum

func (x VMTestingClient) Enum() *VMTestingClient

func (VMTestingClient) EnumDescriptor deprecated

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

Deprecated: Use VMTestingClient.Descriptor instead.

func (VMTestingClient) Number

func (VMTestingClient) String

func (x VMTestingClient) String() string

func (VMTestingClient) Type

type VMType

type VMType int32

VMType specifies the type of VM that is requested and will be created.

const (
	VMType_VM_TYPE_UNSPECIFIED VMType = 0
	VMType_VM_TYPE_DUT         VMType = 1
	VMType_VM_TYPE_DRONE       VMType = 2
)

func (VMType) Descriptor

func (VMType) Descriptor() protoreflect.EnumDescriptor

func (VMType) Enum

func (x VMType) Enum() *VMType

func (VMType) EnumDescriptor deprecated

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

Deprecated: Use VMType.Descriptor instead.

func (VMType) Number

func (x VMType) Number() protoreflect.EnumNumber

func (VMType) String

func (x VMType) String() string

func (VMType) Type

func (VMType) Type() protoreflect.EnumType

type VmInstance

type VmInstance struct {

	// A unique identifier of the VM that can identify the VM among all configs.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The AddressPort information for SSH.
	Ssh *AddressPort `protobuf:"bytes,2,opt,name=ssh,proto3" json:"ssh,omitempty"`
	// Configuration used to create the instance.
	Config *Config `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

VMInstance represents a created VM instance.

func (*VmInstance) Descriptor deprecated

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

Deprecated: Use VmInstance.ProtoReflect.Descriptor instead.

func (*VmInstance) GetConfig

func (x *VmInstance) GetConfig() *Config

func (*VmInstance) GetName

func (x *VmInstance) GetName() string

func (*VmInstance) GetSsh

func (x *VmInstance) GetSsh() *AddressPort

func (*VmInstance) ProtoMessage

func (*VmInstance) ProtoMessage()

func (*VmInstance) ProtoReflect

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

func (*VmInstance) Reset

func (x *VmInstance) Reset()

func (*VmInstance) String

func (x *VmInstance) String() string

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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