summaryrefslogtreecommitdiff
path: root/libpod/events/events_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/events/events_unsupported.go')
-rw-r--r--libpod/events/events_unsupported.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/libpod/events/events_unsupported.go b/libpod/events/events_unsupported.go
new file mode 100644
index 000000000..5b32a1b4b
--- /dev/null
+++ b/libpod/events/events_unsupported.go
@@ -0,0 +1,10 @@
+// +build !linux
+
+package events
+
+import "github.com/pkg/errors"
+
+// NewEventer creates an eventer based on the eventer type
+func NewEventer(options EventerOptions) (Eventer, error) {
+ return nil, errors.New("this function is not available for your platform")
+}