diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-17 14:02:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 14:02:00 +0000 |
commit | c2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0 (patch) | |
tree | 9ab74df204c01b0989a863bac646c3a902080631 /libpod/healthcheck_unsupported.go | |
parent | c90eec2700d2e00a4b8f1e06ca640c034af5a530 (diff) | |
parent | 1572420c3fbf8a8022faaa93848a7239037a77e4 (diff) | |
download | podman-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.go | 25 |
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") +} |