wire

package
v0.0.0-...-810cf82 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: MIT Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dir

type Dir struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Dir is a directory stored fully in the database, not persisted in objects.

func (*Dir) Descriptor

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

func (*Dir) ProtoMessage

func (*Dir) ProtoMessage()

func (*Dir) Reset

func (m *Dir) Reset()

func (*Dir) String

func (m *Dir) String() string

func (*Dir) XXX_DiscardUnknown

func (m *Dir) XXX_DiscardUnknown()

func (*Dir) XXX_Marshal

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

func (*Dir) XXX_Merge

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

func (*Dir) XXX_Size

func (m *Dir) XXX_Size() int

func (*Dir) XXX_Unmarshal

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

type Dirent

type Dirent struct {
	Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*Dirent_File
	//	*Dirent_Dir
	//	*Dirent_Tombstone
	Type                 isDirent_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Dirent) Descriptor

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

func (*Dirent) GetDir

func (m *Dirent) GetDir() *Dir

func (*Dirent) GetFUSEDirent

func (d *Dirent) GetFUSEDirent(name string) fuse.Dirent

GetFUSEDirent returns a populated fuse.Dirent

func (*Dirent) GetFile

func (m *Dirent) GetFile() *File

func (*Dirent) GetInode

func (m *Dirent) GetInode() uint64

func (*Dirent) GetTombstone

func (m *Dirent) GetTombstone() *Tombstone

func (*Dirent) GetType

func (m *Dirent) GetType() isDirent_Type

func (*Dirent) ProtoMessage

func (*Dirent) ProtoMessage()

func (*Dirent) Reset

func (m *Dirent) Reset()

func (*Dirent) String

func (m *Dirent) String() string

func (*Dirent) XXX_DiscardUnknown

func (m *Dirent) XXX_DiscardUnknown()

func (*Dirent) XXX_Marshal

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

func (*Dirent) XXX_Merge

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

func (*Dirent) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Dirent) XXX_Size

func (m *Dirent) XXX_Size() int

func (*Dirent) XXX_Unmarshal

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

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 Dirent_Tombstone

type Dirent_Tombstone struct {
	Tombstone *Tombstone `protobuf:"bytes,4,opt,name=tombstone,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) Descriptor() ([]byte, []int)

func (*File) GetManifest

func (m *File) GetManifest() *wire.Manifest

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) Reset

func (m *File) Reset()

func (*File) String

func (m *File) String() string

func (*File) XXX_DiscardUnknown

func (m *File) XXX_DiscardUnknown()

func (*File) XXX_Marshal

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

func (*File) XXX_Merge

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

func (*File) XXX_Size

func (m *File) XXX_Size() int

func (*File) XXX_Unmarshal

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

type SnapshotRef

type SnapshotRef struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Snapshot as it is stored into database.

func (*SnapshotRef) Descriptor

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

func (*SnapshotRef) GetKey

func (m *SnapshotRef) GetKey() []byte

func (*SnapshotRef) ProtoMessage

func (*SnapshotRef) ProtoMessage()

func (*SnapshotRef) Reset

func (m *SnapshotRef) Reset()

func (*SnapshotRef) String

func (m *SnapshotRef) String() string

func (*SnapshotRef) XXX_DiscardUnknown

func (m *SnapshotRef) XXX_DiscardUnknown()

func (*SnapshotRef) XXX_Marshal

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

func (*SnapshotRef) XXX_Merge

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

func (*SnapshotRef) XXX_Size

func (m *SnapshotRef) XXX_Size() int

func (*SnapshotRef) XXX_Unmarshal

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

type Tombstone

type Tombstone struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Tombstone) Descriptor

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

func (*Tombstone) ProtoMessage

func (*Tombstone) ProtoMessage()

func (*Tombstone) Reset

func (m *Tombstone) Reset()

func (*Tombstone) String

func (m *Tombstone) String() string

func (*Tombstone) XXX_DiscardUnknown

func (m *Tombstone) XXX_DiscardUnknown()

func (*Tombstone) XXX_Marshal

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

func (*Tombstone) XXX_Merge

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

func (*Tombstone) XXX_Size

func (m *Tombstone) XXX_Size() int

func (*Tombstone) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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