github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/moby/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 }