Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AllDrivers is a slice of all existing known Drivers. AllDrivers = []Driver{ {DriverType: btrfs.Type, Name: btrfs.Name}, {DriverType: buse.Type, Name: buse.Name}, {DriverType: nfs.Type, Name: nfs.Name}, {DriverType: pwx.Type, Name: pwx.Name}, {DriverType: vfs.Type, Name: vfs.Name}, {DriverType: fake.Type, Name: fake.Name}, } )
Functions ¶
func Get ¶
func Get(name string) (volume.VolumeDriver, error)
Get returns a VolumeDriver based on input name.
Types ¶
type Driver ¶
type Driver struct { DriverType api.DriverType Name string }
Driver is the description of a supported OST driver. New Drivers are added to the drivers array
Directories ¶
Path | Synopsis |
---|---|
Package buse uses the Linux NBD layer to emulate a block device in user space
|
Package buse uses the Linux NBD layer to emulate a block device in user space |
Package fake provides an in-memory fake driver implementation Copyright 2018 Portworx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
Package fake provides an in-memory fake driver implementation Copyright 2018 Portworx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.