github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/api/types/swarm/runtime/plugin.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/docker/docker/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  }