containerd

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContainerDCaptureService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.ContainerDCaptureService",
	HandlerType: (*ContainerDCaptureServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Capture",
			Handler:       _ContainerDCaptureService_Capture_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "services/containerd/containerd.proto",
}

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

View Source
var File_services_containerd_containerd_proto protoreflect.FileDescriptor

Functions

func RegisterContainerDCaptureServiceServer

func RegisterContainerDCaptureServiceServer(s grpc.ServiceRegistrar, srv ContainerDCaptureServiceServer)

Types

type ContainerDCaptureServiceClient

type ContainerDCaptureServiceClient interface {
	Capture(ctx context.Context, in *types.ContainerCapture, opts ...grpc.CallOption) (ContainerDCaptureService_CaptureClient, error)
}

ContainerDCaptureServiceClient is the client API for ContainerDCaptureService 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.

type ContainerDCaptureServiceServer

type ContainerDCaptureServiceServer interface {
	Capture(*types.ContainerCapture, ContainerDCaptureService_CaptureServer) error
	// contains filtered or unexported methods
}

ContainerDCaptureServiceServer is the server API for ContainerDCaptureService service. All implementations must embed UnimplementedContainerDCaptureServiceServer for forward compatibility

type ContainerDCaptureService_CaptureClient

type ContainerDCaptureService_CaptureClient interface {
	Recv() (*types.Packet, error)
	grpc.ClientStream
}

type ContainerDCaptureService_CaptureServer

type ContainerDCaptureService_CaptureServer interface {
	Send(*types.Packet) error
	grpc.ServerStream
}

type UnimplementedContainerDCaptureServiceServer

type UnimplementedContainerDCaptureServiceServer struct {
}

UnimplementedContainerDCaptureServiceServer must be embedded to have forward compatible implementations.

type UnsafeContainerDCaptureServiceServer

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

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

Jump to

Keyboard shortcuts

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