Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultDockerRootDirectory is the default directory where runtime drivers will be created.
DefaultDockerRootDirectory = "/var/lib/docker/runtime"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgsResponse ¶
type ArgsResponse struct {
Args []string `json:"args,omitempty"`
}
ArgsResponse is the Args response
type Handler ¶
Handler forwards requests and responses between the docker daemon and the plugin.
func NewHandler ¶
NewHandler initializes the request handler with a plugin implementation.
type PathResponse ¶
type PathResponse struct {
Path string `json:"path,omitempty"`
}
PathResponse is the Path response
type Plugin ¶
type Plugin interface { Path() PathResponse Args() ArgsResponse }
Plugin represent the interface a driver must fulfill.
Click to show internal directories.
Click to hide internal directories.