manifest

package
v0.0.0-...-3cef9f2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Metadata_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "FILE",
	2: "SYMLINK",
}
View Source
var Metadata_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"FILE":    1,
	"SYMLINK": 2,
}

Functions

This section is empty.

Types

type Content

type Content struct {
	Metadata             *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Hash                 []byte    `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Content) Descriptor

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

func (*Content) GetHash

func (m *Content) GetHash() []byte

func (*Content) GetMetadata

func (m *Content) GetMetadata() *Metadata

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) Reset

func (m *Content) Reset()

func (*Content) String

func (m *Content) String() string

func (*Content) XXX_DiscardUnknown

func (m *Content) XXX_DiscardUnknown()

func (*Content) XXX_Marshal

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

func (*Content) XXX_Merge

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

func (*Content) XXX_Size

func (m *Content) XXX_Size() int

func (*Content) XXX_Unmarshal

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

type Entry

type Entry struct {
	Path                 []byte   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Content              *Content `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Entry) Descriptor

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

func (*Entry) GetContent

func (m *Entry) GetContent() *Content

func (*Entry) GetPath

func (m *Entry) GetPath() []byte

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) Reset

func (m *Entry) Reset()

func (*Entry) String

func (m *Entry) String() string

func (*Entry) XXX_DiscardUnknown

func (m *Entry) XXX_DiscardUnknown()

func (*Entry) XXX_Marshal

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

func (*Entry) XXX_Merge

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

func (*Entry) XXX_Size

func (m *Entry) XXX_Size() int

func (*Entry) XXX_Unmarshal

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

type EntrySet

type EntrySet struct {
	Entries              []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EntrySet) Descriptor

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

func (*EntrySet) GetEntries

func (m *EntrySet) GetEntries() []*Entry

func (*EntrySet) ProtoMessage

func (*EntrySet) ProtoMessage()

func (*EntrySet) Reset

func (m *EntrySet) Reset()

func (*EntrySet) String

func (m *EntrySet) String() string

func (*EntrySet) XXX_DiscardUnknown

func (m *EntrySet) XXX_DiscardUnknown()

func (*EntrySet) XXX_Marshal

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

func (*EntrySet) XXX_Merge

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

func (*EntrySet) XXX_Size

func (m *EntrySet) XXX_Size() int

func (*EntrySet) XXX_Unmarshal

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

type HashSet

type HashSet struct {
	Hashes               []*HashedData `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*HashSet) Descriptor

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

func (*HashSet) GetHashes

func (m *HashSet) GetHashes() []*HashedData

func (*HashSet) ProtoMessage

func (*HashSet) ProtoMessage()

func (*HashSet) Reset

func (m *HashSet) Reset()

func (*HashSet) String

func (m *HashSet) String() string

func (*HashSet) XXX_DiscardUnknown

func (m *HashSet) XXX_DiscardUnknown()

func (*HashSet) XXX_Marshal

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

func (*HashSet) XXX_Merge

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

func (*HashSet) XXX_Size

func (m *HashSet) XXX_Size() int

func (*HashSet) XXX_Unmarshal

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

type HashedData

type HashedData struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Data                 *Stream  `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HashedData) Descriptor

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

func (*HashedData) GetData

func (m *HashedData) GetData() *Stream

func (*HashedData) GetHash

func (m *HashedData) GetHash() []byte

func (*HashedData) ProtoMessage

func (*HashedData) ProtoMessage()

func (*HashedData) Reset

func (m *HashedData) Reset()

func (*HashedData) String

func (m *HashedData) String() string

func (*HashedData) XXX_DiscardUnknown

func (m *HashedData) XXX_DiscardUnknown()

func (*HashedData) XXX_Marshal

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

func (*HashedData) XXX_Merge

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

func (*HashedData) XXX_Size

func (m *HashedData) XXX_Size() int

func (*HashedData) XXX_Unmarshal

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

type Metadata

