resourcetopologyexporter

package
v0.11.100 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(hnd resourcemonitor.Handle, nrtupdaterArgs nrtupdater.Args, resourcemonitorArgs resourcemonitor.Args, rteArgs Args) error

Types

type Args

type Args struct {
	Debug                  bool
	ReferenceContainer     *sharedcpuspool.ContainerIdent
	TopologyManagerPolicy  string
	TopologyManagerScope   string
	KubeletConfigFile      string
	PodResourcesSocketPath string
	SleepInterval          time.Duration
	PodReadinessEnable     bool
	NotifyFilePath         string
	MaxEventsPerTimeUnit   int64
	TimeUnitToLimitEvents  time.Duration
	PrometheusMode         string
}

type ResourceObserver added in v0.3.2

type ResourceObserver struct {
	Infos <-chan nrtupdater.MonitorInfo
	// contains filtered or unexported fields
}

func NewResourceObserver added in v0.3.2

func NewResourceObserver(hnd resourcemonitor.Handle, args resourcemonitor.Args) (*ResourceObserver, error)

func (*ResourceObserver) Run added in v0.3.2

func (rm *ResourceObserver) Run(eventsChan <-chan notification.Event, condChan chan<- v1.PodCondition)

func (*ResourceObserver) Stop added in v0.4.0

func (rm *ResourceObserver) Stop()

Jump to

Keyboard shortcuts

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