docker

package
v18.10.0-beta.1+incomp... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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) Activate

func (p *Plugin) Activate() error

func (*Plugin) Capabilities

func (p *Plugin) Capabilities() *volume.CapabilitiesResponse

func (*Plugin) Create

func (p *Plugin) Create(request *volume.CreateRequest) error

func (*Plugin) Deactivate

func (p *Plugin) Deactivate() error

func (*Plugin) Get

func (p *Plugin) Get(request *volume.GetRequest) (*volume.GetResponse, error)

func (*Plugin) GetName

func (p *Plugin) GetName() string

func (*Plugin) List

func (p *Plugin) List() (*volume.ListResponse, 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)

func (*Plugin) Remove

func (p *Plugin) Remove(request *volume.RemoveRequest) error

func (*Plugin) Unmount

func (p *Plugin) Unmount(request *volume.UnmountRequest) error

func (*Plugin) Version

func (p *Plugin) Version() string

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL