Documentation ¶
Index ¶
- Variables
- type Content
- func (*Content) Descriptor() ([]byte, []int)
- func (m *Content) GetHash() []byte
- func (m *Content) GetMetadata() *Metadata
- func (*Content) ProtoMessage()
- func (m *Content) Reset()
- func (m *Content) String() string
- func (m *Content) XXX_DiscardUnknown()
- func (m *Content) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Content) XXX_Merge(src proto.Message)
- func (m *Content) XXX_Size() int
- func (m *Content) XXX_Unmarshal(b []byte) error
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetContent() *Content
- func (m *Entry) GetPath() []byte
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) String() string
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type EntrySet
- func (*EntrySet) Descriptor() ([]byte, []int)
- func (m *EntrySet) GetEntries() []*Entry
- func (*EntrySet) ProtoMessage()
- func (m *EntrySet) Reset()
- func (m *EntrySet) String() string
- func (m *EntrySet) XXX_DiscardUnknown()
- func (m *EntrySet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntrySet) XXX_Merge(src proto.Message)
- func (m *EntrySet) XXX_Size() int
- func (m *EntrySet) XXX_Unmarshal(b []byte) error
- type HashSet
- func (*HashSet) Descriptor() ([]byte, []int)
- func (m *HashSet) GetHashes() []*HashedData
- func (*HashSet) ProtoMessage()
- func (m *HashSet) Reset()
- func (m *HashSet) String() string
- func (m *HashSet) XXX_DiscardUnknown()
- func (m *HashSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HashSet) XXX_Merge(src proto.Message)
- func (m *HashSet) XXX_Size() int
- func (m *HashSet) XXX_Unmarshal(b []byte) error
- type HashedData
- func (*HashedData) Descriptor() ([]byte, []int)
- func (m *HashedData) GetData() *Stream
- func (m *HashedData) GetHash() []byte
- func (*HashedData) ProtoMessage()
- func (m *HashedData) Reset()
- func (m *HashedData) String() string
- func (m *HashedData) XXX_DiscardUnknown()
- func (m *HashedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HashedData) XXX_Merge(src proto.Message)
- func (m *HashedData) XXX_Size() int
- func (m *HashedData) XXX_Unmarshal(b []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetCreation() *timestamp.Timestamp
- func (m *Metadata) GetLinkTarget() []byte
- func (m *Metadata) GetMode() uint32
- func (m *Metadata) GetModified() *timestamp.Timestamp
- func (m *Metadata) GetType() Metadata_Type
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) String() string
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type Metadata_Type
- type Page
- func (*Page) Descriptor() ([]byte, []int)
- func (m *Page) GetBranch() *Stream
- func (m *Page) GetDescendents() isPage_Descendents
- func (m *Page) GetEntries() *EntrySet
- func (m *Page) GetPrefix() []byte
- func (*Page) ProtoMessage()
- func (m *Page) Reset()
- func (m *Page) String() string
- func (m *Page) XXX_DiscardUnknown()
- func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Page) XXX_Merge(src proto.Message)
- func (*Page) XXX_OneofWrappers() []interface{}
- func (m *Page) XXX_Size() int
- func (m *Page) XXX_Unmarshal(b []byte) error
- type Page_Branch
- type Page_Entries
- type Range
- func (r *Range) Blob() string
- func (*Range) Descriptor() ([]byte, []int)
- func (m *Range) GetBlobBytes() []byte
- func (m *Range) GetDeprecatedBlobString() string
- func (m *Range) GetLength() int64
- func (m *Range) GetOffset() int64
- func (*Range) ProtoMessage()
- func (m *Range) Reset()
- func (m *Range) String() string
- func (m *Range) XXX_DiscardUnknown()
- func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Range) XXX_Merge(src proto.Message)
- func (m *Range) XXX_Size() int
- func (m *Range) XXX_Unmarshal(b []byte) error
- type Stream
- func (*Stream) Descriptor() ([]byte, []int)
- func (m *Stream) GetRanges() []*Range
- func (*Stream) ProtoMessage()
- func (m *Stream) Reset()
- func (m *Stream) String() string
- func (m *Stream) XXX_DiscardUnknown()
- func (m *Stream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stream) XXX_Merge(src proto.Message)
- func (m *Stream) XXX_Size() int
- func (m *Stream) XXX_Unmarshal(b []byte) error
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) GetMetadata ¶
func (*Content) ProtoMessage ¶
func (*Content) ProtoMessage()
func (*Content) XXX_DiscardUnknown ¶
func (m *Content) XXX_DiscardUnknown()
func (*Content) XXX_Marshal ¶
func (*Content) XXX_Unmarshal ¶
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) GetContent ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶
func (*Entry) XXX_Unmarshal ¶
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) GetEntries ¶
func (*EntrySet) ProtoMessage ¶
func (*EntrySet) ProtoMessage()
func (*EntrySet) XXX_DiscardUnknown ¶
func (m *EntrySet) XXX_DiscardUnknown()
func (*EntrySet) XXX_Marshal ¶
func (*EntrySet) XXX_Unmarshal ¶
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) GetHashes ¶
func (m *HashSet) GetHashes() []*HashedData
func (*HashSet) ProtoMessage ¶
func (*HashSet) ProtoMessage()
func (*HashSet) XXX_DiscardUnknown ¶
func (m *HashSet) XXX_DiscardUnknown()
func (*HashSet) XXX_Marshal ¶
func (*HashSet) XXX_Unmarshal ¶
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) GetCreation ¶
func (*Metadata) GetLinkTarget ¶
func (*Metadata) GetModified ¶
func (*Metadata) GetType ¶
func (m *Metadata) GetType() Metadata_Type
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
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) GetDescendents ¶
func (m *Page) GetDescendents() isPage_Descendents
func (*Page) GetEntries ¶
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) XXX_DiscardUnknown ¶
func (m *Page) XXX_DiscardUnknown()
func (*Page) XXX_OneofWrappers ¶
func (*Page) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Page) XXX_Unmarshal ¶
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) Descriptor ¶
func (*Range) GetBlobBytes ¶
func (*Range) GetDeprecatedBlobString ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) XXX_DiscardUnknown ¶
func (m *Range) XXX_DiscardUnknown()
func (*Range) XXX_Marshal ¶
func (*Range) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Stream) ProtoMessage()
func (*Stream) XXX_DiscardUnknown ¶
func (m *Stream) XXX_DiscardUnknown()
func (*Stream) XXX_Marshal ¶
func (*Stream) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.