Documentation ¶
Index ¶
- type Client
- func (_m *Client) DeleteBootRescue(id int) (*models.Rescue, error)
- func (_m *Client) GetBMServer(_a0 int) (*models.Server, error)
- func (_m *Client) GetBootRescue(id int) (*models.Rescue, error)
- func (_m *Client) GetReboot(_a0 int) (*models.Reset, error)
- func (_m *Client) ListBMServers() ([]models.Server, error)
- func (_m *Client) ListSSHKeys() ([]models.Key, error)
- func (_m *Client) RebootBMServer(_a0 int, _a1 v1beta1.RebootType) (*models.ResetPost, error)
- func (_m *Client) SetBMServerName(_a0 int, _a1 string) (*models.Server, error)
- func (_m *Client) SetBootRescue(id int, fingerprint string) (*models.Rescue, error)
- func (_m *Client) SetSSHKey(name string, publickey string) (*models.Key, error)
- func (_m *Client) ValidateCredentials() error
- type Factory
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 (*Client) DeleteBootRescue ¶
DeleteBootRescue provides a mock function with given fields: id
func (*Client) GetBMServer ¶
GetBMServer provides a mock function with given fields: _a0
func (*Client) GetBootRescue ¶
GetBootRescue provides a mock function with given fields: id
func (*Client) ListBMServers ¶
ListBMServers provides a mock function with given fields:
func (*Client) ListSSHKeys ¶
ListSSHKeys provides a mock function with given fields:
func (*Client) RebootBMServer ¶
RebootBMServer provides a mock function with given fields: _a0, _a1
func (*Client) SetBMServerName ¶
SetBMServerName provides a mock function with given fields: _a0, _a1
func (*Client) SetBootRescue ¶
SetBootRescue provides a mock function with given fields: id, fingerprint
func (*Client) ValidateCredentials ¶
ValidateCredentials provides a mock function with given fields:
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func (*Factory) NewClient ¶
func (_m *Factory) NewClient(_a0 robotclient.Credentials) robotclient.Client
NewClient provides a mock function with given fields: _a0