Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) AddSpace(arg0 string, arg1 []string, arg2 bool) error
- func (m *MockAPI) Close() error
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) ListSpaces() ([]params.Space, error)
- func (m *MockAPI) MoveSubnets(arg0 names_v3.SpaceTag, arg1 []names_v3.SubnetTag, arg2 bool) (params.MoveSubnetsResult, error)
- func (m *MockAPI) ReloadSpaces() error
- func (m *MockAPI) RemoveSpace(arg0 string, arg1, arg2 bool) (params.RemoveSpaceResult, error)
- func (m *MockAPI) RenameSpace(arg0, arg1 string) error
- func (m *MockAPI) ShowSpace(arg0 string) (params.ShowSpaceResult, error)
- func (m *MockAPI) SubnetsByCIDR(arg0 []string) ([]params.SubnetsResult, error)
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) AddSpace(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Close() *gomock.Call
- func (mr *MockAPIMockRecorder) ListSpaces() *gomock.Call
- func (mr *MockAPIMockRecorder) MoveSubnets(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ReloadSpaces() *gomock.Call
- func (mr *MockAPIMockRecorder) RemoveSpace(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) RenameSpace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ShowSpace(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) SubnetsByCIDR(arg0 interface{}) *gomock.Call
- type MockSpaceAPI
- func (m *MockSpaceAPI) AddSpace(arg0 string, arg1 []string, arg2 bool) error
- func (m *MockSpaceAPI) EXPECT() *MockSpaceAPIMockRecorder
- func (m *MockSpaceAPI) ListSpaces() ([]params.Space, error)
- func (m *MockSpaceAPI) MoveSubnets(arg0 names_v3.SpaceTag, arg1 []names_v3.SubnetTag, arg2 bool) (params.MoveSubnetsResult, error)
- func (m *MockSpaceAPI) ReloadSpaces() error
- func (m *MockSpaceAPI) RemoveSpace(arg0 string, arg1, arg2 bool) (params.RemoveSpaceResult, error)
- func (m *MockSpaceAPI) RenameSpace(arg0, arg1 string) error
- func (m *MockSpaceAPI) ShowSpace(arg0 string) (params.ShowSpaceResult, error)
- type MockSpaceAPIMockRecorder
- func (mr *MockSpaceAPIMockRecorder) AddSpace(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSpaceAPIMockRecorder) ListSpaces() *gomock.Call
- func (mr *MockSpaceAPIMockRecorder) MoveSubnets(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSpaceAPIMockRecorder) ReloadSpaces() *gomock.Call
- func (mr *MockSpaceAPIMockRecorder) RemoveSpace(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSpaceAPIMockRecorder) RenameSpace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSpaceAPIMockRecorder) ShowSpace(arg0 interface{}) *gomock.Call
- type MockSubnetAPI
- type MockSubnetAPIMockRecorder
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) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPI) ListSpaces ¶
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 ¶
ReloadSpaces mocks base method
func (*MockAPI) RemoveSpace ¶
RemoveSpace mocks base method
func (*MockAPI) RenameSpace ¶
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 ¶
func (m *MockSpaceAPI) EXPECT() *MockSpaceAPIMockRecorder
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 ¶
func (m *MockSubnetAPI) EXPECT() *MockSubnetAPIMockRecorder
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