block

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2016 License: Apache-2.0 Imports: 13 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBlockVolume

func CreateBlockVolume(mds agro.MetadataService, volume string, size uint64) error

func NewBlockVolGC

func NewBlockVolGC(srv *agro.Server, inodes gc.INodeFetcher) (gc.GC, error)

Types

type BlockFile

type BlockFile struct {
	*agro.File
	// contains filtered or unexported fields
}

func (*BlockFile) Close

func (f *BlockFile) Close() error

func (*BlockFile) Sync

func (f *BlockFile) Sync() error

type BlockVolume

type BlockVolume struct {
	// contains filtered or unexported fields
}

func OpenBlockVolume

func OpenBlockVolume(s *agro.Server, volume string) (*BlockVolume, error)

func (*BlockVolume) OpenBlockFile

func (s *BlockVolume) OpenBlockFile() (*BlockFile, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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