Documentation
¶
Index ¶
- func IsRunning(st state.State) bool
- func WriteKubeconfig(ip string, clusterConfig *ClusterConfig) error
- type Client
- type ClusterConfig
- type ClusterStatusConfig
- type ClusterStatusResult
- type ConsoleConfig
- type ConsoleResult
- type DeleteConfig
- type DeleteResult
- type GetPullSecretFunc
- type IPConfig
- type IPResult
- 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 WriteKubeconfig ¶ added in v1.15.0
func WriteKubeconfig(ip string, clusterConfig *ClusterConfig) error
Types ¶
type Client ¶ added in v1.15.0
type Client interface { Delete(deleteConfig DeleteConfig) (DeleteResult, error) Exists(name string) (bool, error) GetConsoleURL(consoleConfig ConsoleConfig) (ConsoleResult, error) IP(ipConfig IPConfig) (IPResult, error) PowerOff(powerOff PowerOffConfig) (PowerOffResult, error) Start(startConfig StartConfig) (StartResult, error) Status(statusConfig ClusterStatusConfig) (ClusterStatusResult, error) Stop(stopConfig StopConfig) (StopResult, error) }
type ClusterConfig ¶
type ClusterStatusConfig ¶
type ClusterStatusConfig struct {
Name string
}
type ClusterStatusResult ¶
type ConsoleConfig ¶
type ConsoleConfig struct {
Name string
}
type ConsoleResult ¶
type ConsoleResult struct { ClusterConfig ClusterConfig State state.State Success bool Error string }
type DeleteConfig ¶
type DeleteConfig struct {
Name string
}
type DeleteResult ¶
type GetPullSecretFunc ¶
type PowerOffConfig ¶
type PowerOffConfig struct {
Name string
}
type PowerOffResult ¶
type StartConfig ¶
type StartResult ¶
type StartResult struct { Name string Status string Error string ClusterConfig ClusterConfig KubeletStarted bool }
type StopConfig ¶
type StopResult ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.