Documentation ¶
Index ¶
- func GetProxyConfig(machineName string) (*network.ProxyConfig, error)
- func IsRunning(st state.State) bool
- func MachineExists(name string) (bool, error)
- func SupportedDriverValues() []string
- type ClusterConfig
- type ClusterStatusConfig
- type ClusterStatusResult
- type ConsoleConfig
- type ConsoleResult
- type DeleteConfig
- type DeleteResult
- type GetPullSecretFunc
- type IpConfig
- type IpResult
- type MachineDriver
- type PowerOffConfig
- type PowerOffResult
- type StartConfig
- type StartResult
- type StopConfig
- type StopResult
- type VersionResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProxyConfig ¶
func GetProxyConfig(machineName string) (*network.ProxyConfig, error)
Return proxy config if VM is present
func MachineExists ¶
func SupportedDriverValues ¶
func SupportedDriverValues() []string
Types ¶
type ClusterConfig ¶
type ClusterStatusConfig ¶
type ClusterStatusConfig struct {
Name string
}
type ClusterStatusResult ¶
type ClusterStatusResult struct { Name string CrcStatus string OpenshiftStatus string DiskUse int64 DiskSize int64 Error string Success bool }
func Status ¶
func Status(statusConfig ClusterStatusConfig) (ClusterStatusResult, error)
type ConsoleConfig ¶
type ConsoleConfig struct {
Name string
}
type ConsoleResult ¶
type ConsoleResult struct { ClusterConfig ClusterConfig State state.State Success bool Error string }
func GetConsoleURL ¶
func GetConsoleURL(consoleConfig ConsoleConfig) (ConsoleResult, error)
Return console URL if the VM is present.
type DeleteConfig ¶
type DeleteConfig struct {
Name string
}
type DeleteResult ¶
func Delete ¶
func Delete(deleteConfig DeleteConfig) (DeleteResult, error)
type GetPullSecretFunc ¶
type MachineDriver ¶
var ( SupportedDrivers []MachineDriver DefaultDriver MachineDriver )
type PowerOffConfig ¶
type PowerOffConfig struct {
Name string
}
type PowerOffResult ¶
func PowerOff ¶
func PowerOff(powerOff PowerOffConfig) (PowerOffResult, error)
type StartConfig ¶
type StartResult ¶
type StartResult struct { Name string Status string Error string ClusterConfig ClusterConfig KubeletStarted bool }
func Start ¶
func Start(startConfig StartConfig) (StartResult, error)
type StopConfig ¶
type StopResult ¶
func Stop ¶
func Stop(stopConfig StopConfig) (StopResult, error)
Click to show internal directories.
Click to hide internal directories.