mirror of
				https://github.com/siderolabs/talos.git
				synced 2025-10-31 08:21:25 +01:00 
			
		
		
		
	Refs #2722. Co-authored-by: Andrey Smirnov <andrey.smirnov@talos-systems.com> Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
		
			
				
	
	
		
			30 lines
		
	
	
		
			658 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			658 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| syntax = "proto3";
 | |
| 
 | |
| package cluster;
 | |
| 
 | |
| option go_package = "github.com/talos-systems/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;
 | |
| }
 |