proto

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DnsQueryError_ErrorCode_name = map[int32]string{
		0: "OK",
		1: "UNKNOWN",
	}
	DnsQueryError_ErrorCode_value = map[string]int32{
		"OK":      0,
		"UNKNOWN": 1,
	}
)

Enum value maps for DnsQueryError_ErrorCode.

View Source
var (
	Event_NetworkEvent_NetworkEventType_name = map[int32]string{
		0: "UNUSED",
		1: "LISTEN",
		2: "FAILED_CONNECTION",
		3: "INITIATE_CONNECTION",
	}
	Event_NetworkEvent_NetworkEventType_value = map[string]int32{
		"UNUSED":              0,
		"LISTEN":              1,
		"FAILED_CONNECTION":   2,
		"INITIATE_CONNECTION": 3,
	}
)

Enum value maps for Event_NetworkEvent_NetworkEventType.

View Source
var (
	MonitorPodResponse_ErrorCode_name = map[int32]string{
		0: "OK",
		1: "UNKNOWN",
	}
	MonitorPodResponse_ErrorCode_value = map[string]int32{
		"OK":      0,
		"UNKNOWN": 1,
	}
)

Enum value maps for MonitorPodResponse_ErrorCode.

View Source
var File_event_proto protoreflect.FileDescriptor
View Source
var File_node_api_proto protoreflect.FileDescriptor
View Source
var File_summary_proto protoreflect.FileDescriptor
View Source
var NodeDaemonService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "NodeDaemonService",
	HandlerType: (*NodeDaemonServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Monitor",
			Handler:    _NodeDaemonService_Monitor_Handler,
		},
		{
			MethodName: "ReportDnsQuery",
			Handler:    _NodeDaemonService_ReportDnsQuery_Handler,
		},
		{
			MethodName: "ReportDnsSearchValues",
			Handler:    _NodeDaemonService_ReportDnsSearchValues_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "node_api.proto",
}

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

Functions

func RegisterNodeDaemonServiceServer

func RegisterNodeDaemonServiceServer(s grpc.ServiceRegistrar, srv NodeDaemonServiceServer)

Types

type AnalysisSummary

type AnalysisSummary struct {
	ContainerSummaries []*AnalysisSummary_ContainerSummaryTuple `protobuf:"bytes,1,rep,name=container_summaries,json=containerSummaries,proto3" json:"container_summaries,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalysisSummary) Descriptor deprecated

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

Deprecated: Use AnalysisSummary.ProtoReflect.Descriptor instead.

func (*AnalysisSummary) GetContainerSummaries

func (x *AnalysisSummary) GetContainerSummaries() []*AnalysisSummary_ContainerSummaryTuple

func (*AnalysisSummary) ProtoMessage

func (*AnalysisSummary) ProtoMessage()

func (*AnalysisSummary) ProtoReflect

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

func (*AnalysisSummary) Reset

func (x *AnalysisSummary) Reset()

func (*AnalysisSummary) String

func (x *AnalysisSummary) String() string

type AnalysisSummary_ContainerSummaryTuple

type AnalysisSummary_ContainerSummaryTuple struct {
	Source  *SourceId                 `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Summary *ContainerAnalysisSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalysisSummary_ContainerSummaryTuple) Descriptor deprecated

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

Deprecated: Use AnalysisSummary_ContainerSummaryTuple.ProtoReflect.Descriptor instead.

func (*AnalysisSummary_ContainerSummaryTuple) GetSource

func (*AnalysisSummary_ContainerSummaryTuple) GetSummary

func (*AnalysisSummary_ContainerSummaryTuple) ProtoMessage

func (*AnalysisSummary_ContainerSummaryTuple) ProtoMessage()

func (*AnalysisSummary_ContainerSummaryTuple) ProtoReflect

func (*AnalysisSummary_ContainerSummaryTuple) Reset

func (*AnalysisSummary_ContainerSummaryTuple) String

type ContainerAnalysisSummary

