options

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Platform platform.Platform
}

type DaemonSet

type DaemonSet struct {
	Verbose            int
	PullIfNotPresent   bool
	PFPEnable          bool
	NotificationEnable bool
	NodeSelector       *metav1.LabelSelector
	UpdateInterval     time.Duration
}

func ForDaemonSet

func ForDaemonSet(commonOpts *Options) DaemonSet

type Options

type Options struct {
	UserPlatform                platform.Platform
	UserPlatformVersion         platform.Version
	Replicas                    int
	RTEConfigData               string
	PullIfNotPresent            bool
	UpdaterType                 string
	UpdaterPFPEnable            bool
	UpdaterNotifEnable          bool
	UpdaterCRIHooksEnable       bool
	UpdaterSyncPeriod           time.Duration
	UpdaterVerbose              int
	SchedProfileName            string
	SchedResyncPeriod           time.Duration
	SchedVerbose                int
	SchedCtrlPlaneAffinity      bool
	WaitInterval                time.Duration
	WaitTimeout                 time.Duration
	ClusterPlatform             platform.Platform
	ClusterVersion              platform.Version
	WaitCompletion              bool
	SchedScoringStratConfigData string
}

type Scheduler

type Scheduler struct {
	Platform               platform.Platform
	WaitCompletion         bool
	Replicas               int32
	ProfileName            string
	PullIfNotPresent       bool
	CacheResyncPeriod      time.Duration
	CtrlPlaneAffinity      bool
	Verbose                int
	ScoringStratConfigData string
}

type Updater

type Updater struct {
	Platform        platform.Platform
	PlatformVersion platform.Version
	WaitCompletion  bool
	RTEConfigData   string
	DaemonSet       DaemonSet
	EnableCRIHooks  bool
}

type UpdaterDaemon

type UpdaterDaemon struct {
	DaemonSet                 DaemonSet
	MachineConfigPoolSelector *metav1.LabelSelector
	ConfigData                string
	Namespace                 string
	Name                      string
}

Jump to

Keyboard shortcuts

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