mocks

package
v0.0.0-...-57dcc05 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: AGPL-3.0 Imports: 5 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 context.Context, arg1 string, arg2 []string, arg3 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(arg0 context.Context) ([]params.Space, error)

ListSpaces mocks base method.

func (*MockAPI) MoveSubnets

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

MoveSubnets mocks base method.

func (*MockAPI) ReloadSpaces

func (m *MockAPI) ReloadSpaces(arg0 context.Context) error

ReloadSpaces mocks base method.

func (*MockAPI) RemoveSpace

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

RemoveSpace mocks base method.

func (*MockAPI) RenameSpace

func (m *MockAPI) RenameSpace(arg0 context.Context, arg1, arg2 string) error

RenameSpace mocks base method.

func (*MockAPI) ShowSpace

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

ShowSpace mocks base method.

func (*MockAPI) SubnetsByCIDR

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

SubnetsByCIDR mocks base method.

type MockAPIAddSpaceCall

type MockAPIAddSpaceCall struct {
	*gomock.Call
}

MockAPIAddSpaceCall wrap *gomock.Call

func (*MockAPIAddSpaceCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIAddSpaceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIAddSpaceCall) Return

Return rewrite *gomock.Call.Return

type MockAPICloseCall

type MockAPICloseCall struct {
	*gomock.Call
}

MockAPICloseCall wrap *gomock.Call

func (*MockAPICloseCall) Do

func (c *MockAPICloseCall) Do(f func() error) *MockAPICloseCall

Do rewrite *gomock.Call.Do

func (*MockAPICloseCall) DoAndReturn

func (c *MockAPICloseCall) DoAndReturn(f func() error) *MockAPICloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICloseCall) Return

func (c *MockAPICloseCall) Return(arg0 error) *MockAPICloseCall

Return rewrite *gomock.Call.Return

type MockAPIListSpacesCall

type MockAPIListSpacesCall struct {
	*gomock.Call
}

MockAPIListSpacesCall wrap *gomock.Call

func (*MockAPIListSpacesCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIListSpacesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIListSpacesCall) Return

Return rewrite *gomock.Call.Return

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, arg3 any) *MockAPIAddSpaceCall

AddSpace indicates an expected call of AddSpace.

func (*MockAPIMockRecorder) Close

Close indicates an expected call of Close.

func (*MockAPIMockRecorder) ListSpaces

func (mr *MockAPIMockRecorder) ListSpaces(arg0 any) *MockAPIListSpacesCall

ListSpaces indicates an expected call of ListSpaces.

func (*MockAPIMockRecorder) MoveSubnets

func (mr *MockAPIMockRecorder) MoveSubnets(arg0, arg1, arg2, arg3 any) *MockAPIMoveSubnetsCall

MoveSubnets indicates an expected call of MoveSubnets.

func (*MockAPIMockRecorder) ReloadSpaces

func (mr *MockAPIMockRecorder) ReloadSpaces(arg0 any) *MockAPIReloadSpacesCall

ReloadSpaces indicates an expected call of ReloadSpaces.

func (*MockAPIMockRecorder) RemoveSpace

func (mr *MockAPIMockRecorder) RemoveSpace(arg0, arg1, arg2, arg3 any) *MockAPIRemoveSpaceCall

RemoveSpace indicates an expected call of RemoveSpace.

func (*MockAPIMockRecorder) RenameSpace

func (mr *MockAPIMockRecorder) RenameSpace(arg0, arg1, arg2 any) *MockAPIRenameSpaceCall

RenameSpace indicates an expected call of RenameSpace.

func (*MockAPIMockRecorder) ShowSpace

func (mr *MockAPIMockRecorder) ShowSpace(arg0, arg1 any) *MockAPIShowSpaceCall

ShowSpace indicates an expected call of ShowSpace.

func (*MockAPIMockRecorder) SubnetsByCIDR

func (mr *MockAPIMockRecorder) SubnetsByCIDR(arg0, arg1 any) *MockAPISubnetsByCIDRCall

SubnetsByCIDR indicates an expected call of SubnetsByCIDR.

