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 CloudweavRelease ¶
type CloudweavRelease struct {
Cloudweav string `yaml:"cloudweav,omitempty"`
CloudweavChart string `yaml:"cloudweavChart,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 ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func NewUpgradeRepo ¶
func NewUpgradeRepo(ctx context.Context, upgrade *cloudweavv1.Upgrade, upgradeHandler *upgradeHandler) *Repo
func (*Repo) CreateImageFromISO ¶
func (r *Repo) CreateImageFromISO(isoURL string, checksum string) (*cloudweavv1.VirtualMachineImage, error)
func (*Repo) GetImage ¶
func (r *Repo) GetImage(imageName string) (*cloudweavv1.VirtualMachineImage, error)
type RepoInfo ¶
type RepoInfo struct {
Release CloudweavRelease
}
Click to show internal directories.
Click to hide internal directories.