talos/api/cluster/cluster.proto
Andrey Smirnov 96aa9638f7
chore: rename talos-systems/talos to siderolabs/talos
There's a cyclic dependency on siderolink library which imports talos
machinery back. We will fix that after we get talos pushed under a new
name.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-11-03 16:50:32 +04:00

30 lines
655 B
Protocol Buffer

syntax = "proto3";
package cluster;
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/cluster";
import "common/common.proto";
import "google/protobuf/duration.proto";
// The cluster service definition.
service ClusterService {
rpc HealthCheck(HealthCheckRequest) returns (stream HealthCheckProgress);
}
message HealthCheckRequest {
google.protobuf.Duration wait_timeout = 1;
ClusterInfo cluster_info = 2;
}
message ClusterInfo {
repeated string control_plane_nodes = 1;
repeated string worker_nodes = 2;
string force_endpoint = 3;
}
message HealthCheckProgress {
common.Metadata metadata = 1;
string message = 2;
}