mirror of https://github.com/k3s-io/k3s
182 lines
8.4 KiB
Go
182 lines
8.4 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: manifest.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package proto is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
manifest.proto
|
|
|
|
It has these top-level messages:
|
|
Manifest
|
|
Resource
|
|
XAttr
|
|
ADSEntry
|
|
*/
|
|
package proto
|
|
|
|
import proto1 "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto1.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto1.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// Manifest specifies the entries in a container bundle, keyed and sorted by
|
|
// path.
|
|
type Manifest struct {
|
|
Resource []*Resource `protobuf:"bytes,1,rep,name=resource" json:"resource,omitempty"`
|
|
}
|
|
|
|
func (m *Manifest) Reset() { *m = Manifest{} }
|
|
func (m *Manifest) String() string { return proto1.CompactTextString(m) }
|
|
func (*Manifest) ProtoMessage() {}
|
|
func (*Manifest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *Manifest) GetResource() []*Resource {
|
|
if m != nil {
|
|
return m.Resource
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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" json:"path,omitempty"`
|
|
// Uid specifies the user id for the resource.
|
|
Uid int64 `protobuf:"varint,2,opt,name=uid" json:"uid,omitempty"`
|
|
// Gid specifies the group id for the resource.
|
|
Gid int64 `protobuf:"varint,3,opt,name=gid" 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.
|
|
User string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
|
|
Group string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"`
|
|
// 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" 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" 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" 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" json:"target,omitempty"`
|
|
// Major specifies the major device number for character and block devices.
|
|
Major uint64 `protobuf:"varint,10,opt,name=major" json:"major,omitempty"`
|
|
// Minor specifies the minor device number for character and block devices.
|
|
Minor uint64 `protobuf:"varint,11,opt,name=minor" json:"minor,omitempty"`
|
|
// Xattr provides storage for extended attributes for the target resource.
|
|
Xattr []*XAttr `protobuf:"bytes,12,rep,name=xattr" json:"xattr,omitempty"`
|
|
// Ads stores one or more alternate data streams for the target resource.
|
|
Ads []*ADSEntry `protobuf:"bytes,13,rep,name=ads" json:"ads,omitempty"`
|
|
}
|
|
|
|
func (m *Resource) Reset() { *m = Resource{} }
|
|
func (m *Resource) String() string { return proto1.CompactTextString(m) }
|
|
func (*Resource) ProtoMessage() {}
|
|
func (*Resource) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
func (m *Resource) GetXattr() []*XAttr {
|
|
if m != nil {
|
|
return m.Xattr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Resource) GetAds() []*ADSEntry {
|
|
if m != nil {
|
|
return m.Ads
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// XAttr encodes extended attributes for a resource.
|
|
type XAttr struct {
|
|
// Name specifies the attribute name.
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
// Data specifies the associated data for the attribute.
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (m *XAttr) Reset() { *m = XAttr{} }
|
|
func (m *XAttr) String() string { return proto1.CompactTextString(m) }
|
|
func (*XAttr) ProtoMessage() {}
|
|
func (*XAttr) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
|
|
|
// ADSEntry encodes information for a Windows Alternate Data Stream.
|
|
type ADSEntry struct {
|
|
// Name specifices the stream name.
|
|
Name string `protobuf:"bytes,1,opt,name=name" 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" json:"digest,omitempty"`
|
|
}
|
|
|
|
func (m *ADSEntry) Reset() { *m = ADSEntry{} }
|
|
func (m *ADSEntry) String() string { return proto1.CompactTextString(m) }
|
|
func (*ADSEntry) ProtoMessage() {}
|
|
func (*ADSEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
|
|
|
func init() {
|
|
proto1.RegisterType((*Manifest)(nil), "proto.Manifest")
|
|
proto1.RegisterType((*Resource)(nil), "proto.Resource")
|
|
proto1.RegisterType((*XAttr)(nil), "proto.XAttr")
|
|
proto1.RegisterType((*ADSEntry)(nil), "proto.ADSEntry")
|
|
}
|
|
|
|
func init() { proto1.RegisterFile("manifest.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 317 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x90, 0x4f, 0x4b, 0xf3, 0x40,
|
|
0x10, 0xc6, 0x49, 0x93, 0xf4, 0x4d, 0xa7, 0xed, 0xab, 0x2c, 0x52, 0xe6, 0x18, 0x73, 0x0a, 0x08,
|
|
0x15, 0xf4, 0xe0, 0xb9, 0xa2, 0x17, 0xc1, 0xcb, 0x7a, 0xf1, 0xba, 0xba, 0x6b, 0x5c, 0x21, 0xd9,
|
|
0xb0, 0xd9, 0x80, 0xfa, 0xe5, 0xfc, 0x6a, 0x32, 0xb3, 0x69, 0xd1, 0x9b, 0xa7, 0x3c, 0xcf, 0x6f,
|
|
0xfe, 0x64, 0xf6, 0x81, 0xff, 0xad, 0xea, 0xec, 0x8b, 0x19, 0xc2, 0xb6, 0xf7, 0x2e, 0x38, 0x91,
|
|
0xf3, 0xa7, 0xba, 0x82, 0xe2, 0x7e, 0x2a, 0x88, 0x33, 0x28, 0xbc, 0x19, 0xdc, 0xe8, 0x9f, 0x0d,
|
|
0x26, 0x65, 0x5a, 0x2f, 0x2f, 0x8e, 0x62, 0xf3, 0x56, 0x4e, 0x58, 0x1e, 0x1a, 0xaa, 0xaf, 0x19,
|
|
0x14, 0x7b, 0x2c, 0x04, 0x64, 0xbd, 0x0a, 0xaf, 0x3c, 0xb5, 0x90, 0xac, 0xc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