github.com/crossplane/upjet@v1.3.0/pkg/migration/fake/mocks/mock.go (about) 1 // SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io> 2 // 3 // SPDX-License-Identifier: Apache-2.0 4 5 // Code generated by MockGen. DO NOT EDIT. 6 // Source: github.com/crossplane/crossplane-runtime/pkg/resource (interfaces: Managed) 7 8 // Package mocks is a generated GoMock package. 9 package mocks 10 11 import ( 12 reflect "reflect" 13 14 v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" 15 gomock "github.com/golang/mock/gomock" 16 v10 "k8s.io/apimachinery/pkg/apis/meta/v1" 17 runtime "k8s.io/apimachinery/pkg/runtime" 18 schema "k8s.io/apimachinery/pkg/runtime/schema" 19 types "k8s.io/apimachinery/pkg/types" 20 ) 21 22 // MockManaged is a mock of Managed interface. 23 type MockManaged struct { 24 ctrl *gomock.Controller 25 recorder *MockManagedMockRecorder 26 } 27 28 // MockManagedMockRecorder is the mock recorder for MockManaged. 29 type MockManagedMockRecorder struct { 30 mock *MockManaged 31 } 32 33 // NewMockManaged creates a new mock instance. 34 func NewMockManaged(ctrl *gomock.Controller) *MockManaged { 35 mock := &MockManaged{ctrl: ctrl} 36 mock.recorder = &MockManagedMockRecorder{mock} 37 return mock 38 } 39 40 // EXPECT returns an object that allows the caller to indicate expected use. 41 func (m *MockManaged) EXPECT() *MockManagedMockRecorder { 42 return m.recorder 43 } 44 45 // DeepCopyObject mocks base method. 46 func (m *MockManaged) DeepCopyObject() runtime.Object { 47 m.ctrl.T.Helper() 48 ret := m.ctrl.Call(m, "DeepCopyObject") 49 ret0, _ := ret[0].(runtime.Object) 50 return ret0 51 } 52 53 // DeepCopyObject indicates an expected call of DeepCopyObject. 54 func (mr *MockManagedMockRecorder) DeepCopyObject() *gomock.Call { 55 mr.mock.ctrl.T.Helper() 56 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeepCopyObject", reflect.TypeOf((*MockManaged)(nil).DeepCopyObject)) 57 } 58 59 // GetAnnotations mocks base method. 60 func (m *MockManaged) GetAnnotations() map[string]string { 61 m.ctrl.T.Helper() 62 ret := m.ctrl.Call(m, "GetAnnotations") 63 ret0, _ := ret[0].(map[string]string) 64 return ret0 65 } 66 67 // GetAnnotations indicates an expected call of GetAnnotations. 68 func (mr *MockManagedMockRecorder) GetAnnotations() *gomock.Call { 69 mr.mock.ctrl.T.Helper() 70 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAnnotations", reflect.TypeOf((*MockManaged)(nil).GetAnnotations)) 71 } 72 73 // GetCondition mocks base method. 74 func (m *MockManaged) GetCondition(arg0 v1.ConditionType) v1.Condition { 75 m.ctrl.T.Helper() 76 ret := m.ctrl.Call(m, "GetCondition", arg0) 77 ret0, _ := ret[0].(v1.Condition) 78 return ret0 79 } 80 81 // GetCondition indicates an expected call of GetCondition. 82 func (mr *MockManagedMockRecorder) GetCondition(arg0 interface{}) *gomock.Call { 83 mr.mock.ctrl.T.Helper() 84 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCondition", reflect.TypeOf((*MockManaged)(nil).GetCondition), arg0) 85 } 86 87 // GetCreationTimestamp mocks base method. 88 func (m *MockManaged) GetCreationTimestamp() v10.Time { 89 m.ctrl.T.Helper() 90 ret := m.ctrl.Call(m, "GetCreationTimestamp") 91 ret0, _ := ret[0].(v10.Time) 92 return ret0 93 } 94 95 // GetCreationTimestamp indicates an expected call of GetCreationTimestamp. 96 func (mr *MockManagedMockRecorder) GetCreationTimestamp() *gomock.Call { 97 mr.mock.ctrl.T.Helper() 98 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCreationTimestamp", reflect.TypeOf((*MockManaged)(nil).GetCreationTimestamp)) 99 } 100 101 // GetDeletionGracePeriodSeconds mocks base method. 102 func (m *MockManaged) GetDeletionGracePeriodSeconds() *int64 { 103 m.ctrl.T.Helper() 104 ret := m.ctrl.Call(m, "GetDeletionGracePeriodSeconds") 105 ret0, _ := ret[0].(*int64) 106 return ret0 107 } 108 109 // GetDeletionGracePeriodSeconds indicates an expected call of GetDeletionGracePeriodSeconds. 110 func (mr *MockManagedMockRecorder) GetDeletionGracePeriodSeconds() *gomock.Call { 111 mr.mock.ctrl.T.Helper() 112 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeletionGracePeriodSeconds", reflect.TypeOf((*MockManaged)(nil).GetDeletionGracePeriodSeconds)) 113 } 114 115 // GetDeletionPolicy mocks base method. 116 func (m *MockManaged) GetDeletionPolicy() v1.DeletionPolicy { 117 m.ctrl.T.Helper() 118 ret := m.ctrl.Call(m, "GetDeletionPolicy") 119 ret0, _ := ret[0].(v1.DeletionPolicy) 120 return ret0 121 } 122 123 // GetDeletionPolicy indicates an expected call of GetDeletionPolicy. 124 func (mr *MockManagedMockRecorder) GetDeletionPolicy() *gomock.Call { 125 mr.mock.ctrl.T.Helper() 126 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeletionPolicy", reflect.TypeOf((*MockManaged)(nil).GetDeletionPolicy)) 127 } 128 129 // GetDeletionTimestamp mocks base method. 130 func (m *MockManaged) GetDeletionTimestamp() *v10.Time { 131 m.ctrl.T.Helper() 132 ret := m.ctrl.Call(m, "GetDeletionTimestamp") 133 ret0, _ := ret[0].(*v10.Time) 134 return ret0 135 } 136 137 // GetDeletionTimestamp indicates an expected call of GetDeletionTimestamp. 138 func (mr *MockManagedMockRecorder) GetDeletionTimestamp() *gomock.Call { 139 mr.mock.ctrl.T.Helper() 140 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeletionTimestamp", reflect.TypeOf((*MockManaged)(nil).GetDeletionTimestamp)) 141 } 142 143 // GetFinalizers mocks base method. 144 func (m *MockManaged) GetFinalizers() []string { 145 m.ctrl.T.Helper() 146 ret := m.ctrl.Call(m, "GetFinalizers") 147 ret0, _ := ret[0].([]string) 148 return ret0 149 } 150 151 // GetFinalizers indicates an expected call of GetFinalizers. 152 func (mr *MockManagedMockRecorder) GetFinalizers() *gomock.Call { 153 mr.mock.ctrl.T.Helper() 154 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFinalizers", reflect.TypeOf((*MockManaged)(nil).GetFinalizers)) 155 } 156 157 // GetGenerateName mocks base method. 158 func (m *MockManaged) GetGenerateName() string { 159 m.ctrl.T.Helper() 160 ret := m.ctrl.Call(m, "GetGenerateName") 161 ret0, _ := ret[0].(string) 162 return ret0 163 } 164 165 // GetGenerateName indicates an expected call of GetGenerateName. 166 func (mr *MockManagedMockRecorder) GetGenerateName() *gomock.Call { 167 mr.mock.ctrl.T.Helper() 168 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGenerateName", reflect.TypeOf((*MockManaged)(nil).GetGenerateName)) 169 } 170 171 // GetGeneration mocks base method. 172 func (m *MockManaged) GetGeneration() int64 { 173 m.ctrl.T.Helper() 174 ret := m.ctrl.Call(m, "GetGeneration") 175 ret0, _ := ret[0].(int64) 176 return ret0 177 } 178 179 // GetGeneration indicates an expected call of GetGeneration. 180 func (mr *MockManagedMockRecorder) GetGeneration() *gomock.Call { 181 mr.mock.ctrl.T.Helper() 182 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGeneration", reflect.TypeOf((*MockManaged)(nil).GetGeneration)) 183 } 184 185 // GetLabels mocks base method. 186 func (m *MockManaged) GetLabels() map[string]string { 187 m.ctrl.T.Helper() 188 ret := m.ctrl.Call(m, "GetLabels") 189 ret0, _ := ret[0].(map[string]string) 190 return ret0 191 } 192 193 // GetLabels indicates an expected call of GetLabels. 194 func (mr *MockManagedMockRecorder) GetLabels() *gomock.Call { 195 mr.mock.ctrl.T.Helper() 196 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLabels", reflect.TypeOf((*MockManaged)(nil).GetLabels)) 197 } 198 199 // GetManagedFields mocks base method. 200 func (m *MockManaged) GetManagedFields() []v10.ManagedFieldsEntry { 201 m.ctrl.T.Helper() 202 ret := m.ctrl.Call(m, "GetManagedFields") 203 ret0, _ := ret[0].([]v10.ManagedFieldsEntry) 204 return ret0 205 } 206 207 // GetManagedFields indicates an expected call of GetManagedFields. 208 func (mr *MockManagedMockRecorder) GetManagedFields() *gomock.Call { 209 mr.mock.ctrl.T.Helper() 210 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetManagedFields", reflect.TypeOf((*MockManaged)(nil).GetManagedFields)) 211 } 212 213 // GetManagementPolicies mocks base method. 214 func (m *MockManaged) GetManagementPolicies() v1.ManagementPolicies { 215 m.ctrl.T.Helper() 216 ret := m.ctrl.Call(m, "GetManagementPolicies") 217 ret0, _ := ret[0].(v1.ManagementPolicies) 218 return ret0 219 } 220 221 // GetManagementPolicies indicates an expected call of GetManagementPolicies. 222 func (mr *MockManagedMockRecorder) GetManagementPolicies() *gomock.Call { 223 mr.mock.ctrl.T.Helper() 224 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetManagementPolicies", reflect.TypeOf((*MockManaged)(nil).GetManagementPolicies)) 225 } 226 227 // GetName mocks base method. 228 func (m *MockManaged) GetName() string { 229 m.ctrl.T.Helper() 230 ret := m.ctrl.Call(m, "GetName") 231 ret0, _ := ret[0].(string) 232 return ret0 233 } 234 235 // GetName indicates an expected call of GetName. 236 func (mr *MockManagedMockRecorder) GetName() *gomock.Call { 237 mr.mock.ctrl.T.Helper() 238 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetName", reflect.TypeOf((*MockManaged)(nil).GetName)) 239 } 240 241 // GetNamespace mocks base method. 242 func (m *MockManaged) GetNamespace() string { 243 m.ctrl.T.Helper() 244 ret := m.ctrl.Call(m, "GetNamespace") 245 ret0, _ := ret[0].(string) 246 return ret0 247 } 248 249 // GetNamespace indicates an expected call of GetNamespace. 250 func (mr *MockManagedMockRecorder) GetNamespace() *gomock.Call { 251 mr.mock.ctrl.T.Helper() 252 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockManaged)(nil).GetNamespace)) 253 } 254 255 // GetObjectKind mocks base method. 256 func (m *MockManaged) GetObjectKind() schema.ObjectKind { 257 m.ctrl.T.Helper() 258 ret := m.ctrl.Call(m, "GetObjectKind") 259 ret0, _ := ret[0].(schema.ObjectKind) 260 return ret0 261 } 262 263 // GetObjectKind indicates an expected call of GetObjectKind. 264 func (mr *MockManagedMockRecorder) GetObjectKind() *gomock.Call { 265 mr.mock.ctrl.T.Helper() 266 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetObjectKind", reflect.TypeOf((*MockManaged)(nil).GetObjectKind)) 267 } 268 269 // GetOwnerReferences mocks base method. 270 func (m *MockManaged) GetOwnerReferences() []v10.OwnerReference { 271 m.ctrl.T.Helper() 272 ret := m.ctrl.Call(m, "GetOwnerReferences") 273 ret0, _ := ret[0].([]v10.OwnerReference) 274 return ret0 275 } 276 277 // GetOwnerReferences indicates an expected call of GetOwnerReferences. 278 func (mr *MockManagedMockRecorder) GetOwnerReferences() *gomock.Call { 279 mr.mock.ctrl.T.Helper() 280 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOwnerReferences", reflect.TypeOf((*MockManaged)(nil).GetOwnerReferences)) 281 } 282 283 // GetProviderConfigReference mocks base method. 284 func (m *MockManaged) GetProviderConfigReference() *v1.Reference { 285 m.ctrl.T.Helper() 286 ret := m.ctrl.Call(m, "GetProviderConfigReference") 287 ret0, _ := ret[0].(*v1.Reference) 288 return ret0 289 } 290 291 // GetProviderConfigReference indicates an expected call of GetProviderConfigReference. 292 func (mr *MockManagedMockRecorder) GetProviderConfigReference() *gomock.Call { 293 mr.mock.ctrl.T.Helper() 294 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProviderConfigReference", reflect.TypeOf((*MockManaged)(nil).GetProviderConfigReference)) 295 } 296 297 // GetPublishConnectionDetailsTo mocks base method. 298 func (m *MockManaged) GetPublishConnectionDetailsTo() *v1.PublishConnectionDetailsTo { 299 m.ctrl.T.Helper() 300 ret := m.ctrl.Call(m, "GetPublishConnectionDetailsTo") 301 ret0, _ := ret[0].(*v1.PublishConnectionDetailsTo) 302 return ret0 303 } 304 305 // GetPublishConnectionDetailsTo indicates an expected call of GetPublishConnectionDetailsTo. 306 func (mr *MockManagedMockRecorder) GetPublishConnectionDetailsTo() *gomock.Call { 307 mr.mock.ctrl.T.Helper() 308 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPublishConnectionDetailsTo", reflect.TypeOf((*MockManaged)(nil).GetPublishConnectionDetailsTo)) 309 } 310 311 // GetResourceVersion mocks base method. 312 func (m *MockManaged) GetResourceVersion() string { 313 m.ctrl.T.Helper() 314 ret := m.ctrl.Call(m, "GetResourceVersion") 315 ret0, _ := ret[0].(string) 316 return ret0 317 } 318 319 // GetResourceVersion indicates an expected call of GetResourceVersion. 320 func (mr *MockManagedMockRecorder) GetResourceVersion() *gomock.Call { 321 mr.mock.ctrl.T.Helper() 322 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceVersion", reflect.TypeOf((*MockManaged)(nil).GetResourceVersion)) 323 } 324 325 // GetSelfLink mocks base method. 326 func (m *MockManaged) GetSelfLink() string { 327 m.ctrl.T.Helper() 328 ret := m.ctrl.Call(m, "GetSelfLink") 329 ret0, _ := ret[0].(string) 330 return ret0 331 } 332 333 // GetSelfLink indicates an expected call of GetSelfLink. 334 func (mr *MockManagedMockRecorder) GetSelfLink() *gomock.Call { 335 mr.mock.ctrl.T.Helper() 336 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSelfLink", reflect.TypeOf((*MockManaged)(nil).GetSelfLink)) 337 } 338 339 // GetUID mocks base method. 340 func (m *MockManaged) GetUID() types.UID { 341 m.ctrl.T.Helper() 342 ret := m.ctrl.Call(m, "GetUID") 343 ret0, _ := ret[0].(types.UID) 344 return ret0 345 } 346 347 // GetUID indicates an expected call of GetUID. 348 func (mr *MockManagedMockRecorder) GetUID() *gomock.Call { 349 mr.mock.ctrl.T.Helper() 350 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUID", reflect.TypeOf((*MockManaged)(nil).GetUID)) 351 } 352 353 // GetWriteConnectionSecretToReference mocks base method. 354 func (m *MockManaged) GetWriteConnectionSecretToReference() *v1.SecretReference { 355 m.ctrl.T.Helper() 356 ret := m.ctrl.Call(m, "GetWriteConnectionSecretToReference") 357 ret0, _ := ret[0].(*v1.SecretReference) 358 return ret0 359 } 360 361 // GetWriteConnectionSecretToReference indicates an expected call of GetWriteConnectionSecretToReference. 362 func (mr *MockManagedMockRecorder) GetWriteConnectionSecretToReference() *gomock.Call { 363 mr.mock.ctrl.T.Helper() 364 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetWriteConnectionSecretToReference", reflect.TypeOf((*MockManaged)(nil).GetWriteConnectionSecretToReference)) 365 } 366 367 // SetAnnotations mocks base method. 368 func (m *MockManaged) SetAnnotations(arg0 map[string]string) { 369 m.ctrl.T.Helper() 370 m.ctrl.Call(m, "SetAnnotations", arg0) 371 } 372 373 // SetAnnotations indicates an expected call of SetAnnotations. 374 func (mr *MockManagedMockRecorder) SetAnnotations(arg0 interface{}) *gomock.Call { 375 mr.mock.ctrl.T.Helper() 376 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAnnotations", reflect.TypeOf((*MockManaged)(nil).SetAnnotations), arg0) 377 } 378 379 // SetConditions mocks base method. 380 func (m *MockManaged) SetConditions(arg0 ...v1.Condition) { 381 m.ctrl.T.Helper() 382 varargs := []interface{}{} 383 for _, a := range arg0 { 384 varargs = append(varargs, a) 385 } 386 m.ctrl.Call(m, "SetConditions", varargs...) 387 } 388 389 // SetConditions indicates an expected call of SetConditions. 390 func (mr *MockManagedMockRecorder) SetConditions(arg0 ...interface{}) *gomock.Call { 391 mr.mock.ctrl.T.Helper() 392 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetConditions", reflect.TypeOf((*MockManaged)(nil).SetConditions), arg0...) 393 } 394 395 // SetCreationTimestamp mocks base method. 396 func (m *MockManaged) SetCreationTimestamp(arg0 v10.Time) { 397 m.ctrl.T.Helper() 398 m.ctrl.Call(m, "SetCreationTimestamp", arg0) 399 } 400 401 // SetCreationTimestamp indicates an expected call of SetCreationTimestamp. 402 func (mr *MockManagedMockRecorder) SetCreationTimestamp(arg0 interface{}) *gomock.Call { 403 mr.mock.ctrl.T.Helper() 404 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCreationTimestamp", reflect.TypeOf((*MockManaged)(nil).SetCreationTimestamp), arg0) 405 } 406 407 // SetDeletionGracePeriodSeconds mocks base method. 408 func (m *MockManaged) SetDeletionGracePeriodSeconds(arg0 *int64) { 409 m.ctrl.T.Helper() 410 m.ctrl.Call(m, "SetDeletionGracePeriodSeconds", arg0) 411 } 412 413 // SetDeletionGracePeriodSeconds indicates an expected call of SetDeletionGracePeriodSeconds. 414 func (mr *MockManagedMockRecorder) SetDeletionGracePeriodSeconds(arg0 interface{}) *gomock.Call { 415 mr.mock.ctrl.T.Helper() 416 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDeletionGracePeriodSeconds", reflect.TypeOf((*MockManaged)(nil).SetDeletionGracePeriodSeconds), arg0) 417 } 418 419 // SetDeletionPolicy mocks base method. 420 func (m *MockManaged) SetDeletionPolicy(arg0 v1.DeletionPolicy) { 421 m.ctrl.T.Helper() 422 m.ctrl.Call(m, "SetDeletionPolicy", arg0) 423 } 424 425 // SetDeletionPolicy indicates an expected call of SetDeletionPolicy. 426 func (mr *MockManagedMockRecorder) SetDeletionPolicy(arg0 interface{}) *gomock.Call { 427 mr.mock.ctrl.T.Helper() 428 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDeletionPolicy", reflect.TypeOf((*MockManaged)(nil).SetDeletionPolicy), arg0) 429 } 430 431 // SetDeletionTimestamp mocks base method. 432 func (m *MockManaged) SetDeletionTimestamp(arg0 *v10.Time) { 433 m.ctrl.T.Helper() 434 m.ctrl.Call(m, "SetDeletionTimestamp", arg0) 435 } 436 437 // SetDeletionTimestamp indicates an expected call of SetDeletionTimestamp. 438 func (mr *MockManagedMockRecorder) SetDeletionTimestamp(arg0 interface{}) *gomock.Call { 439 mr.mock.ctrl.T.Helper() 440 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDeletionTimestamp", reflect.TypeOf((*MockManaged)(nil).SetDeletionTimestamp), arg0) 441 } 442 443 // SetFinalizers mocks base method. 444 func (m *MockManaged) SetFinalizers(arg0 []string) { 445 m.ctrl.T.Helper() 446 m.ctrl.Call(m, "SetFinalizers", arg0) 447 } 448 449 // SetFinalizers indicates an expected call of SetFinalizers. 450 func (mr *MockManagedMockRecorder) SetFinalizers(arg0 interface{}) *gomock.Call { 451 mr.mock.ctrl.T.Helper() 452 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFinalizers", reflect.TypeOf((*MockManaged)(nil).SetFinalizers), arg0) 453 } 454 455 // SetGenerateName mocks base method. 456 func (m *MockManaged) SetGenerateName(arg0 string) { 457 m.ctrl.T.Helper() 458 m.ctrl.Call(m, "SetGenerateName", arg0) 459 } 460 461 // SetGenerateName indicates an expected call of SetGenerateName. 462 func (mr *MockManagedMockRecorder) SetGenerateName(arg0 interface{}) *gomock.Call { 463 mr.mock.ctrl.T.Helper() 464 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetGenerateName", reflect.TypeOf((*MockManaged)(nil).SetGenerateName), arg0) 465 } 466 467 // SetGeneration mocks base method. 468 func (m *MockManaged) SetGeneration(arg0 int64) { 469 m.ctrl.T.Helper() 470 m.ctrl.Call(m, "SetGeneration", arg0) 471 } 472 473 // SetGeneration indicates an expected call of SetGeneration. 474 func (mr *MockManagedMockRecorder) SetGeneration(arg0 interface{}) *gomock.Call { 475 mr.mock.ctrl.T.Helper() 476 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetGeneration", reflect.TypeOf((*MockManaged)(nil).SetGeneration), arg0) 477 } 478 479 // SetLabels mocks base method. 480 func (m *MockManaged) SetLabels(arg0 map[string]string) { 481 m.ctrl.T.Helper() 482 m.ctrl.Call(m, "SetLabels", arg0) 483 } 484 485 // SetLabels indicates an expected call of SetLabels. 486 func (mr *MockManagedMockRecorder) SetLabels(arg0 interface{}) *gomock.Call { 487 mr.mock.ctrl.T.Helper() 488 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLabels", reflect.TypeOf((*MockManaged)(nil).SetLabels), arg0) 489 } 490 491 // SetManagedFields mocks base method. 492 func (m *MockManaged) SetManagedFields(arg0 []v10.ManagedFieldsEntry) { 493 m.ctrl.T.Helper() 494 m.ctrl.Call(m, "SetManagedFields", arg0) 495 } 496 497 // SetManagedFields indicates an expected call of SetManagedFields. 498 func (mr *MockManagedMockRecorder) SetManagedFields(arg0 interface{}) *gomock.Call { 499 mr.mock.ctrl.T.Helper() 500 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetManagedFields", reflect.TypeOf((*MockManaged)(nil).SetManagedFields), arg0) 501 } 502 503 // SetManagementPolicies mocks base method. 504 func (m *MockManaged) SetManagementPolicies(arg0 v1.ManagementPolicies) { 505 m.ctrl.T.Helper() 506 m.ctrl.Call(m, "SetManagementPolicies", arg0) 507 } 508 509 // SetManagementPolicies indicates an expected call of SetManagementPolicies. 510 func (mr *MockManagedMockRecorder) SetManagementPolicies(arg0 interface{}) *gomock.Call { 511 mr.mock.ctrl.T.Helper() 512 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetManagementPolicies", reflect.TypeOf((*MockManaged)(nil).SetManagementPolicies), arg0) 513 } 514 515 // SetName mocks base method. 516 func (m *MockManaged) SetName(arg0 string) { 517 m.ctrl.T.Helper() 518 m.ctrl.Call(m, "SetName", arg0) 519 } 520 521 // SetName indicates an expected call of SetName. 522 func (mr *MockManagedMockRecorder) SetName(arg0 interface{}) *gomock.Call { 523 mr.mock.ctrl.T.Helper() 524 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetName", reflect.TypeOf((*MockManaged)(nil).SetName), arg0) 525 } 526 527 // SetNamespace mocks base method. 528 func (m *MockManaged) SetNamespace(arg0 string) { 529 m.ctrl.T.Helper() 530 m.ctrl.Call(m, "SetNamespace", arg0) 531 } 532 533 // SetNamespace indicates an expected call of SetNamespace. 534 func (mr *MockManagedMockRecorder) SetNamespace(arg0 interface{}) *gomock.Call { 535 mr.mock.ctrl.T.Helper() 536 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespace", reflect.TypeOf((*MockManaged)(nil).SetNamespace), arg0) 537 } 538 539 // SetOwnerReferences mocks base method. 540 func (m *MockManaged) SetOwnerReferences(arg0 []v10.OwnerReference) { 541 m.ctrl.T.Helper() 542 m.ctrl.Call(m, "SetOwnerReferences", arg0) 543 } 544 545 // SetOwnerReferences indicates an expected call of SetOwnerReferences. 546 func (mr *MockManagedMockRecorder) SetOwnerReferences(arg0 interface{}) *gomock.Call { 547 mr.mock.ctrl.T.Helper() 548 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetOwnerReferences", reflect.TypeOf((*MockManaged)(nil).SetOwnerReferences), arg0) 549 } 550 551 // SetProviderConfigReference mocks base method. 552 func (m *MockManaged) SetProviderConfigReference(arg0 *v1.Reference) { 553 m.ctrl.T.Helper() 554 m.ctrl.Call(m, "SetProviderConfigReference", arg0) 555 } 556 557 // SetProviderConfigReference indicates an expected call of SetProviderConfigReference. 558 func (mr *MockManagedMockRecorder) SetProviderConfigReference(arg0 interface{}) *gomock.Call { 559 mr.mock.ctrl.T.Helper() 560 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetProviderConfigReference", reflect.TypeOf((*MockManaged)(nil).SetProviderConfigReference), arg0) 561 } 562 563 // SetPublishConnectionDetailsTo mocks base method. 564 func (m *MockManaged) SetPublishConnectionDetailsTo(arg0 *v1.PublishConnectionDetailsTo) { 565 m.ctrl.T.Helper() 566 m.ctrl.Call(m, "SetPublishConnectionDetailsTo", arg0) 567 } 568 569 // SetPublishConnectionDetailsTo indicates an expected call of SetPublishConnectionDetailsTo. 570 func (mr *MockManagedMockRecorder) SetPublishConnectionDetailsTo(arg0 interface{}) *gomock.Call { 571 mr.mock.ctrl.T.Helper() 572 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetPublishConnectionDetailsTo", reflect.TypeOf((*MockManaged)(nil).SetPublishConnectionDetailsTo), arg0) 573 } 574 575 // SetResourceVersion mocks base method. 576 func (m *MockManaged) SetResourceVersion(arg0 string) { 577 m.ctrl.T.Helper() 578 m.ctrl.Call(m, "SetResourceVersion", arg0) 579 } 580 581 // SetResourceVersion indicates an expected call of SetResourceVersion. 582 func (mr *MockManagedMockRecorder) SetResourceVersion(arg0 interface{}) *gomock.Call { 583 mr.mock.ctrl.T.Helper() 584 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetResourceVersion", reflect.TypeOf((*MockManaged)(nil).SetResourceVersion), arg0) 585 } 586 587 // SetSelfLink mocks base method. 588 func (m *MockManaged) SetSelfLink(arg0 string) { 589 m.ctrl.T.Helper() 590 m.ctrl.Call(m, "SetSelfLink", arg0) 591 } 592 593 // SetSelfLink indicates an expected call of SetSelfLink. 594 func (mr *MockManagedMockRecorder) SetSelfLink(arg0 interface{}) *gomock.Call { 595 mr.mock.ctrl.T.Helper() 596 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSelfLink", reflect.TypeOf((*MockManaged)(nil).SetSelfLink), arg0) 597 } 598 599 // SetUID mocks base method. 600 func (m *MockManaged) SetUID(arg0 types.UID) { 601 m.ctrl.T.Helper() 602 m.ctrl.Call(m, "SetUID", arg0) 603 } 604 605 // SetUID indicates an expected call of SetUID. 606 func (mr *MockManagedMockRecorder) SetUID(arg0 interface{}) *gomock.Call { 607 mr.mock.ctrl.T.Helper() 608 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUID", reflect.TypeOf((*MockManaged)(nil).SetUID), arg0) 609 } 610 611 // SetWriteConnectionSecretToReference mocks base method. 612 func (m *MockManaged) SetWriteConnectionSecretToReference(arg0 *v1.SecretReference) { 613 m.ctrl.T.Helper() 614 m.ctrl.Call(m, "SetWriteConnectionSecretToReference", arg0) 615 } 616 617 // SetWriteConnectionSecretToReference indicates an expected call of SetWriteConnectionSecretToReference. 618 func (mr *MockManagedMockRecorder) SetWriteConnectionSecretToReference(arg0 interface{}) *gomock.Call { 619 mr.mock.ctrl.T.Helper() 620 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteConnectionSecretToReference", reflect.TypeOf((*MockManaged)(nil).SetWriteConnectionSecretToReference), arg0) 621 }