Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBpfRecorderServer(s grpc.ServiceRegistrar, srv BpfRecorderServer)
- type BpfRecorderClient
- type BpfRecorderServer
- type EmptyRequest
- type EmptyResponse
- type ProfileRequest
- type SyscallsResponse
- func (*SyscallsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyscallsResponse) GetGoArch() string
- func (x *SyscallsResponse) GetSyscalls() []string
- func (*SyscallsResponse) ProtoMessage()
- func (x *SyscallsResponse) ProtoReflect() protoreflect.Message
- func (x *SyscallsResponse) Reset()
- func (x *SyscallsResponse) String() string
- type UnimplementedBpfRecorderServer
- func (UnimplementedBpfRecorderServer) Start(context.Context, *EmptyRequest) (*EmptyResponse, error)
- func (UnimplementedBpfRecorderServer) Stop(context.Context, *EmptyRequest) (*EmptyResponse, error)
- func (UnimplementedBpfRecorderServer) SyscallsForProfile(context.Context, *ProfileRequest) (*SyscallsResponse, error)
- type UnsafeBpfRecorderServer
Constants ¶
const ( BpfRecorder_Start_FullMethodName = "/api_bpfrecorder.BpfRecorder/Start" BpfRecorder_Stop_FullMethodName = "/api_bpfrecorder.BpfRecorder/Stop" BpfRecorder_SyscallsForProfile_FullMethodName = "/api_bpfrecorder.BpfRecorder/SyscallsForProfile" )
Variables ¶
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)
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.
func NewBpfRecorderClient ¶
func NewBpfRecorderClient(cc grpc.ClientConnInterface) BpfRecorderClient
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) Start(context.Context, *EmptyRequest) (*EmptyResponse, error)
func (UnimplementedBpfRecorderServer) Stop ¶
func (UnimplementedBpfRecorderServer) Stop(context.Context, *EmptyRequest) (*EmptyResponse, error)
func (UnimplementedBpfRecorderServer) SyscallsForProfile ¶
func (UnimplementedBpfRecorderServer) SyscallsForProfile(context.Context, *ProfileRequest) (*SyscallsResponse, error)
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.