mocks

package
v2.0.0-...-779d152 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 3 Imported by: 0

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

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

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

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

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.

Jump to

Keyboard shortcuts

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