github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/pkg/specgen/config_unsupported.go (about) 1 // +build !linux 2 3 package specgen 4 5 import ( 6 "github.com/containers/libpod/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 }