Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) ConnectionDetails() (*types.ConnectionDetails, error)
- func (c *Client) Delete() error
- func (c *Client) Exists() (bool, error)
- func (c *Client) GenerateBundle(_ bool) error
- func (c *Client) GetClusterLoad() (*types.ClusterLoadResult, error)
- func (c *Client) GetConsoleURL() (*types.ConsoleResult, error)
- func (c *Client) GetName() string
- func (c *Client) GetPreset() preset.Preset
- func (c *Client) GetProxyConfig(_ string) (*httpproxy.ProxyConfig, error)
- func (c *Client) IsRunning() (bool, error)
- func (c *Client) PowerOff() error
- func (c *Client) Start(_ context.Context, _ types.StartConfig) (*types.StartResult, error)
- func (c *Client) Status() (*types.ClusterStatusResult, error)
- func (c *Client) Stop() (state.State, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DummyClusterConfig = types.ClusterConfig{ ClusterType: "openshift", ClusterCACert: "MIIDODCCAiCgAwIBAgIIRVfCKNUa1wIwDQYJ", 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 ¶
func NewFailingClient() *Client
func (*Client) ConnectionDetails ¶
func (c *Client) ConnectionDetails() (*types.ConnectionDetails, error)
func (*Client) GenerateBundle ¶
func (*Client) GetClusterLoad ¶
func (c *Client) GetClusterLoad() (*types.ClusterLoadResult, error)
func (*Client) GetConsoleURL ¶
func (c *Client) GetConsoleURL() (*types.ConsoleResult, error)
func (*Client) GetProxyConfig ¶
func (c *Client) GetProxyConfig(_ string) (*httpproxy.ProxyConfig, error)
func (*Client) Start ¶
func (c *Client) Start(_ context.Context, _ types.StartConfig) (*types.StartResult, error)
Click to show internal directories.
Click to hide internal directories.