github.com/argoproj/argo-events@v1.9.1/eventsources/sources/generic/generic.proto (about)

     1  syntax = "proto3";
     2  
     3  package generic;
     4  
     5  service Eventing {
     6      rpc StartEventSource(EventSource) returns (stream Event);
     7  }
     8  
     9  message EventSource {
    10      // The event source name.
    11      string name = 1;
    12      // The event source configuration value.
    13      bytes config = 2;
    14  }
    15  
    16  /**
    17  * Represents an event
    18  */
    19  message Event {
    20      // The event source name.
    21      string name = 1;
    22      // The event payload.
    23      bytes payload = 2;
    24  }