juju: github.com/juju/juju/container/broker/mocks Index | Files

package mocks

import "github.com/juju/juju/container/broker/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

apicalls_mock.go

type MockAPICalls Uses

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

MockAPICalls is a mock of APICalls interface

func NewMockAPICalls Uses

func NewMockAPICalls(ctrl *gomock.Controller) *MockAPICalls

NewMockAPICalls creates a new mock instance

func (*MockAPICalls) ContainerConfig Uses

func (m *MockAPICalls) ContainerConfig() (params.ContainerConfig, error)

ContainerConfig mocks base method

func (*MockAPICalls) EXPECT Uses

func (m *MockAPICalls) EXPECT() *MockAPICallsMockRecorder

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

func (*MockAPICalls) GetContainerInterfaceInfo Uses

func (m *MockAPICalls) GetContainerInterfaceInfo(arg0 names_v3.MachineTag) ([]network.InterfaceInfo, error)

GetContainerInterfaceInfo mocks base method

func (*MockAPICalls) GetContainerProfileInfo Uses

func (m *MockAPICalls) GetContainerProfileInfo(arg0 names_v3.MachineTag) ([]*provisioner.LXDProfileResult, error)

GetContainerProfileInfo mocks base method

func (*MockAPICalls) HostChangesForContainer Uses

func (m *MockAPICalls) HostChangesForContainer(arg0 names_v3.MachineTag) ([]network.DeviceToBridge, int, error)

HostChangesForContainer mocks base method

func (*MockAPICalls) PrepareContainerInterfaceInfo Uses

func (m *MockAPICalls) PrepareContainerInterfaceInfo(arg0 names_v3.MachineTag) ([]network.InterfaceInfo, error)

PrepareContainerInterfaceInfo mocks base method

func (*MockAPICalls) ReleaseContainerAddresses Uses

func (m *MockAPICalls) ReleaseContainerAddresses(arg0 names_v3.MachineTag) error

ReleaseContainerAddresses mocks base method

func (*MockAPICalls) SetHostMachineNetworkConfig Uses

func (m *MockAPICalls) SetHostMachineNetworkConfig(arg0 names_v3.MachineTag, arg1 []params.NetworkConfig) error

SetHostMachineNetworkConfig mocks base method

type MockAPICallsMockRecorder Uses

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

MockAPICallsMockRecorder is the mock recorder for MockAPICalls

func (*MockAPICallsMockRecorder) ContainerConfig Uses

func (mr *MockAPICallsMockRecorder) ContainerConfig() *gomock.Call

ContainerConfig indicates an expected call of ContainerConfig

func (*MockAPICallsMockRecorder) GetContainerInterfaceInfo Uses

func (mr *MockAPICallsMockRecorder) GetContainerInterfaceInfo(arg0 interface{}) *gomock.Call

GetContainerInterfaceInfo indicates an expected call of GetContainerInterfaceInfo

func (*MockAPICallsMockRecorder) GetContainerProfileInfo Uses

func (mr *MockAPICallsMockRecorder) GetContainerProfileInfo(arg0 interface{}) *gomock.Call

GetContainerProfileInfo indicates an expected call of GetContainerProfileInfo

func (*MockAPICallsMockRecorder) HostChangesForContainer Uses

func (mr *MockAPICallsMockRecorder) HostChangesForContainer(arg0 interface{}) *gomock.Call

HostChangesForContainer indicates an expected call of HostChangesForContainer

func (*MockAPICallsMockRecorder) PrepareContainerInterfaceInfo Uses

func (mr *MockAPICallsMockRecorder) PrepareContainerInterfaceInfo(arg0 interface{}) *gomock.Call

PrepareContainerInterfaceInfo indicates an expected call of PrepareContainerInterfaceInfo

func (*MockAPICallsMockRecorder) ReleaseContainerAddresses Uses

func (mr *MockAPICallsMockRecorder) ReleaseContainerAddresses(arg0 interface{}) *gomock.Call

ReleaseContainerAddresses indicates an expected call of ReleaseContainerAddresses

func (*MockAPICallsMockRecorder) SetHostMachineNetworkConfig Uses

func (mr *MockAPICallsMockRecorder) SetHostMachineNetworkConfig(arg0, arg1 interface{}) *gomock.Call

SetHostMachineNetworkConfig indicates an expected call of SetHostMachineNetworkConfig

Package mocks imports 6 packages (graph). Updated 2019-08-23. Refresh now. Tools for package owners.