compatibility

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MPL-2.0 Imports: 6 Imported by: 3

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 Talos 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) 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

Jump to

Keyboard shortcuts

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