Documentation ¶
Overview ¶
Package wire is a generated protocol buffer package.
It is generated from these files:
bazil.org/bazil/fs/wire/dirent.proto bazil.org/bazil/fs/wire/snap.proto bazil.org/bazil/fs/wire/volume.proto
It has these top-level messages:
Dirent Type File Dir
Index ¶
- type Dir
- type Dirent
- func (d *Dirent) GetFUSEDirent(name string) fuse.Dirent
- func (m *Dirent) GetInode() uint64
- func (m *Dirent) Marshal() (data []byte, err error)
- func (m *Dirent) MarshalTo(data []byte) (n int, err error)
- func (*Dirent) ProtoMessage()
- func (m *Dirent) Reset()
- func (m *Dirent) Size() (n int)
- func (m *Dirent) String() string
- func (m *Dirent) Unmarshal(data []byte) error
- type File
- func (m *File) GetManifest() bazil_cas.Manifest
- func (m *File) Marshal() (data []byte, err error)
- func (m *File) MarshalTo(data []byte) (n int, err error)
- func (*File) ProtoMessage()
- func (m *File) Reset()
- func (m *File) Size() (n int)
- func (m *File) String() string
- func (m *File) Unmarshal(data []byte) error
- type KV
- func (m *KV) GetExternal() []*KV_External
- func (m *KV) GetLocal() *KV_Local
- func (m *KV) Marshal() (data []byte, err error)
- func (m *KV) MarshalTo(data []byte) (n int, err error)
- func (*KV) ProtoMessage()
- func (m *KV) Reset()
- func (m *KV) Size() (n int)
- func (m *KV) String() string
- func (m *KV) Unmarshal(data []byte) error
- type KV_External
- func (m *KV_External) GetPath() string
- func (m *KV_External) GetSecret() []byte
- func (m *KV_External) Marshal() (data []byte, err error)
- func (m *KV_External) MarshalTo(data []byte) (n int, err error)
- func (*KV_External) ProtoMessage()
- func (m *KV_External) Reset()
- func (m *KV_External) Size() (n int)
- func (m *KV_External) String() string
- func (m *KV_External) Unmarshal(data []byte) error
- type KV_Local
- func (m *KV_Local) GetSecret() []byte
- func (m *KV_Local) Marshal() (data []byte, err error)
- func (m *KV_Local) MarshalTo(data []byte) (n int, err error)
- func (*KV_Local) ProtoMessage()
- func (m *KV_Local) Reset()
- func (m *KV_Local) Size() (n int)
- func (m *KV_Local) String() string
- func (m *KV_Local) Unmarshal(data []byte) error
- type SnapshotRef
- func (m *SnapshotRef) Marshal() (data []byte, err error)
- func (m *SnapshotRef) MarshalTo(data []byte) (n int, err error)
- func (*SnapshotRef) ProtoMessage()
- func (m *SnapshotRef) Reset()
- func (m *SnapshotRef) Size() (n int)
- func (m *SnapshotRef) String() string
- func (m *SnapshotRef) Unmarshal(data []byte) error
- type Type
- func (m *Type) GetDir() *Dir
- func (m *Type) GetFile() *File
- func (this *Type) GetValue() interface{}
- func (m *Type) Marshal() (data []byte, err error)
- func (m *Type) MarshalTo(data []byte) (n int, err error)
- func (*Type) ProtoMessage()
- func (m *Type) Reset()
- func (this *Type) SetValue(value interface{}) bool
- func (m *Type) Size() (n int)
- func (m *Type) String() string
- func (m *Type) Unmarshal(data []byte) error
- type VolumeConfig
- func (m *VolumeConfig) GetStorage() KV
- func (m *VolumeConfig) GetVolumeID() []byte
- func (m *VolumeConfig) Marshal() (data []byte, err error)
- func (m *VolumeConfig) MarshalTo(data []byte) (n int, err error)
- func (*VolumeConfig) ProtoMessage()
- func (m *VolumeConfig) Reset()
- func (m *VolumeConfig) Size() (n int)
- func (m *VolumeConfig) String() string
- func (m *VolumeConfig) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir struct {
XXX_unrecognized []byte `json:"-"`
}
Dir is a directory stored fully in the database, not persisted in objects.
func (*Dir) ProtoMessage ¶
func (*Dir) ProtoMessage()
type Dirent ¶
type Dirent struct { Inode uint64 `protobuf:"varint,1,req,name=inode" json:"inode"` Type `protobuf:"bytes,2,req,name=type,embedded=type" json:"type"` XXX_unrecognized []byte `json:"-"` }
func (*Dirent) GetFUSEDirent ¶
GetFUSEDirent returns a populated fuse.Dirent
func (*Dirent) ProtoMessage ¶
func (*Dirent) ProtoMessage()
type File ¶
type File struct { Manifest bazil_cas.Manifest `protobuf:"bytes,1,req,name=manifest" json:"manifest"` XXX_unrecognized []byte `json:"-"` }
func (*File) GetManifest ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
type KV ¶
type KV struct { Local *KV_Local `protobuf:"bytes,1,opt,name=local" json:"local,omitempty"` External []*KV_External `protobuf:"bytes,2,rep,name=external" json:"external,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*KV) GetExternal ¶
func (m *KV) GetExternal() []*KV_External
func (*KV) ProtoMessage ¶
func (*KV) ProtoMessage()
type KV_External ¶
type KV_External struct { Path string `protobuf:"bytes,1,req,name=path" json:"path"` // Must be exactly 32 bytes long. Secret []byte `protobuf:"bytes,2,opt,name=secret" json:"secret"` XXX_unrecognized []byte `json:"-"` }
func (*KV_External) GetPath ¶
func (m *KV_External) GetPath() string
func (*KV_External) GetSecret ¶
func (m *KV_External) GetSecret() []byte
func (*KV_External) Marshal ¶
func (m *KV_External) Marshal() (data []byte, err error)
func (*KV_External) ProtoMessage ¶
func (*KV_External) ProtoMessage()
func (*KV_External) Reset ¶
func (m *KV_External) Reset()
func (*KV_External) Size ¶
func (m *KV_External) Size() (n int)
func (*KV_External) String ¶
func (m *KV_External) String() string
func (*KV_External) Unmarshal ¶
func (m *KV_External) Unmarshal(data []byte) error
type KV_Local ¶
type KV_Local struct { // Must be exactly 32 bytes long. Secret []byte `protobuf:"bytes,1,opt,name=secret" json:"secret"` XXX_unrecognized []byte `json:"-"` }
func (*KV_Local) ProtoMessage ¶
func (*KV_Local) ProtoMessage()
type SnapshotRef ¶
type SnapshotRef struct { Key bazil_org_bazil_cas.Key `protobuf:"bytes,1,req,name=key,customtype=bazil.org/bazil/cas.Key" json:"key"` XXX_unrecognized []byte `json:"-"` }
Snapshot as it is stored into database.
func (*SnapshotRef) Marshal ¶
func (m *SnapshotRef) Marshal() (data []byte, err error)
func (*SnapshotRef) ProtoMessage ¶
func (*SnapshotRef) ProtoMessage()
func (*SnapshotRef) Reset ¶
func (m *SnapshotRef) Reset()
func (*SnapshotRef) Size ¶
func (m *SnapshotRef) Size() (n int)
func (*SnapshotRef) String ¶
func (m *SnapshotRef) String() string
func (*SnapshotRef) Unmarshal ¶
func (m *SnapshotRef) Unmarshal(data []byte) error
type Type ¶
type Type struct { File *File `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Dir *Dir `protobuf:"bytes,2,opt,name=dir" json:"dir,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
type VolumeConfig ¶
type VolumeConfig struct { // Must be exactly 64 bytes long. VolumeID []byte `protobuf:"bytes,1,req,name=volumeID" json:"volumeID"` Storage KV `protobuf:"bytes,2,req,name=storage" json:"storage"` XXX_unrecognized []byte `json:"-"` }
func (*VolumeConfig) GetStorage ¶
func (m *VolumeConfig) GetStorage() KV
func (*VolumeConfig) GetVolumeID ¶
func (m *VolumeConfig) GetVolumeID() []byte
func (*VolumeConfig) Marshal ¶
func (m *VolumeConfig) Marshal() (data []byte, err error)
func (*VolumeConfig) ProtoMessage ¶
func (*VolumeConfig) ProtoMessage()
func (*VolumeConfig) Reset ¶
func (m *VolumeConfig) Reset()
func (*VolumeConfig) Size ¶
func (m *VolumeConfig) Size() (n int)
func (*VolumeConfig) String ¶
func (m *VolumeConfig) String() string
func (*VolumeConfig) Unmarshal ¶
func (m *VolumeConfig) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.