type Metadata struct {
	Type                 Metadata_Type        `protobuf:"varint,1,opt,name=type,proto3,enum=manifest.Metadata_Type" json:"type,omitempty"`
	Creation             *timestamp.Timestamp `protobuf:"bytes,2,opt,name=creation,proto3" json:"creation,omitempty"`
	Modified             *timestamp.Timestamp `protobuf:"bytes,3,opt,name=modified,proto3" json:"modified,omitempty"`
	Mode                 uint32               `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"`
	LinkTarget           []byte               `protobuf:"bytes,5,opt,name=link_target,json=linkTarget,proto3" json:"link_target,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Metadata) Descriptor

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

func (*Metadata) GetCreation

func (m *Metadata) GetCreation() *timestamp.Timestamp

func (*Metadata) GetLinkTarget

func (m *Metadata) GetLinkTarget() []byte

func (*Metadata) GetMode

func (m *Metadata) GetMode() uint32

func (*Metadata) GetModified

func (m *Metadata) GetModified() *timestamp.Timestamp

func (*Metadata) GetType

func (m *Metadata) GetType() Metadata_Type

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

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

func (*Metadata) XXX_Merge

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

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

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

type Metadata_Type

type Metadata_Type int32
const (
	Metadata_UNKNOWN Metadata_Type = 0
	Metadata_FILE    Metadata_Type = 1
	Metadata_SYMLINK Metadata_Type = 2
)

func (Metadata_Type) EnumDescriptor

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

func (Metadata_Type) String

func (x Metadata_Type) String() string

type Page

type Page struct {
	Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Types that are valid to be assigned to Descendents:
	//	*Page_Branch
	//	*Page_Entries
	Descendents          isPage_Descendents `protobuf_oneof:"descendents"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Page) Descriptor

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

func (*Page) GetBranch

func (m *Page) GetBranch() *Stream

func (*Page) GetDescendents

func (m *Page) GetDescendents() isPage_Descendents

func (*Page) GetEntries

func (m *Page) GetEntries() *EntrySet

func (*Page) GetPrefix

func (m *Page) GetPrefix() []byte

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) Reset

func (m *Page) Reset()

func (*Page) String

func (m *Page) String() string

func (*Page) XXX_DiscardUnknown

func (m *Page) XXX_DiscardUnknown()

func (*Page) XXX_Marshal

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

func (*Page) XXX_Merge

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

func (*Page) XXX_OneofWrappers

func (*Page) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Page) XXX_Size

func (m *Page) XXX_Size() int

func (*Page) XXX_Unmarshal

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

type Page_Branch

type Page_Branch struct {
	Branch *Stream `protobuf:"bytes,2,opt,name=branch,proto3,oneof"`
}

type Page_Entries

type Page_Entries struct {
	Entries *EntrySet `protobuf:"bytes,3,opt,name=entries,proto3,oneof"`
}

type Range

type Range struct {
	Offset               int64    `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Length               int64    `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
	BlobBytes            []byte   `protobuf:"bytes,4,opt,name=blob_bytes,json=blobBytes,proto3" json:"blob_bytes,omitempty"`
	DeprecatedBlobString string   `protobuf:"bytes,1,opt,name=deprecated_blob_string,json=deprecatedBlobString,proto3" json:"deprecated_blob_string,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Range) Blob

func (r *Range) Blob() string

func (*Range) Descriptor

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

func (*Range) GetBlobBytes

func (m *Range) GetBlobBytes() []byte

func (*Range) GetDeprecatedBlobString

func (m *Range) GetDeprecatedBlobString() string

func (*Range) GetLength

func (m *Range) GetLength() int64

func (*Range) GetOffset

func (m *Range) GetOffset() int64

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) Reset

func (m *Range) Reset()

func (*Range) String

func (m *Range) String() string

func (*Range) XXX_DiscardUnknown

func (m *Range) XXX_DiscardUnknown()

func (*Range) XXX_Marshal

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

func (*Range) XXX_Merge

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

func (*Range) XXX_Size

func (m *Range) XXX_Size() int

func (*Range) XXX_Unmarshal

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

type Stream

type Stream struct {
	Ranges               []*Range `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Stream) Descriptor

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

func (*Stream) GetRanges

func (m *Stream) GetRanges() []*Range

func (*Stream) ProtoMessage

func (*Stream) ProtoMessage()

func (*Stream) Reset

func (m *Stream) Reset()

func (*Stream) String

func (m *Stream) String() string

func (*Stream) XXX_DiscardUnknown

func (m *Stream) XXX_DiscardUnknown()

func (*Stream) XXX_Marshal

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

func (*Stream) XXX_Merge

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

func (*Stream) XXX_Size

func (m *Stream) XXX_Size() int

func (*Stream) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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