Documentation ¶
Index ¶
- Constants
- func ExtendHandler(h *volume.Handler, d ExtDriver)
- func ForceSymlinkInDockerPlugins(driver string) error
- func RancherSocketFile(driver string) string
- type AttachRequest
- type CmdOutput
- type ExtDriver
- type RancherState
- type RancherStorageDriver
- func (d *RancherStorageDriver) Attach(request AttachRequest) volume.Response
- func (d *RancherStorageDriver) Capabilities(volume.Request) volume.Response
- func (d *RancherStorageDriver) Create(request volume.Request) volume.Response
- func (d *RancherStorageDriver) Get(request volume.Request) volume.Response
- func (d *RancherStorageDriver) List(request volume.Request) volume.Response
- func (d *RancherStorageDriver) ListAllVolumes() ([]*volume.Volume, error)
- func (d *RancherStorageDriver) Mount(request volume.MountRequest) volume.Response
- func (d *RancherStorageDriver) Path(request volume.Request) volume.Response
- func (d *RancherStorageDriver) Remove(request volume.Request) volume.Response
- func (d *RancherStorageDriver) Unmount(request volume.UnmountRequest) volume.Response
Constants ¶
View Source
const ( RancherUUID = "rancher-uuid" DefaultBasedir = "/var/lib/rancher/volumes" DefaultFsType = "ext4" DefaultScope = "flex" )
Variables ¶
This section is empty.
Functions ¶
func ExtendHandler ¶ added in v0.6.5
func ForceSymlinkInDockerPlugins ¶ added in v0.6.5
func RancherSocketFile ¶ added in v0.6.5
Types ¶
type AttachRequest ¶ added in v0.6.5
type ExtDriver ¶ added in v0.6.5
type ExtDriver interface {
Attach(AttachRequest) volume.Response
}
type RancherState ¶
type RancherState struct {
// contains filtered or unexported fields
}
func NewRancherState ¶
func NewRancherState(driver string, client *client.RancherClient) (*RancherState, error)
type RancherStorageDriver ¶
type RancherStorageDriver struct { DriverName string Basedir string Scope string CreateSupported bool Command string FsType string SaveOnAttach bool Rancher bool // contains filtered or unexported fields }
func NewRancherStorageDriver ¶
func NewRancherStorageDriver(driver string, client *client.RancherClient, cli *dockerClient.Client) (*RancherStorageDriver, error)
func (*RancherStorageDriver) Attach ¶ added in v0.6.5
func (d *RancherStorageDriver) Attach(request AttachRequest) volume.Response
func (*RancherStorageDriver) Capabilities ¶
func (d *RancherStorageDriver) Capabilities(volume.Request) volume.Response
func (*RancherStorageDriver) Create ¶
func (d *RancherStorageDriver) Create(request volume.Request) volume.Response
func (*RancherStorageDriver) Get ¶
func (d *RancherStorageDriver) Get(request volume.Request) volume.Response
func (*RancherStorageDriver) List ¶
func (d *RancherStorageDriver) List(request volume.Request) volume.Response
func (*RancherStorageDriver) ListAllVolumes ¶ added in v0.9.0
func (d *RancherStorageDriver) ListAllVolumes() ([]*volume.Volume, error)
func (*RancherStorageDriver) Mount ¶
func (d *RancherStorageDriver) Mount(request volume.MountRequest) volume.Response
func (*RancherStorageDriver) Path ¶
func (d *RancherStorageDriver) Path(request volume.Request) volume.Response
func (*RancherStorageDriver) Remove ¶
func (d *RancherStorageDriver) Remove(request volume.Request) volume.Response
func (*RancherStorageDriver) Unmount ¶
func (d *RancherStorageDriver) Unmount(request volume.UnmountRequest) volume.Response
Click to show internal directories.
Click to hide internal directories.