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