-
Notifications
You must be signed in to change notification settings - Fork 162
/
mocks.go
43 lines (35 loc) · 1.33 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
43
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/cloudfoundry/bosh-cli/state/job (interfaces: DependencyCompiler)
package mocks
import (
job "github.com/cloudfoundry/bosh-cli/release/job"
job0 "github.com/cloudfoundry/bosh-cli/state/job"
ui "github.com/cloudfoundry/bosh-cli/ui"
gomock "github.com/golang/mock/gomock"
)
// Mock of DependencyCompiler interface
type MockDependencyCompiler struct {
ctrl *gomock.Controller
recorder *_MockDependencyCompilerRecorder
}
// Recorder for MockDependencyCompiler (not exported)
type _MockDependencyCompilerRecorder struct {
mock *MockDependencyCompiler
}
func NewMockDependencyCompiler(ctrl *gomock.Controller) *MockDependencyCompiler {
mock := &MockDependencyCompiler{ctrl: ctrl}
mock.recorder = &_MockDependencyCompilerRecorder{mock}
return mock
}
func (_m *MockDependencyCompiler) EXPECT() *_MockDependencyCompilerRecorder {
return _m.recorder
}
func (_m *MockDependencyCompiler) Compile(_param0 []job.Job, _param1 ui.Stage) ([]job0.CompiledPackageRef, error) {
ret := _m.ctrl.Call(_m, "Compile", _param0, _param1)
ret0, _ := ret[0].([]job0.CompiledPackageRef)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockDependencyCompilerRecorder) Compile(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Compile", arg0, arg1)
}