juju: github.com/wallyworld/juju/cmd/juju/space/mocks Index | Files

package mocks

import "github.com/wallyworld/juju/cmd/juju/space/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

spacesapi_mock.go

type MockAPI Uses

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

MockAPI is a mock of API interface

func NewMockAPI Uses

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance

func (*MockAPI) AddSpace Uses

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

AddSpace mocks base method

func (*MockAPI) Close Uses

func (m *MockAPI) Close() error

Close mocks base method

func (*MockAPI) EXPECT Uses

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

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

func (*MockAPI) ListSpaces Uses

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

ListSpaces mocks base method

func (*MockAPI) MoveSubnets Uses

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

MoveSubnets mocks base method

func (*MockAPI) ReloadSpaces Uses

func (m *MockAPI) ReloadSpaces() error

ReloadSpaces mocks base method

func (*MockAPI) RemoveSpace Uses

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

RemoveSpace mocks base method

func (*MockAPI) RenameSpace Uses

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

RenameSpace mocks base method

func (*MockAPI) ShowSpace Uses

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

ShowSpace mocks base method

func (*MockAPI) SubnetsByCIDR Uses

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

SubnetsByCIDR mocks base method

type MockAPIMockRecorder Uses

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) AddSpace Uses

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

AddSpace indicates an expected call of AddSpace

func (*MockAPIMockRecorder) Close Uses

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

Close indicates an expected call of Close

func (*MockAPIMockRecorder) ListSpaces Uses

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

ListSpaces indicates an expected call of ListSpaces

func (*MockAPIMockRecorder) MoveSubnets Uses

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

MoveSubnets indicates an expected call of MoveSubnets

func (*MockAPIMockRecorder) ReloadSpaces Uses

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

ReloadSpaces indicates an expected call of ReloadSpaces

func (*MockAPIMockRecorder) RemoveSpace Uses

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

RemoveSpace indicates an expected call of RemoveSpace

func (*MockAPIMockRecorder) RenameSpace Uses

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

RenameSpace indicates an expected call of RenameSpace

func (*MockAPIMockRecorder) ShowSpace Uses

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

ShowSpace indicates an expected call of ShowSpace

func (*MockAPIMockRecorder) SubnetsByCIDR Uses

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

SubnetsByCIDR indicates an expected call of SubnetsByCIDR

type MockSpaceAPI Uses

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

MockSpaceAPI is a mock of SpaceAPI interface

func NewMockSpaceAPI Uses

func NewMockSpaceAPI(ctrl *gomock.Controller) *MockSpaceAPI

NewMockSpaceAPI creates a new mock instance

func (*MockSpaceAPI) AddSpace Uses

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

AddSpace mocks base method

func (*MockSpaceAPI) EXPECT Uses

func (m *MockSpaceAPI) EXPECT() *MockSpaceAPIMockRecorder

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

func (*MockSpaceAPI) ListSpaces Uses

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

ListSpaces mocks base method

func (*MockSpaceAPI) MoveSubnets Uses

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

MoveSubnets mocks base method

func (*MockSpaceAPI) ReloadSpaces Uses

func (m *MockSpaceAPI) ReloadSpaces() error

ReloadSpaces mocks base method

func (*MockSpaceAPI) RemoveSpace Uses

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

RemoveSpace mocks base method

func (*MockSpaceAPI) RenameSpace Uses

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

RenameSpace mocks base method

func (*MockSpaceAPI) ShowSpace Uses

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

ShowSpace mocks base method

type MockSpaceAPIMockRecorder Uses

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

MockSpaceAPIMockRecorder is the mock recorder for MockSpaceAPI

func (*MockSpaceAPIMockRecorder) AddSpace Uses

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

AddSpace indicates an expected call of AddSpace

func (*MockSpaceAPIMockRecorder) ListSpaces Uses

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

ListSpaces indicates an expected call of ListSpaces

func (*MockSpaceAPIMockRecorder) MoveSubnets Uses

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

MoveSubnets indicates an expected call of MoveSubnets

func (*MockSpaceAPIMockRecorder) ReloadSpaces Uses

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

ReloadSpaces indicates an expected call of ReloadSpaces

func (*MockSpaceAPIMockRecorder) RemoveSpace Uses

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

RemoveSpace indicates an expected call of RemoveSpace

func (*MockSpaceAPIMockRecorder) RenameSpace Uses

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

RenameSpace indicates an expected call of RenameSpace

func (*MockSpaceAPIMockRecorder) ShowSpace Uses

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

ShowSpace indicates an expected call of ShowSpace

type MockSubnetAPI Uses

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

MockSubnetAPI is a mock of SubnetAPI interface

func NewMockSubnetAPI Uses

func NewMockSubnetAPI(ctrl *gomock.Controller) *MockSubnetAPI

NewMockSubnetAPI creates a new mock instance

func (*MockSubnetAPI) EXPECT Uses

func (m *MockSubnetAPI) EXPECT() *MockSubnetAPIMockRecorder

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

func (*MockSubnetAPI) SubnetsByCIDR Uses

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

SubnetsByCIDR mocks base method

type MockSubnetAPIMockRecorder Uses

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

MockSubnetAPIMockRecorder is the mock recorder for MockSubnetAPI

func (*MockSubnetAPIMockRecorder) SubnetsByCIDR Uses

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

SubnetsByCIDR indicates an expected call of SubnetsByCIDR

Package mocks imports 4 packages (graph). Updated 2020-08-08. Refresh now. Tools for package owners.