Documentation ¶
Index ¶
- type Plugin
- func (p *Plugin) Activate() error
- func (p *Plugin) Capabilities() *volume.CapabilitiesResponse
- func (p *Plugin) Create(request *volume.CreateRequest) error
- func (p *Plugin) Deactivate() error
- func (p *Plugin) Get(request *volume.GetRequest) (*volume.GetResponse, error)
- func (p *Plugin) GetName() string
- func (p *Plugin) List() (*volume.ListResponse, error)
- func (p *Plugin) Mount(request *volume.MountRequest) (*volume.MountResponse, error)
- func (p *Plugin) Path(request *volume.PathRequest) (*volume.PathResponse, error)
- func (p *Plugin) Remove(request *volume.RemoveRequest) error
- func (p *Plugin) Unmount(request *volume.UnmountRequest) error
- func (p *Plugin) Version() string
- type Snapshot
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func NewPlugin ¶
func NewPlugin(driverName, driverPort string, orchestrator core.Orchestrator) (*Plugin, error)
func (*Plugin) Capabilities ¶
func (p *Plugin) Capabilities() *volume.CapabilitiesResponse
func (*Plugin) Deactivate ¶
func (*Plugin) Get ¶
func (p *Plugin) Get(request *volume.GetRequest) (*volume.GetResponse, error)
func (*Plugin) Mount ¶
func (p *Plugin) Mount(request *volume.MountRequest) (*volume.MountResponse, error)
func (*Plugin) Path ¶
func (p *Plugin) Path(request *volume.PathRequest) (*volume.PathResponse, error)
type Version ¶
type Version struct { Client struct { Version string `json:"Version"` APIVersion string `json:"ApiVersion"` DefaultAPIVersion string `json:"DefaultAPIVersion"` GitCommit string `json:"GitCommit"` GoVersion string `json:"GoVersion"` Os string `json:"Os"` Arch string `json:"Arch"` BuildTime string `json:"BuildTime"` } `json:"Client"` Server struct { Version string `json:"Version"` APIVersion string `json:"ApiVersion"` MinAPIVersion string `json:"MinAPIVersion"` GitCommit string `json:"GitCommit"` GoVersion string `json:"GoVersion"` Os string `json:"Os"` Arch string `json:"Arch"` KernelVersion string `json:"KernelVersion"` BuildTime string `json:"BuildTime"` } `json:"Server"` }
Click to show internal directories.
Click to hide internal directories.