mirror of
				https://github.com/siderolabs/talos.git
				synced 2025-10-31 16:31:13 +01:00 
			
		
		
		
	Update tools/pkgs to the latest version, brings in all updates. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
		
			
				
	
	
		
			339 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			339 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Code generated by protoc-gen-go. DO NOT EDIT.
 | |
| // versions:
 | |
| // 	protoc-gen-go v1.34.1
 | |
| // 	protoc        v5.26.1
 | |
| // source: cluster/cluster.proto
 | |
| 
 | |
| package cluster
 | |
| 
 | |
| import (
 | |
| 	reflect "reflect"
 | |
| 	sync "sync"
 | |
| 
 | |
| 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 | |
| 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 | |
| 	durationpb "google.golang.org/protobuf/types/known/durationpb"
 | |
| 
 | |
| 	common "github.com/siderolabs/talos/pkg/machinery/api/common"
 | |
| )
 | |
| 
 | |
| const (
 | |
| 	// Verify that this generated code is sufficiently up-to-date.
 | |
| 	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
 | |
| 	// Verify that runtime/protoimpl is sufficiently up-to-date.
 | |
| 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 | |
| )
 | |
| 
 | |
| type HealthCheckRequest struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	WaitTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"`
 | |
| 	ClusterInfo *ClusterInfo         `protobuf:"bytes,2,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *HealthCheckRequest) Reset() {
 | |
| 	*x = HealthCheckRequest{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_cluster_cluster_proto_msgTypes[0]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *HealthCheckRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*HealthCheckRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_cluster_cluster_proto_msgTypes[0]
 | |
| 	if protoimpl.UnsafeEnabled && x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
 | |
| func (*HealthCheckRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_cluster_cluster_proto_rawDescGZIP(), []int{0}
 | |
| }
 | |
| 
 | |
| func (x *HealthCheckRequest) GetWaitTimeout() *durationpb.Duration {
 | |
| 	if x != nil {
 | |
| 		return x.WaitTimeout
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *HealthCheckRequest) GetClusterInfo() *ClusterInfo {
 | |
| 	if x != nil {
 | |
| 		return x.ClusterInfo
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type ClusterInfo struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	ControlPlaneNodes []string `protobuf:"bytes,1,rep,name=control_plane_nodes,json=controlPlaneNodes,proto3" json:"control_plane_nodes,omitempty"`
 | |
| 	WorkerNodes       []string `protobuf:"bytes,2,rep,name=worker_nodes,json=workerNodes,proto3" json:"worker_nodes,omitempty"`
 | |
| 	ForceEndpoint     string   `protobuf:"bytes,3,opt,name=force_endpoint,json=forceEndpoint,proto3" json:"force_endpoint,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *ClusterInfo) Reset() {
 | |
| 	*x = ClusterInfo{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_cluster_cluster_proto_msgTypes[1]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *ClusterInfo) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*ClusterInfo) ProtoMessage() {}
 | |
| 
 | |
| func (x *ClusterInfo) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_cluster_cluster_proto_msgTypes[1]
 | |
| 	if protoimpl.UnsafeEnabled && x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use ClusterInfo.ProtoReflect.Descriptor instead.
 | |
| func (*ClusterInfo) Descriptor() ([]byte, []int) {
 | |
| 	return file_cluster_cluster_proto_rawDescGZIP(), []int{1}
 | |
| }
 | |
| 
 | |
