Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_management_ManagementCompat_proto protoreflect.FileDescriptor
Functions ¶
func RegisterManagementServiceServer ¶
func RegisterManagementServiceServer(s grpc.ServiceRegistrar, srv ManagementServiceServer)
Types ¶
type ManagementServiceClient ¶
type ManagementServiceClient interface { // Report custom properties of a service instance. ReportInstanceProperties(ctx context.Context, in *v3.InstanceProperties, opts ...grpc.CallOption) (*v31.Commands, error) // Keep the instance alive in the backend analysis. // Only recommend to do separate keepAlive report when no trace and metrics // needs to be reported. Otherwise, it is duplicated. KeepAlive(ctx context.Context, in *v3.InstancePingPkg, opts ...grpc.CallOption) (*v31.Commands, error) }
ManagementServiceClient is the client API for ManagementService 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 NewManagementServiceClient ¶
func NewManagementServiceClient(cc grpc.ClientConnInterface) ManagementServiceClient
type ManagementServiceServer ¶
type ManagementServiceServer interface { // Report custom properties of a service instance. ReportInstanceProperties(context.Context, *v3.InstanceProperties) (*v31.Commands, error) // Keep the instance alive in the backend analysis. // Only recommend to do separate keepAlive report when no trace and metrics // needs to be reported. Otherwise, it is duplicated. KeepAlive(context.Context, *v3.InstancePingPkg) (*v31.Commands, error) // contains filtered or unexported methods }
ManagementServiceServer is the server API for ManagementService service. All implementations must embed UnimplementedManagementServiceServer for forward compatibility
type UnimplementedManagementServiceServer ¶
type UnimplementedManagementServiceServer struct { }
UnimplementedManagementServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedManagementServiceServer) KeepAlive ¶
func (UnimplementedManagementServiceServer) KeepAlive(context.Context, *v3.InstancePingPkg) (*v31.Commands, error)
func (UnimplementedManagementServiceServer) ReportInstanceProperties ¶
func (UnimplementedManagementServiceServer) ReportInstanceProperties(context.Context, *v3.InstanceProperties) (*v31.Commands, error)
type UnsafeManagementServiceServer ¶
type UnsafeManagementServiceServer interface {
// contains filtered or unexported methods
}
UnsafeManagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManagementServiceServer will result in compilation errors.