aboutsummaryrefslogtreecommitdiff
path: root/libpod/healthcheck_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-17 14:02:00 +0000
committerGitHub <noreply@github.com>2022-08-17 14:02:00 +0000
commitc2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0 (patch)
tree9ab74df204c01b0989a863bac646c3a902080631 /libpod/healthcheck_unsupported.go
parentc90eec2700d2e00a4b8f1e06ca640c034af5a530 (diff)
parent1572420c3fbf8a8022faaa93848a7239037a77e4 (diff)
downloadpodman-c2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0.tar.gz
podman-c2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0.tar.bz2
podman-c2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0.zip
Merge pull request #15357 from dfr/freebsd-build
Add non-linux build stubs for libpod
Diffstat (limited to 'libpod/healthcheck_unsupported.go')
-rw-r--r--libpod/healthcheck_unsupported.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/libpod/healthcheck_unsupported.go b/libpod/healthcheck_unsupported.go
new file mode 100644
index 000000000..92cd5d0a3
--- /dev/null
+++ b/libpod/healthcheck_unsupported.go
@@ -0,0 +1,25 @@
+//go:build !linux
+// +build !linux
+
+package libpod
+
+import (
+ "context"
+ "errors"
+)
+
+// createTimer systemd timers for healthchecks of a container
+func (c *Container) createTimer() error {
+ return errors.New("not implemented (*Container) createTimer")
+}
+
+// startTimer starts a systemd timer for the healthchecks
+func (c *Container) startTimer() error {
+ return errors.New("not implemented (*Container) startTimer")
+}
+
+// removeTransientFiles removes the systemd timer and unit files
+// for the container
+func (c *Container) removeTransientFiles(ctx context.Context) error {
+ return errors.New("not implemented (*Container) removeTransientFiles")
+}