This moves the types for the `engine-api` repo to the existing types package. Signed-off-by: Michael Crosby <crosbymichael@gmail.com> Upstream-commit: 91e197d614547f0202e6ae9b8a24d88ee131d950 Component: engine
14 lines
275 B
Go
14 lines
275 B
Go
// +build linux,!seccomp
|
|
|
|
package seccomp
|
|
|
|
import (
|
|
"github.com/docker/docker/api/types"
|
|
"github.com/opencontainers/runtime-spec/specs-go"
|
|
)
|
|
|
|
// DefaultProfile returns a nil pointer on unsupported systems.
|
|
func DefaultProfile(rs *specs.Spec) *types.Seccomp {
|
|
return nil
|
|
}
|