summaryrefslogtreecommitdiff
path: root/server/apparmor/apparmor_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/apparmor/apparmor_unsupported.go')
-rw-r--r--server/apparmor/apparmor_unsupported.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/server/apparmor/apparmor_unsupported.go b/server/apparmor/apparmor_unsupported.go
deleted file mode 100644
index fbd1d87a0..000000000
--- a/server/apparmor/apparmor_unsupported.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// +build !apparmor
-
-package apparmor
-
-// IsEnabled returns false, when build without apparmor build tag.
-func IsEnabled() bool {
- return false
-}
-
-// EnsureDefaultApparmorProfile dose nothing, when build without apparmor build tag.
-func EnsureDefaultApparmorProfile() error {
- return nil
-}
-
-// GetProfileNameFromPodAnnotations dose nothing, when build without apparmor build tag.
-func GetProfileNameFromPodAnnotations(annotations map[string]string, containerName string) string {
- return ""
-}