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) PrecreateStatePartition ¶ added in v1.8.0
func (v *TalosVersion) PrecreateStatePartition() bool
PrecreateStatePartition returns true if running an 1.8+ installer from a version before <=1.7.x.
Host Talos needs STATE partition to save the machine configuration.
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 talos110 provides compatibility constants for Talos 1.10.
|
Package talos110 provides compatibility constants for Talos 1.10. |
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. |
Package talos19 provides compatibility constants for Talos 1.9.
|
Package talos19 provides compatibility constants for Talos 1.9. |