options

package
v0.21.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidSCCVersion added in v0.21.3

func IsValidSCCVersion(ver string) bool

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
	SCCVersion         SCCVersion
}

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
	UpdaterCustomSELinuxPolicy  bool
	UpdaterSCCVersion           SCCVersion
	UpdaterSyncPeriod           time.Duration
	UpdaterVerbose              int
	SchedProfileName            string
	SchedResyncPeriod           time.Duration
	SchedVerbose                int
	SchedCtrlPlaneAffinity      bool
	SchedLeaderElectResource    string
	WaitInterval                time.Duration
	WaitTimeout                 time.Duration
	ClusterPlatform             platform.Platform
	ClusterVersion              platform.Version
	WaitCompletion              bool
	SchedScoringStratConfigData string
	SchedCacheParamsConfigData  string
}

type SCCVersion added in v0.21.3

type SCCVersion string
const (
	SCCV1 SCCVersion = "v1"
	SCCV2 SCCVersion = "v2"
)

type Scheduler

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

type Updater

type Updater struct {
	Platform            platform.Platform
	PlatformVersion     platform.Version
	WaitCompletion      bool
	RTEConfigData       string
	DaemonSet           DaemonSet
	EnableCRIHooks      bool
	CustomSELinuxPolicy 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