diff options
author | Brent Baude <bbaude@redhat.com> | 2020-03-14 14:01:20 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-03-19 09:38:00 -0500 |
commit | d1c26af144b314f30cd69d42e33ab8cbacb080ff (patch) | |
tree | c8b2bb6ce98631334e539086b2aa490c7e2bc770 /pkg/bindings/bindings.go | |
parent | e87fe4dbbbc55be42d7a31f5415f55d2ff99f81b (diff) | |
download | podman-d1c26af144b314f30cd69d42e33ab8cbacb080ff.tar.gz podman-d1c26af144b314f30cd69d42e33ab8cbacb080ff.tar.bz2 podman-d1c26af144b314f30cd69d42e33ab8cbacb080ff.zip |
apiv2 add bindings for logs|events
add go-bindings for logs and events. tests were also added.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/bindings/bindings.go')
-rw-r--r-- | pkg/bindings/bindings.go | 9 |
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 +) |