containerwatcher

package
v0.2.160 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerReceiver added in v0.2.145

type ContainerReceiver interface {
	ContainerCallback(notif containercollection.PubSubEvent)
}

type ContainerWatcher

type ContainerWatcher interface {
	Ready() bool
	Start(ctx context.Context) error
	Stop()
	GetTracerCollection() *tracercollection.TracerCollection
	GetContainerCollection() *containercollection.ContainerCollection
	GetSocketEnricher() *socketenricher.SocketEnricher
	GetContainerSelector() *containercollection.ContainerSelector
	RegisterCustomTracer(tracer CustomTracer) error
	UnregisterCustomTracer(tracer CustomTracer) error
	RegisterContainerReceiver(receiver ContainerReceiver)
	UnregisterContainerReceiver(receiver ContainerReceiver)
}

type ContainerWatcherMock

type ContainerWatcherMock struct{}

func (ContainerWatcherMock) GetContainerCollection added in v0.2.145

func (c ContainerWatcherMock) GetContainerCollection() *containercollection.ContainerCollection

func (ContainerWatcherMock) GetContainerSelector added in v0.2.145

func (ContainerWatcherMock) GetSocketEnricher added in v0.2.145

func (c ContainerWatcherMock) GetSocketEnricher() *socketenricher.SocketEnricher

func (ContainerWatcherMock) GetTracerCollection added in v0.2.145

func (c ContainerWatcherMock) GetTracerCollection() *tracercollection.TracerCollection

func (ContainerWatcherMock) Ready

func (c ContainerWatcherMock) Ready() bool

func (ContainerWatcherMock) RegisterContainerReceiver added in v0.2.145

func (c ContainerWatcherMock) RegisterContainerReceiver(_ ContainerReceiver)

func (ContainerWatcherMock) RegisterCustomTracer added in v0.2.145

func (c ContainerWatcherMock) RegisterCustomTracer(_ CustomTracer) error

func (ContainerWatcherMock) Start

func (ContainerWatcherMock) Stop

func (c ContainerWatcherMock) Stop()

func (ContainerWatcherMock) UnregisterContainerReceiver added in v0.2.145

func (c ContainerWatcherMock) UnregisterContainerReceiver(_ ContainerReceiver)

func (ContainerWatcherMock) UnregisterCustomTracer added in v0.2.145

func (c ContainerWatcherMock) UnregisterCustomTracer(_ CustomTracer) error

type CustomTracer added in v0.2.145

type CustomTracer interface {
	Start() error
	Stop() error
	Name() string
}

type CustomTracerMock added in v0.2.145

type CustomTracerMock struct{}

func (CustomTracerMock) Name added in v0.2.145

func (c CustomTracerMock) Name() string

func (CustomTracerMock) Start added in v0.2.145

func (c CustomTracerMock) Start() error

func (CustomTracerMock) Stop added in v0.2.145

func (c CustomTracerMock) Stop() error

type EventReceiver added in v0.2.145

type EventReceiver interface {
	ReportEvent(eventType utils.EventType, event utils.K8sEvent)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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