Documentation
¶
Index ¶
- type AWSProfile
- type Installer
- func (i *Installer) GetAWSProfiles() []AWSProfile
- func (i *Installer) GetOnPremProfiles() []OnPremProfile
- func (i *Installer) InitAWSInstallation(domainName string)
- func (i *Installer) InitOnPremInstallation(domainName string)
- func (i *Installer) IsCreateSiteStep() bool
- func (i *Installer) IsInProgressStep() bool
- func (i *Installer) IsInstallCompleted() bool
- func (i *Installer) IsInstallFailed() bool
- func (i *Installer) IsRequirementsReviewStep() bool
- func (i *Installer) IsWarningVisible() bool
- func (i *Installer) NeedsBandwagon(domainName string) bool
- func (i *Installer) PrepareOnPremNodes(dockerDevice string)
- func (i *Installer) ProceedToSite()
- func (i *Installer) ProcessLicenseStepIfRequired(license string)
- func (i *Installer) SelectFlavorByIndex(index int)
- func (i *Installer) SelectFlavorByLabel(label string) int
- func (i *Installer) StartInstallation()
- func (i *Installer) WaitForCompletion()
- type OnPremProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSProfile ¶
AWSProfile is ui model for aws server profile
func (*AWSProfile) SetInstanceType ¶
func (p *AWSProfile) SetInstanceType(instanceType string)
SetInstanceType sets instance type on this profile
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer is installer ui model
func (*Installer) GetAWSProfiles ¶
func (i *Installer) GetAWSProfiles() []AWSProfile
GetAWSProfiles returns a list of aws profiles
func (*Installer) GetOnPremProfiles ¶
func (i *Installer) GetOnPremProfiles() []OnPremProfile
GetOnPremProfiles returns a list of onprem profiles
func (*Installer) InitAWSInstallation ¶
InitAWSInstallation initilizes cluster install operation using AWS
func (*Installer) InitOnPremInstallation ¶
InitOnPremInstallation initilizes cluster install operation using OnPrem
func (*Installer) IsCreateSiteStep ¶
IsCreateSiteStep checks if installer is at the initial step
func (*Installer) IsInProgressStep ¶
IsInProgressStep checks if installer is in progress
func (*Installer) IsInstallCompleted ¶
IsInstallCompleted checks if install operation has been completed
func (*Installer) IsInstallFailed ¶
IsInstallFailed checks if install operation failed
func (*Installer) IsRequirementsReviewStep ¶
IsRequirementsReviewStep checks if installer is at the requirements step
func (*Installer) IsWarningVisible ¶
IsWarningVisible checks if installer has any warnings visible
func (*Installer) NeedsBandwagon ¶
NeedsBandwagon checks if installation has a bandwagon step
func (*Installer) PrepareOnPremNodes ¶
PrepareOnPremNodes sets parameters for each found node
func (*Installer) ProceedToSite ¶
func (i *Installer) ProceedToSite()
ProceedToSite proceeds to the cluster site once installation is completed.
func (*Installer) ProcessLicenseStepIfRequired ¶
ProcessLicenseStepIfRequired handles installer step which requires a license
func (*Installer) SelectFlavorByIndex ¶
SelectFlavorByIndex selects flavor by index
func (*Installer) SelectFlavorByLabel ¶
SelectFlavorByLabel selects flavor by label
func (*Installer) StartInstallation ¶
func (i *Installer) StartInstallation()
StartInstallation starts install operation
func (*Installer) WaitForCompletion ¶
func (i *Installer) WaitForCompletion()
WaitForCompletion waits for ongoing install operation to be completed
type OnPremProfile ¶
type OnPremProfile struct { Command string Label string Count int // contains filtered or unexported fields }
OnPremProfile is ui model for onprem server profile
func (*OnPremProfile) GetAgentServers ¶
func (p *OnPremProfile) GetAgentServers() []agent.AgentServer
GetAgentServers returns agent servers