Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) Cluster ¶
func (m *MockAPI) Cluster() rancherapi.ClusterAPI
Cluster mocks base method.
func (*MockAPI) ETCDBackup ¶
func (m *MockAPI) ETCDBackup() rancherapi.ETCDBackupAPI
ETCDBackup mocks base method.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) Cluster ¶
func (mr *MockAPIMockRecorder) Cluster() *gomock.Call
Cluster indicates an expected call of Cluster.
func (*MockAPIMockRecorder) ETCDBackup ¶
func (mr *MockAPIMockRecorder) ETCDBackup() *gomock.Call
ETCDBackup indicates an expected call of ETCDBackup.
type MockClusterAPI ¶
type MockClusterAPI struct {
// contains filtered or unexported fields
}
MockClusterAPI is a mock of ClusterAPI interface.
func NewMockClusterAPI ¶
func NewMockClusterAPI(ctrl *gomock.Controller) *MockClusterAPI
NewMockClusterAPI creates a new mock instance.
func (*MockClusterAPI) EXPECT ¶
func (m *MockClusterAPI) EXPECT() *MockClusterAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterAPI) GetByName ¶
func (m *MockClusterAPI) GetByName(arg0 string) (*rancherapi.Cluster, error)
GetByName mocks base method.
func (*MockClusterAPI) List ¶
func (m *MockClusterAPI) List() ([]*rancherapi.Cluster, error)
List mocks base method.
type MockClusterAPIMockRecorder ¶
type MockClusterAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterAPIMockRecorder is the mock recorder for MockClusterAPI.
func (*MockClusterAPIMockRecorder) GetByName ¶
func (mr *MockClusterAPIMockRecorder) GetByName(arg0 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockClusterAPIMockRecorder) List ¶
func (mr *MockClusterAPIMockRecorder) List() *gomock.Call
List indicates an expected call of List.
type MockETCDBackupAPI ¶
type MockETCDBackupAPI struct {
// contains filtered or unexported fields
}
MockETCDBackupAPI is a mock of ETCDBackupAPI interface.
func NewMockETCDBackupAPI ¶
func NewMockETCDBackupAPI(ctrl *gomock.Controller) *MockETCDBackupAPI
NewMockETCDBackupAPI creates a new mock instance.
func (*MockETCDBackupAPI) EXPECT ¶
func (m *MockETCDBackupAPI) EXPECT() *MockETCDBackupAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockETCDBackupAPI) List ¶
func (m *MockETCDBackupAPI) List() ([]*rancherapi.ETCDBackup, error)
List mocks base method.
func (*MockETCDBackupAPI) ListByClusterID ¶
func (m *MockETCDBackupAPI) ListByClusterID(arg0 string) ([]*rancherapi.ETCDBackup, error)
ListByClusterID mocks base method.
type MockETCDBackupAPIMockRecorder ¶
type MockETCDBackupAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockETCDBackupAPIMockRecorder is the mock recorder for MockETCDBackupAPI.
func (*MockETCDBackupAPIMockRecorder) List ¶
func (mr *MockETCDBackupAPIMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockETCDBackupAPIMockRecorder) ListByClusterID ¶
func (mr *MockETCDBackupAPIMockRecorder) ListByClusterID(arg0 interface{}) *gomock.Call
ListByClusterID indicates an expected call of ListByClusterID.