global

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseConfiguration

type BaseConfiguration struct {
	// Agents is the list of agent components to enable or disable
	// '*' means "all enabled by default agents"
	// 'foo' means "enable 'foo'"
	// '-foo' means "disable 'foo'"
	// first item for a particular name wins
	Agents []string

	NodeName string

	// LockFileName indicates the file used as unique lock
	LockFileName string
}

func NewBaseConfiguration

func NewBaseConfiguration() *BaseConfiguration

func (*BaseConfiguration) ApplyConfiguration

func (c *BaseConfiguration) ApplyConfiguration(conf *dynamic.DynamicConfigCRD)

type MetaServerConfiguration

type MetaServerConfiguration struct {
	ConfigTTL                     time.Duration
	ConfigSkipFailedDynamicUpdate bool
	ConfigCheckpointGraceTime     time.Duration

	KubeletReadOnlyPort          int
	KubeletPodCacheSyncPeriod    time.Duration
	KubeletPodCacheSyncMaxRate   rate.Limit
	KubeletPodCacheSyncBurstBulk int

	RemoteRuntimeEndpoint     string
	RuntimePodCacheSyncPeriod time.Duration

	CheckpointManagerDir string
}

func NewMetaServerConfiguration

func NewMetaServerConfiguration() *MetaServerConfiguration

func (*MetaServerConfiguration) ApplyConfiguration

func (c *MetaServerConfiguration) ApplyConfiguration(conf *dynamic.DynamicConfigCRD)

type PluginManagerConfiguration

type PluginManagerConfiguration struct {
	PluginRegistrationDir string
}

func NewPluginManagerConfiguration

func NewPluginManagerConfiguration() *PluginManagerConfiguration

func (*PluginManagerConfiguration) ApplyConfiguration

func (c *PluginManagerConfiguration) ApplyConfiguration(conf *dynamic.DynamicConfigCRD)

type QRMAdvisorConfiguration

type QRMAdvisorConfiguration struct {
	CPUAdvisorSocketAbsPath string
	CPUPluginSocketAbsPath  string
}

func NewQRMAdvisorConfiguration

func NewQRMAdvisorConfiguration() *QRMAdvisorConfiguration

func (*QRMAdvisorConfiguration) ApplyConfiguration

func (qa *QRMAdvisorConfiguration) ApplyConfiguration(conf *dynamic.DynamicConfigCRD)

type ReclaimedResourceConfiguration

type ReclaimedResourceConfiguration struct {
	EnableReclaim                   bool
	ReservedResourceForReport       v1.ResourceList
	MinReclaimedResourceForReport   v1.ResourceList
	ReservedResourceForAllocate     v1.ResourceList
	MinReclaimedResourceForAllocate v1.ResourceList
}

func NewReclaimConfiguration

func NewReclaimConfiguration() *ReclaimedResourceConfiguration

func (*ReclaimedResourceConfiguration) ApplyConfiguration

func (c *ReclaimedResourceConfiguration) ApplyConfiguration(conf *dynamic.DynamicConfigCRD)

Jump to

Keyboard shortcuts

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