plugin_unsupported.go 277 B

1234567891011121314
  1. // +build !linux
  2. package 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. }