mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
a452d1fccb
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
19 lines
472 B
Go
19 lines
472 B
Go
package v2
|
|
|
|
import (
|
|
"sync"
|
|
|
|
"github.com/docker/docker/api/types"
|
|
"github.com/docker/docker/pkg/plugins"
|
|
)
|
|
|
|
// Plugin represents an individual plugin.
|
|
type Plugin struct {
|
|
sync.RWMutex
|
|
PluginObj types.Plugin `json:"plugin"`
|
|
PClient *plugins.Client `json:"-"`
|
|
RuntimeSourcePath string `json:"-"`
|
|
RefCount int `json:"-"`
|
|
Restart bool `json:"-"`
|
|
ExitChan chan bool `json:"-"`
|
|
}
|