This repository has been archived by the owner on Mar 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
/
zz_generated.baremetalcluster_manager.go
133 lines (114 loc) · 4.67 KB
/
zz_generated.baremetalcluster_manager.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// /*
// Copyright The Kubernetes Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// */
//
//
// Code generated by MockGen. DO NOT EDIT.
// Source: ./baremetal/baremetalcluster_manager.go
// Package baremetal_mocks is a generated GoMock package.
package baremetal_mocks
import (
context "context"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockClusterManagerInterface is a mock of ClusterManagerInterface interface
type MockClusterManagerInterface struct {
ctrl *gomock.Controller
recorder *MockClusterManagerInterfaceMockRecorder
}
// MockClusterManagerInterfaceMockRecorder is the mock recorder for MockClusterManagerInterface
type MockClusterManagerInterfaceMockRecorder struct {
mock *MockClusterManagerInterface
}
// NewMockClusterManagerInterface creates a new mock instance
func NewMockClusterManagerInterface(ctrl *gomock.Controller) *MockClusterManagerInterface {
mock := &MockClusterManagerInterface{ctrl: ctrl}
mock.recorder = &MockClusterManagerInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockClusterManagerInterface) EXPECT() *MockClusterManagerInterfaceMockRecorder {
return m.recorder
}
// Create mocks base method
func (m *MockClusterManagerInterface) Create(arg0 context.Context) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Create", arg0)
ret0, _ := ret[0].(error)
return ret0
}
// Create indicates an expected call of Create
func (mr *MockClusterManagerInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockClusterManagerInterface)(nil).Create), arg0)
}
// Delete mocks base method
func (m *MockClusterManagerInterface) Delete() error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Delete")
ret0, _ := ret[0].(error)
return ret0
}
// Delete indicates an expected call of Delete
func (mr *MockClusterManagerInterfaceMockRecorder) Delete() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockClusterManagerInterface)(nil).Delete))
}
// UpdateClusterStatus mocks base method
func (m *MockClusterManagerInterface) UpdateClusterStatus() error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateClusterStatus")
ret0, _ := ret[0].(error)
return ret0
}
// UpdateClusterStatus indicates an expected call of UpdateClusterStatus
func (mr *MockClusterManagerInterfaceMockRecorder) UpdateClusterStatus() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateClusterStatus", reflect.TypeOf((*MockClusterManagerInterface)(nil).UpdateClusterStatus))
}
// SetFinalizer mocks base method
func (m *MockClusterManagerInterface) SetFinalizer() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "SetFinalizer")
}
// SetFinalizer indicates an expected call of SetFinalizer
func (mr *MockClusterManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFinalizer", reflect.TypeOf((*MockClusterManagerInterface)(nil).SetFinalizer))
}
// UnsetFinalizer mocks base method
func (m *MockClusterManagerInterface) UnsetFinalizer() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "UnsetFinalizer")
}
// UnsetFinalizer indicates an expected call of UnsetFinalizer
func (mr *MockClusterManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetFinalizer", reflect.TypeOf((*MockClusterManagerInterface)(nil).UnsetFinalizer))
}
// CountDescendants mocks base method
func (m *MockClusterManagerInterface) CountDescendants(arg0 context.Context) (int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CountDescendants", arg0)
ret0, _ := ret[0].(int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CountDescendants indicates an expected call of CountDescendants
func (mr *MockClusterManagerInterfaceMockRecorder) CountDescendants(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CountDescendants", reflect.TypeOf((*MockClusterManagerInterface)(nil).CountDescendants), arg0)
}