mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-22 01:17:16 +00:00
* chore: Upgrade Go module to v2 Signed-off-by: jannfis <jann@mistrust.net> * Restore import order Signed-off-by: jannfis <jann@mistrust.net> * fix knowntypes_normalizer codegen error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix codegen Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix Procfile Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
37 lines
957 B
Protocol Buffer
37 lines
957 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 KsonnetVersion = 9;
|
|
string KustomizeVersion = 10;
|
|
string HelmVersion = 11;
|
|
string KubectlVersion = 12;
|
|
string JsonnetVersion = 13;
|
|
}
|
|
|
|
// 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"
|
|
};
|
|
}
|
|
}
|