Documentation ¶
Index ¶
- type Client
- func (_m *Client) Delete() error
- func (_m *Client) GetConfig(configs []string) (client.GetConfigResult, error)
- func (_m *Client) IsPullSecretDefined() (bool, error)
- func (_m *Client) SetConfig(configs client.SetConfigRequest) (client.SetOrUnsetConfigResult, error)
- func (_m *Client) SetPullSecret(data string) error
- func (_m *Client) Start(config client.StartConfig) (client.StartResult, error)
- func (_m *Client) Status() (client.ClusterStatusResult, error)
- func (_m *Client) Stop() error
- func (_m *Client) Telemetry(action string) error
- func (_m *Client) UnsetConfig(configs []string) (client.SetOrUnsetConfigResult, error)
- func (_m *Client) Version() (client.VersionResult, error)
- func (_m *Client) WebconsoleURL() (*client.ConsoleResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) GetConfig ¶
func (_m *Client) GetConfig(configs []string) (client.GetConfigResult, error)
GetConfig provides a mock function with given fields: configs
func (*Client) IsPullSecretDefined ¶
IsPullSecretDefined provides a mock function with given fields:
func (*Client) SetConfig ¶
func (_m *Client) SetConfig(configs client.SetConfigRequest) (client.SetOrUnsetConfigResult, error)
SetConfig provides a mock function with given fields: configs
func (*Client) SetPullSecret ¶
SetPullSecret provides a mock function with given fields: data
func (*Client) Start ¶
func (_m *Client) Start(config client.StartConfig) (client.StartResult, error)
Start provides a mock function with given fields: config
func (*Client) Status ¶
func (_m *Client) Status() (client.ClusterStatusResult, error)
Status provides a mock function with given fields:
func (*Client) UnsetConfig ¶
func (_m *Client) UnsetConfig(configs []string) (client.SetOrUnsetConfigResult, error)
UnsetConfig provides a mock function with given fields: configs
func (*Client) Version ¶
func (_m *Client) Version() (client.VersionResult, error)
Version provides a mock function with given fields:
func (*Client) WebconsoleURL ¶
func (_m *Client) WebconsoleURL() (*client.ConsoleResult, error)
WebconsoleURL provides a mock function with given fields: