forked from cloudfoundry/bosh-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mocks.go
85 lines (69 loc) · 2.19 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/cloudfoundry/bosh-cli/blobstore (interfaces: Factory,Blobstore)
package mocks
import (
blobstore "github.com/cloudfoundry/bosh-cli/blobstore"
gomock "github.com/golang/mock/gomock"
http "net/http"
)
// Mock of Factory interface
type MockFactory struct {
ctrl *gomock.Controller
recorder *_MockFactoryRecorder
}
// Recorder for MockFactory (not exported)
type _MockFactoryRecorder struct {
mock *MockFactory
}
func NewMockFactory(ctrl *gomock.Controller) *MockFactory {
mock := &MockFactory{ctrl: ctrl}
mock.recorder = &_MockFactoryRecorder{mock}
return mock
}
func (_m *MockFactory) EXPECT() *_MockFactoryRecorder {
return _m.recorder
}
func (_m *MockFactory) Create(_param0 string, _param1 *http.Client) (blobstore.Blobstore, error) {
ret := _m.ctrl.Call(_m, "Create", _param0, _param1)
ret0, _ := ret[0].(blobstore.Blobstore)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockFactoryRecorder) Create(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Create", arg0, arg1)
}
// Mock of Blobstore interface
type MockBlobstore struct {
ctrl *gomock.Controller
recorder *_MockBlobstoreRecorder
}
// Recorder for MockBlobstore (not exported)
type _MockBlobstoreRecorder struct {
mock *MockBlobstore
}
func NewMockBlobstore(ctrl *gomock.Controller) *MockBlobstore {
mock := &MockBlobstore{ctrl: ctrl}
mock.recorder = &_MockBlobstoreRecorder{mock}
return mock
}
func (_m *MockBlobstore) EXPECT() *_MockBlobstoreRecorder {
return _m.recorder
}
func (_m *MockBlobstore) Add(_param0 string) (string, error) {
ret := _m.ctrl.Call(_m, "Add", _param0)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockBlobstoreRecorder) Add(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Add", arg0)
}
func (_m *MockBlobstore) Get(_param0 string) (blobstore.LocalBlob, error) {
ret := _m.ctrl.Call(_m, "Get", _param0)
ret0, _ := ret[0].(blobstore.LocalBlob)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockBlobstoreRecorder) Get(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Get", arg0)
}