Documentation
¶
Index ¶
Constants ¶
View Source
const ( // The "images-all" file is only provided for RKE2 amd64 images. This may be subject to change. RKE2ImageLinux = "https://github.com/rancher/rke2/releases/download/%s/rke2-images-all.linux-amd64.txt" RKE2ImageWindows = "https://github.com/rancher/rke2/releases/download/%s/rke2-images.windows-amd64.txt" K3SImageURL = "https://github.com/k3s-io/k3s/releases/download/%s/k3s-images.txt" K3S = "k3s" RKE2 = "rke2" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReleaseImages ¶
func (*ReleaseImages) GetImages ¶
func (r *ReleaseImages) GetImages() ([]string, error)
func (*ReleaseImages) GetVersions ¶
func (r *ReleaseImages) GetVersions() ([]string, error)
type SystemImages ¶
type SystemImages struct { RancherVersion string RkeSysImages map[string]kdm.RKESystemImages LinuxSvcOptions map[string]kdm.KubernetesServicesOptions WindowsSvcOptions map[string]kdm.KubernetesServicesOptions RancherVersions map[string]kdm.K8sVersionInfo LinuxInfo *VersionInfo WindowsInfo *VersionInfo // map[image][source]bool LinuxImageSet map[string]map[string]bool WindowsImageSet map[string]map[string]bool }
func (*SystemImages) GetImages ¶
func (s *SystemImages) GetImages() error
type UpgradeImages ¶
type UpgradeImages struct { Source string RancherVersion string MinKubeVersion string Data map[string]interface{} }
UpgradeImages generates external image list from KDM RKE2/K3S data
func (*UpgradeImages) GetImages ¶
func (g *UpgradeImages) GetImages() ([]string, error)
type VersionInfo ¶
type VersionInfo struct { RKESystemImages map[string]kdm.RKESystemImages KubernetesServicesOptions map[string]kdm.KubernetesServicesOptions }
Click to show internal directories.
Click to hide internal directories.