Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockLXDProfileInstanceBroker
- func (m *MockLXDProfileInstanceBroker) AllInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
- func (m *MockLXDProfileInstanceBroker) AllRunningInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
- func (m *MockLXDProfileInstanceBroker) AssignLXDProfiles(arg0 string, arg1 []string, arg2 []lxdprofile.ProfilePost) ([]string, error)
- func (m *MockLXDProfileInstanceBroker) EXPECT() *MockLXDProfileInstanceBrokerMockRecorder
- func (m *MockLXDProfileInstanceBroker) LXDProfileNames(arg0 string) ([]string, error)
- func (m *MockLXDProfileInstanceBroker) MaybeWriteLXDProfile(arg0 string, arg1 lxdprofile.Profile) error
- func (m *MockLXDProfileInstanceBroker) StartInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)
- func (m *MockLXDProfileInstanceBroker) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error
- type MockLXDProfileInstanceBrokerMockRecorder
- func (mr *MockLXDProfileInstanceBrokerMockRecorder) AllInstances(arg0 interface{}) *gomock.Call
- func (mr *MockLXDProfileInstanceBrokerMockRecorder) AllRunningInstances(arg0 interface{}) *gomock.Call
- func (mr *MockLXDProfileInstanceBrokerMockRecorder) AssignLXDProfiles(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLXDProfileInstanceBrokerMockRecorder) LXDProfileNames(arg0 interface{}) *gomock.Call
- func (mr *MockLXDProfileInstanceBrokerMockRecorder) MaybeWriteLXDProfile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLXDProfileInstanceBrokerMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLXDProfileInstanceBrokerMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLXDProfileInstanceBroker ¶
type MockLXDProfileInstanceBroker struct {
// contains filtered or unexported fields
}
MockLXDProfileInstanceBroker is a mock of LXDProfileInstanceBroker interface
func NewMockLXDProfileInstanceBroker ¶
func NewMockLXDProfileInstanceBroker(ctrl *gomock.Controller) *MockLXDProfileInstanceBroker
NewMockLXDProfileInstanceBroker creates a new mock instance
func (*MockLXDProfileInstanceBroker) AllInstances ¶
func (m *MockLXDProfileInstanceBroker) AllInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
AllInstances mocks base method
func (*MockLXDProfileInstanceBroker) AllRunningInstances ¶
func (m *MockLXDProfileInstanceBroker) AllRunningInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
AllRunningInstances mocks base method
func (*MockLXDProfileInstanceBroker) AssignLXDProfiles ¶
func (m *MockLXDProfileInstanceBroker) AssignLXDProfiles(arg0 string, arg1 []string, arg2 []lxdprofile.ProfilePost) ([]string, error)
AssignLXDProfiles mocks base method
func (*MockLXDProfileInstanceBroker) EXPECT ¶
func (m *MockLXDProfileInstanceBroker) EXPECT() *MockLXDProfileInstanceBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileInstanceBroker) LXDProfileNames ¶
func (m *MockLXDProfileInstanceBroker) LXDProfileNames(arg0 string) ([]string, error)
LXDProfileNames mocks base method
func (*MockLXDProfileInstanceBroker) MaybeWriteLXDProfile ¶
func (m *MockLXDProfileInstanceBroker) MaybeWriteLXDProfile(arg0 string, arg1 lxdprofile.Profile) error
MaybeWriteLXDProfile mocks base method
func (*MockLXDProfileInstanceBroker) StartInstance ¶
func (m *MockLXDProfileInstanceBroker) StartInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)
StartInstance mocks base method
func (*MockLXDProfileInstanceBroker) StopInstances ¶
func (m *MockLXDProfileInstanceBroker) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error
StopInstances mocks base method
type MockLXDProfileInstanceBrokerMockRecorder ¶
type MockLXDProfileInstanceBrokerMockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileInstanceBrokerMockRecorder is the mock recorder for MockLXDProfileInstanceBroker
func (*MockLXDProfileInstanceBrokerMockRecorder) AllInstances ¶
func (mr *MockLXDProfileInstanceBrokerMockRecorder) AllInstances(arg0 interface{}) *gomock.Call
AllInstances indicates an expected call of AllInstances
func (*MockLXDProfileInstanceBrokerMockRecorder) AllRunningInstances ¶
func (mr *MockLXDProfileInstanceBrokerMockRecorder) AllRunningInstances(arg0 interface{}) *gomock.Call
AllRunningInstances indicates an expected call of AllRunningInstances
func (*MockLXDProfileInstanceBrokerMockRecorder) AssignLXDProfiles ¶
func (mr *MockLXDProfileInstanceBrokerMockRecorder) AssignLXDProfiles(arg0, arg1, arg2 interface{}) *gomock.Call
AssignLXDProfiles indicates an expected call of AssignLXDProfiles
func (*MockLXDProfileInstanceBrokerMockRecorder) LXDProfileNames ¶
func (mr *MockLXDProfileInstanceBrokerMockRecorder) LXDProfileNames(arg0 interface{}) *gomock.Call
LXDProfileNames indicates an expected call of LXDProfileNames
func (*MockLXDProfileInstanceBrokerMockRecorder) MaybeWriteLXDProfile ¶
func (mr *MockLXDProfileInstanceBrokerMockRecorder) MaybeWriteLXDProfile(arg0, arg1 interface{}) *gomock.Call
MaybeWriteLXDProfile indicates an expected call of MaybeWriteLXDProfile
func (*MockLXDProfileInstanceBrokerMockRecorder) StartInstance ¶
func (mr *MockLXDProfileInstanceBrokerMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call
StartInstance indicates an expected call of StartInstance
func (*MockLXDProfileInstanceBrokerMockRecorder) StopInstances ¶
func (mr *MockLXDProfileInstanceBrokerMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call
StopInstances indicates an expected call of StopInstances