forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.proto
36 lines (32 loc) · 925 Bytes
/
version.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
syntax = "proto3";
option go_package = "github.com/argoproj/argo-cd/pkg/apiclient/version";
// Version Service
//
// Version Service API returns the version of the API server.
package version;
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
// VersionMessage represents version of the Argo CD API server
message VersionMessage {
string Version = 1;
string BuildDate = 2;
string GitCommit = 3;
string GitTag = 4;
string GitTreeState = 5;
string GoVersion = 6;
string Compiler = 7;
string Platform = 8;
string KsonnetVersion = 9;
string KustomizeVersion = 10;
string HelmVersion = 11;
string KubectlVersion = 12;
}
// VersionService returns the version of the API server.
service VersionService {
// Version returns version information of the API server
rpc Version(google.protobuf.Empty) returns (VersionMessage) {
option (google.api.http) = {
get: "/api/version"
};
}
}