summaryrefslogtreecommitdiff
path: root/pkg/bindings/bindings.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-19 23:49:44 +0100
committerGitHub <noreply@github.com>2020-03-19 23:49:44 +0100
commitd927b43350a079c05f54e984838b851bcc2e5931 (patch)
tree70a7e573f71d0ff3d38b349774bc19fdc2989602 /pkg/bindings/bindings.go
parentaa6c8c2e55a7de14fb22f89af14d5c0636eecee0 (diff)
parentd1c26af144b314f30cd69d42e33ab8cbacb080ff (diff)
downloadpodman-d927b43350a079c05f54e984838b851bcc2e5931.tar.gz
podman-d927b43350a079c05f54e984838b851bcc2e5931.tar.bz2
podman-d927b43350a079c05f54e984838b851bcc2e5931.zip
Merge pull request #5525 from baude/apiv2bindinglogs
apiv2 add bindings for logs|events
Diffstat (limited to 'pkg/bindings/bindings.go')
-rw-r--r--pkg/bindings/bindings.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/bindings/bindings.go b/pkg/bindings/bindings.go
index e83c4a5e1..4b07847d1 100644
--- a/pkg/bindings/bindings.go
+++ b/pkg/bindings/bindings.go
@@ -7,3 +7,12 @@
// is established, users can then manage the Podman container runtime.
package bindings
+
+var (
+ // PTrue is a convenience variable that can be used in bindings where
+ // a pointer to a bool (optional parameter) is required.
+ PTrue bool = true
+ // PFalse is a convenience variable that can be used in bindings where
+ // a pointer to a bool (optional parameter) is required.
+ PFalse bool = false
+)