reporter

package
v0.3.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericReporterConfiguration

type GenericReporterConfiguration struct {
	CollectInterval time.Duration

	// InnerPlugins is the list of plugins implemented in katalyst to enable or disable
	// '*' means "all enabled by default"
	// 'foo' means "enable 'foo'"
	// '-foo' means "disable 'foo'"
	// first item for a particular name wins
	InnerPlugins []string

	RefreshLatestCNRPeriod time.Duration

	// DefaultCNRLabels is the labels for CNR created by reporter
	DefaultCNRLabels map[string]string
}

func NewGenericReporterConfiguration

func NewGenericReporterConfiguration() *GenericReporterConfiguration

type KubeletPluginConfiguration

type KubeletPluginConfiguration struct {
	PodResourcesServerEndpoints []string
	KubeletResourcePluginPaths  []string
	EnableReportTopologyPolicy  bool
	ResourceNameToZoneTypeMap   map[string]string
}

func NewKubeletPluginConfiguration

func NewKubeletPluginConfiguration() *KubeletPluginConfiguration

type ReporterPluginsConfiguration

type ReporterPluginsConfiguration struct {
	*KubeletPluginConfiguration
}

func NewReporterPluginsConfiguration

func NewReporterPluginsConfiguration() *ReporterPluginsConfiguration

Jump to

Keyboard shortcuts

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