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.
Click to show internal directories.
Click to hide internal directories.