mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-07 02:07:58 +00:00
Add vendor folder to git
This commit is contained in:
parent
66cf5eaafb
commit
183585f56f
6916 changed files with 2629581 additions and 1 deletions
36
vendor/github.com/grpc-ecosystem/grpc-gateway/examples/examplepb/echo_service.proto
generated
vendored
Normal file
36
vendor/github.com/grpc-ecosystem/grpc-gateway/examples/examplepb/echo_service.proto
generated
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
syntax = "proto3";
|
||||
option go_package = "examplepb";
|
||||
|
||||
// Echo Service
|
||||
//
|
||||
// Echo Service API consists of a single service which returns
|
||||
// a message.
|
||||
package grpc.gateway.examples.examplepb;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
// SimpleMessage represents a simple message sent to the Echo service.
|
||||
message SimpleMessage {
|
||||
// Id represents the message identifier.
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
// Echo service responds to incoming echo requests.
|
||||
service EchoService {
|
||||
// Echo method receives a simple message and returns it.
|
||||
//
|
||||
// The message posted as the id parameter will also be
|
||||
// returned.
|
||||
rpc Echo(SimpleMessage) returns (SimpleMessage) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/example/echo/{id}"
|
||||
};
|
||||
}
|
||||
// EchoBody method receives a simple message and returns it.
|
||||
rpc EchoBody(SimpleMessage) returns (SimpleMessage) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/example/echo_body"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue