-
Notifications
You must be signed in to change notification settings - Fork 90
/
mock.go
88 lines (73 loc) · 2.88 KB
/
mock.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
86
87
88
// Code generated by MockGen. DO NOT EDIT.
// Source: pkg/operator/client/client_interface.go
// Package mock_client is a generated GoMock package.
package mock_client
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
types "github.com/replicatedhq/kots/pkg/operator/types"
)
// MockClientInterface is a mock of ClientInterface interface.
type MockClientInterface struct {
ctrl *gomock.Controller
recorder *MockClientInterfaceMockRecorder
}
// MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
type MockClientInterfaceMockRecorder struct {
mock *MockClientInterface
}
// NewMockClientInterface creates a new mock instance.
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface {
mock := &MockClientInterface{ctrl: ctrl}
mock.recorder = &MockClientInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder {
return m.recorder
}
// ApplyAppInformers mocks base method.
func (m *MockClientInterface) ApplyAppInformers(args types.AppInformersArgs) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "ApplyAppInformers", args)
}
// ApplyAppInformers indicates an expected call of ApplyAppInformers.
func (mr *MockClientInterfaceMockRecorder) ApplyAppInformers(args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ApplyAppInformers", reflect.TypeOf((*MockClientInterface)(nil).ApplyAppInformers), args)
}
// DeployApp mocks base method.
func (m *MockClientInterface) DeployApp(deployArgs types.DeployAppArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeployApp", deployArgs)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeployApp indicates an expected call of DeployApp.
func (mr *MockClientInterfaceMockRecorder) DeployApp(deployArgs interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeployApp", reflect.TypeOf((*MockClientInterface)(nil).DeployApp), deployArgs)
}
// Init mocks base method.
func (m *MockClientInterface) Init() error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Init")
ret0, _ := ret[0].(error)
return ret0
}
// Init indicates an expected call of Init.
func (mr *MockClientInterfaceMockRecorder) Init() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockClientInterface)(nil).Init))
}
// Shutdown mocks base method.
func (m *MockClientInterface) Shutdown() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Shutdown")
}
// Shutdown indicates an expected call of Shutdown.
func (mr *MockClientInterfaceMockRecorder) Shutdown() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockClientInterface)(nil).Shutdown))
}