Documentation
¶
Index ¶
- Constants
- Variables
- func GetEncryptionKey(lic string) (string, error)
- func NewCluster(p fsm.ExecutorParams, wizardOperator ops.Operator, ...) (fsm.PhaseExecutor, error)
- func NewConnect(p fsm.ExecutorParams, operator ossops.Operator) (fsm.PhaseExecutor, error)
- func NewDecrypt(p fsm.ExecutorParams, operator ops.Operator, packages pack.PackageService, ...) (fsm.PhaseExecutor, error)
- func NewInstaller(p fsm.ExecutorParams, operator ops.Operator, wizardPack pack.PackageService, ...) (fsm.PhaseExecutor, error)
- func NewLicense(p fsm.ExecutorParams, operator ops.Operator, client *kubernetes.Clientset) (fsm.PhaseExecutor, error)
Constants ¶
View Source
const ( // InstallerPhase is a phase that downloads installer from Ops Center InstallerPhase = "/installer" // DecryptPhase is a phase that decrypts encrypted packages DecryptPhase = "/decrypt" // LicensePhase is a phase that installs license LicensePhase = "/license" // ConnectPhase is a phase that connects cluster to a remote Ops Center ConnectPhase = "/connect" // ClusterPhase is a phase that installs cluster using local Ops Center ClusterPhase = "/cluster" )
Variables ¶
View Source
var ( // ClusterCreatePhase is a phase that creates a cluster install operation ClusterCreatePhase = fmt.Sprintf("%v/create", ClusterPhase) // ClusterWaitPhase is a phase that waits for cluster to finish install ClusterWaitPhase = fmt.Sprintf("%v/wait", ClusterPhase) // ClusterInfoPhase is a phase that collects info about installed cluster ClusterInfoPhase = fmt.Sprintf("%v/info", ClusterPhase) )
Functions ¶
func GetEncryptionKey ¶
GetEncryptionKey extracts encryption key from the provided license string
func NewCluster ¶
func NewCluster(p fsm.ExecutorParams, wizardOperator ops.Operator, wizardPack pack.PackageService, wizardApps app.Applications, userLogFile string) (fsm.PhaseExecutor, error)
NewCluster returns an executor for a /cluster phase The /cluster phase uses local Ops Center to install a cluster that was provided to gravity install via --cluster-spec flag.
func NewConnect ¶
func NewConnect(p fsm.ExecutorParams, operator ossops.Operator) (fsm.PhaseExecutor, error)
NewConnect returns executor for the "connect" phase that connects installed cluster to an Ops Center
func NewDecrypt ¶
func NewDecrypt(p fsm.ExecutorParams, operator ops.Operator, packages pack.PackageService, apps app.Applications) (fsm.PhaseExecutor, error)
NewDecrypt returns a new "decrypt" phase executor
func NewInstaller ¶
func NewInstaller(p fsm.ExecutorParams, operator ops.Operator, wizardPack pack.PackageService, wizardApps app.Applications) (fsm.PhaseExecutor, error)
NewInstaller returns a new "installer" phase
func NewLicense ¶
func NewLicense(p fsm.ExecutorParams, operator ops.Operator, client *kubernetes.Clientset) (fsm.PhaseExecutor, error)
NewLicense returns a new "license" phase executor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.