_go

package module
Version: v0.0.0-...-7cc7851 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StoragePath_HostType_name = map[int32]string{
	0: "HOSTTYPE_UNSPECIFIED",
	1: "LOCAL",
	2: "GS",
}
View Source
var StoragePath_HostType_value = map[string]int32{
	"HOSTTYPE_UNSPECIFIED": 0,
	"LOCAL":                1,
	"GS":                   2,
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*StoragePath) GetHostType

func (m *StoragePath) GetHostType() StoragePath_HostType

func (*StoragePath) GetPath

func (m *StoragePath) GetPath() string

func (*StoragePath) ProtoMessage

func (*StoragePath) ProtoMessage()

func (*StoragePath) Reset

func (m *StoragePath) Reset()

func (*StoragePath) String

func (m *StoragePath) String() string

func (*StoragePath) XXX_DiscardUnknown

func (m *StoragePath) XXX_DiscardUnknown()

func (*StoragePath) XXX_Marshal

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

func (*StoragePath) XXX_Merge

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

func (*StoragePath) XXX_Size

func (m *StoragePath) XXX_Size() int

func (*StoragePath) XXX_Unmarshal

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

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

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

func (StoragePath_HostType) String

func (x StoragePath_HostType) String() string

Jump to

Keyboard shortcuts

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