gopkg.in/docker/docker.v1@v1.13.1/plugin/v2/plugin_unsupported.go (about) 1 // +build !linux 2 3 package v2 4 5 import ( 6 "errors" 7 8 specs "github.com/opencontainers/runtime-spec/specs-go" 9 ) 10 11 // InitSpec creates an OCI spec from the plugin's config. 12 func (p *Plugin) InitSpec(execRoot string) (*specs.Spec, error) { 13 return nil, errors.New("not supported") 14 }