github.com/shishir-a412ed/docker@v1.3.2-0.20180103180333-fda904911d87/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  }
    13  
    14  // PluginPrivilege describes a permission the user has to accept
    15  // upon installing a plugin.
    16  message PluginPrivilege {
    17  	string name = 1;
    18  	string description = 2;
    19  	repeated string value = 3;
    20  }