wire

package
v0.0.0-...-cffa139 Latest Latest
Warning

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

Go to latest
Published: May 29, 2015 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

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"`
}

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

Jump to

Keyboard shortcuts

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