Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) Delete(deleteConfig machine.DeleteConfig) (machine.DeleteResult, error)
- func (c *Client) Exists(name string) (bool, error)
- func (c *Client) GetConsoleURL(consoleConfig machine.ConsoleConfig) (machine.ConsoleResult, error)
- func (c *Client) GetProxyConfig(machineName string) (*network.ProxyConfig, error)
- func (c *Client) IP(ipConfig machine.IPConfig) (machine.IPResult, error)
- func (c *Client) PowerOff(powerOff machine.PowerOffConfig) (machine.PowerOffResult, error)
- func (c *Client) Start(startConfig machine.StartConfig) (machine.StartResult, error)
- func (c *Client) Status(statusConfig machine.ClusterStatusConfig) (machine.ClusterStatusResult, error)
- func (c *Client) Stop(stopConfig machine.StopConfig) (machine.StopResult, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DummyClusterConfig = machine.ClusterConfig{ KubeConfig: "/tmp/kubeconfig", KubeAdminPass: "foobar", ClusterAPI: "https://foo.testing:6443", WebConsoleURL: "https://console.foo.testing:6443", ProxyConfig: nil, }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Failing bool
}
func NewFailingClient ¶ added in v1.17.0
func NewFailingClient() *Client
func (*Client) Delete ¶
func (c *Client) Delete(deleteConfig machine.DeleteConfig) (machine.DeleteResult, error)
func (*Client) GetConsoleURL ¶
func (c *Client) GetConsoleURL(consoleConfig machine.ConsoleConfig) (machine.ConsoleResult, error)
func (*Client) GetProxyConfig ¶
func (c *Client) GetProxyConfig(machineName string) (*network.ProxyConfig, error)
func (*Client) PowerOff ¶
func (c *Client) PowerOff(powerOff machine.PowerOffConfig) (machine.PowerOffResult, error)
func (*Client) Start ¶
func (c *Client) Start(startConfig machine.StartConfig) (machine.StartResult, error)
func (*Client) Status ¶
func (c *Client) Status(statusConfig machine.ClusterStatusConfig) (machine.ClusterStatusResult, error)
func (*Client) Stop ¶
func (c *Client) Stop(stopConfig machine.StopConfig) (machine.StopResult, error)
Click to show internal directories.
Click to hide internal directories.