global

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 2 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
	NodeAddress string

	// LockFileName indicates the file used as unique lock
	LockFileName string
	// if LockWaitingEnabled set as true, will not panic and report agent as healthy instead
	LockWaitingEnabled bool

	*MachineInfoConfiguration
}

func NewBaseConfiguration

func NewBaseConfiguration() *BaseConfiguration

type MachineInfoConfiguration added in v0.2.0

type MachineInfoConfiguration struct {
	// if NetMultipleNS set as true, we should collect network interfaces from multiple ns
	NetMultipleNS   bool
	NetNSDirAbsPath string
}

type MetaServerConfiguration

type MetaServerConfiguration struct {
	CNRCacheTTL                    time.Duration
	CustomNodeConfigCacheTTL       time.Duration
	ServiceProfileCacheTTL         time.Duration
	ConfigCacheTTL                 time.Duration
	ConfigSkipFailedInitialization bool
	ConfigDisableDynamic           bool
	ConfigCheckpointGraceTime      time.Duration

	KubeletReadOnlyPort          int
	KubeletSecurePort            int
	EnableKubeletSecurePort      bool
	KubeletPodCacheSyncPeriod    time.Duration
	KubeletPodCacheSyncMaxRate   rate.Limit
	KubeletPodCacheSyncBurstBulk int
	KubeletConfigEndpoint        string
	KubeletPodsEndpoint          string
	APIAuthTokenFile             string

	RemoteRuntimeEndpoint     string
	RuntimePodCacheSyncPeriod time.Duration

	CheckpointManagerDir string

	EnableMetricsFetcher bool
	EnableCNCFetcher     bool
}

func NewMetaServerConfiguration

func NewMetaServerConfiguration() *MetaServerConfiguration

type PluginManagerConfiguration

type PluginManagerConfiguration struct {
	PluginRegistrationDir string
}

func NewPluginManagerConfiguration

func NewPluginManagerConfiguration() *PluginManagerConfiguration

type QRMAdvisorConfiguration

type QRMAdvisorConfiguration struct {
	CPUAdvisorSocketAbsPath string
	CPUPluginSocketAbsPath  string

	MemoryAdvisorSocketAbsPath string
}

func NewQRMAdvisorConfiguration

func NewQRMAdvisorConfiguration() *QRMAdvisorConfiguration

Jump to

Keyboard shortcuts

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