agent

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Overview

Package agent implements the function of vArmor agent

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

func NewAgent

func NewAgent(
	varmorInterface varmorinterface.CrdV1beta1Interface,
	apInformer varmorinformer.ArmorProfileInformer,
	enableBehaviorModeling bool,
	enableBpfEnforcer bool,
	unloadAllAaProfiles bool,
	removeAllSeccompProfiles bool,
	svcAddresses map[string]string,
	debug bool,
	inContainer bool,
	auditLogPaths string,
	stopCh <-chan struct{},
	metricsModule *varmormetrics.MetricsModule,
	log logr.Logger,
) (*Agent, error)

func (*Agent) CleanUp

func (agent *Agent) CleanUp()

func (*Agent) Run

func (agent *Agent) Run(workers int, stopCh <-chan struct{})

func (*Agent) SetAgentReady added in v0.8.1

func (agent *Agent) SetAgentReady()

func (*Agent) SetAgentUnready added in v0.8.1

func (agent *Agent) SetAgentUnready()

func (*Agent) WaitForManagerReady added in v0.8.1

func (agent *Agent) WaitForManagerReady()

Jump to

Keyboard shortcuts

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