github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/caas/kubernetes/provider/mocks/corev1_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: k8s.io/client-go/kubernetes/typed/core/v1 (interfaces: CoreV1Interface,NamespaceInterface,PodInterface,ServiceInterface,ConfigMapInterface,PersistentVolumeInterface,PersistentVolumeClaimInterface,SecretInterface,NodeInterface) 3 4 // Package mocks is a generated GoMock package. 5 package mocks 6 7 import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11 v1 "k8s.io/api/core/v1" 12 v1beta1 "k8s.io/api/policy/v1beta1" 13 v10 "k8s.io/apimachinery/pkg/apis/meta/v1" 14 types "k8s.io/apimachinery/pkg/types" 15 watch "k8s.io/apimachinery/pkg/watch" 16 v11 "k8s.io/client-go/kubernetes/typed/core/v1" 17 rest "k8s.io/client-go/rest" 18 ) 19 20 // MockCoreV1Interface is a mock of CoreV1Interface interface 21 type MockCoreV1Interface struct { 22 ctrl *gomock.Controller 23 recorder *MockCoreV1InterfaceMockRecorder 24 } 25 26 // MockCoreV1InterfaceMockRecorder is the mock recorder for MockCoreV1Interface 27 type MockCoreV1InterfaceMockRecorder struct { 28 mock *MockCoreV1Interface 29 } 30 31 // NewMockCoreV1Interface creates a new mock instance 32 func NewMockCoreV1Interface(ctrl *gomock.Controller) *MockCoreV1Interface { 33 mock := &MockCoreV1Interface{ctrl: ctrl} 34 mock.recorder = &MockCoreV1InterfaceMockRecorder{mock} 35 return mock 36 } 37 38 // EXPECT returns an object that allows the caller to indicate expected use 39 func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder { 40 return m.recorder 41 } 42 43 // ComponentStatuses mocks base method 44 func (m *MockCoreV1Interface) ComponentStatuses() v11.ComponentStatusInterface { 45 ret := m.ctrl.Call(m, "ComponentStatuses") 46 ret0, _ := ret[0].(v11.ComponentStatusInterface) 47 return ret0 48 } 49 50 // ComponentStatuses indicates an expected call of ComponentStatuses 51 func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *gomock.Call { 52 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ComponentStatuses", reflect.TypeOf((*MockCoreV1Interface)(nil).ComponentStatuses)) 53 } 54 55 // ConfigMaps mocks base method 56 func (m *MockCoreV1Interface) ConfigMaps(arg0 string) v11.ConfigMapInterface { 57 ret := m.ctrl.Call(m, "ConfigMaps", arg0) 58 ret0, _ := ret[0].(v11.ConfigMapInterface) 59 return ret0 60 } 61 62 // ConfigMaps indicates an expected call of ConfigMaps 63 func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(arg0 interface{}) *gomock.Call { 64 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigMaps", reflect.TypeOf((*MockCoreV1Interface)(nil).ConfigMaps), arg0) 65 } 66 67 // Endpoints mocks base method 68 func (m *MockCoreV1Interface) Endpoints(arg0 string) v11.EndpointsInterface { 69 ret := m.ctrl.Call(m, "Endpoints", arg0) 70 ret0, _ := ret[0].(v11.EndpointsInterface) 71 return ret0 72 } 73 74 // Endpoints indicates an expected call of Endpoints 75 func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(arg0 interface{}) *gomock.Call { 76 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Endpoints", reflect.TypeOf((*MockCoreV1Interface)(nil).Endpoints), arg0) 77 } 78 79 // Events mocks base method 80 func (m *MockCoreV1Interface) Events(arg0 string) v11.EventInterface { 81 ret := m.ctrl.Call(m, "Events", arg0) 82 ret0, _ := ret[0].(v11.EventInterface) 83 return ret0 84 } 85 86 // Events indicates an expected call of Events 87 func (mr *MockCoreV1InterfaceMockRecorder) Events(arg0 interface{}) *gomock.Call { 88 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Events", reflect.TypeOf((*MockCoreV1Interface)(nil).Events), arg0) 89 } 90 91 // LimitRanges mocks base method 92 func (m *MockCoreV1Interface) LimitRanges(arg0 string) v11.LimitRangeInterface { 93 ret := m.ctrl.Call(m, "LimitRanges", arg0) 94 ret0, _ := ret[0].(v11.LimitRangeInterface) 95 return ret0 96 } 97 98 // LimitRanges indicates an expected call of LimitRanges 99 func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(arg0 interface{}) *gomock.Call { 100 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LimitRanges", reflect.TypeOf((*MockCoreV1Interface)(nil).LimitRanges), arg0) 101 } 102 103 // Namespaces mocks base method 104 func (m *MockCoreV1Interface) Namespaces() v11.NamespaceInterface { 105 ret := m.ctrl.Call(m, "Namespaces") 106 ret0, _ := ret[0].(v11.NamespaceInterface) 107 return ret0 108 } 109 110 // Namespaces indicates an expected call of Namespaces 111 func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *gomock.Call { 112 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Namespaces", reflect.TypeOf((*MockCoreV1Interface)(nil).Namespaces)) 113 } 114 115 // Nodes mocks base method 116 func (m *MockCoreV1Interface) Nodes() v11.NodeInterface { 117 ret := m.ctrl.Call(m, "Nodes") 118 ret0, _ := ret[0].(v11.NodeInterface) 119 return ret0 120 } 121 122 // Nodes indicates an expected call of Nodes 123 func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *gomock.Call { 124 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Nodes", reflect.TypeOf((*MockCoreV1Interface)(nil).Nodes)) 125 } 126 127 // PersistentVolumeClaims mocks base method 128 func (m *MockCoreV1Interface) PersistentVolumeClaims(arg0 string) v11.PersistentVolumeClaimInterface { 129 ret := m.ctrl.Call(m, "PersistentVolumeClaims", arg0) 130 ret0, _ := ret[0].(v11.PersistentVolumeClaimInterface) 131 return ret0 132 } 133 134 // PersistentVolumeClaims indicates an expected call of PersistentVolumeClaims 135 func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(arg0 interface{}) *gomock.Call { 136 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PersistentVolumeClaims", reflect.TypeOf((*MockCoreV1Interface)(nil).PersistentVolumeClaims), arg0) 137 } 138 139 // PersistentVolumes mocks base method 140 func (m *MockCoreV1Interface) PersistentVolumes() v11.PersistentVolumeInterface { 141 ret := m.ctrl.Call(m, "PersistentVolumes") 142 ret0, _ := ret[0].(v11.PersistentVolumeInterface) 143 return ret0 144 } 145 146 // PersistentVolumes indicates an expected call of PersistentVolumes 147 func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *gomock.Call { 148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PersistentVolumes", reflect.TypeOf((*MockCoreV1Interface)(nil).PersistentVolumes)) 149 } 150 151 // PodTemplates mocks base method 152 func (m *MockCoreV1Interface) PodTemplates(arg0 string) v11.PodTemplateInterface { 153 ret := m.ctrl.Call(m, "PodTemplates", arg0) 154 ret0, _ := ret[0].(v11.PodTemplateInterface) 155 return ret0 156 } 157 158 // PodTemplates indicates an expected call of PodTemplates 159 func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(arg0 interface{}) *gomock.Call { 160 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PodTemplates", reflect.TypeOf((*MockCoreV1Interface)(nil).PodTemplates), arg0) 161 } 162 163 // Pods mocks base method 164 func (m *MockCoreV1Interface) Pods(arg0 string) v11.PodInterface { 165 ret := m.ctrl.Call(m, "Pods", arg0) 166 ret0, _ := ret[0].(v11.PodInterface) 167 return ret0 168 } 169 170 // Pods indicates an expected call of Pods 171 func (mr *MockCoreV1InterfaceMockRecorder) Pods(arg0 interface{}) *gomock.Call { 172 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Pods", reflect.TypeOf((*MockCoreV1Interface)(nil).Pods), arg0) 173 } 174 175 // RESTClient mocks base method 176 func (m *MockCoreV1Interface) RESTClient() rest.Interface { 177 ret := m.ctrl.Call(m, "RESTClient") 178 ret0, _ := ret[0].(rest.Interface) 179 return ret0 180 } 181 182 // RESTClient indicates an expected call of RESTClient 183 func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *gomock.Call { 184 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RESTClient", reflect.TypeOf((*MockCoreV1Interface)(nil).RESTClient)) 185 } 186 187 // ReplicationControllers mocks base method 188 func (m *MockCoreV1Interface) ReplicationControllers(arg0 string) v11.ReplicationControllerInterface { 189 ret := m.ctrl.Call(m, "ReplicationControllers", arg0) 190 ret0, _ := ret[0].(v11.ReplicationControllerInterface) 191 return ret0 192 } 193 194 // ReplicationControllers indicates an expected call of ReplicationControllers 195 func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(arg0 interface{}) *gomock.Call { 196 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReplicationControllers", reflect.TypeOf((*MockCoreV1Interface)(nil).ReplicationControllers), arg0) 197 } 198 199 // ResourceQuotas mocks base method 200 func (m *MockCoreV1Interface) ResourceQuotas(arg0 string) v11.ResourceQuotaInterface { 201 ret := m.ctrl.Call(m, "ResourceQuotas", arg0) 202 ret0, _ := ret[0].(v11.ResourceQuotaInterface) 203 return ret0 204 } 205 206 // ResourceQuotas indicates an expected call of ResourceQuotas 207 func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(arg0 interface{}) *gomock.Call { 208 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceQuotas", reflect.TypeOf((*MockCoreV1Interface)(nil).ResourceQuotas), arg0) 209 } 210 211 // Secrets mocks base method 212 func (m *MockCoreV1Interface) Secrets(arg0 string) v11.SecretInterface { 213 ret := m.ctrl.Call(m, "Secrets", arg0) 214 ret0, _ := ret[0].(v11.SecretInterface) 215 return ret0 216 } 217 218 // Secrets indicates an expected call of Secrets 219 func (mr *MockCoreV1InterfaceMockRecorder) Secrets(arg0 interface{}) *gomock.Call { 220 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Secrets", reflect.TypeOf((*MockCoreV1Interface)(nil).Secrets), arg0) 221 } 222 223 // ServiceAccounts mocks base method 224 func (m *MockCoreV1Interface) ServiceAccounts(arg0 string) v11.ServiceAccountInterface { 225 ret := m.ctrl.Call(m, "ServiceAccounts", arg0) 226 ret0, _ := ret[0].(v11.ServiceAccountInterface) 227 return ret0 228 } 229 230 // ServiceAccounts indicates an expected call of ServiceAccounts 231 func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(arg0 interface{}) *gomock.Call { 232 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceAccounts", reflect.TypeOf((*MockCoreV1Interface)(nil).ServiceAccounts), arg0) 233 } 234 235 // Services mocks base method 236 func (m *MockCoreV1Interface) Services(arg0 string) v11.ServiceInterface { 237 ret := m.ctrl.Call(m, "Services", arg0) 238 ret0, _ := ret[0].(v11.ServiceInterface) 239 return ret0 240 } 241 242 // Services indicates an expected call of Services 243 func (mr *MockCoreV1InterfaceMockRecorder) Services(arg0 interface{}) *gomock.Call { 244 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Services", reflect.TypeOf((*MockCoreV1Interface)(nil).Services), arg0) 245 } 246 247 // MockNamespaceInterface is a mock of NamespaceInterface interface 248 type MockNamespaceInterface struct { 249 ctrl *gomock.Controller 250 recorder *MockNamespaceInterfaceMockRecorder 251 } 252 253 // MockNamespaceInterfaceMockRecorder is the mock recorder for MockNamespaceInterface 254 type MockNamespaceInterfaceMockRecorder struct { 255 mock *MockNamespaceInterface 256 } 257 258 // NewMockNamespaceInterface creates a new mock instance 259 func NewMockNamespaceInterface(ctrl *gomock.Controller) *MockNamespaceInterface { 260 mock := &MockNamespaceInterface{ctrl: ctrl} 261 mock.recorder = &MockNamespaceInterfaceMockRecorder{mock} 262 return mock 263 } 264 265 // EXPECT returns an object that allows the caller to indicate expected use 266 func (m *MockNamespaceInterface) EXPECT() *MockNamespaceInterfaceMockRecorder { 267 return m.recorder 268 } 269 270 // Create mocks base method 271 func (m *MockNamespaceInterface) Create(arg0 *v1.Namespace) (*v1.Namespace, error) { 272 ret := m.ctrl.Call(m, "Create", arg0) 273 ret0, _ := ret[0].(*v1.Namespace) 274 ret1, _ := ret[1].(error) 275 return ret0, ret1 276 } 277 278 // Create indicates an expected call of Create 279 func (mr *MockNamespaceInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { 280 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockNamespaceInterface)(nil).Create), arg0) 281 } 282 283 // Delete mocks base method 284 func (m *MockNamespaceInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error { 285 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 286 ret0, _ := ret[0].(error) 287 return ret0 288 } 289 290 // Delete indicates an expected call of Delete 291 func (mr *MockNamespaceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 292 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockNamespaceInterface)(nil).Delete), arg0, arg1) 293 } 294 295 // Finalize mocks base method 296 func (m *MockNamespaceInterface) Finalize(arg0 *v1.Namespace) (*v1.Namespace, error) { 297 ret := m.ctrl.Call(m, "Finalize", arg0) 298 ret0, _ := ret[0].(*v1.Namespace) 299 ret1, _ := ret[1].(error) 300 return ret0, ret1 301 } 302 303 // Finalize indicates an expected call of Finalize 304 func (mr *MockNamespaceInterfaceMockRecorder) Finalize(arg0 interface{}) *gomock.Call { 305 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Finalize", reflect.TypeOf((*MockNamespaceInterface)(nil).Finalize), arg0) 306 } 307 308 // Get mocks base method 309 func (m *MockNamespaceInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Namespace, error) { 310 ret := m.ctrl.Call(m, "Get", arg0, arg1) 311 ret0, _ := ret[0].(*v1.Namespace) 312 ret1, _ := ret[1].(error) 313 return ret0, ret1 314 } 315 316 // Get indicates an expected call of Get 317 func (mr *MockNamespaceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 318 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockNamespaceInterface)(nil).Get), arg0, arg1) 319 } 320 321 // List mocks base method 322 func (m *MockNamespaceInterface) List(arg0 v10.ListOptions) (*v1.NamespaceList, error) { 323 ret := m.ctrl.Call(m, "List", arg0) 324 ret0, _ := ret[0].(*v1.NamespaceList) 325 ret1, _ := ret[1].(error) 326 return ret0, ret1 327 } 328 329 // List indicates an expected call of List 330 func (mr *MockNamespaceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call { 331 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockNamespaceInterface)(nil).List), arg0) 332 } 333 334 // Patch mocks base method 335 func (m *MockNamespaceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Namespace, error) { 336 varargs := []interface{}{arg0, arg1, arg2} 337 for _, a := range arg3 { 338 varargs = append(varargs, a) 339 } 340 ret := m.ctrl.Call(m, "Patch", varargs...) 341 ret0, _ := ret[0].(*v1.Namespace) 342 ret1, _ := ret[1].(error) 343 return ret0, ret1 344 } 345 346 // Patch indicates an expected call of Patch 347 func (mr *MockNamespaceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { 348 varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) 349 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockNamespaceInterface)(nil).Patch), varargs...) 350 } 351 352 // Update mocks base method 353 func (m *MockNamespaceInterface) Update(arg0 *v1.Namespace) (*v1.Namespace, error) { 354 ret := m.ctrl.Call(m, "Update", arg0) 355 ret0, _ := ret[0].(*v1.Namespace) 356 ret1, _ := ret[1].(error) 357 return ret0, ret1 358 } 359 360 // Update indicates an expected call of Update 361 func (mr *MockNamespaceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call { 362 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockNamespaceInterface)(nil).Update), arg0) 363 } 364 365 // UpdateStatus mocks base method 366 func (m *MockNamespaceInterface) UpdateStatus(arg0 *v1.Namespace) (*v1.Namespace, error) { 367 ret := m.ctrl.Call(m, "UpdateStatus", arg0) 368 ret0, _ := ret[0].(*v1.Namespace) 369 ret1, _ := ret[1].(error) 370 return ret0, ret1 371 } 372 373 // UpdateStatus indicates an expected call of UpdateStatus 374 func (mr *MockNamespaceInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call { 375 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockNamespaceInterface)(nil).UpdateStatus), arg0) 376 } 377 378 // Watch mocks base method 379 func (m *MockNamespaceInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) { 380 ret := m.ctrl.Call(m, "Watch", arg0) 381 ret0, _ := ret[0].(watch.Interface) 382 ret1, _ := ret[1].(error) 383 return ret0, ret1 384 } 385 386 // Watch indicates an expected call of Watch 387 func (mr *MockNamespaceInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call { 388 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockNamespaceInterface)(nil).Watch), arg0) 389 } 390 391 // MockPodInterface is a mock of PodInterface interface 392 type MockPodInterface struct { 393 ctrl *gomock.Controller 394 recorder *MockPodInterfaceMockRecorder 395 } 396 397 // MockPodInterfaceMockRecorder is the mock recorder for MockPodInterface 398 type MockPodInterfaceMockRecorder struct { 399 mock *MockPodInterface 400 } 401 402 // NewMockPodInterface creates a new mock instance 403 func NewMockPodInterface(ctrl *gomock.Controller) *MockPodInterface { 404 mock := &MockPodInterface{ctrl: ctrl} 405 mock.recorder = &MockPodInterfaceMockRecorder{mock} 406 return mock 407 } 408 409 // EXPECT returns an object that allows the caller to indicate expected use 410 func (m *MockPodInterface) EXPECT() *MockPodInterfaceMockRecorder { 411 return m.recorder 412 } 413 414 // Bind mocks base method 415 func (m *MockPodInterface) Bind(arg0 *v1.Binding) error { 416 ret := m.ctrl.Call(m, "Bind", arg0) 417 ret0, _ := ret[0].(error) 418 return ret0 419 } 420 421 // Bind indicates an expected call of Bind 422 func (mr *MockPodInterfaceMockRecorder) Bind(arg0 interface{}) *gomock.Call { 423 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bind", reflect.TypeOf((*MockPodInterface)(nil).Bind), arg0) 424 } 425 426 // Create mocks base method 427 func (m *MockPodInterface) Create(arg0 *v1.Pod) (*v1.Pod, error) { 428 ret := m.ctrl.Call(m, "Create", arg0) 429 ret0, _ := ret[0].(*v1.Pod) 430 ret1, _ := ret[1].(error) 431 return ret0, ret1 432 } 433 434 // Create indicates an expected call of Create 435 func (mr *MockPodInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { 436 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockPodInterface)(nil).Create), arg0) 437 } 438 439 // Delete mocks base method 440 func (m *MockPodInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error { 441 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 442 ret0, _ := ret[0].(error) 443 return ret0 444 } 445 446 // Delete indicates an expected call of Delete 447 func (mr *MockPodInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 448 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockPodInterface)(nil).Delete), arg0, arg1) 449 } 450 451 // DeleteCollection mocks base method 452 func (m *MockPodInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error { 453 ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1) 454 ret0, _ := ret[0].(error) 455 return ret0 456 } 457 458 // DeleteCollection indicates an expected call of DeleteCollection 459 func (mr *MockPodInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call { 460 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockPodInterface)(nil).DeleteCollection), arg0, arg1) 461 } 462 463 // Evict mocks base method 464 func (m *MockPodInterface) Evict(arg0 *v1beta1.Eviction) error { 465 ret := m.ctrl.Call(m, "Evict", arg0) 466 ret0, _ := ret[0].(error) 467 return ret0 468 } 469 470 // Evict indicates an expected call of Evict 471 func (mr *MockPodInterfaceMockRecorder) Evict(arg0 interface{}) *gomock.Call { 472 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Evict", reflect.TypeOf((*MockPodInterface)(nil).Evict), arg0) 473 } 474 475 // Get mocks base method 476 func (m *MockPodInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Pod, error) { 477 ret := m.ctrl.Call(m, "Get", arg0, arg1) 478 ret0, _ := ret[0].(*v1.Pod) 479 ret1, _ := ret[1].(error) 480 return ret0, ret1 481 } 482 483 // Get indicates an expected call of Get 484 func (mr *MockPodInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 485 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockPodInterface)(nil).Get), arg0, arg1) 486 } 487 488 // GetLogs mocks base method 489 func (m *MockPodInterface) GetLogs(arg0 string, arg1 *v1.PodLogOptions) *rest.Request { 490 ret := m.ctrl.Call(m, "GetLogs", arg0, arg1) 491 ret0, _ := ret[0].(*rest.Request) 492 return ret0 493 } 494 495 // GetLogs indicates an expected call of GetLogs 496 func (mr *MockPodInterfaceMockRecorder) GetLogs(arg0, arg1 interface{}) *gomock.Call { 497 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogs", reflect.TypeOf((*MockPodInterface)(nil).GetLogs), arg0, arg1) 498 } 499 500 // List mocks base method 501 func (m *MockPodInterface) List(arg0 v10.ListOptions) (*v1.PodList, error) { 502 ret := m.ctrl.Call(m, "List", arg0) 503 ret0, _ := ret[0].(*v1.PodList) 504 ret1, _ := ret[1].(error) 505 return ret0, ret1 506 } 507 508 // List indicates an expected call of List 509 func (mr *MockPodInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call { 510 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockPodInterface)(nil).List), arg0) 511 } 512 513 // Patch mocks base method 514 func (m *MockPodInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Pod, error) { 515 varargs := []interface{}{arg0, arg1, arg2} 516 for _, a := range arg3 { 517 varargs = append(varargs, a) 518 } 519 ret := m.ctrl.Call(m, "Patch", varargs...) 520 ret0, _ := ret[0].(*v1.Pod) 521 ret1, _ := ret[1].(error) 522 return ret0, ret1 523 } 524 525 // Patch indicates an expected call of Patch 526 func (mr *MockPodInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { 527 varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) 528 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockPodInterface)(nil).Patch), varargs...) 529 } 530 531 // Update mocks base method 532 func (m *MockPodInterface) Update(arg0 *v1.Pod) (*v1.Pod, error) { 533 ret := m.ctrl.Call(m, "Update", arg0) 534 ret0, _ := ret[0].(*v1.Pod) 535 ret1, _ := ret[1].(error) 536 return ret0, ret1 537 } 538 539 // Update indicates an expected call of Update 540 func (mr *MockPodInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call { 541 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockPodInterface)(nil).Update), arg0) 542 } 543 544 // UpdateStatus mocks base method 545 func (m *MockPodInterface) UpdateStatus(arg0 *v1.Pod) (*v1.Pod, error) { 546 ret := m.ctrl.Call(m, "UpdateStatus", arg0) 547 ret0, _ := ret[0].(*v1.Pod) 548 ret1, _ := ret[1].(error) 549 return ret0, ret1 550 } 551 552 // UpdateStatus indicates an expected call of UpdateStatus 553 func (mr *MockPodInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call { 554 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockPodInterface)(nil).UpdateStatus), arg0) 555 } 556 557 // Watch mocks base method 558 func (m *MockPodInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) { 559 ret := m.ctrl.Call(m, "Watch", arg0) 560 ret0, _ := ret[0].(watch.Interface) 561 ret1, _ := ret[1].(error) 562 return ret0, ret1 563 } 564 565 // Watch indicates an expected call of Watch 566 func (mr *MockPodInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call { 567 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockPodInterface)(nil).Watch), arg0) 568 } 569 570 // MockServiceInterface is a mock of ServiceInterface interface 571 type MockServiceInterface struct { 572 ctrl *gomock.Controller 573 recorder *MockServiceInterfaceMockRecorder 574 } 575 576 // MockServiceInterfaceMockRecorder is the mock recorder for MockServiceInterface 577 type MockServiceInterfaceMockRecorder struct { 578 mock *MockServiceInterface 579 } 580 581 // NewMockServiceInterface creates a new mock instance 582 func NewMockServiceInterface(ctrl *gomock.Controller) *MockServiceInterface { 583 mock := &MockServiceInterface{ctrl: ctrl} 584 mock.recorder = &MockServiceInterfaceMockRecorder{mock} 585 return mock 586 } 587 588 // EXPECT returns an object that allows the caller to indicate expected use 589 func (m *MockServiceInterface) EXPECT() *MockServiceInterfaceMockRecorder { 590 return m.recorder 591 } 592 593 // Create mocks base method 594 func (m *MockServiceInterface) Create(arg0 *v1.Service) (*v1.Service, error) { 595 ret := m.ctrl.Call(m, "Create", arg0) 596 ret0, _ := ret[0].(*v1.Service) 597 ret1, _ := ret[1].(error) 598 return ret0, ret1 599 } 600 601 // Create indicates an expected call of Create 602 func (mr *MockServiceInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { 603 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockServiceInterface)(nil).Create), arg0) 604 } 605 606 // Delete mocks base method 607 func (m *MockServiceInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error { 608 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 609 ret0, _ := ret[0].(error) 610 return ret0 611 } 612 613 // Delete indicates an expected call of Delete 614 func (mr *MockServiceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 615 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockServiceInterface)(nil).Delete), arg0, arg1) 616 } 617 618 // Get mocks base method 619 func (m *MockServiceInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Service, error) { 620 ret := m.ctrl.Call(m, "Get", arg0, arg1) 621 ret0, _ := ret[0].(*v1.Service) 622 ret1, _ := ret[1].(error) 623 return ret0, ret1 624 } 625 626 // Get indicates an expected call of Get 627 func (mr *MockServiceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 628 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockServiceInterface)(nil).Get), arg0, arg1) 629 } 630 631 // List mocks base method 632 func (m *MockServiceInterface) List(arg0 v10.ListOptions) (*v1.ServiceList, error) { 633 ret := m.ctrl.Call(m, "List", arg0) 634 ret0, _ := ret[0].(*v1.ServiceList) 635 ret1, _ := ret[1].(error) 636 return ret0, ret1 637 } 638 639 // List indicates an expected call of List 640 func (mr *MockServiceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call { 641 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockServiceInterface)(nil).List), arg0) 642 } 643 644 // Patch mocks base method 645 func (m *MockServiceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Service, error) { 646 varargs := []interface{}{arg0, arg1, arg2} 647 for _, a := range arg3 { 648 varargs = append(varargs, a) 649 } 650 ret := m.ctrl.Call(m, "Patch", varargs...) 651 ret0, _ := ret[0].(*v1.Service) 652 ret1, _ := ret[1].(error) 653 return ret0, ret1 654 } 655 656 // Patch indicates an expected call of Patch 657 func (mr *MockServiceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { 658 varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) 659 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockServiceInterface)(nil).Patch), varargs...) 660 } 661 662 // ProxyGet mocks base method 663 func (m *MockServiceInterface) ProxyGet(arg0, arg1, arg2, arg3 string, arg4 map[string]string) rest.ResponseWrapper { 664 ret := m.ctrl.Call(m, "ProxyGet", arg0, arg1, arg2, arg3, arg4) 665 ret0, _ := ret[0].(rest.ResponseWrapper) 666 return ret0 667 } 668 669 // ProxyGet indicates an expected call of ProxyGet 670 func (mr *MockServiceInterfaceMockRecorder) ProxyGet(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { 671 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProxyGet", reflect.TypeOf((*MockServiceInterface)(nil).ProxyGet), arg0, arg1, arg2, arg3, arg4) 672 } 673 674 // Update mocks base method 675 func (m *MockServiceInterface) Update(arg0 *v1.Service) (*v1.Service, error) { 676 ret := m.ctrl.Call(m, "Update", arg0) 677 ret0, _ := ret[0].(*v1.Service) 678 ret1, _ := ret[1].(error) 679 return ret0, ret1 680 } 681 682 // Update indicates an expected call of Update 683 func (mr *MockServiceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call { 684 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockServiceInterface)(nil).Update), arg0) 685 } 686 687 // UpdateStatus mocks base method 688 func (m *MockServiceInterface) UpdateStatus(arg0 *v1.Service) (*v1.Service, error) { 689 ret := m.ctrl.Call(m, "UpdateStatus", arg0) 690 ret0, _ := ret[0].(*v1.Service) 691 ret1, _ := ret[1].(error) 692 return ret0, ret1 693 } 694 695 // UpdateStatus indicates an expected call of UpdateStatus 696 func (mr *MockServiceInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call { 697 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockServiceInterface)(nil).UpdateStatus), arg0) 698 } 699 700 // Watch mocks base method 701 func (m *MockServiceInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) { 702 ret := m.ctrl.Call(m, "Watch", arg0) 703 ret0, _ := ret[0].(watch.Interface) 704 ret1, _ := ret[1].(error) 705 return ret0, ret1 706 } 707 708 // Watch indicates an expected call of Watch 709 func (mr *MockServiceInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call { 710 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockServiceInterface)(nil).Watch), arg0) 711 } 712 713 // MockConfigMapInterface is a mock of ConfigMapInterface interface 714 type MockConfigMapInterface struct { 715 ctrl *gomock.Controller 716 recorder *MockConfigMapInterfaceMockRecorder 717 } 718 719 // MockConfigMapInterfaceMockRecorder is the mock recorder for MockConfigMapInterface 720 type MockConfigMapInterfaceMockRecorder struct { 721 mock *MockConfigMapInterface 722 } 723 724 // NewMockConfigMapInterface creates a new mock instance 725 func NewMockConfigMapInterface(ctrl *gomock.Controller) *MockConfigMapInterface { 726 mock := &MockConfigMapInterface{ctrl: ctrl} 727 mock.recorder = &MockConfigMapInterfaceMockRecorder{mock} 728 return mock 729 } 730 731 // EXPECT returns an object that allows the caller to indicate expected use 732 func (m *MockConfigMapInterface) EXPECT() *MockConfigMapInterfaceMockRecorder { 733 return m.recorder 734 } 735 736 // Create mocks base method 737 func (m *MockConfigMapInterface) Create(arg0 *v1.ConfigMap) (*v1.ConfigMap, error) { 738 ret := m.ctrl.Call(m, "Create", arg0) 739 ret0, _ := ret[0].(*v1.ConfigMap) 740 ret1, _ := ret[1].(error) 741 return ret0, ret1 742 } 743 744 // Create indicates an expected call of Create 745 func (mr *MockConfigMapInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { 746 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockConfigMapInterface)(nil).Create), arg0) 747 } 748 749 // Delete mocks base method 750 func (m *MockConfigMapInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error { 751 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 752 ret0, _ := ret[0].(error) 753 return ret0 754 } 755 756 // Delete indicates an expected call of Delete 757 func (mr *MockConfigMapInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 758 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockConfigMapInterface)(nil).Delete), arg0, arg1) 759 } 760 761 // DeleteCollection mocks base method 762 func (m *MockConfigMapInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error { 763 ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1) 764 ret0, _ := ret[0].(error) 765 return ret0 766 } 767 768 // DeleteCollection indicates an expected call of DeleteCollection 769 func (mr *MockConfigMapInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call { 770 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockConfigMapInterface)(nil).DeleteCollection), arg0, arg1) 771 } 772 773 // Get mocks base method 774 func (m *MockConfigMapInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.ConfigMap, error) { 775 ret := m.ctrl.Call(m, "Get", arg0, arg1) 776 ret0, _ := ret[0].(*v1.ConfigMap) 777 ret1, _ := ret[1].(error) 778 return ret0, ret1 779 } 780 781 // Get indicates an expected call of Get 782 func (mr *MockConfigMapInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 783 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockConfigMapInterface)(nil).Get), arg0, arg1) 784 } 785 786 // List mocks base method 787 func (m *MockConfigMapInterface) List(arg0 v10.ListOptions) (*v1.ConfigMapList, error) { 788 ret := m.ctrl.Call(m, "List", arg0) 789 ret0, _ := ret[0].(*v1.ConfigMapList) 790 ret1, _ := ret[1].(error) 791 return ret0, ret1 792 } 793 794 // List indicates an expected call of List 795 func (mr *MockConfigMapInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call { 796 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockConfigMapInterface)(nil).List), arg0) 797 } 798 799 // Patch mocks base method 800 func (m *MockConfigMapInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.ConfigMap, error) { 801 varargs := []interface{}{arg0, arg1, arg2} 802 for _, a := range arg3 { 803 varargs = append(varargs, a) 804 } 805 ret := m.ctrl.Call(m, "Patch", varargs...) 806 ret0, _ := ret[0].(*v1.ConfigMap) 807 ret1, _ := ret[1].(error) 808 return ret0, ret1 809 } 810 811 // Patch indicates an expected call of Patch 812 func (mr *MockConfigMapInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { 813 varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) 814 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockConfigMapInterface)(nil).Patch), varargs...) 815 } 816 817 // Update mocks base method 818 func (m *MockConfigMapInterface) Update(arg0 *v1.ConfigMap) (*v1.ConfigMap, error) { 819 ret := m.ctrl.Call(m, "Update", arg0) 820 ret0, _ := ret[0].(*v1.ConfigMap) 821 ret1, _ := ret[1].(error) 822 return ret0, ret1 823 } 824 825 // Update indicates an expected call of Update 826 func (mr *MockConfigMapInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call { 827 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockConfigMapInterface)(nil).Update), arg0) 828 } 829 830 // Watch mocks base method 831 func (m *MockConfigMapInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) { 832 ret := m.ctrl.Call(m, "Watch", arg0) 833 ret0, _ := ret[0].(watch.Interface) 834 ret1, _ := ret[1].(error) 835 return ret0, ret1 836 } 837 838 // Watch indicates an expected call of Watch 839 func (mr *MockConfigMapInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call { 840 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockConfigMapInterface)(nil).Watch), arg0) 841 } 842 843 // MockPersistentVolumeInterface is a mock of PersistentVolumeInterface interface 844 type MockPersistentVolumeInterface struct { 845 ctrl *gomock.Controller 846 recorder *MockPersistentVolumeInterfaceMockRecorder 847 } 848 849 // MockPersistentVolumeInterfaceMockRecorder is the mock recorder for MockPersistentVolumeInterface 850 type MockPersistentVolumeInterfaceMockRecorder struct { 851 mock *MockPersistentVolumeInterface 852 } 853 854 // NewMockPersistentVolumeInterface creates a new mock instance 855 func NewMockPersistentVolumeInterface(ctrl *gomock.Controller) *MockPersistentVolumeInterface { 856 mock := &MockPersistentVolumeInterface{ctrl: ctrl} 857 mock.recorder = &MockPersistentVolumeInterfaceMockRecorder{mock} 858 return mock 859 } 860 861 // EXPECT returns an object that allows the caller to indicate expected use 862 func (m *MockPersistentVolumeInterface) EXPECT() *MockPersistentVolumeInterfaceMockRecorder { 863 return m.recorder 864 } 865 866 // Create mocks base method 867 func (m *MockPersistentVolumeInterface) Create(arg0 *v1.PersistentVolume) (*v1.PersistentVolume, error) { 868 ret := m.ctrl.Call(m, "Create", arg0) 869 ret0, _ := ret[0].(*v1.PersistentVolume) 870 ret1, _ := ret[1].(error) 871 return ret0, ret1 872 } 873 874 // Create indicates an expected call of Create 875 func (mr *MockPersistentVolumeInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { 876 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).Create), arg0) 877 } 878 879 // Delete mocks base method 880 func (m *MockPersistentVolumeInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error { 881 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 882 ret0, _ := ret[0].(error) 883 return ret0 884 } 885 886 // Delete indicates an expected call of Delete 887 func (mr *MockPersistentVolumeInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 888 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).Delete), arg0, arg1) 889 } 890 891 // DeleteCollection mocks base method 892 func (m *MockPersistentVolumeInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error { 893 ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1) 894 ret0, _ := ret[0].(error) 895 return ret0 896 } 897 898 // DeleteCollection indicates an expected call of DeleteCollection 899 func (mr *MockPersistentVolumeInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call { 900 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).DeleteCollection), arg0, arg1) 901 } 902 903 // Get mocks base method 904 func (m *MockPersistentVolumeInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.PersistentVolume, error) { 905 ret := m.ctrl.Call(m, "Get", arg0, arg1) 906 ret0, _ := ret[0].(*v1.PersistentVolume) 907 ret1, _ := ret[1].(error) 908 return ret0, ret1 909 } 910 911 // Get indicates an expected call of Get 912 func (mr *MockPersistentVolumeInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 913 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).Get), arg0, arg1) 914 } 915 916 // List mocks base method 917 func (m *MockPersistentVolumeInterface) List(arg0 v10.ListOptions) (*v1.PersistentVolumeList, error) { 918 ret := m.ctrl.Call(m, "List", arg0) 919 ret0, _ := ret[0].(*v1.PersistentVolumeList) 920 ret1, _ := ret[1].(error) 921 return ret0, ret1 922 } 923 924 // List indicates an expected call of List 925 func (mr *MockPersistentVolumeInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call { 926 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).List), arg0) 927 } 928 929 // Patch mocks base method 930 func (m *MockPersistentVolumeInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.PersistentVolume, error) { 931 varargs := []interface{}{arg0, arg1, arg2} 932 for _, a := range arg3 { 933 varargs = append(varargs, a) 934 } 935 ret := m.ctrl.Call(m, "Patch", varargs...) 936 ret0, _ := ret[0].(*v1.PersistentVolume) 937 ret1, _ := ret[1].(error) 938 return ret0, ret1 939 } 940 941 // Patch indicates an expected call of Patch 942 func (mr *MockPersistentVolumeInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { 943 varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) 944 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).Patch), varargs...) 945 } 946 947 // Update mocks base method 948 func (m *MockPersistentVolumeInterface) Update(arg0 *v1.PersistentVolume) (*v1.PersistentVolume, error) { 949 ret := m.ctrl.Call(m, "Update", arg0) 950 ret0, _ := ret[0].(*v1.PersistentVolume) 951 ret1, _ := ret[1].(error) 952 return ret0, ret1 953 } 954 955 // Update indicates an expected call of Update 956 func (mr *MockPersistentVolumeInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call { 957 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).Update), arg0) 958 } 959 960 // UpdateStatus mocks base method 961 func (m *MockPersistentVolumeInterface) UpdateStatus(arg0 *v1.PersistentVolume) (*v1.PersistentVolume, error) { 962 ret := m.ctrl.Call(m, "UpdateStatus", arg0) 963 ret0, _ := ret[0].(*v1.PersistentVolume) 964 ret1, _ := ret[1].(error) 965 return ret0, ret1 966 } 967 968 // UpdateStatus indicates an expected call of UpdateStatus 969 func (mr *MockPersistentVolumeInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call { 970 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).UpdateStatus), arg0) 971 } 972 973 // Watch mocks base method 974 func (m *MockPersistentVolumeInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) { 975 ret := m.ctrl.Call(m, "Watch", arg0) 976 ret0, _ := ret[0].(watch.Interface) 977 ret1, _ := ret[1].(error) 978 return ret0, ret1 979 } 980 981 // Watch indicates an expected call of Watch 982 func (mr *MockPersistentVolumeInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call { 983 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockPersistentVolumeInterface)(nil).Watch), arg0) 984 } 985 986 // MockPersistentVolumeClaimInterface is a mock of PersistentVolumeClaimInterface interface 987 type MockPersistentVolumeClaimInterface struct { 988 ctrl *gomock.Controller 989 recorder *MockPersistentVolumeClaimInterfaceMockRecorder 990 } 991 992 // MockPersistentVolumeClaimInterfaceMockRecorder is the mock recorder for MockPersistentVolumeClaimInterface 993 type MockPersistentVolumeClaimInterfaceMockRecorder struct { 994 mock *MockPersistentVolumeClaimInterface 995 } 996 997 // NewMockPersistentVolumeClaimInterface creates a new mock instance 998 func NewMockPersistentVolumeClaimInterface(ctrl *gomock.Controller) *MockPersistentVolumeClaimInterface { 999 mock := &MockPersistentVolumeClaimInterface{ctrl: ctrl} 1000 mock.recorder = &MockPersistentVolumeClaimInterfaceMockRecorder{mock} 1001 return mock 1002 } 1003 1004 // EXPECT returns an object that allows the caller to indicate expected use 1005 func (m *MockPersistentVolumeClaimInterface) EXPECT() *MockPersistentVolumeClaimInterfaceMockRecorder { 1006 return m.recorder 1007 } 1008 1009 // Create mocks base method 1010 func (m *MockPersistentVolumeClaimInterface) Create(arg0 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) { 1011 ret := m.ctrl.Call(m, "Create", arg0) 1012 ret0, _ := ret[0].(*v1.PersistentVolumeClaim) 1013 ret1, _ := ret[1].(error) 1014 return ret0, ret1 1015 } 1016 1017 // Create indicates an expected call of Create 1018 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { 1019 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).Create), arg0) 1020 } 1021 1022 // Delete mocks base method 1023 func (m *MockPersistentVolumeClaimInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error { 1024 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 1025 ret0, _ := ret[0].(error) 1026 return ret0 1027 } 1028 1029 // Delete indicates an expected call of Delete 1030 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 1031 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).Delete), arg0, arg1) 1032 } 1033 1034 // DeleteCollection mocks base method 1035 func (m *MockPersistentVolumeClaimInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error { 1036 ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1) 1037 ret0, _ := ret[0].(error) 1038 return ret0 1039 } 1040 1041 // DeleteCollection indicates an expected call of DeleteCollection 1042 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call { 1043 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).DeleteCollection), arg0, arg1) 1044 } 1045 1046 // Get mocks base method 1047 func (m *MockPersistentVolumeClaimInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.PersistentVolumeClaim, error) { 1048 ret := m.ctrl.Call(m, "Get", arg0, arg1) 1049 ret0, _ := ret[0].(*v1.PersistentVolumeClaim) 1050 ret1, _ := ret[1].(error) 1051 return ret0, ret1 1052 } 1053 1054 // Get indicates an expected call of Get 1055 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 1056 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).Get), arg0, arg1) 1057 } 1058 1059 // List mocks base method 1060 func (m *MockPersistentVolumeClaimInterface) List(arg0 v10.ListOptions) (*v1.PersistentVolumeClaimList, error) { 1061 ret := m.ctrl.Call(m, "List", arg0) 1062 ret0, _ := ret[0].(*v1.PersistentVolumeClaimList) 1063 ret1, _ := ret[1].(error) 1064 return ret0, ret1 1065 } 1066 1067 // List indicates an expected call of List 1068 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call { 1069 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).List), arg0) 1070 } 1071 1072 // Patch mocks base method 1073 func (m *MockPersistentVolumeClaimInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.PersistentVolumeClaim, error) { 1074 varargs := []interface{}{arg0, arg1, arg2} 1075 for _, a := range arg3 { 1076 varargs = append(varargs, a) 1077 } 1078 ret := m.ctrl.Call(m, "Patch", varargs...) 1079 ret0, _ := ret[0].(*v1.PersistentVolumeClaim) 1080 ret1, _ := ret[1].(error) 1081 return ret0, ret1 1082 } 1083 1084 // Patch indicates an expected call of Patch 1085 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { 1086 varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) 1087 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).Patch), varargs...) 1088 } 1089 1090 // Update mocks base method 1091 func (m *MockPersistentVolumeClaimInterface) Update(arg0 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) { 1092 ret := m.ctrl.Call(m, "Update", arg0) 1093 ret0, _ := ret[0].(*v1.PersistentVolumeClaim) 1094 ret1, _ := ret[1].(error) 1095 return ret0, ret1 1096 } 1097 1098 // Update indicates an expected call of Update 1099 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call { 1100 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).Update), arg0) 1101 } 1102 1103 // UpdateStatus mocks base method 1104 func (m *MockPersistentVolumeClaimInterface) UpdateStatus(arg0 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) { 1105 ret := m.ctrl.Call(m, "UpdateStatus", arg0) 1106 ret0, _ := ret[0].(*v1.PersistentVolumeClaim) 1107 ret1, _ := ret[1].(error) 1108 return ret0, ret1 1109 } 1110 1111 // UpdateStatus indicates an expected call of UpdateStatus 1112 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call { 1113 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).UpdateStatus), arg0) 1114 } 1115 1116 // Watch mocks base method 1117 func (m *MockPersistentVolumeClaimInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) { 1118 ret := m.ctrl.Call(m, "Watch", arg0) 1119 ret0, _ := ret[0].(watch.Interface) 1120 ret1, _ := ret[1].(error) 1121 return ret0, ret1 1122 } 1123 1124 // Watch indicates an expected call of Watch 1125 func (mr *MockPersistentVolumeClaimInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call { 1126 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockPersistentVolumeClaimInterface)(nil).Watch), arg0) 1127 } 1128 1129 // MockSecretInterface is a mock of SecretInterface interface 1130 type MockSecretInterface struct { 1131 ctrl *gomock.Controller 1132 recorder *MockSecretInterfaceMockRecorder 1133 } 1134 1135 // MockSecretInterfaceMockRecorder is the mock recorder for MockSecretInterface 1136 type MockSecretInterfaceMockRecorder struct { 1137 mock *MockSecretInterface 1138 } 1139 1140 // NewMockSecretInterface creates a new mock instance 1141 func NewMockSecretInterface(ctrl *gomock.Controller) *MockSecretInterface { 1142 mock := &MockSecretInterface{ctrl: ctrl} 1143 mock.recorder = &MockSecretInterfaceMockRecorder{mock} 1144 return mock 1145 } 1146 1147 // EXPECT returns an object that allows the caller to indicate expected use 1148 func (m *MockSecretInterface) EXPECT() *MockSecretInterfaceMockRecorder { 1149 return m.recorder 1150 } 1151 1152 // Create mocks base method 1153 func (m *MockSecretInterface) Create(arg0 *v1.Secret) (*v1.Secret, error) { 1154 ret := m.ctrl.Call(m, "Create", arg0) 1155 ret0, _ := ret[0].(*v1.Secret) 1156 ret1, _ := ret[1].(error) 1157 return ret0, ret1 1158 } 1159 1160 // Create indicates an expected call of Create 1161 func (mr *MockSecretInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { 1162 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockSecretInterface)(nil).Create), arg0) 1163 } 1164 1165 // Delete mocks base method 1166 func (m *MockSecretInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error { 1167 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 1168 ret0, _ := ret[0].(error) 1169 return ret0 1170 } 1171 1172 // Delete indicates an expected call of Delete 1173 func (mr *MockSecretInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 1174 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockSecretInterface)(nil).Delete), arg0, arg1) 1175 } 1176 1177 // DeleteCollection mocks base method 1178 func (m *MockSecretInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error { 1179 ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1) 1180 ret0, _ := ret[0].(error) 1181 return ret0 1182 } 1183 1184 // DeleteCollection indicates an expected call of DeleteCollection 1185 func (mr *MockSecretInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call { 1186 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockSecretInterface)(nil).DeleteCollection), arg0, arg1) 1187 } 1188 1189 // Get mocks base method 1190 func (m *MockSecretInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Secret, error) { 1191 ret := m.ctrl.Call(m, "Get", arg0, arg1) 1192 ret0, _ := ret[0].(*v1.Secret) 1193 ret1, _ := ret[1].(error) 1194 return ret0, ret1 1195 } 1196 1197 // Get indicates an expected call of Get 1198 func (mr *MockSecretInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 1199 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockSecretInterface)(nil).Get), arg0, arg1) 1200 } 1201 1202 // List mocks base method 1203 func (m *MockSecretInterface) List(arg0 v10.ListOptions) (*v1.SecretList, error) { 1204 ret := m.ctrl.Call(m, "List", arg0) 1205 ret0, _ := ret[0].(*v1.SecretList) 1206 ret1, _ := ret[1].(error) 1207 return ret0, ret1 1208 } 1209 1210 // List indicates an expected call of List 1211 func (mr *MockSecretInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call { 1212 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockSecretInterface)(nil).List), arg0) 1213 } 1214 1215 // Patch mocks base method 1216 func (m *MockSecretInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Secret, error) { 1217 varargs := []interface{}{arg0, arg1, arg2} 1218 for _, a := range arg3 { 1219 varargs = append(varargs, a) 1220 } 1221 ret := m.ctrl.Call(m, "Patch", varargs...) 1222 ret0, _ := ret[0].(*v1.Secret) 1223 ret1, _ := ret[1].(error) 1224 return ret0, ret1 1225 } 1226 1227 // Patch indicates an expected call of Patch 1228 func (mr *MockSecretInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { 1229 varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) 1230 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockSecretInterface)(nil).Patch), varargs...) 1231 } 1232 1233 // Update mocks base method 1234 func (m *MockSecretInterface) Update(arg0 *v1.Secret) (*v1.Secret, error) { 1235 ret := m.ctrl.Call(m, "Update", arg0) 1236 ret0, _ := ret[0].(*v1.Secret) 1237 ret1, _ := ret[1].(error) 1238 return ret0, ret1 1239 } 1240 1241 // Update indicates an expected call of Update 1242 func (mr *MockSecretInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call { 1243 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockSecretInterface)(nil).Update), arg0) 1244 } 1245 1246 // Watch mocks base method 1247 func (m *MockSecretInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) { 1248 ret := m.ctrl.Call(m, "Watch", arg0) 1249 ret0, _ := ret[0].(watch.Interface) 1250 ret1, _ := ret[1].(error) 1251 return ret0, ret1 1252 } 1253 1254 // Watch indicates an expected call of Watch 1255 func (mr *MockSecretInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call { 1256 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockSecretInterface)(nil).Watch), arg0) 1257 } 1258 1259 // MockNodeInterface is a mock of NodeInterface interface 1260 type MockNodeInterface struct { 1261 ctrl *gomock.Controller 1262 recorder *MockNodeInterfaceMockRecorder 1263 } 1264 1265 // MockNodeInterfaceMockRecorder is the mock recorder for MockNodeInterface 1266 type MockNodeInterfaceMockRecorder struct { 1267 mock *MockNodeInterface 1268 } 1269 1270 // NewMockNodeInterface creates a new mock instance 1271 func NewMockNodeInterface(ctrl *gomock.Controller) *MockNodeInterface { 1272 mock := &MockNodeInterface{ctrl: ctrl} 1273 mock.recorder = &MockNodeInterfaceMockRecorder{mock} 1274 return mock 1275 } 1276 1277 // EXPECT returns an object that allows the caller to indicate expected use 1278 func (m *MockNodeInterface) EXPECT() *MockNodeInterfaceMockRecorder { 1279 return m.recorder 1280 } 1281 1282 // Create mocks base method 1283 func (m *MockNodeInterface) Create(arg0 *v1.Node) (*v1.Node, error) { 1284 ret := m.ctrl.Call(m, "Create", arg0) 1285 ret0, _ := ret[0].(*v1.Node) 1286 ret1, _ := ret[1].(error) 1287 return ret0, ret1 1288 } 1289 1290 // Create indicates an expected call of Create 1291 func (mr *MockNodeInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { 1292 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockNodeInterface)(nil).Create), arg0) 1293 } 1294 1295 // Delete mocks base method 1296 func (m *MockNodeInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error { 1297 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 1298 ret0, _ := ret[0].(error) 1299 return ret0 1300 } 1301 1302 // Delete indicates an expected call of Delete 1303 func (mr *MockNodeInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 1304 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockNodeInterface)(nil).Delete), arg0, arg1) 1305 } 1306 1307 // DeleteCollection mocks base method 1308 func (m *MockNodeInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error { 1309 ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1) 1310 ret0, _ := ret[0].(error) 1311 return ret0 1312 } 1313 1314 // DeleteCollection indicates an expected call of DeleteCollection 1315 func (mr *MockNodeInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call { 1316 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockNodeInterface)(nil).DeleteCollection), arg0, arg1) 1317 } 1318 1319 // Get mocks base method 1320 func (m *MockNodeInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Node, error) { 1321 ret := m.ctrl.Call(m, "Get", arg0, arg1) 1322 ret0, _ := ret[0].(*v1.Node) 1323 ret1, _ := ret[1].(error) 1324 return ret0, ret1 1325 } 1326 1327 // Get indicates an expected call of Get 1328 func (mr *MockNodeInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 1329 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockNodeInterface)(nil).Get), arg0, arg1) 1330 } 1331 1332 // List mocks base method 1333 func (m *MockNodeInterface) List(arg0 v10.ListOptions) (*v1.NodeList, error) { 1334 ret := m.ctrl.Call(m, "List", arg0) 1335 ret0, _ := ret[0].(*v1.NodeList) 1336 ret1, _ := ret[1].(error) 1337 return ret0, ret1 1338 } 1339 1340 // List indicates an expected call of List 1341 func (mr *MockNodeInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call { 1342 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockNodeInterface)(nil).List), arg0) 1343 } 1344 1345 // Patch mocks base method 1346 func (m *MockNodeInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Node, error) { 1347 varargs := []interface{}{arg0, arg1, arg2} 1348 for _, a := range arg3 { 1349 varargs = append(varargs, a) 1350 } 1351 ret := m.ctrl.Call(m, "Patch", varargs...) 1352 ret0, _ := ret[0].(*v1.Node) 1353 ret1, _ := ret[1].(error) 1354 return ret0, ret1 1355 } 1356 1357 // Patch indicates an expected call of Patch 1358 func (mr *MockNodeInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { 1359 varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) 1360 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockNodeInterface)(nil).Patch), varargs...) 1361 } 1362 1363 // PatchStatus mocks base method 1364 func (m *MockNodeInterface) PatchStatus(arg0 string, arg1 []byte) (*v1.Node, error) { 1365 ret := m.ctrl.Call(m, "PatchStatus", arg0, arg1) 1366 ret0, _ := ret[0].(*v1.Node) 1367 ret1, _ := ret[1].(error) 1368 return ret0, ret1 1369 } 1370 1371 // PatchStatus indicates an expected call of PatchStatus 1372 func (mr *MockNodeInterfaceMockRecorder) PatchStatus(arg0, arg1 interface{}) *gomock.Call { 1373 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchStatus", reflect.TypeOf((*MockNodeInterface)(nil).PatchStatus), arg0, arg1) 1374 } 1375 1376 // Update mocks base method 1377 func (m *MockNodeInterface) Update(arg0 *v1.Node) (*v1.Node, error) { 1378 ret := m.ctrl.Call(m, "Update", arg0) 1379 ret0, _ := ret[0].(*v1.Node) 1380 ret1, _ := ret[1].(error) 1381 return ret0, ret1 1382 } 1383 1384 // Update indicates an expected call of Update 1385 func (mr *MockNodeInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call { 1386 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockNodeInterface)(nil).Update), arg0) 1387 } 1388 1389 // UpdateStatus mocks base method 1390 func (m *MockNodeInterface) UpdateStatus(arg0 *v1.Node) (*v1.Node, error) { 1391 ret := m.ctrl.Call(m, "UpdateStatus", arg0) 1392 ret0, _ := ret[0].(*v1.Node) 1393 ret1, _ := ret[1].(error) 1394 return ret0, ret1 1395 } 1396 1397 // UpdateStatus indicates an expected call of UpdateStatus 1398 func (mr *MockNodeInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call { 1399 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockNodeInterface)(nil).UpdateStatus), arg0) 1400 } 1401 1402 // Watch mocks base method 1403 func (m *MockNodeInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) { 1404 ret := m.ctrl.Call(m, "Watch", arg0) 1405 ret0, _ := ret[0].(watch.Interface) 1406 ret1, _ := ret[1].(error) 1407 return ret0, ret1 1408 } 1409 1410 // Watch indicates an expected call of Watch 1411 func (mr *MockNodeInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call { 1412 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockNodeInterface)(nil).Watch), arg0) 1413 }