rte

package
v0.4.16-0rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const MachineConfigLabelKey = "machineconfiguration.openshift.io/role"

MachineConfigLabelKey contains the key of generated label for machine config

Variables

This section is empty.

Functions

func DaemonSetNamespacedNameFromObject

func DaemonSetNamespacedNameFromObject(obj client.Object) (nropv1.NamespacedName, bool)

func GetMachineConfigLabel

func GetMachineConfigLabel(mcp *machineconfigv1.MachineConfigPool) map[string]string

GetMachineConfigLabel returns machine config labels that should be used under the machine config pool machine config selector

func SkipManifestUpdate

func SkipManifestUpdate(gdm *GeneratedDesiredManifest) error

Types

type ExistingManifests

type ExistingManifests struct {
	// contains filtered or unexported fields
}

func (*ExistingManifests) MachineConfigsState

func (em *ExistingManifests) MachineConfigsState(mf rtemanifests.Manifests) []objectstate.ObjectState

func (*ExistingManifests) State

type GenerateDesiredManifestUpdater

type GenerateDesiredManifestUpdater func(mcpName string, gdm *GeneratedDesiredManifest) error

type GeneratedDesiredManifest

type GeneratedDesiredManifest struct {
	// context
	ClusterPlatform   platform.Platform
	MachineConfigPool *machineconfigv1.MachineConfigPool
	NodeGroup         *nropv1.NodeGroup
	// generated manifests
	DaemonSet *appsv1.DaemonSet
}

Jump to

Keyboard shortcuts

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