mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 4 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) AddSpace

func (m *MockAPI) AddSpace(arg0 string, arg1 []string, arg2 bool) error

AddSpace mocks base method

func (*MockAPI) Close

func (m *MockAPI) Close() error

Close mocks base method

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAPI) ListSpaces

func (m *MockAPI) ListSpaces() ([]params.Space, error)

ListSpaces mocks base method

func (*MockAPI) MoveSubnets

func (m *MockAPI) MoveSubnets(arg0 names_v3.SpaceTag, arg1 []names_v3.SubnetTag, arg2 bool) (params.MoveSubnetsResult, error)

MoveSubnets mocks base method

func (*MockAPI) ReloadSpaces

func (m *MockAPI) ReloadSpaces() error

ReloadSpaces mocks base method

func (*MockAPI) RemoveSpace

func (m *MockAPI) RemoveSpace(arg0 string, arg1, arg2 bool) (params.RemoveSpaceResult, error)

RemoveSpace mocks base method

func (*MockAPI) RenameSpace

func (m *MockAPI) RenameSpace(arg0, arg1 string) error

RenameSpace mocks base method

func (*MockAPI) ShowSpace

func (m *MockAPI) ShowSpace(arg0 string) (params.ShowSpaceResult, error)

ShowSpace mocks base method

func (*MockAPI) SubnetsByCIDR

func (m *MockAPI) SubnetsByCIDR(arg0 []string) ([]params.SubnetsResult, error)

SubnetsByCIDR mocks base method

type MockAPIMockRecorder

type MockAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) AddSpace

func (mr *MockAPIMockRecorder) AddSpace(arg0, arg1, arg2 interface{}) *gomock.Call

AddSpace indicates an expected call of AddSpace

func (*MockAPIMockRecorder) Close

func (mr *MockAPIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockAPIMockRecorder) ListSpaces

func (mr *MockAPIMockRecorder) ListSpaces() *gomock.Call

ListSpaces indicates an expected call of ListSpaces

func (*MockAPIMockRecorder) MoveSubnets

func (mr *MockAPIMockRecorder) MoveSubnets(arg0, arg1, arg2 interface{}) *gomock.Call

MoveSubnets indicates an expected call of MoveSubnets

func (*MockAPIMockRecorder) ReloadSpaces

func (mr *MockAPIMockRecorder) ReloadSpaces() *gomock.Call

ReloadSpaces indicates an expected call of ReloadSpaces

func (*MockAPIMockRecorder) RemoveSpace

