Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRobotClient
- func (m *MockRobotClient) BootRescueGet(arg0 string) (*models.Rescue, error)
- func (m *MockRobotClient) BootRescueSet(arg0 string, arg1 *models.RescueSetInput) (*models.Rescue, error)
- func (m *MockRobotClient) EXPECT() *MockRobotClientMockRecorder
- func (m *MockRobotClient) FailoverGet(arg0 string) (*models.Failover, error)
- func (m *MockRobotClient) FailoverGetList() ([]models.Failover, error)
- func (m *MockRobotClient) GetVersion() string
- func (m *MockRobotClient) IPGetList() ([]models.IP, error)
- func (m *MockRobotClient) KeyGetList() ([]models.Key, error)
- func (m *MockRobotClient) RDnsGet(arg0 string) (*models.Rdns, error)
- func (m *MockRobotClient) RDnsGetList() ([]models.Rdns, error)
- func (m *MockRobotClient) ResetGet(arg0 string) (*models.Reset, error)
- func (m *MockRobotClient) ResetSet(arg0 string, arg1 *models.ResetSetInput) (*models.ResetPost, error)
- func (m *MockRobotClient) ServerGet(arg0 string) (*models.Server, error)
- func (m *MockRobotClient) ServerGetList() ([]models.Server, error)
- func (m *MockRobotClient) ServerReverse(arg0 string) (*models.Cancellation, error)
- func (m *MockRobotClient) ServerSetName(arg0 string, arg1 *models.ServerSetNameInput) (*models.Server, error)
- func (m *MockRobotClient) SetBaseURL(arg0 string)
- func (m *MockRobotClient) SetUserAgent(arg0 string)
- type MockRobotClientMockRecorder
- func (mr *MockRobotClientMockRecorder) BootRescueGet(arg0 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) BootRescueSet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) FailoverGet(arg0 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) FailoverGetList() *gomock.Call
- func (mr *MockRobotClientMockRecorder) GetVersion() *gomock.Call
- func (mr *MockRobotClientMockRecorder) IPGetList() *gomock.Call
- func (mr *MockRobotClientMockRecorder) KeyGetList() *gomock.Call
- func (mr *MockRobotClientMockRecorder) RDnsGet(arg0 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) RDnsGetList() *gomock.Call
- func (mr *MockRobotClientMockRecorder) ResetGet(arg0 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) ResetSet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) ServerGet(arg0 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) ServerGetList() *gomock.Call
- func (mr *MockRobotClientMockRecorder) ServerReverse(arg0 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) ServerSetName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) SetBaseURL(arg0 interface{}) *gomock.Call
- func (mr *MockRobotClientMockRecorder) SetUserAgent(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRobotClient ¶
type MockRobotClient struct {
// contains filtered or unexported fields
}
MockRobotClient is a mock of RobotClient interface
func NewMockRobotClient ¶
func NewMockRobotClient(ctrl *gomock.Controller) *MockRobotClient
NewMockRobotClient creates a new mock instance
func (*MockRobotClient) BootRescueGet ¶
func (m *MockRobotClient) BootRescueGet(arg0 string) (*models.Rescue, error)
BootRescueGet mocks base method
func (*MockRobotClient) BootRescueSet ¶
func (m *MockRobotClient) BootRescueSet(arg0 string, arg1 *models.RescueSetInput) (*models.Rescue, error)
BootRescueSet mocks base method
func (*MockRobotClient) EXPECT ¶
func (m *MockRobotClient) EXPECT() *MockRobotClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRobotClient) FailoverGet ¶
func (m *MockRobotClient) FailoverGet(arg0 string) (*models.Failover, error)
FailoverGet mocks base method
func (*MockRobotClient) FailoverGetList ¶
func (m *MockRobotClient) FailoverGetList() ([]models.Failover, error)
FailoverGetList mocks base method
func (*MockRobotClient) GetVersion ¶
func (m *MockRobotClient) GetVersion() string
GetVersion mocks base method
func (*MockRobotClient) IPGetList ¶
func (m *MockRobotClient) IPGetList() ([]models.IP, error)
IPGetList mocks base method
func (*MockRobotClient) KeyGetList ¶
func (m *MockRobotClient) KeyGetList() ([]models.Key, error)
KeyGetList mocks base method
func (*MockRobotClient) RDnsGet ¶
func (m *MockRobotClient) RDnsGet(arg0 string) (*models.Rdns, error)
RDnsGet mocks base method
func (*MockRobotClient) RDnsGetList ¶
func (m *MockRobotClient) RDnsGetList() ([]models.Rdns, error)
RDnsGetList mocks base method
func (*MockRobotClient) ResetGet ¶
func (m *MockRobotClient) ResetGet(arg0 string) (*models.Reset, error)
ResetGet mocks base method
func (*MockRobotClient) ResetSet ¶
func (m *MockRobotClient) ResetSet(arg0 string, arg1 *models.ResetSetInput) (*models.ResetPost, error)
ResetSet mocks base method
func (*MockRobotClient) ServerGet ¶
func (m *MockRobotClient) ServerGet(arg0 string) (*models.Server, error)
ServerGet mocks base method
func (*MockRobotClient) ServerGetList ¶
func (m *MockRobotClient) ServerGetList() ([]models.Server, error)
ServerGetList mocks base method
func (*MockRobotClient) ServerReverse ¶
func (m *MockRobotClient) ServerReverse(arg0 string) (*models.Cancellation, error)
ServerReverse mocks base method
func (*MockRobotClient) ServerSetName ¶
func (m *MockRobotClient) ServerSetName(arg0 string, arg1 *models.ServerSetNameInput) (*models.Server, error)
ServerSetName mocks base method
func (*MockRobotClient) SetBaseURL ¶
func (m *MockRobotClient) SetBaseURL(arg0 string)
SetBaseURL mocks base method
func (*MockRobotClient) SetUserAgent ¶
func (m *MockRobotClient) SetUserAgent(arg0 string)
SetUserAgent mocks base method
type MockRobotClientMockRecorder ¶
type MockRobotClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRobotClientMockRecorder is the mock recorder for MockRobotClient
func (*MockRobotClientMockRecorder) BootRescueGet ¶
func (mr *MockRobotClientMockRecorder) BootRescueGet(arg0 interface{}) *gomock.Call
BootRescueGet indicates an expected call of BootRescueGet
func (*MockRobotClientMockRecorder) BootRescueSet ¶
func (mr *MockRobotClientMockRecorder) BootRescueSet(arg0, arg1 interface{}) *gomock.Call
BootRescueSet indicates an expected call of BootRescueSet
func (*MockRobotClientMockRecorder) FailoverGet ¶
func (mr *MockRobotClientMockRecorder) FailoverGet(arg0 interface{}) *gomock.Call
FailoverGet indicates an expected call of FailoverGet
func (*MockRobotClientMockRecorder) FailoverGetList ¶
func (mr *MockRobotClientMockRecorder) FailoverGetList() *gomock.Call
FailoverGetList indicates an expected call of FailoverGetList
func (*MockRobotClientMockRecorder) GetVersion ¶
func (mr *MockRobotClientMockRecorder) GetVersion() *gomock.Call
GetVersion indicates an expected call of GetVersion
func (*MockRobotClientMockRecorder) IPGetList ¶
func (mr *MockRobotClientMockRecorder) IPGetList() *gomock.Call
IPGetList indicates an expected call of IPGetList
func (*MockRobotClientMockRecorder) KeyGetList ¶
func (mr *MockRobotClientMockRecorder) KeyGetList() *gomock.Call
KeyGetList indicates an expected call of KeyGetList
func (*MockRobotClientMockRecorder) RDnsGet ¶
func (mr *MockRobotClientMockRecorder) RDnsGet(arg0 interface{}) *gomock.Call
RDnsGet indicates an expected call of RDnsGet
func (*MockRobotClientMockRecorder) RDnsGetList ¶
func (mr *MockRobotClientMockRecorder) RDnsGetList() *gomock.Call
RDnsGetList indicates an expected call of RDnsGetList
func (*MockRobotClientMockRecorder) ResetGet ¶
func (mr *MockRobotClientMockRecorder) ResetGet(arg0 interface{}) *gomock.Call
ResetGet indicates an expected call of ResetGet
func (*MockRobotClientMockRecorder) ResetSet ¶
func (mr *MockRobotClientMockRecorder) ResetSet(arg0, arg1 interface{}) *gomock.Call
ResetSet indicates an expected call of ResetSet
func (*MockRobotClientMockRecorder) ServerGet ¶
func (mr *MockRobotClientMockRecorder) ServerGet(arg0 interface{}) *gomock.Call
ServerGet indicates an expected call of ServerGet
func (*MockRobotClientMockRecorder) ServerGetList ¶
func (mr *MockRobotClientMockRecorder) ServerGetList() *gomock.Call
ServerGetList indicates an expected call of ServerGetList
func (*MockRobotClientMockRecorder) ServerReverse ¶
func (mr *MockRobotClientMockRecorder) ServerReverse(arg0 interface{}) *gomock.Call
ServerReverse indicates an expected call of ServerReverse
func (*MockRobotClientMockRecorder) ServerSetName ¶
func (mr *MockRobotClientMockRecorder) ServerSetName(arg0, arg1 interface{}) *gomock.Call
ServerSetName indicates an expected call of ServerSetName
func (*MockRobotClientMockRecorder) SetBaseURL ¶
func (mr *MockRobotClientMockRecorder) SetBaseURL(arg0 interface{}) *gomock.Call
SetBaseURL indicates an expected call of SetBaseURL
func (*MockRobotClientMockRecorder) SetUserAgent ¶
func (mr *MockRobotClientMockRecorder) SetUserAgent(arg0 interface{}) *gomock.Call
SetUserAgent indicates an expected call of SetUserAgent