type MockAPIMoveSubnetsCall

type MockAPIMoveSubnetsCall struct {
	*gomock.Call
}

MockAPIMoveSubnetsCall wrap *gomock.Call

func (*MockAPIMoveSubnetsCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIMoveSubnetsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIMoveSubnetsCall) Return

Return rewrite *gomock.Call.Return

type MockAPIReloadSpacesCall

type MockAPIReloadSpacesCall struct {
	*gomock.Call
}

MockAPIReloadSpacesCall wrap *gomock.Call

func (*MockAPIReloadSpacesCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIReloadSpacesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIReloadSpacesCall) Return

Return rewrite *gomock.Call.Return

type MockAPIRemoveSpaceCall

type MockAPIRemoveSpaceCall struct {
	*gomock.Call
}

MockAPIRemoveSpaceCall wrap *gomock.Call

func (*MockAPIRemoveSpaceCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIRemoveSpaceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIRemoveSpaceCall) Return

Return rewrite *gomock.Call.Return

type MockAPIRenameSpaceCall

type MockAPIRenameSpaceCall struct {
	*gomock.Call
}

MockAPIRenameSpaceCall wrap *gomock.Call

func (*MockAPIRenameSpaceCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIRenameSpaceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIRenameSpaceCall) Return

Return rewrite *gomock.Call.Return

type MockAPIShowSpaceCall

type MockAPIShowSpaceCall struct {
	*gomock.Call
}

MockAPIShowSpaceCall wrap *gomock.Call

func (*MockAPIShowSpaceCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIShowSpaceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIShowSpaceCall) Return

Return rewrite *gomock.Call.Return

type MockAPISubnetsByCIDRCall

type MockAPISubnetsByCIDRCall struct {
	*gomock.Call
}

MockAPISubnetsByCIDRCall wrap *gomock.Call

func (*MockAPISubnetsByCIDRCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPISubnetsByCIDRCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPISubnetsByCIDRCall) Return

Return rewrite *gomock.Call.Return

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 context.Context, arg1 string, arg2 []string, arg3 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(arg0 context.Context) ([]params.Space, error)

ListSpaces mocks base method.

func (*MockSpaceAPI) MoveSubnets

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

MoveSubnets mocks base method.

func (*MockSpaceAPI) ReloadSpaces

func (m *MockSpaceAPI) ReloadSpaces(arg0 context.Context) error

ReloadSpaces mocks base method.

func (*MockSpaceAPI) RemoveSpace

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

RemoveSpace mocks base method.

func (*MockSpaceAPI) RenameSpace

func (m *MockSpaceAPI) RenameSpace(arg0 context.Context, arg1, arg2 string) error

RenameSpace mocks base method.

func (*MockSpaceAPI) ShowSpace

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

ShowSpace mocks base method.

type MockSpaceAPIAddSpaceCall

type MockSpaceAPIAddSpaceCall struct {
	*gomock.Call
}

MockSpaceAPIAddSpaceCall wrap *gomock.Call

func (*MockSpaceAPIAddSpaceCall) Do

Do rewrite *gomock.Call.Do

func (*MockSpaceAPIAddSpaceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSpaceAPIAddSpaceCall) Return

Return rewrite *gomock.Call.Return

type MockSpaceAPIListSpacesCall

type MockSpaceAPIListSpacesCall struct {
	*gomock.Call
}

MockSpaceAPIListSpacesCall wrap *gomock.Call

func (*MockSpaceAPIListSpacesCall) Do

Do rewrite *gomock.Call.Do

func (*MockSpaceAPIListSpacesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSpaceAPIListSpacesCall) Return

Return rewrite *gomock.Call.Return

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, arg3 any) *MockSpaceAPIAddSpaceCall

AddSpace indicates an expected call of AddSpace.

func (*MockSpaceAPIMockRecorder) ListSpaces

ListSpaces indicates an expected call of ListSpaces.

func (*MockSpaceAPIMockRecorder) MoveSubnets

