mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-17 20:17:03 +02:00
This moves `pkg/config`, `pkg/client` and `pkg/constants` under `pkg/machinery` umbrella. And `pkg/machinery` is published as Go module inside Talos repository. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
33 lines
783 B
Protocol Buffer
33 lines
783 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cluster;
|
|
|
|
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/cluster";
|
|
option java_multiple_files = true;
|
|
option java_outer_classname = "ClusterApi";
|
|
option java_package = "com.cluster.api";
|
|
|
|
import "google/protobuf/duration.proto";
|
|
import "common/common.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;
|
|
}
|