github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/pkg/specgen/config_unsupported.go (about) 1 //go:build !linux 2 // +build !linux 3 4 package specgen 5 6 import ( 7 "github.com/containers/common/libimage" 8 spec "github.com/opencontainers/runtime-spec/specs-go" 9 "github.com/pkg/errors" 10 ) 11 12 func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec, img *libimage.Image) (*spec.LinuxSeccomp, error) { 13 return nil, errors.New("function not supported on non-linux OS's") 14 }