func (mr *MockSpaceAPIMockRecorder) MoveSubnets(arg0, arg1, arg2, arg3 any) *MockSpaceAPIMoveSubnetsCall

MoveSubnets indicates an expected call of MoveSubnets.

func (*MockSpaceAPIMockRecorder) ReloadSpaces

ReloadSpaces indicates an expected call of ReloadSpaces.

func (*MockSpaceAPIMockRecorder) RemoveSpace

func (mr *MockSpaceAPIMockRecorder) RemoveSpace(arg0, arg1, arg2, arg3 any) *MockSpaceAPIRemoveSpaceCall

RemoveSpace indicates an expected call of RemoveSpace.

func (*MockSpaceAPIMockRecorder) RenameSpace

func (mr *MockSpaceAPIMockRecorder) RenameSpace(arg0, arg1, arg2 any) *MockSpaceAPIRenameSpaceCall

RenameSpace indicates an expected call of RenameSpace.

func (*MockSpaceAPIMockRecorder) ShowSpace

func (mr *MockSpaceAPIMockRecorder) ShowSpace(arg0, arg1 any) *MockSpaceAPIShowSpaceCall

ShowSpace indicates an expected call of ShowSpace.

type MockSpaceAPIMoveSubnetsCall

type MockSpaceAPIMoveSubnetsCall struct {
	*gomock.Call
}

MockSpaceAPIMoveSubnetsCall wrap *gomock.Call

func (*MockSpaceAPIMoveSubnetsCall) Do

Do rewrite *gomock.Call.Do

func (*MockSpaceAPIMoveSubnetsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSpaceAPIMoveSubnetsCall) Return

Return rewrite *gomock.Call.Return

type MockSpaceAPIReloadSpacesCall

type MockSpaceAPIReloadSpacesCall struct {
	*gomock.Call
}

MockSpaceAPIReloadSpacesCall wrap *gomock.Call

func (*MockSpaceAPIReloadSpacesCall) Do

Do rewrite *gomock.Call.Do

func (*MockSpaceAPIReloadSpacesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSpaceAPIReloadSpacesCall) Return

Return rewrite *gomock.Call.Return

type MockSpaceAPIRemoveSpaceCall

type MockSpaceAPIRemoveSpaceCall struct {
	*gomock.Call
}

MockSpaceAPIRemoveSpaceCall wrap *gomock.Call

func (*MockSpaceAPIRemoveSpaceCall) Do

Do rewrite *gomock.Call.Do

func (*MockSpaceAPIRemoveSpaceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSpaceAPIRemoveSpaceCall) Return

Return rewrite *gomock.Call.Return

type MockSpaceAPIRenameSpaceCall

type MockSpaceAPIRenameSpaceCall struct {
	*gomock.Call
}

MockSpaceAPIRenameSpaceCall wrap *gomock.Call

func (*MockSpaceAPIRenameSpaceCall) Do

Do rewrite *gomock.Call.Do

func (*MockSpaceAPIRenameSpaceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSpaceAPIRenameSpaceCall) Return

Return rewrite *gomock.Call.Return

type MockSpaceAPIShowSpaceCall

type MockSpaceAPIShowSpaceCall struct {
	*gomock.Call
}

MockSpaceAPIShowSpaceCall wrap *gomock.Call

func (*MockSpaceAPIShowSpaceCall) Do

Do rewrite *gomock.Call.Do

func (*MockSpaceAPIShowSpaceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSpaceAPIShowSpaceCall) Return

Return rewrite *gomock.Call.Return

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 context.Context, arg1 []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, arg1 any) *MockSubnetAPISubnetsByCIDRCall

SubnetsByCIDR indicates an expected call of SubnetsByCIDR.

type MockSubnetAPISubnetsByCIDRCall

type MockSubnetAPISubnetsByCIDRCall struct {
	*gomock.Call
}

MockSubnetAPISubnetsByCIDRCall wrap *gomock.Call

func (*MockSubnetAPISubnetsByCIDRCall) Do

Do rewrite *gomock.Call.Do

func (*MockSubnetAPISubnetsByCIDRCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSubnetAPISubnetsByCIDRCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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