Documentation ¶
Index ¶
- Variables
- type Asset
- func (*Asset) Descriptor() ([]byte, []int)deprecated
- func (x *Asset) GetDigest() *v2.Digest
- func (x *Asset) GetExpireAt() *timestamppb.Timestamp
- func (x *Asset) GetLastUpdated() *timestamppb.Timestamp
- func (x *Asset) GetType() Asset_AssetType
- func (*Asset) ProtoMessage()
- func (x *Asset) ProtoReflect() protoreflect.Message
- func (x *Asset) Reset()
- func (x *Asset) String() string
- type AssetReference
- func (*AssetReference) Descriptor() ([]byte, []int)deprecated
- func (x *AssetReference) GetQualifiers() []*v1.Qualifier
- func (x *AssetReference) GetUris() []string
- func (*AssetReference) ProtoMessage()
- func (x *AssetReference) ProtoReflect() protoreflect.Message
- func (x *AssetReference) Reset()
- func (x *AssetReference) String() string
- type Asset_AssetType
- func (Asset_AssetType) Descriptor() protoreflect.EnumDescriptor
- func (x Asset_AssetType) Enum() *Asset_AssetType
- func (Asset_AssetType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Asset_AssetType) Number() protoreflect.EnumNumber
- func (x Asset_AssetType) String() string
- func (Asset_AssetType) Type() protoreflect.EnumType
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) 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
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) Descriptor() protoreflect.EnumDescriptor
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 (x Asset_AssetType) Number() protoreflect.EnumNumber
func (Asset_AssetType) String ¶
func (x Asset_AssetType) String() string
func (Asset_AssetType) Type ¶
func (Asset_AssetType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.