1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Godep update for docker plugingetter pkg

Signed-off-by: Santhosh Manohar <santhosh@docker.com>
This commit is contained in:
Santhosh Manohar 2017-01-10 13:11:48 -08:00
parent 56aa6f94b3
commit 3178e13246
2 changed files with 8 additions and 8 deletions

View file

@ -143,8 +143,8 @@
},
{
"ImportPath": "github.com/docker/docker/pkg/plugingetter",
"Comment": "docs-v1.12.0-rc4-2016-07-15-4185-ge4512d2",
"Rev": "e4512d264741e83e954a19f9ef5e3cb06c5856b6"
"Comment": "docs-v1.12.0-rc4-2016-07-15-1985-g9c96768",
"Rev": "9c96768eae4b3a65147b47a55c850c103ab8972d"
},
{
"ImportPath": "github.com/docker/docker/pkg/plugins",

View file

@ -3,12 +3,12 @@ package plugingetter
import "github.com/docker/docker/pkg/plugins"
const (
// LOOKUP doesn't update RefCount
LOOKUP = 0
// ACQUIRE increments RefCount
ACQUIRE = 1
// RELEASE decrements RefCount
RELEASE = -1
// Lookup doesn't update RefCount
Lookup = 0
// Acquire increments RefCount
Acquire = 1
// Release decrements RefCount
Release = -1
)
// CompatPlugin is an abstraction to handle both v2(new) and v1(legacy) plugins.