sigs.k8s.io/cluster-api-provider-azure@v1.14.3/azure/services/managedclusters/mock_managedclusters/managedclusters_mock.go (about) 1 /* 2 Copyright The Kubernetes Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 // Code generated by MockGen. DO NOT EDIT. 18 // Source: ../managedclusters.go 19 // 20 // Generated by this command: 21 // 22 // mockgen -destination managedclusters_mock.go -package mock_managedclusters -source ../managedclusters.go ManagedClusterScope 23 // 24 25 // Package mock_managedclusters is a generated GoMock package. 26 package mock_managedclusters 27 28 import ( 29 context "context" 30 reflect "reflect" 31 time "time" 32 33 azcore "github.com/Azure/azure-sdk-for-go/sdk/azcore" 34 genruntime "github.com/Azure/azure-service-operator/v2/pkg/genruntime" 35 gomock "go.uber.org/mock/gomock" 36 v1 "k8s.io/api/core/v1" 37 v1beta1 "sigs.k8s.io/cluster-api-provider-azure/api/v1beta1" 38 azure "sigs.k8s.io/cluster-api-provider-azure/azure" 39 v1beta10 "sigs.k8s.io/cluster-api/api/v1beta1" 40 client "sigs.k8s.io/controller-runtime/pkg/client" 41 ) 42 43 // MockManagedClusterScope is a mock of ManagedClusterScope interface. 44 type MockManagedClusterScope struct { 45 ctrl *gomock.Controller 46 recorder *MockManagedClusterScopeMockRecorder 47 } 48 49 // MockManagedClusterScopeMockRecorder is the mock recorder for MockManagedClusterScope. 50 type MockManagedClusterScopeMockRecorder struct { 51 mock *MockManagedClusterScope 52 } 53 54 // NewMockManagedClusterScope creates a new mock instance. 55 func NewMockManagedClusterScope(ctrl *gomock.Controller) *MockManagedClusterScope { 56 mock := &MockManagedClusterScope{ctrl: ctrl} 57 mock.recorder = &MockManagedClusterScopeMockRecorder{mock} 58 return mock 59 } 60 61 // EXPECT returns an object that allows the caller to indicate expected use. 62 func (m *MockManagedClusterScope) EXPECT() *MockManagedClusterScopeMockRecorder { 63 return m.recorder 64 } 65 66 // ASOOwner mocks base method. 67 func (m *MockManagedClusterScope) ASOOwner() client.Object { 68 m.ctrl.T.Helper() 69 ret := m.ctrl.Call(m, "ASOOwner") 70 ret0, _ := ret[0].(client.Object) 71 return ret0 72 } 73 74 // ASOOwner indicates an expected call of ASOOwner. 75 func (mr *MockManagedClusterScopeMockRecorder) ASOOwner() *gomock.Call { 76 mr.mock.ctrl.T.Helper() 77 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ASOOwner", reflect.TypeOf((*MockManagedClusterScope)(nil).ASOOwner)) 78 } 79 80 // AreLocalAccountsDisabled mocks base method. 81 func (m *MockManagedClusterScope) AreLocalAccountsDisabled() bool { 82 m.ctrl.T.Helper() 83 ret := m.ctrl.Call(m, "AreLocalAccountsDisabled") 84 ret0, _ := ret[0].(bool) 85 return ret0 86 } 87 88 // AreLocalAccountsDisabled indicates an expected call of AreLocalAccountsDisabled. 89 func (mr *MockManagedClusterScopeMockRecorder) AreLocalAccountsDisabled() *gomock.Call { 90 mr.mock.ctrl.T.Helper() 91 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AreLocalAccountsDisabled", reflect.TypeOf((*MockManagedClusterScope)(nil).AreLocalAccountsDisabled)) 92 } 93 94 // BaseURI mocks base method. 95 func (m *MockManagedClusterScope) BaseURI() string { 96 m.ctrl.T.Helper() 97 ret := m.ctrl.Call(m, "BaseURI") 98 ret0, _ := ret[0].(string) 99 return ret0 100 } 101 102 // BaseURI indicates an expected call of BaseURI. 103 func (mr *MockManagedClusterScopeMockRecorder) BaseURI() *gomock.Call { 104 mr.mock.ctrl.T.Helper() 105 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BaseURI", reflect.TypeOf((*MockManagedClusterScope)(nil).BaseURI)) 106 } 107 108 // ClientID mocks base method. 109 func (m *MockManagedClusterScope) ClientID() string { 110 m.ctrl.T.Helper() 111 ret := m.ctrl.Call(m, "ClientID") 112 ret0, _ := ret[0].(string) 113 return ret0 114 } 115 116 // ClientID indicates an expected call of ClientID. 117 func (mr *MockManagedClusterScopeMockRecorder) ClientID() *gomock.Call { 118 mr.mock.ctrl.T.Helper() 119 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientID", reflect.TypeOf((*MockManagedClusterScope)(nil).ClientID)) 120 } 121 122 // ClientSecret mocks base method. 123 func (m *MockManagedClusterScope) ClientSecret() string { 124 m.ctrl.T.Helper() 125 ret := m.ctrl.Call(m, "ClientSecret") 126 ret0, _ := ret[0].(string) 127 return ret0 128 } 129 130 // ClientSecret indicates an expected call of ClientSecret. 131 func (mr *MockManagedClusterScopeMockRecorder) ClientSecret() *gomock.Call { 132 mr.mock.ctrl.T.Helper() 133 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientSecret", reflect.TypeOf((*MockManagedClusterScope)(nil).ClientSecret)) 134 } 135 136 // CloudEnvironment mocks base method. 137 func (m *MockManagedClusterScope) CloudEnvironment() string { 138 m.ctrl.T.Helper() 139 ret := m.ctrl.Call(m, "CloudEnvironment") 140 ret0, _ := ret[0].(string) 141 return ret0 142 } 143 144 // CloudEnvironment indicates an expected call of CloudEnvironment. 145 func (mr *MockManagedClusterScopeMockRecorder) CloudEnvironment() *gomock.Call { 146 mr.mock.ctrl.T.Helper() 147 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloudEnvironment", reflect.TypeOf((*MockManagedClusterScope)(nil).CloudEnvironment)) 148 } 149 150 // ClusterName mocks base method. 151 func (m *MockManagedClusterScope) ClusterName() string { 152 m.ctrl.T.Helper() 153 ret := m.ctrl.Call(m, "ClusterName") 154 ret0, _ := ret[0].(string) 155 return ret0 156 } 157 158 // ClusterName indicates an expected call of ClusterName. 159 func (mr *MockManagedClusterScopeMockRecorder) ClusterName() *gomock.Call { 160 mr.mock.ctrl.T.Helper() 161 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterName", reflect.TypeOf((*MockManagedClusterScope)(nil).ClusterName)) 162 } 163 164 // DefaultedAzureCallTimeout mocks base method. 165 func (m *MockManagedClusterScope) DefaultedAzureCallTimeout() time.Duration { 166 m.ctrl.T.Helper() 167 ret := m.ctrl.Call(m, "DefaultedAzureCallTimeout") 168 ret0, _ := ret[0].(time.Duration) 169 return ret0 170 } 171 172 // DefaultedAzureCallTimeout indicates an expected call of DefaultedAzureCallTimeout. 173 func (mr *MockManagedClusterScopeMockRecorder) DefaultedAzureCallTimeout() *gomock.Call { 174 mr.mock.ctrl.T.Helper() 175 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultedAzureCallTimeout", reflect.TypeOf((*MockManagedClusterScope)(nil).DefaultedAzureCallTimeout)) 176 } 177 178 // DefaultedAzureServiceReconcileTimeout mocks base method. 179 func (m *MockManagedClusterScope) DefaultedAzureServiceReconcileTimeout() time.Duration { 180 m.ctrl.T.Helper() 181 ret := m.ctrl.Call(m, "DefaultedAzureServiceReconcileTimeout") 182 ret0, _ := ret[0].(time.Duration) 183 return ret0 184 } 185 186 // DefaultedAzureServiceReconcileTimeout indicates an expected call of DefaultedAzureServiceReconcileTimeout. 187 func (mr *MockManagedClusterScopeMockRecorder) DefaultedAzureServiceReconcileTimeout() *gomock.Call { 188 mr.mock.ctrl.T.Helper() 189 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultedAzureServiceReconcileTimeout", reflect.TypeOf((*MockManagedClusterScope)(nil).DefaultedAzureServiceReconcileTimeout)) 190 } 191 192 // DefaultedReconcilerRequeue mocks base method. 193 func (m *MockManagedClusterScope) DefaultedReconcilerRequeue() time.Duration { 194 m.ctrl.T.Helper() 195 ret := m.ctrl.Call(m, "DefaultedReconcilerRequeue") 196 ret0, _ := ret[0].(time.Duration) 197 return ret0 198 } 199 200 // DefaultedReconcilerRequeue indicates an expected call of DefaultedReconcilerRequeue. 201 func (mr *MockManagedClusterScopeMockRecorder) DefaultedReconcilerRequeue() *gomock.Call { 202 mr.mock.ctrl.T.Helper() 203 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultedReconcilerRequeue", reflect.TypeOf((*MockManagedClusterScope)(nil).DefaultedReconcilerRequeue)) 204 } 205 206 // DeleteLongRunningOperationState mocks base method. 207 func (m *MockManagedClusterScope) DeleteLongRunningOperationState(arg0, arg1, arg2 string) { 208 m.ctrl.T.Helper() 209 m.ctrl.Call(m, "DeleteLongRunningOperationState", arg0, arg1, arg2) 210 } 211 212 // DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState. 213 func (mr *MockManagedClusterScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call { 214 mr.mock.ctrl.T.Helper() 215 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLongRunningOperationState", reflect.TypeOf((*MockManagedClusterScope)(nil).DeleteLongRunningOperationState), arg0, arg1, arg2) 216 } 217 218 // GetAdminKubeconfigData mocks base method. 219 func (m *MockManagedClusterScope) GetAdminKubeconfigData() []byte { 220 m.ctrl.T.Helper() 221 ret := m.ctrl.Call(m, "GetAdminKubeconfigData") 222 ret0, _ := ret[0].([]byte) 223 return ret0 224 } 225 226 // GetAdminKubeconfigData indicates an expected call of GetAdminKubeconfigData. 227 func (mr *MockManagedClusterScopeMockRecorder) GetAdminKubeconfigData() *gomock.Call { 228 mr.mock.ctrl.T.Helper() 229 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAdminKubeconfigData", reflect.TypeOf((*MockManagedClusterScope)(nil).GetAdminKubeconfigData)) 230 } 231 232 // GetClient mocks base method. 233 func (m *MockManagedClusterScope) GetClient() client.Client { 234 m.ctrl.T.Helper() 235 ret := m.ctrl.Call(m, "GetClient") 236 ret0, _ := ret[0].(client.Client) 237 return ret0 238 } 239 240 // GetClient indicates an expected call of GetClient. 241 func (mr *MockManagedClusterScopeMockRecorder) GetClient() *gomock.Call { 242 mr.mock.ctrl.T.Helper() 243 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClient", reflect.TypeOf((*MockManagedClusterScope)(nil).GetClient)) 244 } 245 246 // GetLongRunningOperationState mocks base method. 247 func (m *MockManagedClusterScope) GetLongRunningOperationState(arg0, arg1, arg2 string) *v1beta1.Future { 248 m.ctrl.T.Helper() 249 ret := m.ctrl.Call(m, "GetLongRunningOperationState", arg0, arg1, arg2) 250 ret0, _ := ret[0].(*v1beta1.Future) 251 return ret0 252 } 253 254 // GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState. 255 func (mr *MockManagedClusterScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call { 256 mr.mock.ctrl.T.Helper() 257 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLongRunningOperationState", reflect.TypeOf((*MockManagedClusterScope)(nil).GetLongRunningOperationState), arg0, arg1, arg2) 258 } 259 260 // GetUserKubeconfigData mocks base method. 261 func (m *MockManagedClusterScope) GetUserKubeconfigData() []byte { 262 m.ctrl.T.Helper() 263 ret := m.ctrl.Call(m, "GetUserKubeconfigData") 264 ret0, _ := ret[0].([]byte) 265 return ret0 266 } 267 268 // GetUserKubeconfigData indicates an expected call of GetUserKubeconfigData. 269 func (mr *MockManagedClusterScopeMockRecorder) GetUserKubeconfigData() *gomock.Call { 270 mr.mock.ctrl.T.Helper() 271 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserKubeconfigData", reflect.TypeOf((*MockManagedClusterScope)(nil).GetUserKubeconfigData)) 272 } 273 274 // HashKey mocks base method. 275 func (m *MockManagedClusterScope) HashKey() string { 276 m.ctrl.T.Helper() 277 ret := m.ctrl.Call(m, "HashKey") 278 ret0, _ := ret[0].(string) 279 return ret0 280 } 281 282 // HashKey indicates an expected call of HashKey. 283 func (mr *MockManagedClusterScopeMockRecorder) HashKey() *gomock.Call { 284 mr.mock.ctrl.T.Helper() 285 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HashKey", reflect.TypeOf((*MockManagedClusterScope)(nil).HashKey)) 286 } 287 288 // IsAADEnabled mocks base method. 289 func (m *MockManagedClusterScope) IsAADEnabled() bool { 290 m.ctrl.T.Helper() 291 ret := m.ctrl.Call(m, "IsAADEnabled") 292 ret0, _ := ret[0].(bool) 293 return ret0 294 } 295 296 // IsAADEnabled indicates an expected call of IsAADEnabled. 297 func (mr *MockManagedClusterScopeMockRecorder) IsAADEnabled() *gomock.Call { 298 mr.mock.ctrl.T.Helper() 299 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsAADEnabled", reflect.TypeOf((*MockManagedClusterScope)(nil).IsAADEnabled)) 300 } 301 302 // IsManagedVersionUpgrade mocks base method. 303 func (m *MockManagedClusterScope) IsManagedVersionUpgrade() bool { 304 m.ctrl.T.Helper() 305 ret := m.ctrl.Call(m, "IsManagedVersionUpgrade") 306 ret0, _ := ret[0].(bool) 307 return ret0 308 } 309 310 // IsManagedVersionUpgrade indicates an expected call of IsManagedVersionUpgrade. 311 func (mr *MockManagedClusterScopeMockRecorder) IsManagedVersionUpgrade() *gomock.Call { 312 mr.mock.ctrl.T.Helper() 313 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsManagedVersionUpgrade", reflect.TypeOf((*MockManagedClusterScope)(nil).IsManagedVersionUpgrade)) 314 } 315 316 // IsPreviewEnabled mocks base method. 317 func (m *MockManagedClusterScope) IsPreviewEnabled() bool { 318 m.ctrl.T.Helper() 319 ret := m.ctrl.Call(m, "IsPreviewEnabled") 320 ret0, _ := ret[0].(bool) 321 return ret0 322 } 323 324 // IsPreviewEnabled indicates an expected call of IsPreviewEnabled. 325 func (mr *MockManagedClusterScopeMockRecorder) IsPreviewEnabled() *gomock.Call { 326 mr.mock.ctrl.T.Helper() 327 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsPreviewEnabled", reflect.TypeOf((*MockManagedClusterScope)(nil).IsPreviewEnabled)) 328 } 329 330 // MakeClusterCA mocks base method. 331 func (m *MockManagedClusterScope) MakeClusterCA() *v1.Secret { 332 m.ctrl.T.Helper() 333 ret := m.ctrl.Call(m, "MakeClusterCA") 334 ret0, _ := ret[0].(*v1.Secret) 335 return ret0 336 } 337 338 // MakeClusterCA indicates an expected call of MakeClusterCA. 339 func (mr *MockManagedClusterScopeMockRecorder) MakeClusterCA() *gomock.Call { 340 mr.mock.ctrl.T.Helper() 341 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeClusterCA", reflect.TypeOf((*MockManagedClusterScope)(nil).MakeClusterCA)) 342 } 343 344 // MakeEmptyKubeConfigSecret mocks base method. 345 func (m *MockManagedClusterScope) MakeEmptyKubeConfigSecret() v1.Secret { 346 m.ctrl.T.Helper() 347 ret := m.ctrl.Call(m, "MakeEmptyKubeConfigSecret") 348 ret0, _ := ret[0].(v1.Secret) 349 return ret0 350 } 351 352 // MakeEmptyKubeConfigSecret indicates an expected call of MakeEmptyKubeConfigSecret. 353 func (mr *MockManagedClusterScopeMockRecorder) MakeEmptyKubeConfigSecret() *gomock.Call { 354 mr.mock.ctrl.T.Helper() 355 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeEmptyKubeConfigSecret", reflect.TypeOf((*MockManagedClusterScope)(nil).MakeEmptyKubeConfigSecret)) 356 } 357 358 // ManagedClusterSpec mocks base method. 359 func (m *MockManagedClusterScope) ManagedClusterSpec() azure.ASOResourceSpecGetter[genruntime.MetaObject] { 360 m.ctrl.T.Helper() 361 ret := m.ctrl.Call(m, "ManagedClusterSpec") 362 ret0, _ := ret[0].(azure.ASOResourceSpecGetter[genruntime.MetaObject]) 363 return ret0 364 } 365 366 // ManagedClusterSpec indicates an expected call of ManagedClusterSpec. 367 func (mr *MockManagedClusterScopeMockRecorder) ManagedClusterSpec() *gomock.Call { 368 mr.mock.ctrl.T.Helper() 369 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ManagedClusterSpec", reflect.TypeOf((*MockManagedClusterScope)(nil).ManagedClusterSpec)) 370 } 371 372 // SetAdminKubeconfigData mocks base method. 373 func (m *MockManagedClusterScope) SetAdminKubeconfigData(arg0 []byte) { 374 m.ctrl.T.Helper() 375 m.ctrl.Call(m, "SetAdminKubeconfigData", arg0) 376 } 377 378 // SetAdminKubeconfigData indicates an expected call of SetAdminKubeconfigData. 379 func (mr *MockManagedClusterScopeMockRecorder) SetAdminKubeconfigData(arg0 any) *gomock.Call { 380 mr.mock.ctrl.T.Helper() 381 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAdminKubeconfigData", reflect.TypeOf((*MockManagedClusterScope)(nil).SetAdminKubeconfigData), arg0) 382 } 383 384 // SetAutoUpgradeVersionStatus mocks base method. 385 func (m *MockManagedClusterScope) SetAutoUpgradeVersionStatus(version string) { 386 m.ctrl.T.Helper() 387 m.ctrl.Call(m, "SetAutoUpgradeVersionStatus", version) 388 } 389 390 // SetAutoUpgradeVersionStatus indicates an expected call of SetAutoUpgradeVersionStatus. 391 func (mr *MockManagedClusterScopeMockRecorder) SetAutoUpgradeVersionStatus(version any) *gomock.Call { 392 mr.mock.ctrl.T.Helper() 393 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAutoUpgradeVersionStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).SetAutoUpgradeVersionStatus), version) 394 } 395 396 // SetControlPlaneEndpoint mocks base method. 397 func (m *MockManagedClusterScope) SetControlPlaneEndpoint(arg0 v1beta10.APIEndpoint) { 398 m.ctrl.T.Helper() 399 m.ctrl.Call(m, "SetControlPlaneEndpoint", arg0) 400 } 401 402 // SetControlPlaneEndpoint indicates an expected call of SetControlPlaneEndpoint. 403 func (mr *MockManagedClusterScopeMockRecorder) SetControlPlaneEndpoint(arg0 any) *gomock.Call { 404 mr.mock.ctrl.T.Helper() 405 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetControlPlaneEndpoint", reflect.TypeOf((*MockManagedClusterScope)(nil).SetControlPlaneEndpoint), arg0) 406 } 407 408 // SetLongRunningOperationState mocks base method. 409 func (m *MockManagedClusterScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { 410 m.ctrl.T.Helper() 411 m.ctrl.Call(m, "SetLongRunningOperationState", arg0) 412 } 413 414 // SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState. 415 func (mr *MockManagedClusterScopeMockRecorder) SetLongRunningOperationState(arg0 any) *gomock.Call { 416 mr.mock.ctrl.T.Helper() 417 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLongRunningOperationState", reflect.TypeOf((*MockManagedClusterScope)(nil).SetLongRunningOperationState), arg0) 418 } 419 420 // SetOIDCIssuerProfileStatus mocks base method. 421 func (m *MockManagedClusterScope) SetOIDCIssuerProfileStatus(arg0 *v1beta1.OIDCIssuerProfileStatus) { 422 m.ctrl.T.Helper() 423 m.ctrl.Call(m, "SetOIDCIssuerProfileStatus", arg0) 424 } 425 426 // SetOIDCIssuerProfileStatus indicates an expected call of SetOIDCIssuerProfileStatus. 427 func (mr *MockManagedClusterScopeMockRecorder) SetOIDCIssuerProfileStatus(arg0 any) *gomock.Call { 428 mr.mock.ctrl.T.Helper() 429 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetOIDCIssuerProfileStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).SetOIDCIssuerProfileStatus), arg0) 430 } 431 432 // SetUserKubeconfigData mocks base method. 433 func (m *MockManagedClusterScope) SetUserKubeconfigData(arg0 []byte) { 434 m.ctrl.T.Helper() 435 m.ctrl.Call(m, "SetUserKubeconfigData", arg0) 436 } 437 438 // SetUserKubeconfigData indicates an expected call of SetUserKubeconfigData. 439 func (mr *MockManagedClusterScopeMockRecorder) SetUserKubeconfigData(arg0 any) *gomock.Call { 440 mr.mock.ctrl.T.Helper() 441 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserKubeconfigData", reflect.TypeOf((*MockManagedClusterScope)(nil).SetUserKubeconfigData), arg0) 442 } 443 444 // SetVersionStatus mocks base method. 445 func (m *MockManagedClusterScope) SetVersionStatus(version string) { 446 m.ctrl.T.Helper() 447 m.ctrl.Call(m, "SetVersionStatus", version) 448 } 449 450 // SetVersionStatus indicates an expected call of SetVersionStatus. 451 func (mr *MockManagedClusterScopeMockRecorder) SetVersionStatus(version any) *gomock.Call { 452 mr.mock.ctrl.T.Helper() 453 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVersionStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).SetVersionStatus), version) 454 } 455 456 // StoreClusterInfo mocks base method. 457 func (m *MockManagedClusterScope) StoreClusterInfo(arg0 context.Context, arg1 []byte) error { 458 m.ctrl.T.Helper() 459 ret := m.ctrl.Call(m, "StoreClusterInfo", arg0, arg1) 460 ret0, _ := ret[0].(error) 461 return ret0 462 } 463 464 // StoreClusterInfo indicates an expected call of StoreClusterInfo. 465 func (mr *MockManagedClusterScopeMockRecorder) StoreClusterInfo(arg0, arg1 any) *gomock.Call { 466 mr.mock.ctrl.T.Helper() 467 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreClusterInfo", reflect.TypeOf((*MockManagedClusterScope)(nil).StoreClusterInfo), arg0, arg1) 468 } 469 470 // SubscriptionID mocks base method. 471 func (m *MockManagedClusterScope) SubscriptionID() string { 472 m.ctrl.T.Helper() 473 ret := m.ctrl.Call(m, "SubscriptionID") 474 ret0, _ := ret[0].(string) 475 return ret0 476 } 477 478 // SubscriptionID indicates an expected call of SubscriptionID. 479 func (mr *MockManagedClusterScopeMockRecorder) SubscriptionID() *gomock.Call { 480 mr.mock.ctrl.T.Helper() 481 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubscriptionID", reflect.TypeOf((*MockManagedClusterScope)(nil).SubscriptionID)) 482 } 483 484 // TenantID mocks base method. 485 func (m *MockManagedClusterScope) TenantID() string { 486 m.ctrl.T.Helper() 487 ret := m.ctrl.Call(m, "TenantID") 488 ret0, _ := ret[0].(string) 489 return ret0 490 } 491 492 // TenantID indicates an expected call of TenantID. 493 func (mr *MockManagedClusterScopeMockRecorder) TenantID() *gomock.Call { 494 mr.mock.ctrl.T.Helper() 495 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TenantID", reflect.TypeOf((*MockManagedClusterScope)(nil).TenantID)) 496 } 497 498 // Token mocks base method. 499 func (m *MockManagedClusterScope) Token() azcore.TokenCredential { 500 m.ctrl.T.Helper() 501 ret := m.ctrl.Call(m, "Token") 502 ret0, _ := ret[0].(azcore.TokenCredential) 503 return ret0 504 } 505 506 // Token indicates an expected call of Token. 507 func (mr *MockManagedClusterScopeMockRecorder) Token() *gomock.Call { 508 mr.mock.ctrl.T.Helper() 509 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Token", reflect.TypeOf((*MockManagedClusterScope)(nil).Token)) 510 } 511 512 // UpdateDeleteStatus mocks base method. 513 func (m *MockManagedClusterScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error) { 514 m.ctrl.T.Helper() 515 m.ctrl.Call(m, "UpdateDeleteStatus", arg0, arg1, arg2) 516 } 517 518 // UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus. 519 func (mr *MockManagedClusterScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 any) *gomock.Call { 520 mr.mock.ctrl.T.Helper() 521 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDeleteStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).UpdateDeleteStatus), arg0, arg1, arg2) 522 } 523 524 // UpdatePatchStatus mocks base method. 525 func (m *MockManagedClusterScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error) { 526 m.ctrl.T.Helper() 527 m.ctrl.Call(m, "UpdatePatchStatus", arg0, arg1, arg2) 528 } 529 530 // UpdatePatchStatus indicates an expected call of UpdatePatchStatus. 531 func (mr *MockManagedClusterScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 any) *gomock.Call { 532 mr.mock.ctrl.T.Helper() 533 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdatePatchStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).UpdatePatchStatus), arg0, arg1, arg2) 534 } 535 536 // UpdatePutStatus mocks base method. 537 func (m *MockManagedClusterScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error) { 538 m.ctrl.T.Helper() 539 m.ctrl.Call(m, "UpdatePutStatus", arg0, arg1, arg2) 540 } 541 542 // UpdatePutStatus indicates an expected call of UpdatePutStatus. 543 func (mr *MockManagedClusterScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 any) *gomock.Call { 544 mr.mock.ctrl.T.Helper() 545 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdatePutStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).UpdatePutStatus), arg0, arg1, arg2) 546 }