Documentation ¶
Index ¶
- func Init(root string) (graphdriver.Driver, error)
- func Mounted(mountpoint string) (bool, error)
- func Unmount(target string) error
- type AufsDriver
- func (a *AufsDriver) ApplyDiff(id string, diff archive.Archive) error
- func (a *AufsDriver) Changes(id string) ([]archive.Change, error)
- func (a *AufsDriver) Cleanup() error
- func (a *AufsDriver) Create(id, parent string) error
- func (a *AufsDriver) Diff(id string) (archive.Archive, error)
- func (a *AufsDriver) Get(id string) (string, error)
- func (a *AufsDriver) Remove(id string) error
- func (a *AufsDriver) Size(id string) (int64, error)
- func (a *AufsDriver) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AufsDriver ¶
type AufsDriver struct {
// contains filtered or unexported fields
}
func (*AufsDriver) ApplyDiff ¶
func (a *AufsDriver) ApplyDiff(id string, diff archive.Archive) error
func (*AufsDriver) Cleanup ¶
func (a *AufsDriver) Cleanup() error
During cleanup aufs needs to unmount all mountpoints
func (*AufsDriver) Create ¶
func (a *AufsDriver) Create(id, parent string) error
Three folders are created for each id mnt, layers, and diff
func (*AufsDriver) Diff ¶
func (a *AufsDriver) Diff(id string) (archive.Archive, error)
Returns an archive of the contents for the id
func (*AufsDriver) Get ¶
func (a *AufsDriver) Get(id string) (string, error)
Return the rootfs path for the id This will mount the dir at it's given path
func (*AufsDriver) Remove ¶
func (a *AufsDriver) Remove(id string) error
Unmount and remove the dir information
func (*AufsDriver) Size ¶
func (a *AufsDriver) Size(id string) (int64, error)
Returns the size of the contents for the id
func (*AufsDriver) String ¶
func (a *AufsDriver) String() string
Click to show internal directories.
Click to hide internal directories.