mocks

package
v2.42.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

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) Delete

func (_m *Client) Delete() error

Delete provides a mock function with given fields:

func (*Client) GetConfig

func (_m *Client) GetConfig(configs []string) (client.GetConfigResult, error)

GetConfig provides a mock function with given fields: configs

func (*Client) IsPullSecretDefined

func (_m *Client) IsPullSecretDefined() (bool, error)

IsPullSecretDefined provides a mock function with given fields:

func (*Client) SetConfig

SetConfig provides a mock function with given fields: configs

func (*Client) SetPullSecret

func (_m *Client) SetPullSecret(data string) error

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) Stop

func (_m *Client) Stop() error

Stop provides a mock function with given fields:

func (*Client) Telemetry

func (_m *Client) Telemetry(action string) error

Telemetry provides a mock function with given fields: action

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:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL