mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-17 16:11:01 -04:00
8e5eba8735
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
20 lines
534 B
Protocol Buffer
20 lines
534 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "github.com/docker/docker/api/types/swarm/runtime;runtime";
|
|
|
|
// PluginSpec defines the base payload which clients can specify for creating
|
|
// a service with the plugin runtime.
|
|
message PluginSpec {
|
|
string name = 1;
|
|
string remote = 2;
|
|
repeated PluginPrivilege privileges = 3;
|
|
bool disabled = 4;
|
|
}
|
|
|
|
// PluginPrivilege describes a permission the user has to accept
|
|
// upon installing a plugin.
|
|
message PluginPrivilege {
|
|
string name = 1;
|
|
string description = 2;
|
|
repeated string value = 3;
|
|
}
|