plugin_unsupported.go 325 B

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