Versions in this module Expand all Collapse all v1 v1.0.0 Dec 10, 2019 Changes in this version + const DefaultDockerRootDirectory + type ApplyDiffRequest struct + ID string + Parent string + Stream io.Reader + type ApplyDiffResponse struct + Size int64 + type CapabilitiesRequest struct + type CapabilitiesResponse struct + Capabilities graphDriver.Capabilities + type Change struct + Kind ChangeKind + Path string + type ChangeKind int + const Added + const Deleted + const Modified + type ChangesRequest struct + ID string + Parent string + type ChangesResponse struct + Changes []Change + type CleanupRequest struct + type CreateRequest struct + ID string + MountLabel string + Parent string + StorageOpt map[string]string + type DiffRequest struct + ID string + Parent string + type DiffResponse struct + Stream io.ReadCloser + type DiffSizeRequest struct + ID string + Parent string + type DiffSizeResponse struct + Size int64 + type Driver interface + ApplyDiff func(id, parent string, archive io.Reader) (int64, error) + Capabilities func() graphDriver.Capabilities + Changes func(id, parent string) ([]Change, error) + Cleanup func() error + Create func(id, parent, mountlabel string, storageOpt map[string]string) error + CreateReadWrite func(id, parent, mountlabel string, storageOpt map[string]string) error + Diff func(id, parent string) io.ReadCloser + DiffSize func(id, parent string) (int64, error) + Exists func(id string) bool + Get func(id, mountLabel string) (containerfs.ContainerFS, error) + GetMetadata func(id string) (map[string]string, error) + Init func(home string, options []string, uidMaps, gidMaps []idtools.IDMap) error + Put func(id string) error + Remove func(id string) error + Status func() [][2]string + type ErrorResponse struct + Err string + func NewErrorResponse(msg string) *ErrorResponse + type ExistsRequest struct + ID string + type ExistsResponse struct + Exists bool + type GetMetadataRequest struct + ID string + type GetMetadataResponse struct + Metadata map[string]string + type GetRequest struct + ID string + MountLabel string + type GetResponse struct + Dir string + type Handler struct + func NewHandler(driver Driver) *Handler + type InitRequest struct + GIDMaps []idtools.IDMap + Home string + Options []string + UIDMaps []idtools.IDMap + type PutRequest struct + ID string + type RemoveRequest struct + ID string + type StatusRequest struct + type StatusResponse struct + Status [][2]string