Documentation ¶
Index ¶
- type Dir
- func (*Dir) Descriptor() ([]byte, []int)
- func (m *Dir) GetAlign() uint32
- func (m *Dir) GetManifest() *wire.Manifest
- func (*Dir) ProtoMessage()
- func (m *Dir) Reset()
- func (m *Dir) String() string
- func (m *Dir) XXX_DiscardUnknown()
- func (m *Dir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dir) XXX_Merge(src proto.Message)
- func (m *Dir) XXX_Size() int
- func (m *Dir) XXX_Unmarshal(b []byte) error
- type Dirent
- func (*Dirent) Descriptor() ([]byte, []int)
- func (m *Dirent) GetDir() *Dir
- func (m *Dirent) GetFile() *File
- func (m *Dirent) GetName() string
- func (m *Dirent) GetType() isDirent_Type
- func (*Dirent) ProtoMessage()
- func (m *Dirent) Reset()
- func (m *Dirent) String() string
- func (m *Dirent) XXX_DiscardUnknown()
- func (m *Dirent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dirent) XXX_Merge(src proto.Message)
- func (*Dirent) XXX_OneofWrappers() []interface{}
- func (m *Dirent) XXX_Size() int
- func (m *Dirent) XXX_Unmarshal(b []byte) error
- type Dirent_Dir
- type Dirent_File
- type File
- func (*File) Descriptor() ([]byte, []int)
- func (m *File) GetManifest() *wire.Manifest
- func (*File) ProtoMessage()
- func (m *File) Reset()
- func (m *File) String() string
- func (m *File) XXX_DiscardUnknown()
- func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *File) XXX_Merge(src proto.Message)
- func (m *File) XXX_Size() int
- func (m *File) XXX_Unmarshal(b []byte) error
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) GetContents() *Dirent
- func (m *Snapshot) GetName() string
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) String() string
- func (m *Snapshot) XXX_DiscardUnknown()
- func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Snapshot) XXX_Merge(src proto.Message)
- func (m *Snapshot) XXX_Size() int
- func (m *Snapshot) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir struct { Manifest *wire.Manifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` // If >0, the direntries are guaranteed to be aligned at // 1<<(12+align-1) byte boundaries (that is, minimum alignment is // 4kB). Align uint32 `protobuf:"varint,2,opt,name=align,proto3" json:"align,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Dir) Descriptor ¶
func (*Dir) GetManifest ¶
func (*Dir) ProtoMessage ¶
func (*Dir) ProtoMessage()
func (*Dir) XXX_DiscardUnknown ¶
func (m *Dir) XXX_DiscardUnknown()
func (*Dir) XXX_Unmarshal ¶
type Dirent ¶
type Dirent struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to Type: // *Dirent_File // *Dirent_Dir Type isDirent_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Dirent) Descriptor ¶
func (*Dirent) ProtoMessage ¶
func (*Dirent) ProtoMessage()
func (*Dirent) XXX_DiscardUnknown ¶
func (m *Dirent) XXX_DiscardUnknown()
func (*Dirent) XXX_Marshal ¶
func (*Dirent) XXX_OneofWrappers ¶
func (*Dirent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Dirent) XXX_Unmarshal ¶
type Dirent_Dir ¶
type Dirent_Dir struct {
Dir *Dir `protobuf:"bytes,3,opt,name=dir,proto3,oneof"`
}
type Dirent_File ¶
type Dirent_File struct {
File *File `protobuf:"bytes,2,opt,name=file,proto3,oneof"`
}
type File ¶
type File struct { Manifest *wire.Manifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*File) Descriptor ¶
func (*File) GetManifest ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) XXX_DiscardUnknown ¶
func (m *File) XXX_DiscardUnknown()
func (*File) XXX_Unmarshal ¶
type Snapshot ¶
type Snapshot struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name field of the root directory is empty. Contents *Dirent `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Snapshot as it is stored into CAS.
func (*Snapshot) Descriptor ¶
func (*Snapshot) GetContents ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) XXX_DiscardUnknown ¶
func (m *Snapshot) XXX_DiscardUnknown()
func (*Snapshot) XXX_Marshal ¶
func (*Snapshot) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.