asset

package
v0.0.0-...-4926e8e Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Asset_AssetType_name = map[int32]string{
		0: "BLOB",
		1: "DIRECTORY",
	}
	Asset_AssetType_value = map[string]int32{
		"BLOB":      0,
		"DIRECTORY": 1,
	}
)

Enum value maps for Asset_AssetType.

View Source
var File_pkg_proto_asset_asset_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Digest      *v2.Digest             `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	ExpireAt    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"`
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	Type        Asset_AssetType        `protobuf:"varint,4,opt,name=type,proto3,enum=buildbarn.asset.Asset_AssetType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Asset) Descriptor deprecated

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetDigest

func (x *Asset) GetDigest() *v2.Digest

func (*Asset) GetExpireAt

func (x *Asset) GetExpireAt() *timestamppb.Timestamp

func (*Asset) GetLastUpdated

func (x *Asset) GetLastUpdated() *timestamppb.Timestamp

func (*Asset) GetType

func (x *Asset) GetType() Asset_AssetType

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

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

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type AssetReference

type AssetReference struct {
	Uris       []string        `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
	Qualifiers []*v1.Qualifier `protobuf:"bytes,2,rep,name=qualifiers,proto3" json:"qualifiers,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetReference) Descriptor deprecated

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

Deprecated: Use AssetReference.ProtoReflect.Descriptor instead.

func (*AssetReference) GetQualifiers

func (x *AssetReference) GetQualifiers() []*v1.Qualifier

func (*AssetReference) GetUris

func (x *AssetReference) GetUris() []string

func (*AssetReference) ProtoMessage

func (*AssetReference) ProtoMessage()

func (*AssetReference) ProtoReflect

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

func (*AssetReference) Reset

func (x *AssetReference) Reset()

func (*AssetReference) String

func (x *AssetReference) String() string

type Asset_AssetType

type Asset_AssetType int32
const (
	Asset_BLOB      Asset_AssetType = 0
	Asset_DIRECTORY Asset_AssetType = 1
)

func (Asset_AssetType) Descriptor

func (Asset_AssetType) Enum

func (x Asset_AssetType) Enum() *Asset_AssetType

func (Asset_AssetType) EnumDescriptor deprecated

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

Deprecated: Use Asset_AssetType.Descriptor instead.

func (Asset_AssetType) Number

func (Asset_AssetType) String

func (x Asset_AssetType) String() string

func (Asset_AssetType) Type

Jump to

Keyboard shortcuts

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