backend

package
v0.0.0-...-cc86d83 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package backend holds files related to forwarder backends for security profiles

Package backend holds files related to forwarder backends for security profiles

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityDumpHandler

type ActivityDumpHandler interface {
	HandleActivityDump(imageName string, imageTag string, header []byte, data []byte) error
}

ActivityDumpHandler represents an handler for the activity dumps sent by the probe

type ActivityDumpRemoteBackend

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

ActivityDumpRemoteBackend is a remote backend that forwards dumps to the backend

func NewActivityDumpRemoteBackend

func NewActivityDumpRemoteBackend() (*ActivityDumpRemoteBackend, error)

NewActivityDumpRemoteBackend returns a new ActivityDumpRemoteBackend

func (*ActivityDumpRemoteBackend) GetEndpointsStatus

func (backend *ActivityDumpRemoteBackend) GetEndpointsStatus() []string

GetEndpointsStatus returns the status of the endpoints

func (*ActivityDumpRemoteBackend) HandleActivityDump

func (backend *ActivityDumpRemoteBackend) HandleActivityDump(imageName string, imageTag string, header []byte, data []byte) error

HandleActivityDump sends the activity dump to the remote backend

func (*ActivityDumpRemoteBackend) SendTelemetry

func (backend *ActivityDumpRemoteBackend) SendTelemetry(sender statsd.ClientInterface)

SendTelemetry sends telemetry for the current storage

Jump to

Keyboard shortcuts

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