agent

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SyntheticMissing is a synthetic initial event for currently non-existent object.
	SyntheticMissing = k8swatch.EventType("SyntheticMissing")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceManagerAgent

type ResourceManagerAgent interface {
	// Run starts the agents configuration monitoring loop.
	Run() error
	// UpdateNrtCR updates Node Resource Topology CRs using the given data.
	UpdateNrtCR(policy string, zones []*policyapi.TopologyZone) error
}

ResourceManagerAgent is the interface exposed by the agent.

func NewResourceManagerAgent

func NewResourceManagerAgent(setConfig SetConfigFn) (ResourceManagerAgent, error)

NewResourceManagerAgent creates a new instance of ResourceManagerAgent

type SetConfigFn

type SetConfigFn func(config.RawConfig) error

SetConfigFn is used to activate an updated configuration.

Jump to

Keyboard shortcuts

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