type ContainerAnalysisSummary struct {
	MissingFiles       []string                                `protobuf:"bytes,1,rep,name=missing_files,json=missingFiles,proto3" json:"missing_files,omitempty"`
	MoveFailures       []*ContainerAnalysisSummary_MoveFailure `protobuf:"bytes,2,rep,name=move_failures,json=moveFailures,proto3" json:"move_failures,omitempty"`
	MissingLibraries   []string                                `protobuf:"bytes,3,rep,name=missing_libraries,json=missingLibraries,proto3" json:"missing_libraries,omitempty"`
	ConnectionFailures []*ContainerAnalysisSummary_Connection  `protobuf:"bytes,4,rep,name=connection_failures,json=connectionFailures,proto3" json:"connection_failures,omitempty"`
	DnsFailures        []*ContainerAnalysisSummary_DnsFailure  `protobuf:"bytes,5,rep,name=dns_failures,json=dnsFailures,proto3" json:"dns_failures,omitempty"`
	StaticIps          []*ContainerAnalysisSummary_Connection  `protobuf:"bytes,6,rep,name=static_ips,json=staticIps,proto3" json:"static_ips,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerAnalysisSummary) Descriptor deprecated

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

Deprecated: Use ContainerAnalysisSummary.ProtoReflect.Descriptor instead.

func (*ContainerAnalysisSummary) GetConnectionFailures

func (x *ContainerAnalysisSummary) GetConnectionFailures() []*ContainerAnalysisSummary_Connection

func (*ContainerAnalysisSummary) GetDnsFailures

func (*ContainerAnalysisSummary) GetMissingFiles

func (x *ContainerAnalysisSummary) GetMissingFiles() []string

func (*ContainerAnalysisSummary) GetMissingLibraries

func (x *ContainerAnalysisSummary) GetMissingLibraries() []string

func (*ContainerAnalysisSummary) GetMoveFailures

func (*ContainerAnalysisSummary) GetStaticIps

func (*ContainerAnalysisSummary) ProtoMessage

func (*ContainerAnalysisSummary) ProtoMessage()

func (*ContainerAnalysisSummary) ProtoReflect

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

func (*ContainerAnalysisSummary) Reset

func (x *ContainerAnalysisSummary) Reset()

func (*ContainerAnalysisSummary) String

func (x *ContainerAnalysisSummary) String() string

type ContainerAnalysisSummary_Connection

type ContainerAnalysisSummary_Connection struct {
	TargetFqdn string `protobuf:"bytes,1,opt,name=target_fqdn,json=targetFqdn,proto3" json:"target_fqdn,omitempty"`
	TargetIp   string `protobuf:"bytes,2,opt,name=target_ip,json=targetIp,proto3" json:"target_ip,omitempty"`
	Port       int32  `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerAnalysisSummary_Connection) Descriptor deprecated

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

Deprecated: Use ContainerAnalysisSummary_Connection.ProtoReflect.Descriptor instead.

func (*ContainerAnalysisSummary_Connection) GetPort

func (*ContainerAnalysisSummary_Connection) GetTargetFqdn

func (x *ContainerAnalysisSummary_Connection) GetTargetFqdn() string

func (*ContainerAnalysisSummary_Connection) GetTargetIp

func (*ContainerAnalysisSummary_Connection) ProtoMessage

func (*ContainerAnalysisSummary_Connection) ProtoMessage()

func (*ContainerAnalysisSummary_Connection) ProtoReflect

func (*ContainerAnalysisSummary_Connection) Reset

func (*ContainerAnalysisSummary_Connection) String

type ContainerAnalysisSummary_DnsFailure

