github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/plugin/v2/plugin_unsupported.go (about) 1 // +build !linux 2 3 package v2 // import "github.com/docker/docker/plugin/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 }