func (mr *MockAPIMockRecorder) RemoveSpace(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveSpace indicates an expected call of RemoveSpace

func (*MockAPIMockRecorder) RenameSpace

func (mr *MockAPIMockRecorder) RenameSpace(arg0, arg1 interface{}) *gomock.Call

RenameSpace indicates an expected call of RenameSpace

func (*MockAPIMockRecorder) ShowSpace

func (mr *MockAPIMockRecorder) ShowSpace(arg0 interface{}) *gomock.Call

ShowSpace indicates an expected call of ShowSpace

func (*MockAPIMockRecorder) SubnetsByCIDR

func (mr *MockAPIMockRecorder) SubnetsByCIDR(arg0 interface{}) *gomock.Call

SubnetsByCIDR indicates an expected call of SubnetsByCIDR

type MockSpaceAPI

type MockSpaceAPI struct {
	// contains filtered or unexported fields
}

MockSpaceAPI is a mock of SpaceAPI interface

func NewMockSpaceAPI

func NewMockSpaceAPI(ctrl *gomock.Controller) *MockSpaceAPI

NewMockSpaceAPI creates a new mock instance

func (*MockSpaceAPI) AddSpace

func (m *MockSpaceAPI) AddSpace(arg0 string, arg1 []string, arg2 bool) error

AddSpace mocks base method

func (*MockSpaceAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSpaceAPI) ListSpaces

func (m *MockSpaceAPI) ListSpaces() ([]params.Space, error)

ListSpaces mocks base method

func (*MockSpaceAPI) MoveSubnets

func (m *MockSpaceAPI) MoveSubnets(arg0 names_v3.SpaceTag, arg1 []names_v3.SubnetTag, arg2 bool) (params.MoveSubnetsResult, error)

MoveSubnets mocks base method

func (*MockSpaceAPI) ReloadSpaces

func (m *MockSpaceAPI) ReloadSpaces() error

ReloadSpaces mocks base method

func (*MockSpaceAPI) RemoveSpace

func (m *MockSpaceAPI) RemoveSpace(arg0 string, arg1, arg2 bool) (params.RemoveSpaceResult, error)

RemoveSpace mocks base method

func (*MockSpaceAPI) RenameSpace

func (m *MockSpaceAPI) RenameSpace(arg0, arg1 string) error

RenameSpace mocks base method

func (*MockSpaceAPI) ShowSpace

func (m *MockSpaceAPI) ShowSpace(arg0 string) (params.ShowSpaceResult, error)

ShowSpace mocks base method

type MockSpaceAPIMockRecorder

type MockSpaceAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockSpaceAPIMockRecorder is the mock recorder for MockSpaceAPI

func (*MockSpaceAPIMockRecorder) AddSpace

func (mr *MockSpaceAPIMockRecorder) AddSpace(arg0, arg1, arg2 interface{}) *gomock.Call

AddSpace indicates an expected call of AddSpace

func (*MockSpaceAPIMockRecorder) ListSpaces

func (mr *MockSpaceAPIMockRecorder) ListSpaces() *gomock.Call

ListSpaces indicates an expected call of ListSpaces

func (*MockSpaceAPIMockRecorder) MoveSubnets

func (mr *MockSpaceAPIMockRecorder) MoveSubnets(arg0, arg1, arg2 interface{}) *gomock.Call

MoveSubnets indicates an expected call of MoveSubnets

func (*MockSpaceAPIMockRecorder) ReloadSpaces

func (mr *MockSpaceAPIMockRecorder) ReloadSpaces() *gomock.Call

ReloadSpaces indicates an expected call of ReloadSpaces

func (*MockSpaceAPIMockRecorder) RemoveSpace

func (mr *MockSpaceAPIMockRecorder) RemoveSpace(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveSpace indicates an expected call of RemoveSpace

func (*MockSpaceAPIMockRecorder) RenameSpace

func (mr *MockSpaceAPIMockRecorder) RenameSpace(arg0, arg1 interface{}) *gomock.Call

RenameSpace indicates an expected call of RenameSpace

func (*MockSpaceAPIMockRecorder) ShowSpace

func (mr *MockSpaceAPIMockRecorder) ShowSpace(arg0 interface{}) *gomock.Call

ShowSpace indicates an expected call of ShowSpace

type MockSubnetAPI

type MockSubnetAPI struct {
	// contains filtered or unexported fields
}

MockSubnetAPI is a mock of SubnetAPI interface

func NewMockSubnetAPI

func NewMockSubnetAPI(ctrl *gomock.Controller) *MockSubnetAPI

NewMockSubnetAPI creates a new mock instance

func (*MockSubnetAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSubnetAPI) SubnetsByCIDR

func (m *MockSubnetAPI) SubnetsByCIDR(arg0 []string) ([]params.SubnetsResult, error)

SubnetsByCIDR mocks base method

type MockSubnetAPIMockRecorder

type MockSubnetAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockSubnetAPIMockRecorder is the mock recorder for MockSubnetAPI

func (*MockSubnetAPIMockRecorder) SubnetsByCIDR

func (mr *MockSubnetAPIMockRecorder) SubnetsByCIDR(arg0 interface{}) *gomock.Call

SubnetsByCIDR indicates an expected call of SubnetsByCIDR

Jump to

Keyboard shortcuts

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