Documentation ¶
Index ¶
- Variables
- type StoragePath
- func (*StoragePath) Descriptor() ([]byte, []int)deprecated
- func (x *StoragePath) GetHostType() StoragePath_HostType
- func (x *StoragePath) GetPath() string
- func (*StoragePath) ProtoMessage()
- func (x *StoragePath) ProtoReflect() protoreflect.Message
- func (x *StoragePath) Reset()
- func (x *StoragePath) String() string
- type StoragePath_HostType
- func (StoragePath_HostType) Descriptor() protoreflect.EnumDescriptor
- func (x StoragePath_HostType) Enum() *StoragePath_HostType
- func (StoragePath_HostType) EnumDescriptor() ([]byte, []int)deprecated
- func (x StoragePath_HostType) Number() protoreflect.EnumNumber
- func (x StoragePath_HostType) String() string
- func (StoragePath_HostType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StoragePath_HostType_name = map[int32]string{ 0: "HOSTTYPE_UNSPECIFIED", 1: "LOCAL", 2: "GS", } StoragePath_HostType_value = map[string]int32{ "HOSTTYPE_UNSPECIFIED": 0, "LOCAL": 1, "GS": 2, } )
Enum value maps for StoragePath_HostType.
View Source
var File_chromiumos_storage_path_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type StoragePath ¶
type StoragePath struct { // Host of the storage resources. HostType StoragePath_HostType `protobuf:"varint,1,opt,name=host_type,json=hostType,proto3,enum=chromiumos.StoragePath_HostType" json:"host_type,omitempty"` // Path to a directory on the host containing the resources. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Defines remote/local path to storage resources E.g. build/test artifacts, logs, telemetry, etc...
This abstraction enables consistent API usage regardless of test execution environment (local dev, managed labs, ...).
func (*StoragePath) Descriptor
deprecated
func (*StoragePath) Descriptor() ([]byte, []int)
Deprecated: Use StoragePath.ProtoReflect.Descriptor instead.
func (*StoragePath) GetHostType ¶
func (x *StoragePath) GetHostType() StoragePath_HostType
func (*StoragePath) GetPath ¶
func (x *StoragePath) GetPath() string
func (*StoragePath) ProtoMessage ¶
func (*StoragePath) ProtoMessage()
func (*StoragePath) ProtoReflect ¶
func (x *StoragePath) ProtoReflect() protoreflect.Message
func (*StoragePath) Reset ¶
func (x *StoragePath) Reset()
func (*StoragePath) String ¶
func (x *StoragePath) String() string
type StoragePath_HostType ¶
type StoragePath_HostType int32
const ( StoragePath_HOSTTYPE_UNSPECIFIED StoragePath_HostType = 0 // The resources are hosted locally. StoragePath_LOCAL StoragePath_HostType = 1 // The resources are hosted in Google Storage. StoragePath_GS StoragePath_HostType = 2 )
func (StoragePath_HostType) Descriptor ¶
func (StoragePath_HostType) Descriptor() protoreflect.EnumDescriptor
func (StoragePath_HostType) Enum ¶
func (x StoragePath_HostType) Enum() *StoragePath_HostType
func (StoragePath_HostType) EnumDescriptor
deprecated
func (StoragePath_HostType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StoragePath_HostType.Descriptor instead.
func (StoragePath_HostType) Number ¶
func (x StoragePath_HostType) Number() protoreflect.EnumNumber
func (StoragePath_HostType) String ¶
func (x StoragePath_HostType) String() string
func (StoragePath_HostType) Type ¶
func (StoragePath_HostType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.