github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/pkg/specgen/config_unsupported.go (about)

     1  // +build !linux
     2  
     3  package specgen
     4  
     5  import (
     6  	"github.com/containers/podman/v2/libpod/image"
     7  	spec "github.com/opencontainers/runtime-spec/specs-go"
     8  	"github.com/pkg/errors"
     9  )
    10  
    11  func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec, img *image.Image) (*spec.LinuxSeccomp, error) {
    12  	return nil, errors.New("function not supported on non-linux OS's")
    13  }