Documentation ¶
Index ¶
Constants ¶
View Source
const ( StateUpgrading = "Upgrading" StatePreparingLoggingInfra = "PreparingLoggingInfra" StateLoggingInfraPrepared = "LoggingInfraPrepared" StateCreatingUpgradeImage = "CreatingUpgradeImage" StatePreparingRepo = "PreparingRepo" StateRepoPrepared = "RepoPrepared" StatePreparingNodes = "PreparingNodes" StateUpgradingSystemServices = "UpgradingSystemServices" StateUpgradingNodes = "UpgradingNodes" StateSucceeded = "Succeeded" StateFailed = "Failed" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckUpgradeRequest ¶
type CheckUpgradeResponse ¶
type CheckUpgradeResponse struct {
Versions []Version `json:"versions"`
}
type HarvesterRelease ¶ added in v1.0.0
type HarvesterRelease struct { Harvester string `yaml:"harvester,omitempty"` HarvesterChart string `yaml:"harvesterChart,omitempty"` OS string `yaml:"os,omitempty"` Kubernetes string `yaml:"kubernetes,omitempty"` Rancher string `yaml:"rancher,omitempty"` MonitoringChart string `yaml:"monitoringChart,omitempty"` MinUpgradableVersion string `yaml:"minUpgradableVersion,omitempty"` }
type NodeUpdateFunc ¶ added in v1.0.0
type Repo ¶ added in v1.1.2
type Repo struct {
// contains filtered or unexported fields
}
func NewUpgradeRepo ¶ added in v1.0.0
func NewUpgradeRepo(ctx context.Context, upgrade *harvesterv1.Upgrade, upgradeHandler *upgradeHandler) *Repo
func (*Repo) CreateImageFromISO ¶ added in v1.1.2
func (r *Repo) CreateImageFromISO(isoURL string, checksum string) (*harvesterv1.VirtualMachineImage, error)
func (*Repo) GetImage ¶ added in v1.1.2
func (r *Repo) GetImage(imageName string) (*harvesterv1.VirtualMachineImage, error)
type RepoInfo ¶ added in v1.1.2
type RepoInfo struct {
Release HarvesterRelease
}
Click to show internal directories.
Click to hide internal directories.