package Ydb_Monitoring_V1

import "github.com/ydb-platform/ydb-go-genproto/Ydb_Monitoring_V1"

Index

Constants

const (
	MonitoringService_SelfCheck_FullMethodName = "/Ydb.Monitoring.V1.MonitoringService/SelfCheck"
	MonitoringService_NodeCheck_FullMethodName = "/Ydb.Monitoring.V1.MonitoringService/NodeCheck"
)

Variables

var File_ydb_monitoring_v1_proto protoreflect.FileDescriptor
var MonitoringService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Ydb.Monitoring.V1.MonitoringService",
	HandlerType: (*MonitoringServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SelfCheck",
			Handler:    _MonitoringService_SelfCheck_Handler,
		},
		{
			MethodName: "NodeCheck",
			Handler:    _MonitoringService_NodeCheck_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ydb_monitoring_v1.proto",
}

MonitoringService_ServiceDesc is the grpc.ServiceDesc for MonitoringService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMonitoringServiceServer

func RegisterMonitoringServiceServer(s grpc.ServiceRegistrar, srv MonitoringServiceServer)

Types

type MonitoringServiceClient

type MonitoringServiceClient interface {
	// Gets the health status of the database.
	SelfCheck(ctx context.Context, in *Ydb_Monitoring.SelfCheckRequest, opts ...grpc.CallOption) (*Ydb_Monitoring.SelfCheckResponse, error)
	// Checks current node health
	NodeCheck(ctx context.Context, in *Ydb_Monitoring.NodeCheckRequest, opts ...grpc.CallOption) (*Ydb_Monitoring.NodeCheckResponse, error)
}

MonitoringServiceClient is the client API for MonitoringService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMonitoringServiceClient

func NewMonitoringServiceClient(cc grpc.ClientConnInterface) MonitoringServiceClient

type MonitoringServiceServer

type MonitoringServiceServer interface {
	// Gets the health status of the database.
	SelfCheck(context.Context, *Ydb_Monitoring.SelfCheckRequest) (*Ydb_Monitoring.SelfCheckResponse, error)
	// Checks current node health
	NodeCheck(context.Context, *Ydb_Monitoring.NodeCheckRequest) (*Ydb_Monitoring.NodeCheckResponse, error)
	// contains filtered or unexported methods
}

MonitoringServiceServer is the server API for MonitoringService service. All implementations must embed UnimplementedMonitoringServiceServer for forward compatibility

type UnimplementedMonitoringServiceServer

type UnimplementedMonitoringServiceServer struct {
}

UnimplementedMonitoringServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMonitoringServiceServer) NodeCheck

func (UnimplementedMonitoringServiceServer) SelfCheck

type UnsafeMonitoringServiceServer

type UnsafeMonitoringServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMonitoringServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MonitoringServiceServer will result in compilation errors.

Source Files

ydb_monitoring_v1.pb.go ydb_monitoring_v1_grpc.pb.go

Version
v0.0.0-20241112172322-ea1f63298f77 (latest)
Published
Nov 12, 2024
Platform
linux/amd64
Imports
8 packages
Last checked
4 weeks ago

Tools for package owners.