github.com/toplink-cn/moby@v0.0.0-20240305205811-460b4aebdf81/api/types/swarm/runtime/plugin.proto (about)

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