github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/api/types/swarm/runtime/plugin.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/demonoid81/moby/api/types/swarm/runtime;runtime";
     4  
     5  // PluginSpec defines the base payload which clients can specify for creating
     6  // a service with the plugin runtime.
     7  message PluginSpec {
     8  	string name = 1;
     9  	string remote = 2;
    10  	repeated PluginPrivilege privileges = 3;
    11  	bool disabled = 4;
    12  	repeated string env = 5;
    13  }
    14  
    15  // PluginPrivilege describes a permission the user has to accept
    16  // upon installing a plugin.
    17  message PluginPrivilege {
    18  	string name = 1;
    19  	string description = 2;
    20  	repeated string value = 3;
    21  }