grpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessManager

type ProcessManager struct {
	Server *server.Server
	// contains filtered or unexported fields
}

ProcessManager maintains a cache of processes from tetragon exec events.

func NewProcessManager

func NewProcessManager(
	ctx context.Context,
	wg *sync.WaitGroup,
	manager *sensors.Manager,
	hookRunner *rthooks.Runner,
) (*ProcessManager, error)

NewProcessManager returns a pointer to an initialized ProcessManager struct.

func (*ProcessManager) AddListener

func (pm *ProcessManager) AddListener(listener server.Listener)

func (*ProcessManager) Close

func (pm *ProcessManager) Close() error

Close implements Listener.Close.

func (*ProcessManager) Notify

func (pm *ProcessManager) Notify(event notify.Message) error

Notify implements Listener.Notify.

func (*ProcessManager) NotifyListener

func (pm *ProcessManager) NotifyListener(original interface{}, processed *tetragon.GetEventsResponse)

func (*ProcessManager) RemoveListener

func (pm *ProcessManager) RemoveListener(listener server.Listener)

Directories

Path Synopsis
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon

Jump to

Keyboard shortcuts

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