Documentation
¶
Index ¶
- Constants
- Variables
- func Init(home string, options []string) (graphdriver.Driver, error)
- type Driver
- func (d *Driver) Cleanup() error
- func (d *Driver) Create(id, parent string) error
- func (d *Driver) Exists(id string) bool
- func (d *Driver) Get(id, mountLabel string) (string, error)
- func (d *Driver) Put(id string)
- func (d *Driver) Remove(id string) error
- func (d *Driver) Status() [][2]string
- func (d *Driver) String() string
- type Rados
- type RadosIoCtx
- type RbdImage
- type RbdMappingInfo
Constants ¶
View Source
const ( RadosConfigFile = "/etc/ceph/ceph.conf" RadosSysfsDevices = "/sys/devices/rbd" RbdDevicePath = "/dev/rbd" DockerBaseImageSize = 10 * 1024 * 1024 * 1024 DockerCloneSnapshot = "docker-clone-snapshot" )
Variables ¶
Functions ¶
Types ¶
type RadosIoCtx ¶
type RadosIoCtx C.rados_ioctx_t
type RbdImage ¶
type RbdImage C.rbd_image_t
Click to show internal directories.
Click to hide internal directories.