Documentation
¶
Index ¶
- Variables
- type ADSEntry
- func (*ADSEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ADSEntry) GetData() []byte
- func (x *ADSEntry) GetDigest() string
- func (x *ADSEntry) GetName() string
- func (*ADSEntry) ProtoMessage()
- func (x *ADSEntry) ProtoReflect() protoreflect.Message
- func (x *ADSEntry) Reset()
- func (x *ADSEntry) String() string
- type Manifest
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAds() []*ADSEntry
- func (x *Resource) GetDigest() []string
- func (x *Resource) GetGid() int64
- func (x *Resource) GetGroup() stringdeprecated
- func (x *Resource) GetMajor() uint64
- func (x *Resource) GetMinor() uint64
- func (x *Resource) GetMode() uint32
- func (x *Resource) GetPath() []string
- func (x *Resource) GetSize() uint64
- func (x *Resource) GetTarget() string
- func (x *Resource) GetUid() int64
- func (x *Resource) GetUser() stringdeprecated
- func (x *Resource) GetXattr() []*XAttr
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type XAttr
Constants ¶
This section is empty.
Variables ¶
View Source
var File_manifest_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ADSEntry ¶
type ADSEntry struct { // Name specifices the stream name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data specifies the stream data. // See also the description about the digest below. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Digest is a CAS representation of the stream data. // // At least one of data or digest MUST be specified, and either one of them // SHOULD be specified. // // How to access the actual data using the digest is implementation-specific, // and implementations can choose not to implement digest. // So, digest SHOULD be used only when the stream data is large. Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
ADSEntry encodes information for a Windows Alternate Data Stream.
func (*ADSEntry) Descriptor
deprecated
func (*ADSEntry) ProtoMessage ¶
func (*ADSEntry) ProtoMessage()
func (*ADSEntry) ProtoReflect ¶ added in v0.3.0
func (x *ADSEntry) ProtoReflect() protoreflect.Message
type Manifest ¶
type Manifest struct { Resource []*Resource `protobuf:"bytes,1,rep,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
Manifest specifies the entries in a container bundle, keyed and sorted by path.
func (*Manifest) Descriptor
deprecated
func (*Manifest) GetResource ¶
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) ProtoReflect ¶ added in v0.3.0
func (x *Manifest) ProtoReflect() protoreflect.Message
type Resource ¶
type Resource struct { // Path specifies the path from the bundle root. If more than one // path is present, the entry may represent a hardlink, rather than using // a link target. The path format is operating system specific. Path []string `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"` // Uid specifies the user id for the resource. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` // Gid specifies the group id for the resource. Gid int64 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"` // user and group are not currently used but their field numbers have been // reserved for future use. As such, they are marked as deprecated. // // Deprecated: Do not use. User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // "deprecated" stands for "reserved" here // Deprecated: Do not use. Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` // "deprecated" stands for "reserved" here // Mode defines the file mode and permissions. We've used the same // bit-packing from Go's os package, // http://golang.org/pkg/os/#FileMode, since they've done the work of // creating a cross-platform layout. Mode uint32 `protobuf:"varint,6,opt,name=mode,proto3" json:"mode,omitempty"` // Size specifies the size in bytes of the resource. This is only valid // for regular files. Size uint64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` // Digest specifies the content digest of the target file. Only valid for // regular files. The strings are formatted in OCI style, i.e. <alg>:<encoded>. // For detailed information about the format, please refer to OCI Image Spec: // https://github.com/opencontainers/image-spec/blob/master/descriptor.md#digests-and-verification // The digests are sorted in lexical order and implementations may choose // which algorithms they prefer. Digest []string `protobuf:"bytes,8,rep,name=digest,proto3" json:"digest,omitempty"` // Target defines the target of a hard or soft link. Absolute links start // with a slash and specify the resource relative to the bundle root. // Relative links do not start with a slash and are relative to the // resource path. Target string `protobuf:"bytes,9,opt,name=target,proto3" json:"target,omitempty"` // Major specifies the major device number for character and block devices. Major uint64 `protobuf:"varint,10,opt,name=major,proto3" json:"major,omitempty"` // Minor specifies the minor device number for character and block devices. Minor uint64 `protobuf:"varint,11,opt,name=minor,proto3" json:"minor,omitempty"` // Xattr provides storage for extended attributes for the target resource. Xattr []*XAttr `protobuf:"bytes,12,rep,name=xattr,proto3" json:"xattr,omitempty"` // Ads stores one or more alternate data streams for the target resource. Ads []*ADSEntry `protobuf:"bytes,13,rep,name=ads,proto3" json:"ads,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶ added in v0.3.0
func (x *Resource) ProtoReflect() protoreflect.Message
type XAttr ¶
type XAttr struct { // Name specifies the attribute name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data specifies the associated data for the attribute. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
XAttr encodes extended attributes for a resource.
func (*XAttr) Descriptor
deprecated
func (*XAttr) ProtoMessage ¶
func (*XAttr) ProtoMessage()
func (*XAttr) ProtoReflect ¶ added in v0.3.0
func (x *XAttr) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.