Documentation ¶
Index ¶
- Constants
- func Init(home string, options []string) (graphdriver.Driver, error)
- func Mounted(mountpoint string) (bool, error)
- func ProbeFsType(device string) (string, error)
- type DevInfo
- type MetaData
- type RbdDriver
- func (d *RbdDriver) Cleanup() error
- func (d *RbdDriver) Create(id, parent string) error
- func (d *RbdDriver) Exists(id string) bool
- func (d *RbdDriver) Get(id, mountLabel string) (string, error)
- func (d *RbdDriver) GetMetadata(id string) (map[string]string, error)
- func (d *RbdDriver) Put(id string) error
- func (d *RbdDriver) Remove(id string) error
- func (d *RbdDriver) Status() [][2]string
- func (d *RbdDriver) String() string
- type RbdMappingInfo
- type RbdSet
- func (devices *RbdSet) AddDevice(hash, baseHash string) error
- func (devices *RbdSet) DeleteDevice(hash string) error
- func (devices *RbdSet) HasDevice(hash string) bool
- func (devices *RbdSet) MountDevice(hash, mountPoint, mountLabel string) error
- func (devices *RbdSet) Shutdown() error
- func (devices *RbdSet) UnmountDevice(hash string) error
Constants ¶
View Source
const ( DefaultRadosConfigFile = "/etc/ceph/ceph.conf" DefaultDockerBaseImageSize = 10 * 1024 * 1024 * 1024 DefaultMetaObjectDataSize = 256 )
Variables ¶
This section is empty.
Functions ¶
func ProbeFsType ¶
Types ¶
type RbdDriver ¶
type RbdDriver struct { *RbdSet // contains filtered or unexported fields }
func (*RbdDriver) GetMetadata ¶
type RbdMappingInfo ¶
type RbdSet ¶
type RbdSet struct { MetaData // contains filtered or unexported fields }
func (*RbdSet) DeleteDevice ¶
func (*RbdSet) MountDevice ¶
func (*RbdSet) UnmountDevice ¶
Click to show internal directories.
Click to hide internal directories.