definition

package
v0.0.0-...-bb45038 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_integrations_shutdown_v1_definition_shutdown_proto protoreflect.FileDescriptor
View Source
var ShutdownV1_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "shutdown.ShutdownV1",
	HandlerType: (*ShutdownV1Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Shutdown",
			Handler:    _ShutdownV1_Shutdown_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "integrations/shutdown/v1/definition/shutdown.proto",
}

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

Functions

func RegisterShutdownV1Server

func RegisterShutdownV1Server(s grpc.ServiceRegistrar, srv ShutdownV1Server)

Types

type ShutdownV1Client

type ShutdownV1Client interface {
	// ShutdownServer sends the shutdown request
	Shutdown(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*definition.Empty, error)
}

ShutdownV1Client is the client API for ShutdownV1 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 NewShutdownV1Client

func NewShutdownV1Client(cc grpc.ClientConnInterface) ShutdownV1Client

type ShutdownV1Server

type ShutdownV1Server interface {
	// ShutdownServer sends the shutdown request
	Shutdown(context.Context, *definition.Empty) (*definition.Empty, error)
	// contains filtered or unexported methods
}

ShutdownV1Server is the server API for ShutdownV1 service. All implementations must embed UnimplementedShutdownV1Server for forward compatibility

type UnimplementedShutdownV1Server

type UnimplementedShutdownV1Server struct {
}

UnimplementedShutdownV1Server must be embedded to have forward compatible implementations.

func (UnimplementedShutdownV1Server) Shutdown

type UnsafeShutdownV1Server

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL