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 NodeUpdateFunc ¶ added in v1.0.0
type PreUpgradeRunningVM ¶ added in v1.4.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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.