package zfs

import "github.com/dotcloud/docker/daemon/graphdriver/zfs"

Index

Functions

func Init

func Init(base string, opt []string) (graphdriver.Driver, error)

Types

type Driver

type Driver struct {
	sync.Mutex // protects filesystem cache against concurrent access
	// contains filtered or unexported fields
}

func (*Driver) Cleanup

func (d *Driver) Cleanup() error

func (*Driver) Create

func (d *Driver) Create(id string, parent string) error

func (*Driver) Exists

func (d *Driver) Exists(id string) bool

func (*Driver) Get

func (d *Driver) Get(id, mountLabel string) (string, error)

func (*Driver) GetMetadata

func (d *Driver) GetMetadata(id string) (map[string]string, error)

func (*Driver) MountPath

func (d *Driver) MountPath(id string) string

func (*Driver) Put

func (d *Driver) Put(id string) error

func (*Driver) Remove

func (d *Driver) Remove(id string) error

func (*Driver) Status

func (d *Driver) Status() [][2]string

func (*Driver) String

func (d *Driver) String() string

func (*Driver) ZfsPath

func (d *Driver) ZfsPath(id string) string

type Logger

type Logger struct{}

func (*Logger) Log

func (*Logger) Log(cmd []string)

type ZfsOptions

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

Source Files

zfs.go zfs_linux.go

Version
v1.8.2-rc1
Published
Sep 3, 2015
Platform
linux/amd64
Imports
15 packages
Last checked
12 seconds ago

Tools for package owners.