github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/pkg/bindings/bindings.go (about) 1 // Package bindings provides golang-based access 2 // to the Podman REST API. Users can then interact with API endpoints 3 // to manage containers, images, pods, etc. 4 // 5 // This package exposes a series of methods that allow users to firstly 6 // create their connection with the API endpoints. Once the connection 7 // is established, users can then manage the Podman container runtime. 8 package bindings 9 10 import ( 11 "github.com/blang/semver" 12 ) 13 14 var ( 15 // PTrue is a convenience variable that can be used in bindings where 16 // a pointer to a bool (optional parameter) is required. 17 pTrue = true 18 PTrue = &pTrue 19 // PFalse is a convenience variable that can be used in bindings where 20 // a pointer to a bool (optional parameter) is required. 21 pFalse = false 22 PFalse = &pFalse 23 24 // APIVersion - podman will fail to run if this value is wrong 25 APIVersion = semver.MustParse("2.0.0") 26 )