syntax = "proto3";

// If you make any changes make sure you run: make regenerate-proto

package gitlab.agent.server_info;

option go_package = "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/server_info";

// ServerInfo contains information about a single server (KAS instance).
message ServerInfo {
  // Version contains the version the server was built with.
  string version = 1 [json_name = "version"];
  // GitRef contains the git reference the server was built with.
  // This may either be a Git commit SHA or a Git tag or an empty string as a fallback.
  string git_ref = 2 [json_name = "git_ref"];
}
