Files
argo-cd/server/version/version.proto
Ishita Sequeira 1fe62574ce chore: Add additional field to set Extra Build Information while building argo-cd by vendors (#13324)
* Add additonal field to set Extra Build Information while building argocd by vendors

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Include spaces in extra build info

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Address comments

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

---------

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
2023-04-27 00:10:12 +00:00

38 lines
958 B
Protocol Buffer

syntax = "proto3";
option go_package = "github.com/argoproj/argo-cd/v2/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 KustomizeVersion = 10;
string HelmVersion = 11;
string KubectlVersion = 12;
string JsonnetVersion = 13;
string ExtraBuildInfo = 14;
}
// 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"
};
}
}