wire

package
v0.0.0-...-330f150 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2016 License: MIT Imports: 3 Imported by: 0

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

It has these top-level messages:

Dirent
File
Dir
Tombstone

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dir

type Dir struct {
}

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

func (*Dir) ProtoMessage

func (*Dir) ProtoMessage()

func (*Dir) Reset

func (m *Dir) Reset()

func (*Dir) String

func (m *Dir) String() string

type Dirent

type Dirent struct {
	Inode     uint64     `protobuf:"varint,1,opt,name=inode" json:"inode,omitempty"`
	File      *File      `protobuf:"bytes,2,opt,name=file" json:"file,omitempty"`
	Dir       *Dir       `protobuf:"bytes,3,opt,name=dir" json:"dir,omitempty"`
	Tombstone *Tombstone `protobuf:"bytes,4,opt,name=tombstone" json:"tombstone,omitempty"`
}

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) GetTombstone

func (m *Dirent) GetTombstone() *Tombstone

func (*Dirent) ProtoMessage

func (*Dirent) ProtoMessage()

func (*Dirent) Reset

func (m *Dirent) Reset()

func (*Dirent) String

func (m *Dirent) String() string

type File

type File struct {
	Manifest *bazil_cas.Manifest `protobuf:"bytes,1,opt,name=manifest" json:"manifest,omitempty"`
}

func (*File) GetManifest

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

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) Reset

func (m *File) Reset()

func (*File) String

func (m *File) String() string

type SnapshotRef

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

Snapshot as it is stored into database.

func (*SnapshotRef) ProtoMessage

func (*SnapshotRef) ProtoMessage()

func (*SnapshotRef) Reset

func (m *SnapshotRef) Reset()

func (*SnapshotRef) String

func (m *SnapshotRef) String() string

type Tombstone

type Tombstone struct {
}

func (*Tombstone) ProtoMessage

func (*Tombstone) ProtoMessage()

func (*Tombstone) Reset

func (m *Tombstone) Reset()

func (*Tombstone) String

func (m *Tombstone) String() string

Jump to

Keyboard shortcuts

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