| func (x *ClusterInfo) GetControlPlaneNodes() []string {
 | |
| 	if x != nil {
 | |
| 		return x.ControlPlaneNodes
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *ClusterInfo) GetWorkerNodes() []string {
 | |
| 	if x != nil {
 | |
| 		return x.WorkerNodes
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *ClusterInfo) GetForceEndpoint() string {
 | |
| 	if x != nil {
 | |
| 		return x.ForceEndpoint
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type HealthCheckProgress struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
 | |
| 	Message  string           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *HealthCheckProgress) Reset() {
 | |
| 	*x = HealthCheckProgress{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_cluster_cluster_proto_msgTypes[2]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *HealthCheckProgress) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*HealthCheckProgress) ProtoMessage() {}
 | |
| 
 | |
| func (x *HealthCheckProgress) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_cluster_cluster_proto_msgTypes[2]
 | |
| 	if protoimpl.UnsafeEnabled && x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use HealthCheckProgress.ProtoReflect.Descriptor instead.
 | |
| func (*HealthCheckProgress) Descriptor() ([]byte, []int) {
 | |
| 	return file_cluster_cluster_proto_rawDescGZIP(), []int{2}
 | |
| }
 | |
| 
 | |
| func (x *HealthCheckProgress) GetMetadata() *common.Metadata {
 | |
| 	if x != nil {
 | |
| 		return x.Metadata
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *HealthCheckProgress) GetMessage() string {
 | |
| 	if x != nil {
 | |
| 		return x.Message
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| var File_cluster_cluster_proto protoreflect.FileDescriptor
 | |
| 
 | |
| var file_cluster_cluster_proto_rawDesc = []byte{
 | |
| 	0x0a, 0x15, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
 | |
| 	0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
 | |
| 	0x1a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
 | |
| 	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
 | |
| 	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
 | |
| 	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68,
 | |
| 	0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0c,
 | |
| 	0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01,
 | |
| 	0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
 | |
| 	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x77,
 | |
| 	0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x37, 0x0a, 0x0c, 0x63, 0x6c,
 | |
| 	0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
 | |
| 	0x32, 0x14, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74,
 | |
| 	0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
 | |
| 	0x6e, 0x66, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x0b, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
 | |
| 	0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70,
 | |
| 	0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
 | |
| 	0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x4e, 0x6f,
 | |
| 	0x64, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x6e, 0x6f,
 | |
| 	0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x65,
 | |
| 	0x72, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f,
 | |
| 	0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
 | |
| 	0x66, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x5d, 0x0a,
 | |
| 	0x13, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x67,
 | |
| 	0x72, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
 | |
| 	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
 | |
| 	0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
 | |
| 	0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
 | |
| 	0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x5c, 0x0a, 0x0e,
 | |
| 	0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a,
 | |
| 	0x0a, 0x0b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1b, 0x2e,
 | |
| 	0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68,
 | |
| 	0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x6c, 0x75,
 | |
| 	0x73, 0x74, 0x65, 0x72, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b,
 | |
| 	0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x30, 0x01, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69,
 | |
| 	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x64, 0x65, 0x72, 0x6f, 0x6c,
 | |
| 	0x61, 0x62, 0x73, 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x6d, 0x61,
 | |
| 	0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x75, 0x73,
 | |
| 	0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 | |
| }
 | |
| 
 | |
| var (
 | |
| 	file_cluster_cluster_proto_rawDescOnce sync.Once
 | |
| 	file_cluster_cluster_proto_rawDescData = file_cluster_cluster_proto_rawDesc
 | |
| )
 | |
| 
 | |
| func file_cluster_cluster_proto_rawDescGZIP() []byte {
 | |
| 	file_cluster_cluster_proto_rawDescOnce.Do(func() {
 | |
| 		file_cluster_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_cluster_cluster_proto_rawDescData)
 | |
| 	})
 | |
| 	return file_cluster_cluster_proto_rawDescData
 | |
| }
 | |
| 
 | |
| var file_cluster_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
 | |
| var file_cluster_cluster_proto_goTypes = []interface{}{
 | |
| 	(*HealthCheckRequest)(nil),  // 0: cluster.HealthCheckRequest
 | |
| 	(*ClusterInfo)(nil),         // 1: cluster.ClusterInfo
 | |
| 	(*HealthCheckProgress)(nil), // 2: cluster.HealthCheckProgress
 | |
| 	(*durationpb.Duration)(nil), // 3: google.protobuf.Duration
 | |
| 	(*common.Metadata)(nil),     // 4: common.Metadata
 | |
| }
 | |
| var file_cluster_cluster_proto_depIdxs = []int32{
 | |
| 	3, // 0: cluster.HealthCheckRequest.wait_timeout:type_name -> google.protobuf.Duration
 | |
| 	1, // 1: cluster.HealthCheckRequest.cluster_info:type_name -> cluster.ClusterInfo
 | |
| 	4, // 2: cluster.HealthCheckProgress.metadata:type_name -> common.Metadata
 | |
| 	0, // 3: cluster.ClusterService.HealthCheck:input_type -> cluster.HealthCheckRequest
 | |
| 	2, // 4: cluster.ClusterService.HealthCheck:output_type -> cluster.HealthCheckProgress
 | |
| 	4, // [4:5] is the sub-list for method output_type
 | |
| 	3, // [3:4] is the sub-list for method input_type
 | |
| 	3, // [3:3] is the sub-list for extension type_name
 | |
| 	3, // [3:3] is the sub-list for extension extendee
 | |
| 	0, // [0:3] is the sub-list for field type_name
 | |
| }
 | |
| 
 | |
| func init() { file_cluster_cluster_proto_init() }
 | |
| func file_cluster_cluster_proto_init() {
 | |
| 	if File_cluster_cluster_proto != nil {
 | |
| 		return
 | |
| 	}
 | |
| 	if !protoimpl.UnsafeEnabled {
 | |
| 		file_cluster_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*HealthCheckRequest); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_cluster_cluster_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*ClusterInfo); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_cluster_cluster_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*HealthCheckProgress); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| 	type x struct{}
 | |
| 	out := protoimpl.TypeBuilder{
 | |
| 		File: protoimpl.DescBuilder{
 | |
| 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 | |
| 			RawDescriptor: file_cluster_cluster_proto_rawDesc,
 | |
| 			NumEnums:      0,
 | |
| 			NumMessages:   3,
 | |
| 			NumExtensions: 0,
 | |
| 			NumServices:   1,
 | |
| 		},
 | |
| 		GoTypes:           file_cluster_cluster_proto_goTypes,
 | |
| 		DependencyIndexes: file_cluster_cluster_proto_depIdxs,
 | |
| 		MessageInfos:      file_cluster_cluster_proto_msgTypes,
 | |
| 	}.Build()
 | |
| 	File_cluster_cluster_proto = out.File
 | |
| 	file_cluster_cluster_proto_rawDesc = nil
 | |
| 	file_cluster_cluster_proto_goTypes = nil
 | |
| 	file_cluster_cluster_proto_depIdxs = nil
 | |
| }
 |