diff options
author | Jhon Honce <jhonce@redhat.com> | 2019-05-08 16:45:12 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2019-05-14 12:19:28 -0700 |
commit | bd3154fcf6a48b37cfde5d9b1226900cd863c0d9 (patch) | |
tree | a898754ae35bdb97d52c359131ef5fff63d4b18b /pkg/varlinkapi/config.go | |
parent | a261b60cc8851c04efd191be6f6e2e4598439822 (diff) | |
download | podman-bd3154fcf6a48b37cfde5d9b1226900cd863c0d9.tar.gz podman-bd3154fcf6a48b37cfde5d9b1226900cd863c0d9.tar.bz2 podman-bd3154fcf6a48b37cfde5d9b1226900cd863c0d9.zip |
Add VarlinkCall.RequiresUpgrade() type and method
Type varlinkapi.VarlinkCall currently only used as receiver for
RequiresUpgrade() future helpers could be added to this type.
RequiresUpgrade() verifies caller has given correct options to the call
for the given operation.
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/varlinkapi/config.go')
-rw-r--r-- | pkg/varlinkapi/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/varlinkapi/config.go b/pkg/varlinkapi/config.go index e75170547..9952c2be1 100644 --- a/pkg/varlinkapi/config.go +++ b/pkg/varlinkapi/config.go @@ -21,3 +21,7 @@ func New(cli *cliconfig.PodmanCommand, runtime *libpod.Runtime) *iopodman.Varlin lp := LibpodAPI{Cli: cli.Command, Runtime: runtime} return iopodman.VarlinkNew(&lp) } + +type VarlinkCall struct { + *iopodman.VarlinkCall +} |