aufs

package
v0.0.0-...-be7a702 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmount

func Unmount(path string) error

Types

type BackingStore

type BackingStore struct {
	Logger   lager.Logger
	RootPath string
}

func (*BackingStore) Create

func (bm *BackingStore) Create(id string, quota int64) (string, error)

func (*BackingStore) Delete

func (bm *BackingStore) Delete(id string) error

type BackingStoreMgr

type BackingStoreMgr interface {
	Create(id string, quota int64) (string, error)
	Delete(id string) error
}

type GraphDriver

type GraphDriver interface {
	graphdriver.Driver
}

type Loop

type Loop struct {
	Retrier Retrier
	Logger  lager.Logger
}

func (*Loop) MountFile

func (lm *Loop) MountFile(filePath, destPath string) error

func (*Loop) Unmount

func (lm *Loop) Unmount(path string) error

type LoopMounter

type LoopMounter interface {
	MountFile(filePath, destPath string) error
	Unmount(path string) error
}

type QuotaedDriver

type QuotaedDriver struct {
	GraphDriver
	Unmount         UnmountFunc
	BackingStoreMgr BackingStoreMgr
	LoopMounter     LoopMounter
	Retrier         Retrier
	RootPath        string
	Logger          lager.Logger
}

func (*QuotaedDriver) GetDiffLayerPath

func (a *QuotaedDriver) GetDiffLayerPath(rootFSPath string) string

func (*QuotaedDriver) GetMntPath

func (a *QuotaedDriver) GetMntPath(id layercake.ID) string

func (*QuotaedDriver) GetQuotaed

func (a *QuotaedDriver) GetQuotaed(id, mountlabel string, quota int64) (string, error)

func (*QuotaedDriver) Put

func (a *QuotaedDriver) Put(id string) error

type Retrier

type Retrier interface {
	Run(work func() error) error
}

type UnmountFunc

type UnmountFunc func(target string) error

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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