node

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MissingControlPlaneUpgradeError added in v1.0.0

type MissingControlPlaneUpgradeError struct {
	NodeName string
}

func (*MissingControlPlaneUpgradeError) Error added in v1.0.0

type NodeVersionInfoUpdate

type NodeVersionInfoUpdate struct {
	Current kubernetes.NodeVersionInfo
	Update  kubernetes.NodeVersionInfo
}

func UpdateStatus

func UpdateStatus(client clientset.Interface, nodeName string) (NodeVersionInfoUpdate, error)

func (NodeVersionInfoUpdate) HasMajorOrMinorUpdate added in v0.9.4

func (nviu NodeVersionInfoUpdate) HasMajorOrMinorUpdate() bool

func (NodeVersionInfoUpdate) IsFirstControlPlaneNodeToBeUpgraded

func (nviu NodeVersionInfoUpdate) IsFirstControlPlaneNodeToBeUpgraded(client clientset.Interface) (bool, error)

func (NodeVersionInfoUpdate) IsUpdated

func (nviu NodeVersionInfoUpdate) IsUpdated() bool

func (NodeVersionInfoUpdate) NodeUpgradeableCheck added in v1.2.1

func (nviu NodeVersionInfoUpdate) NodeUpgradeableCheck(client clientset.Interface, currentClusterVersion *version.Version) error

NodeUpgradeableCheck returns whether a given node is upgradeable or not, taking global cluster restrictions into account. If all preconditions are met for the given node, no error will be returned.

Jump to

Keyboard shortcuts

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