juju: github.com/juju/juju/worker/provisioner/mocks Index | Files

package mocks

import "github.com/juju/juju/worker/provisioner/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

lxdprofileinstancebroker_mock.go

type MockLXDProfileInstanceBroker Uses

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

MockLXDProfileInstanceBroker is a mock of LXDProfileInstanceBroker interface

func NewMockLXDProfileInstanceBroker Uses

func NewMockLXDProfileInstanceBroker(ctrl *gomock.Controller) *MockLXDProfileInstanceBroker

NewMockLXDProfileInstanceBroker creates a new mock instance

func (*MockLXDProfileInstanceBroker) AllInstances Uses

func (m *MockLXDProfileInstanceBroker) AllInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)

AllInstances mocks base method

func (*MockLXDProfileInstanceBroker) AssignLXDProfiles Uses

func (m *MockLXDProfileInstanceBroker) AssignLXDProfiles(arg0 string, arg1 []string, arg2 []lxdprofile.ProfilePost) ([]string, error)

AssignLXDProfiles mocks base method

func (*MockLXDProfileInstanceBroker) EXPECT Uses

func (m *MockLXDProfileInstanceBroker) EXPECT() *MockLXDProfileInstanceBrokerMockRecorder

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

func (*MockLXDProfileInstanceBroker) LXDProfileNames Uses

func (m *MockLXDProfileInstanceBroker) LXDProfileNames(arg0 string) ([]string, error)

LXDProfileNames mocks base method

func (*MockLXDProfileInstanceBroker) MaintainInstance Uses

func (m *MockLXDProfileInstanceBroker) MaintainInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) error

MaintainInstance mocks base method

func (*MockLXDProfileInstanceBroker) MaybeWriteLXDProfile Uses

func (m *MockLXDProfileInstanceBroker) MaybeWriteLXDProfile(arg0 string, arg1 *charm_v6.LXDProfile) error

MaybeWriteLXDProfile mocks base method

func (*MockLXDProfileInstanceBroker) ReplaceOrAddInstanceProfile Uses

func (m *MockLXDProfileInstanceBroker) ReplaceOrAddInstanceProfile(arg0, arg1, arg2 string, arg3 *charm_v6.LXDProfile) ([]string, error)

ReplaceOrAddInstanceProfile mocks base method

func (*MockLXDProfileInstanceBroker) StartInstance Uses

func (m *MockLXDProfileInstanceBroker) StartInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)

StartInstance mocks base method

func (*MockLXDProfileInstanceBroker) StopInstances Uses

func (m *MockLXDProfileInstanceBroker) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error

StopInstances mocks base method

type MockLXDProfileInstanceBrokerMockRecorder Uses

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

MockLXDProfileInstanceBrokerMockRecorder is the mock recorder for MockLXDProfileInstanceBroker

func (*MockLXDProfileInstanceBrokerMockRecorder) AllInstances Uses

func (mr *MockLXDProfileInstanceBrokerMockRecorder) AllInstances(arg0 interface{}) *gomock.Call

AllInstances indicates an expected call of AllInstances

func (*MockLXDProfileInstanceBrokerMockRecorder) AssignLXDProfiles Uses

func (mr *MockLXDProfileInstanceBrokerMockRecorder) AssignLXDProfiles(arg0, arg1, arg2 interface{}) *gomock.Call

AssignLXDProfiles indicates an expected call of AssignLXDProfiles

func (*MockLXDProfileInstanceBrokerMockRecorder) LXDProfileNames Uses

func (mr *MockLXDProfileInstanceBrokerMockRecorder) LXDProfileNames(arg0 interface{}) *gomock.Call

LXDProfileNames indicates an expected call of LXDProfileNames

func (*MockLXDProfileInstanceBrokerMockRecorder) MaintainInstance Uses

func (mr *MockLXDProfileInstanceBrokerMockRecorder) MaintainInstance(arg0, arg1 interface{}) *gomock.Call

MaintainInstance indicates an expected call of MaintainInstance

func (*MockLXDProfileInstanceBrokerMockRecorder) MaybeWriteLXDProfile Uses

func (mr *MockLXDProfileInstanceBrokerMockRecorder) MaybeWriteLXDProfile(arg0, arg1 interface{}) *gomock.Call

MaybeWriteLXDProfile indicates an expected call of MaybeWriteLXDProfile

func (*MockLXDProfileInstanceBrokerMockRecorder) ReplaceOrAddInstanceProfile Uses

func (mr *MockLXDProfileInstanceBrokerMockRecorder) ReplaceOrAddInstanceProfile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ReplaceOrAddInstanceProfile indicates an expected call of ReplaceOrAddInstanceProfile

func (*MockLXDProfileInstanceBrokerMockRecorder) StartInstance Uses

func (mr *MockLXDProfileInstanceBrokerMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call

StartInstance indicates an expected call of StartInstance

func (*MockLXDProfileInstanceBrokerMockRecorder) StopInstances Uses

func (mr *MockLXDProfileInstanceBrokerMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call

StopInstances indicates an expected call of StopInstances

Package mocks imports 8 packages (graph). Updated 2019-05-20. Refresh now. Tools for package owners.