nodeupdate

package
v2.21.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureVersionCompatible

func EnsureVersionCompatible(controlPlane *semverlib.Version, kubelet *semverlib.Version) error

EnsureVersionCompatible checks whether the given kubelet version is deemed compatible with the given version of the control plane.

Types

type VersionSkewError added in v2.20.0

type VersionSkewError struct {
	ControlPlane *semverlib.Version
	Kubelet      *semverlib.Version
}

VersionSkewError denotes an error condition where a given kubelet/controlplane version pair is not supported.

func (VersionSkewError) Error added in v2.20.0

func (e VersionSkewError) Error() string

Error returns a string representation of the error.

func (VersionSkewError) Is added in v2.20.0

func (e VersionSkewError) Is(other error) bool

Jump to

Keyboard shortcuts

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