/
hash.go
66 lines (54 loc) · 1.96 KB
/
hash.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
// Code generated by MockGen. DO NOT EDIT.
// Source: hash.go
// Package mock_cluster is a generated GoMock package.
package mock_cluster
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
api "github.com/openshift/openshift-azure/pkg/api"
)
// MockHasher is a mock of Hasher interface
type MockHasher struct {
ctrl *gomock.Controller
recorder *MockHasherMockRecorder
}
// MockHasherMockRecorder is the mock recorder for MockHasher
type MockHasherMockRecorder struct {
mock *MockHasher
}
// NewMockHasher creates a new mock instance
func NewMockHasher(ctrl *gomock.Controller) *MockHasher {
mock := &MockHasher{ctrl: ctrl}
mock.recorder = &MockHasherMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockHasher) EXPECT() *MockHasherMockRecorder {
return m.recorder
}
// HashScaleSet mocks base method
func (m *MockHasher) HashScaleSet(arg0 *api.OpenShiftManagedCluster, arg1 *api.AgentPoolProfile) ([]byte, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HashScaleSet", arg0, arg1)
ret0, _ := ret[0].([]byte)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HashScaleSet indicates an expected call of HashScaleSet
func (mr *MockHasherMockRecorder) HashScaleSet(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HashScaleSet", reflect.TypeOf((*MockHasher)(nil).HashScaleSet), arg0, arg1)
}
// HashSyncPod mocks base method
func (m *MockHasher) HashSyncPod(cs *api.OpenShiftManagedCluster) ([]byte, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HashSyncPod", cs)
ret0, _ := ret[0].([]byte)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HashSyncPod indicates an expected call of HashSyncPod
func (mr *MockHasherMockRecorder) HashSyncPod(cs interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HashSyncPod", reflect.TypeOf((*MockHasher)(nil).HashSyncPod), cs)
}