type ContainerAnalysisSummary_DnsFailure struct {
	Query string         `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Error *DnsQueryError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerAnalysisSummary_DnsFailure) Descriptor deprecated

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

Deprecated: Use ContainerAnalysisSummary_DnsFailure.ProtoReflect.Descriptor instead.

func (*ContainerAnalysisSummary_DnsFailure) GetError

func (*ContainerAnalysisSummary_DnsFailure) GetQuery

func (*ContainerAnalysisSummary_DnsFailure) ProtoMessage

func (*ContainerAnalysisSummary_DnsFailure) ProtoMessage()

func (*ContainerAnalysisSummary_DnsFailure) ProtoReflect

func (*ContainerAnalysisSummary_DnsFailure) Reset

func (*ContainerAnalysisSummary_DnsFailure) String

type ContainerAnalysisSummary_MoveFailure

type ContainerAnalysisSummary_MoveFailure struct {
	Source      string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerAnalysisSummary_MoveFailure) Descriptor deprecated

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

Deprecated: Use ContainerAnalysisSummary_MoveFailure.ProtoReflect.Descriptor instead.

func (*ContainerAnalysisSummary_MoveFailure) GetDestination

func (x *ContainerAnalysisSummary_MoveFailure) GetDestination() string

func (*ContainerAnalysisSummary_MoveFailure) GetSource

func (*ContainerAnalysisSummary_MoveFailure) ProtoMessage

func (*ContainerAnalysisSummary_MoveFailure) ProtoMessage()

func (*ContainerAnalysisSummary_MoveFailure) ProtoReflect

func (*ContainerAnalysisSummary_MoveFailure) Reset

func (*ContainerAnalysisSummary_MoveFailure) String

type DnsQueryError

type DnsQueryError struct {
	Code DnsQueryError_ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=DnsQueryError_ErrorCode" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*DnsQueryError) Descriptor deprecated

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

Deprecated: Use DnsQueryError.ProtoReflect.Descriptor instead.

func (*DnsQueryError) GetCode

func (*DnsQueryError) ProtoMessage

func (*DnsQueryError) ProtoMessage()

func (*DnsQueryError) ProtoReflect

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

func (*DnsQueryError) Reset

func (x *DnsQueryError) Reset()

func (*DnsQueryError) String

func (x *DnsQueryError) String() string

type DnsQueryError_ErrorCode

type DnsQueryError_ErrorCode int32
const (
	DnsQueryError_OK      DnsQueryError_ErrorCode = 0
	DnsQueryError_UNKNOWN DnsQueryError_ErrorCode = 1
)

func (DnsQueryError_ErrorCode) Descriptor

func (DnsQueryError_ErrorCode) Enum

func (DnsQueryError_ErrorCode) EnumDescriptor deprecated

func (DnsQueryError_ErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use DnsQueryError_ErrorCode.Descriptor instead.

func (DnsQueryError_ErrorCode) Number

func (DnsQueryError_ErrorCode) String

func (x DnsQueryError_ErrorCode) String() string

func (DnsQueryError_ErrorCode) Type

type Event

type Event struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// TODO: Add TID/PID
	Source *SourceId `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// Types that are assignable to EventType:
	//
	//	*Event_Syscall
	//	*Event_Network
	//	*Event_DnsQuery
	//	*Event_DnsSearch
	EventType isEvent_EventType `protobuf_oneof:"event_type"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetDnsQuery

func (x *Event) GetDnsQuery() *Event_DnsQueryEvent

func (*Event) GetDnsSearch

func (x *Event) GetDnsSearch() *Event_DnsSearchParametersProbe

func (*Event) GetEventType

func (m *Event) GetEventType() isEvent_EventType

func (*Event) GetNetwork

func (x *Event) GetNetwork() *Event_NetworkEvent

func (*Event) GetSource

func (x *Event) GetSource() *SourceId

func (*Event) GetSyscall

func (x *Event) GetSyscall() *Event_SyscallEvent

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() *timestamppb.Timestamp

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_DnsQuery

type Event_DnsQuery struct {
	DnsQuery *Event_DnsQueryEvent `protobuf:"bytes,5,opt,name=dns_query,json=dnsQuery,proto3,oneof"`
}

type Event_DnsQueryEvent

type Event_DnsQueryEvent struct {
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Types that are assignable to Answer:
	//
	//	*Event_DnsQueryEvent_Ip
	//	*Event_DnsQueryEvent_Error
	Answer isEvent_DnsQueryEvent_Answer `protobuf_oneof:"answer"`
	// contains filtered or unexported fields
}

func (*Event_DnsQueryEvent) Descriptor deprecated

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

Deprecated: Use Event_DnsQueryEvent.ProtoReflect.Descriptor instead.

func (*Event_DnsQueryEvent) GetAnswer

func (m *Event_DnsQueryEvent) GetAnswer() isEvent_DnsQueryEvent_Answer

func (*Event_DnsQueryEvent) GetError

func (x *Event_DnsQueryEvent) GetError() *DnsQueryError

func (*Event_DnsQueryEvent) GetIp

func (x *Event_DnsQueryEvent) GetIp() string

func (*Event_DnsQueryEvent) GetQuery

func (x *Event_DnsQueryEvent) GetQuery() string

func (*Event_DnsQueryEvent) ProtoMessage

func (*Event_DnsQueryEvent) ProtoMessage()

func (*Event_DnsQueryEvent) ProtoReflect

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

func (*Event_DnsQueryEvent) Reset

func (x *Event_DnsQueryEvent) Reset()

func (*Event_DnsQueryEvent) String

func (x *Event_DnsQueryEvent) String() string

type Event_DnsQueryEvent_Error

type Event_DnsQueryEvent_Error struct {
	Error *DnsQueryError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type Event_DnsQueryEvent_Ip

type Event_DnsQueryEvent_Ip struct {
	Ip string `protobuf:"bytes,2,opt,name=ip,proto3,oneof"`
}

type Event_DnsSearch

type Event_DnsSearch struct {
	DnsSearch *Event_DnsSearchParametersProbe `protobuf:"bytes,6,opt,name=dns_search,json=dnsSearch,proto3,oneof"`
}

type Event_DnsSearchParametersProbe

type Event_DnsSearchParametersProbe struct {
	Search []string `protobuf:"bytes,1,rep,name=search,proto3" json:"search,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_DnsSearchParametersProbe) Descriptor deprecated

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

Deprecated: Use Event_DnsSearchParametersProbe.ProtoReflect.Descriptor instead.

func (*Event_DnsSearchParametersProbe) GetSearch

func (x *Event_DnsSearchParametersProbe) GetSearch() []string

func (*Event_DnsSearchParametersProbe) ProtoMessage

func (*Event_DnsSearchParametersProbe) ProtoMessage()

func (*Event_DnsSearchParametersProbe) ProtoReflect

func (*Event_DnsSearchParametersProbe) Reset

func (x *Event_DnsSearchParametersProbe) Reset()

func (*Event_DnsSearchParametersProbe) String

type Event_Network

type Event_Network struct {
	Network *Event_NetworkEvent `protobuf:"bytes,4,opt,name=network,proto3,oneof"`
}

type Event_NetworkEvent

type Event_NetworkEvent struct {
	Comm      string                              `protobuf:"bytes,1,opt,name=comm,proto3" json:"comm,omitempty"`
	EventType Event_NetworkEvent_NetworkEventType `` /* 130-byte string literal not displayed */
	AddrFam   int32                               `protobuf:"varint,3,opt,name=addr_fam,json=addrFam,proto3" json:"addr_fam,omitempty"`
	SrcAddr   string                              `protobuf:"bytes,4,opt,name=src_addr,json=srcAddr,proto3" json:"src_addr,omitempty"`
	DstAddr   string                              `protobuf:"bytes,5,opt,name=dst_addr,json=dstAddr,proto3" json:"dst_addr,omitempty"`
	SrcPort   int32                               `protobuf:"varint,6,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"`
	DstPort   int32                               `protobuf:"varint,7,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_NetworkEvent) Descriptor deprecated

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

Deprecated: Use Event_NetworkEvent.ProtoReflect.Descriptor instead.

func (*Event_NetworkEvent) GetAddrFam

func (x *Event_NetworkEvent) GetAddrFam() int32

func (*Event_NetworkEvent) GetComm

func (x *Event_NetworkEvent) GetComm() string

func (*Event_NetworkEvent) GetDstAddr

func (x *Event_NetworkEvent) GetDstAddr() string

func (*Event_NetworkEvent) GetDstPort

func (x *Event_NetworkEvent) GetDstPort() int32

func (*Event_NetworkEvent) GetEventType

func (*Event_NetworkEvent) GetSrcAddr

func (x *Event_NetworkEvent) GetSrcAddr() string

func (*Event_NetworkEvent) GetSrcPort

func (x *Event_NetworkEvent) GetSrcPort() int32

func (*Event_NetworkEvent) ProtoMessage

func (*Event_NetworkEvent) ProtoMessage()

func (*Event_NetworkEvent) ProtoReflect

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

func (*Event_NetworkEvent) Reset

func (x *Event_NetworkEvent) Reset()

func (*Event_NetworkEvent) String

func (x *Event_NetworkEvent) String() string

type Event_NetworkEvent_NetworkEventType

type Event_NetworkEvent_NetworkEventType int32
const (
	Event_NetworkEvent_UNUSED              Event_NetworkEvent_NetworkEventType = 0 // As default protobuf text doesn't print 0s - should fix this
	Event_NetworkEvent_LISTEN              Event_NetworkEvent_NetworkEventType = 1
	Event_NetworkEvent_FAILED_CONNECTION   Event_NetworkEvent_NetworkEventType = 2
	Event_NetworkEvent_INITIATE_CONNECTION Event_NetworkEvent_NetworkEventType = 3
)

func (Event_NetworkEvent_NetworkEventType) Descriptor

func (Event_NetworkEvent_NetworkEventType) Enum

func (Event_NetworkEvent_NetworkEventType) EnumDescriptor deprecated

func (Event_NetworkEvent_NetworkEventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Event_NetworkEvent_NetworkEventType.Descriptor instead.

func (Event_NetworkEvent_NetworkEventType) Number

func (Event_NetworkEvent_NetworkEventType) String

func (Event_NetworkEvent_NetworkEventType) Type

type Event_Syscall

type Event_Syscall struct {
	Syscall *Event_SyscallEvent `protobuf:"bytes,3,opt,name=syscall,proto3,oneof"`
}

type Event_SyscallEvent

type Event_SyscallEvent struct {
	Comm    string `protobuf:"bytes,1,opt,name=comm,proto3" json:"comm,omitempty"`
	RetCode int64  `protobuf:"varint,2,opt,name=ret_code,json=retCode,proto3" json:"ret_code,omitempty"`
	// Types that are assignable to Syscall:
	//
	//	*Event_SyscallEvent_Open
	//	*Event_SyscallEvent_Rename
	//	*Event_SyscallEvent_Link
	Syscall isEvent_SyscallEvent_Syscall `protobuf_oneof:"syscall"`
	// contains filtered or unexported fields
}

func (*Event_SyscallEvent) Descriptor deprecated

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

Deprecated: Use Event_SyscallEvent.ProtoReflect.Descriptor instead.

func (*Event_SyscallEvent) GetComm

func (x *Event_SyscallEvent) GetComm() string

func (*Event_SyscallEvent) GetOpen

func (*Event_SyscallEvent) GetRename

func (*Event_SyscallEvent) GetRetCode

func (x *Event_SyscallEvent) GetRetCode() int64

func (*Event_SyscallEvent) GetSyscall

func (m *Event_SyscallEvent) GetSyscall() isEvent_SyscallEvent_Syscall

func (*Event_SyscallEvent) ProtoMessage

func (*Event_SyscallEvent) ProtoMessage()

func (*Event_SyscallEvent) ProtoReflect

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

func (*Event_SyscallEvent) Reset

func (x *Event_SyscallEvent) Reset()

func (*Event_SyscallEvent) String

func (x *Event_SyscallEvent) String() string
type Event_SyscallEvent_Link struct {
	Link *Event_SyscallEvent_LinkSyscall `protobuf:"bytes,6,opt,name=link,proto3,oneof"`
}

type Event_SyscallEvent_LinkSyscall

type Event_SyscallEvent_LinkSyscall struct {
	Oldname string `protobuf:"bytes,1,opt,name=oldname,proto3" json:"oldname,omitempty"`
	Newname string `protobuf:"bytes,2,opt,name=newname,proto3" json:"newname,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_SyscallEvent_LinkSyscall) Descriptor deprecated

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

Deprecated: Use Event_SyscallEvent_LinkSyscall.ProtoReflect.Descriptor instead.

func (*Event_SyscallEvent_LinkSyscall) GetNewname

func (x *Event_SyscallEvent_LinkSyscall) GetNewname() string

func (*Event_SyscallEvent_LinkSyscall) GetOldname

func (x *Event_SyscallEvent_LinkSyscall) GetOldname() string

func (*Event_SyscallEvent_LinkSyscall) ProtoMessage

func (*Event_SyscallEvent_LinkSyscall) ProtoMessage()

func (*Event_SyscallEvent_LinkSyscall) ProtoReflect

func (*Event_SyscallEvent_LinkSyscall) Reset

func (x *Event_SyscallEvent_LinkSyscall) Reset()

func (*Event_SyscallEvent_LinkSyscall) String

type Event_SyscallEvent_Open

type Event_SyscallEvent_Open struct {
	Open *Event_SyscallEvent_OpenSyscall `protobuf:"bytes,4,opt,name=open,proto3,oneof"`
}

type Event_SyscallEvent_OpenSyscall

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

func (*Event_SyscallEvent_OpenSyscall) Descriptor deprecated

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

Deprecated: Use Event_SyscallEvent_OpenSyscall.ProtoReflect.Descriptor instead.

func (*Event_SyscallEvent_OpenSyscall) GetPath

func (*Event_SyscallEvent_OpenSyscall) ProtoMessage

func (*Event_SyscallEvent_OpenSyscall) ProtoMessage()

func (*Event_SyscallEvent_OpenSyscall) ProtoReflect

func (*Event_SyscallEvent_OpenSyscall) Reset

func (x *Event_SyscallEvent_OpenSyscall) Reset()

func (*Event_SyscallEvent_OpenSyscall) String

type Event_SyscallEvent_Rename

type Event_SyscallEvent_Rename struct {
	Rename *Event_SyscallEvent_RenameSyscall `protobuf:"bytes,5,opt,name=rename,proto3,oneof"`
}

type Event_SyscallEvent_RenameSyscall

type Event_SyscallEvent_RenameSyscall struct {
	Oldname string `protobuf:"bytes,1,opt,name=oldname,proto3" json:"oldname,omitempty"`
	Newname string `protobuf:"bytes,2,opt,name=newname,proto3" json:"newname,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_SyscallEvent_RenameSyscall) Descriptor deprecated

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

Deprecated: Use Event_SyscallEvent_RenameSyscall.ProtoReflect.Descriptor instead.

func (*Event_SyscallEvent_RenameSyscall) GetNewname

func (x *Event_SyscallEvent_RenameSyscall) GetNewname() string

func (*Event_SyscallEvent_RenameSyscall) GetOldname

func (x *Event_SyscallEvent_RenameSyscall) GetOldname() string

func (*Event_SyscallEvent_RenameSyscall) ProtoMessage

func (*Event_SyscallEvent_RenameSyscall) ProtoMessage()

func (*Event_SyscallEvent_RenameSyscall) ProtoReflect

func (*Event_SyscallEvent_RenameSyscall) Reset

func (*Event_SyscallEvent_RenameSyscall) String

type MonitorPodRequest

type MonitorPodRequest struct {
	Id *SourceId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// 0 means it was not specified
	Netns uint64 `protobuf:"varint,2,opt,name=netns,proto3" json:"netns,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitorPodRequest) Descriptor deprecated

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

Deprecated: Use MonitorPodRequest.ProtoReflect.Descriptor instead.

func (*MonitorPodRequest) GetId

func (x *MonitorPodRequest) GetId() *SourceId

func (*MonitorPodRequest) GetNetns

func (x *MonitorPodRequest) GetNetns() uint64

func (*MonitorPodRequest) ProtoMessage

func (*MonitorPodRequest) ProtoMessage()

func (*MonitorPodRequest) ProtoReflect

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

func (*MonitorPodRequest) Reset

func (x *MonitorPodRequest) Reset()

func (*MonitorPodRequest) String

func (x *MonitorPodRequest) String() string

type MonitorPodResponse

type MonitorPodResponse struct {
	Code MonitorPodResponse_ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=MonitorPodResponse_ErrorCode" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitorPodResponse) Descriptor deprecated

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

Deprecated: Use MonitorPodResponse.ProtoReflect.Descriptor instead.

func (*MonitorPodResponse) GetCode

func (*MonitorPodResponse) ProtoMessage

func (*MonitorPodResponse) ProtoMessage()

func (*MonitorPodResponse) ProtoReflect

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

func (*MonitorPodResponse) Reset

func (x *MonitorPodResponse) Reset()

func (*MonitorPodResponse) String

func (x *MonitorPodResponse) String() string

type MonitorPodResponse_ErrorCode

type MonitorPodResponse_ErrorCode int32
const (
	MonitorPodResponse_OK      MonitorPodResponse_ErrorCode = 0
	MonitorPodResponse_UNKNOWN MonitorPodResponse_ErrorCode = 1
)

func (MonitorPodResponse_ErrorCode) Descriptor

func (MonitorPodResponse_ErrorCode) Enum

func (MonitorPodResponse_ErrorCode) EnumDescriptor deprecated

func (MonitorPodResponse_ErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use MonitorPodResponse_ErrorCode.Descriptor instead.

func (MonitorPodResponse_ErrorCode) Number

func (MonitorPodResponse_ErrorCode) String

func (MonitorPodResponse_ErrorCode) Type

type NodeDaemonServiceClient

type NodeDaemonServiceClient interface {
	Monitor(ctx context.Context, in *MonitorPodRequest, opts ...grpc.CallOption) (*MonitorPodResponse, error)
	ReportDnsQuery(ctx context.Context, in *ReportDnsQueryResultRequest, opts ...grpc.CallOption) (*ReportDnsQueryResultResponse, error)
	ReportDnsSearchValues(ctx context.Context, in *ReportDnsSearchValuesRequest, opts ...grpc.CallOption) (*ReportDnsSearchValuesResponse, error)
}

NodeDaemonServiceClient is the client API for NodeDaemonService 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 NodeDaemonServiceServer

type NodeDaemonServiceServer interface {
	Monitor(context.Context, *MonitorPodRequest) (*MonitorPodResponse, error)
	ReportDnsQuery(context.Context, *ReportDnsQueryResultRequest) (*ReportDnsQueryResultResponse, error)
	ReportDnsSearchValues(context.Context, *ReportDnsSearchValuesRequest) (*ReportDnsSearchValuesResponse, error)
	// contains filtered or unexported methods
}

NodeDaemonServiceServer is the server API for NodeDaemonService service. All implementations must embed UnimplementedNodeDaemonServiceServer for forward compatibility

type ReportDnsQueryResultRequest

type ReportDnsQueryResultRequest struct {
	Id       *SourceId `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	DnsQuery string    `protobuf:"bytes,1,opt,name=dns_query,json=dnsQuery,proto3" json:"dns_query,omitempty"`
	// Types that are assignable to Result:
	//
	//	*ReportDnsQueryResultRequest_ReturnedIp
	//	*ReportDnsQueryResultRequest_Error
	Result isReportDnsQueryResultRequest_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*ReportDnsQueryResultRequest) Descriptor deprecated

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

Deprecated: Use ReportDnsQueryResultRequest.ProtoReflect.Descriptor instead.

func (*ReportDnsQueryResultRequest) GetDnsQuery

func (x *ReportDnsQueryResultRequest) GetDnsQuery() string

func (*ReportDnsQueryResultRequest) GetError

func (*ReportDnsQueryResultRequest) GetId

func (*ReportDnsQueryResultRequest) GetResult

func (m *ReportDnsQueryResultRequest) GetResult() isReportDnsQueryResultRequest_Result

func (*ReportDnsQueryResultRequest) GetReturnedIp

func (x *ReportDnsQueryResultRequest) GetReturnedIp() string

func (*ReportDnsQueryResultRequest) ProtoMessage

func (*ReportDnsQueryResultRequest) ProtoMessage()

func (*ReportDnsQueryResultRequest) ProtoReflect

func (*ReportDnsQueryResultRequest) Reset

func (x *ReportDnsQueryResultRequest) Reset()

func (*ReportDnsQueryResultRequest) String

func (x *ReportDnsQueryResultRequest) String() string

type ReportDnsQueryResultRequest_Error

type ReportDnsQueryResultRequest_Error struct {
	Error *DnsQueryError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ReportDnsQueryResultRequest_ReturnedIp

type ReportDnsQueryResultRequest_ReturnedIp struct {
	ReturnedIp string `protobuf:"bytes,2,opt,name=returned_ip,json=returnedIp,proto3,oneof"`
}

type ReportDnsQueryResultResponse

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

func (*ReportDnsQueryResultResponse) Descriptor deprecated

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

Deprecated: Use ReportDnsQueryResultResponse.ProtoReflect.Descriptor instead.

func (*ReportDnsQueryResultResponse) ProtoMessage

func (*ReportDnsQueryResultResponse) ProtoMessage()

func (*ReportDnsQueryResultResponse) ProtoReflect

func (*ReportDnsQueryResultResponse) Reset

func (x *ReportDnsQueryResultResponse) Reset()

func (*ReportDnsQueryResultResponse) String

type ReportDnsSearchValuesRequest

type ReportDnsSearchValuesRequest struct {
	Search []string  `protobuf:"bytes,1,rep,name=search,proto3" json:"search,omitempty"`
	Id     *SourceId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportDnsSearchValuesRequest) Descriptor deprecated

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

Deprecated: Use ReportDnsSearchValuesRequest.ProtoReflect.Descriptor instead.

func (*ReportDnsSearchValuesRequest) GetId

func (*ReportDnsSearchValuesRequest) GetSearch

func (x *ReportDnsSearchValuesRequest) GetSearch() []string

func (*ReportDnsSearchValuesRequest) ProtoMessage

func (*ReportDnsSearchValuesRequest) ProtoMessage()

func (*ReportDnsSearchValuesRequest) ProtoReflect

func (*ReportDnsSearchValuesRequest) Reset

func (x *ReportDnsSearchValuesRequest) Reset()

func (*ReportDnsSearchValuesRequest) String

type ReportDnsSearchValuesResponse

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

func (*ReportDnsSearchValuesResponse) Descriptor deprecated

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

Deprecated: Use ReportDnsSearchValuesResponse.ProtoReflect.Descriptor instead.

func (*ReportDnsSearchValuesResponse) ProtoMessage

func (*ReportDnsSearchValuesResponse) ProtoMessage()

func (*ReportDnsSearchValuesResponse) ProtoReflect

func (*ReportDnsSearchValuesResponse) Reset

func (x *ReportDnsSearchValuesResponse) Reset()

func (*ReportDnsSearchValuesResponse) String

type SourceId

type SourceId struct {
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id     string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceId) Descriptor deprecated

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

Deprecated: Use SourceId.ProtoReflect.Descriptor instead.

func (*SourceId) GetId

func (x *SourceId) GetId() string

func (*SourceId) GetParent added in v0.0.8

func (x *SourceId) GetParent() string

func (*SourceId) GetType

func (x *SourceId) GetType() string

func (*SourceId) ProtoMessage

func (*SourceId) ProtoMessage()

func (*SourceId) ProtoReflect

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

func (*SourceId) Reset

func (x *SourceId) Reset()

func (*SourceId) String

func (x *SourceId) String() string

type UnimplementedNodeDaemonServiceServer

type UnimplementedNodeDaemonServiceServer struct {
}

UnimplementedNodeDaemonServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNodeDaemonServiceServer) Monitor

type UnsafeNodeDaemonServiceServer

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

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

Jump to

Keyboard shortcuts

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