import "github.com/juju/juju/container/broker/mocks"
Package mocks is a generated GoMock package.
type MockAPICalls struct {
// contains filtered or unexported fields
}
MockAPICalls is a mock of APICalls interface
func NewMockAPICalls(ctrl *gomock.Controller) *MockAPICalls
NewMockAPICalls creates a new mock instance
func (m *MockAPICalls) ContainerConfig() (params.ContainerConfig, error)
ContainerConfig mocks base method
func (m *MockAPICalls) EXPECT() *MockAPICallsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (m *MockAPICalls) GetContainerInterfaceInfo(arg0 names_v3.MachineTag) ([]corenetwork.InterfaceInfo, error)
GetContainerInterfaceInfo mocks base method
func (m *MockAPICalls) GetContainerProfileInfo(arg0 names_v3.MachineTag) ([]*provisioner.LXDProfileResult, error)
GetContainerProfileInfo mocks base method
func (m *MockAPICalls) HostChangesForContainer(arg0 names_v3.MachineTag) ([]network.DeviceToBridge, int, error)
HostChangesForContainer mocks base method
func (m *MockAPICalls) PrepareContainerInterfaceInfo(arg0 names_v3.MachineTag) ([]corenetwork.InterfaceInfo, error)
PrepareContainerInterfaceInfo mocks base method
func (m *MockAPICalls) ReleaseContainerAddresses(arg0 names_v3.MachineTag) error
ReleaseContainerAddresses mocks base method
func (m *MockAPICalls) SetHostMachineNetworkConfig(arg0 names_v3.MachineTag, arg1 []params.NetworkConfig) error
SetHostMachineNetworkConfig mocks base method
type MockAPICallsMockRecorder struct {
// contains filtered or unexported fields
}
MockAPICallsMockRecorder is the mock recorder for MockAPICalls
func (mr *MockAPICallsMockRecorder) ContainerConfig() *gomock.Call
ContainerConfig indicates an expected call of ContainerConfig
func (mr *MockAPICallsMockRecorder) GetContainerInterfaceInfo(arg0 interface{}) *gomock.Call
GetContainerInterfaceInfo indicates an expected call of GetContainerInterfaceInfo
func (mr *MockAPICallsMockRecorder) GetContainerProfileInfo(arg0 interface{}) *gomock.Call
GetContainerProfileInfo indicates an expected call of GetContainerProfileInfo
func (mr *MockAPICallsMockRecorder) HostChangesForContainer(arg0 interface{}) *gomock.Call
HostChangesForContainer indicates an expected call of HostChangesForContainer
func (mr *MockAPICallsMockRecorder) PrepareContainerInterfaceInfo(arg0 interface{}) *gomock.Call
PrepareContainerInterfaceInfo indicates an expected call of PrepareContainerInterfaceInfo
func (mr *MockAPICallsMockRecorder) ReleaseContainerAddresses(arg0 interface{}) *gomock.Call
ReleaseContainerAddresses indicates an expected call of ReleaseContainerAddresses
func (mr *MockAPICallsMockRecorder) SetHostMachineNetworkConfig(arg0, arg1 interface{}) *gomock.Call
SetHostMachineNetworkConfig indicates an expected call of SetHostMachineNetworkConfig
Package mocks imports 7 packages (graph). Updated 2019-12-06. Refresh now. Tools for package owners.