compatibility

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 11 Imported by: 2

Documentation

Overview

Package compatibility provides version compatibility checks for Talos.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesVersion

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

KubernetesVersion embeds Kubernetes version.

func ParseKubernetesVersion

func ParseKubernetesVersion(v string) (*KubernetesVersion, error)

ParseKubernetesVersion parses Kubernetes version.

func (*KubernetesVersion) String

func (v *KubernetesVersion) String() string

func (*KubernetesVersion) SupportedWith

func (v *KubernetesVersion) SupportedWith(target *TalosVersion) error

SupportedWith checks if the Kubernetes version is supported with specified version of Talos.

type TalosVersion

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

TalosVersion embeds Talos version.

func ParseTalosVersion

func ParseTalosVersion(v *machine.VersionInfo) (*TalosVersion, error)

ParseTalosVersion parses Talos version.

func (*TalosVersion) DisablePredictableNetworkInterfaces added in v1.5.0

func (v *TalosVersion) DisablePredictableNetworkInterfaces() bool

DisablePredictableNetworkInterfaces returns true if predictable network interfaces should be disabled on upgrade.

func (*TalosVersion) String

func (v *TalosVersion) String() string

func (*TalosVersion) UpgradeableFrom

func (v *TalosVersion) UpgradeableFrom(host *TalosVersion) error

UpgradeableFrom checks if the current version of Talos can be used as an upgrade for the given host version.

Directories

Path Synopsis
Package talos12 provides compatibility constants for Talos 1.2.
Package talos12 provides compatibility constants for Talos 1.2.
Package talos13 provides compatibility constants for Talos 1.3.
Package talos13 provides compatibility constants for Talos 1.3.
Package talos14 provides compatibility constants for Talos 1.4
Package talos14 provides compatibility constants for Talos 1.4
Package talos15 provides compatibility constants for Talos 1.5.
Package talos15 provides compatibility constants for Talos 1.5.
Package talos16 provides compatibility constants for Talos 1.6.
Package talos16 provides compatibility constants for Talos 1.6.
Package talos17 provides compatibility constants for Talos 1.7.
Package talos17 provides compatibility constants for Talos 1.7.
Package talos18 provides compatibility constants for Talos 1.8.
Package talos18 provides compatibility constants for Talos 1.8.

Jump to

Keyboard shortcuts

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