storage_path

package module
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: 4 Imported by: 33

Documentation

Index

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) Enum

func (StoragePath_HostType) EnumDescriptor deprecated

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

Deprecated: Use StoragePath_HostType.Descriptor instead.

func (StoragePath_HostType) Number

func (StoragePath_HostType) String

func (x StoragePath_HostType) String() string

func (StoragePath_HostType) Type

Jump to

Keyboard shortcuts

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