plugin_unsupported.go 342 B

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