github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/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  }