Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capacity ¶
type Capacity struct { // total size(byte) Total uint64 `json:"total"` // available size(byte) Free uint64 `json:"free"` }
Capacity holds information about capacity of image storage
type Driver ¶
type Driver interface { // Name returns a human-readable name of the driver Name() string // Cap returns the capacity of the image storage Cap() (*Capacity, error) }
Driver defines methods that an image storage driver must implement
var GlobalDriver Driver
GlobalDriver is a global image storage driver
Click to show internal directories.
Click to hide internal directories.