eventsink

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSink

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

func NewEventSink

func NewEventSink(homeDir string, filterEvents bool) (*EventSink, error)

func (*EventSink) AddFilter added in v0.0.16

func (es *EventSink) AddFilter(filter *EventSinkFilter)

func (*EventSink) CleanupContainer

func (es *EventSink) CleanupContainer(namespace string, podName string, containerID string) error

func (*EventSink) Close

func (es *EventSink) Close() error

func (*EventSink) GetCapabilitiesEvents

func (es *EventSink) GetCapabilitiesEvents(namespace string, podName string, containerID string) ([]*tracing.CapabilitiesEvent, error)

func (*EventSink) GetDnsEvents

func (es *EventSink) GetDnsEvents(namespace string, podName string, containerID string) ([]*tracing.DnsEvent, error)

func (*EventSink) GetExecveEvents

func (es *EventSink) GetExecveEvents(namespace string, podName string, containerID string) ([]*tracing.ExecveEvent, error)

func (*EventSink) GetNetworkEvents

func (es *EventSink) GetNetworkEvents(namespace string, podName string, containerID string) ([]*tracing.NetworkEvent, error)

func (*EventSink) GetOpenEvents

func (es *EventSink) GetOpenEvents(namespace string, podName string, containerID string) ([]*tracing.OpenEvent, error)

func (*EventSink) RemoveFilter added in v0.0.16

func (es *EventSink) RemoveFilter(filter *EventSinkFilter)

func (*EventSink) SendCapabilitiesEvent

func (es *EventSink) SendCapabilitiesEvent(event *tracing.CapabilitiesEvent)

func (*EventSink) SendDnsEvent

func (es *EventSink) SendDnsEvent(event *tracing.DnsEvent)

func (*EventSink) SendExecveEvent

func (es *EventSink) SendExecveEvent(event *tracing.ExecveEvent)

func (*EventSink) SendNetworkEvent

func (es *EventSink) SendNetworkEvent(event *tracing.NetworkEvent)

func (*EventSink) SendOpenEvent

func (es *EventSink) SendOpenEvent(event *tracing.OpenEvent)

func (*EventSink) Start

func (es *EventSink) Start() error

func (*EventSink) Stop

func (es *EventSink) Stop() error

type EventSinkFilter added in v0.0.16

type EventSinkFilter struct {
	EventType   tracing.EventType
	ContainerID string
}

Jump to

Keyboard shortcuts

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