go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/linux/namespace/namespace.proto (about)

     1  syntax = "proto3";
     2  
     3  package ligato.linux.namespace;
     4  
     5  option go_package = "go.ligato.io/vpp-agent/v3/proto/ligato/linux/namespace;linux_namespace";
     6  
     7  message NetNamespace {
     8      enum ReferenceType {
     9          UNDEFINED = 0;
    10          NSID = 1;         /* named namespace */
    11          PID = 2;          /* namespace of a given process */
    12          FD = 3;           /* namespace referenced by a file handle */
    13          MICROSERVICE = 4; /* namespace of a docker container running given microservice */
    14      }
    15      ReferenceType type = 1;
    16  
    17      // Reference defines reference specific
    18      // to the namespace type:
    19      //  * namespace ID (NSID)
    20      //  * PID number (PID)
    21      //  * file path (FD)
    22      //  * microservice label (MICROSERVICE)
    23      string reference = 2;
    24  };