api_bpfrecorder

package
v0.8.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	BpfRecorder_Start_FullMethodName              = "/api_bpfrecorder.BpfRecorder/Start"
	BpfRecorder_Stop_FullMethodName               = "/api_bpfrecorder.BpfRecorder/Stop"
	BpfRecorder_SyscallsForProfile_FullMethodName = "/api_bpfrecorder.BpfRecorder/SyscallsForProfile"
)

Variables

View Source
var BpfRecorder_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api_bpfrecorder.BpfRecorder",
	HandlerType: (*BpfRecorderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Start",
			Handler:    _BpfRecorder_Start_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _BpfRecorder_Stop_Handler,
		},
		{
			MethodName: "SyscallsForProfile",
			Handler:    _BpfRecorder_SyscallsForProfile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/grpc/bpfrecorder/api.proto",
}

BpfRecorder_ServiceDesc is the grpc.ServiceDesc for BpfRecorder 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_api_grpc_bpfrecorder_api_proto protoreflect.FileDescriptor

Functions

func RegisterBpfRecorderServer

func RegisterBpfRecorderServer(s grpc.ServiceRegistrar, srv BpfRecorderServer)

Types

type BpfRecorderClient

type BpfRecorderClient interface {
	Start(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
	Stop(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
	SyscallsForProfile(ctx context.Context, in *ProfileRequest, opts ...grpc.CallOption) (*SyscallsResponse, error)
}

BpfRecorderClient is the client API for BpfRecorder 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 BpfRecorderServer

type BpfRecorderServer interface {
	Start(context.Context, *EmptyRequest) (*EmptyResponse, error)
	Stop(context.Context, *EmptyRequest) (*EmptyResponse, error)
	SyscallsForProfile(context.Context, *ProfileRequest) (*SyscallsResponse, error)
	// contains filtered or unexported methods
}

BpfRecorderServer is the server API for BpfRecorder service. All implementations must embed UnimplementedBpfRecorderServer for forward compatibility

type EmptyRequest

type EmptyRequest struct {
	// contains filtered or unexported fields
}

func (*EmptyRequest) Descriptor deprecated

func (*EmptyRequest) Descriptor() ([]byte, []int)

Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) ProtoReflect

func (x *EmptyRequest) ProtoReflect() protoreflect.Message

func (*EmptyRequest) Reset

func (x *EmptyRequest) Reset()

func (*EmptyRequest) String

func (x *EmptyRequest) String() string

type EmptyResponse

type EmptyResponse struct {
	// contains filtered or unexported fields
}

func (*EmptyResponse) Descriptor deprecated

func (*EmptyResponse) Descriptor() ([]byte, []int)

Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.

func (*EmptyResponse) ProtoMessage

func (*EmptyResponse) ProtoMessage()

func (*EmptyResponse) ProtoReflect

func (x *EmptyResponse) ProtoReflect() protoreflect.Message

func (*EmptyResponse) Reset

func (x *EmptyResponse) Reset()

func (*EmptyResponse) String

func (x *EmptyResponse) String() string

type ProfileRequest

type ProfileRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileRequest) Descriptor deprecated

func (*ProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProfileRequest.ProtoReflect.Descriptor instead.

func (*ProfileRequest) GetName

func (x *ProfileRequest) GetName() string

func (*ProfileRequest) ProtoMessage

func (*ProfileRequest) ProtoMessage()

func (*ProfileRequest) ProtoReflect

func (x *ProfileRequest) ProtoReflect() protoreflect.Message

func (*ProfileRequest) Reset

func (x *ProfileRequest) Reset()

func (*ProfileRequest) String

func (x *ProfileRequest) String() string

type SyscallsResponse

type SyscallsResponse struct {
	Syscalls []string `protobuf:"bytes,1,rep,name=syscalls,proto3" json:"syscalls,omitempty"`
	GoArch   string   `protobuf:"bytes,2,opt,name=go_arch,json=goArch,proto3" json:"go_arch,omitempty"`
	// contains filtered or unexported fields
}

func (*SyscallsResponse) Descriptor deprecated

func (*SyscallsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SyscallsResponse.ProtoReflect.Descriptor instead.

func (*SyscallsResponse) GetGoArch

func (x *SyscallsResponse) GetGoArch() string

func (*SyscallsResponse) GetSyscalls

func (x *SyscallsResponse) GetSyscalls() []string

func (*SyscallsResponse) ProtoMessage

func (*SyscallsResponse) ProtoMessage()

func (*SyscallsResponse) ProtoReflect

func (x *SyscallsResponse) ProtoReflect() protoreflect.Message

func (*SyscallsResponse) Reset

func (x *SyscallsResponse) Reset()

func (*SyscallsResponse) String

func (x *SyscallsResponse) String() string

type UnimplementedBpfRecorderServer

type UnimplementedBpfRecorderServer struct {
}

UnimplementedBpfRecorderServer must be embedded to have forward compatible implementations.

func (UnimplementedBpfRecorderServer) Start

func (UnimplementedBpfRecorderServer) Stop

func (UnimplementedBpfRecorderServer) SyscallsForProfile

type UnsafeBpfRecorderServer

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

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

Jump to

Keyboard shortcuts

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