Documentation ¶
Overview ¶
Abstracts a layered filesystem provider, such as docker's Graph
Index ¶
- type AufsCake
- type Cake
- type ContainerID
- type Docker
- func (d *Docker) All() (layers []*image.Image)
- func (d *Docker) Create(layerID, parentID ID, containerID string) error
- func (d *Docker) DriverName() string
- func (d *Docker) Get(id ID) (*image.Image, error)
- func (d *Docker) GetAllLeaves() ([]ID, error)
- func (d *Docker) IsLeaf(id ID) (bool, error)
- func (d *Docker) Path(id ID) (result string, err error)
- func (d *Docker) QuotaedPath(id ID, quota int64) (string, error)
- func (d *Docker) Register(image *image.Image, layer archive.ArchiveReader) error
- func (d *Docker) RegisterWithQuota(image *image.Image, layer archive.ArchiveReader, quota int64) error
- func (d *Docker) Remove(id ID) error
- func (d *Docker) Unmount(id ID) error
- type DockerImageID
- type GraphPath
- type ID
- type IDProvider
- type LocalImageID
- type NamespacedLayerID
- type QuotaedDriver
- type Retainer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AufsCake ¶
type AufsCake struct { Cake Runner commandrunner.CommandRunner GraphRoot string }
func (*AufsCake) GetAllLeaves ¶
type Cake ¶
type Cake interface { DriverName() string Create(layerID, parentID ID, containerID string) error Register(img *image.Image, layer archive.ArchiveReader) error RegisterWithQuota(img *image.Image, layer archive.ArchiveReader, quota int64) error Get(id ID) (*image.Image, error) Unmount(id ID) error Remove(id ID) error Path(id ID) (string, error) QuotaedPath(id ID, quota int64) (string, error) IsLeaf(id ID) (bool, error) GetAllLeaves() ([]ID, error) All() []*image.Image }
type ContainerID ¶
type ContainerID string
func (ContainerID) GraphID ¶
func (c ContainerID) GraphID() string
type Docker ¶
type Docker struct { Graph *graph.Graph Driver graphdriver.Driver }
func (*Docker) DriverName ¶
func (*Docker) GetAllLeaves ¶
func (*Docker) RegisterWithQuota ¶
type DockerImageID ¶
type DockerImageID string
func (DockerImageID) GraphID ¶
func (d DockerImageID) GraphID() string
type IDProvider ¶
type LocalImageID ¶
func (LocalImageID) GraphID ¶
func (c LocalImageID) GraphID() string
type NamespacedLayerID ¶
func NamespacedID ¶
func NamespacedID(id ID, cacheKey string) NamespacedLayerID
func (NamespacedLayerID) GraphID ¶
func (n NamespacedLayerID) GraphID() string
type QuotaedDriver ¶
Directories ¶
Path | Synopsis |
---|---|
cleanerfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.