forked from cloudfoundry-attic/bosh-init
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mocks.go
42 lines (34 loc) · 1.27 KB
/
mocks.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/cloudfoundry/bosh-init/deployment/vm (interfaces: ManagerFactory)
package mocks
import (
gomock "code.google.com/p/gomock/gomock"
cloud "github.com/cloudfoundry/bosh-init/cloud"
agentclient "github.com/cloudfoundry/bosh-init/deployment/agentclient"
vm "github.com/cloudfoundry/bosh-init/deployment/vm"
)
// Mock of ManagerFactory interface
type MockManagerFactory struct {
ctrl *gomock.Controller
recorder *_MockManagerFactoryRecorder
}
// Recorder for MockManagerFactory (not exported)
type _MockManagerFactoryRecorder struct {
mock *MockManagerFactory
}
func NewMockManagerFactory(ctrl *gomock.Controller) *MockManagerFactory {
mock := &MockManagerFactory{ctrl: ctrl}
mock.recorder = &_MockManagerFactoryRecorder{mock}
return mock
}
func (_m *MockManagerFactory) EXPECT() *_MockManagerFactoryRecorder {
return _m.recorder
}
func (_m *MockManagerFactory) NewManager(_param0 cloud.Cloud, _param1 agentclient.AgentClient) vm.Manager {
ret := _m.ctrl.Call(_m, "NewManager", _param0, _param1)
ret0, _ := ret[0].(vm.Manager)
return ret0
}
func (_mr *_MockManagerFactoryRecorder) NewManager(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "NewManager", arg0, arg1)
}