sigs.k8s.io/cluster-api-provider-azure@v1.17.0/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  // MakeClusterCA mocks base method.
   317  func (m *MockManagedClusterScope) MakeClusterCA() *v1.Secret {
   318  	m.ctrl.T.Helper()
   319  	ret := m.ctrl.Call(m, "MakeClusterCA")
   320  	ret0, _ := ret[0].(*v1.Secret)
   321  	return ret0
   322  }
   323  
   324  // MakeClusterCA indicates an expected call of MakeClusterCA.
   325  func (mr *MockManagedClusterScopeMockRecorder) MakeClusterCA() *gomock.Call {
   326  	mr.mock.ctrl.T.Helper()
   327  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeClusterCA", reflect.TypeOf((*MockManagedClusterScope)(nil).MakeClusterCA))
   328  }
   329  
   330  // MakeEmptyKubeConfigSecret mocks base method.
   331  func (m *MockManagedClusterScope) MakeEmptyKubeConfigSecret() v1.Secret {
   332  	m.ctrl.T.Helper()
   333  	ret := m.ctrl.Call(m, "MakeEmptyKubeConfigSecret")
   334  	ret0, _ := ret[0].(v1.Secret)
   335  	return ret0
   336  }
   337  
   338  // MakeEmptyKubeConfigSecret indicates an expected call of MakeEmptyKubeConfigSecret.
   339  func (mr *MockManagedClusterScopeMockRecorder) MakeEmptyKubeConfigSecret() *gomock.Call {
   340  	mr.mock.ctrl.T.Helper()
   341  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeEmptyKubeConfigSecret", reflect.TypeOf((*MockManagedClusterScope)(nil).MakeEmptyKubeConfigSecret))
   342  }
   343  
   344  // ManagedClusterSpec mocks base method.
   345  func (m *MockManagedClusterScope) ManagedClusterSpec() azure.ASOResourceSpecGetter[genruntime.MetaObject] {
   346  	m.ctrl.T.Helper()
   347  	ret := m.ctrl.Call(m, "ManagedClusterSpec")
   348  	ret0, _ := ret[0].(azure.ASOResourceSpecGetter[genruntime.MetaObject])
   349  	return ret0
   350  }
   351  
   352  // ManagedClusterSpec indicates an expected call of ManagedClusterSpec.
   353  func (mr *MockManagedClusterScopeMockRecorder) ManagedClusterSpec() *gomock.Call {
   354  	mr.mock.ctrl.T.Helper()
   355  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ManagedClusterSpec", reflect.TypeOf((*MockManagedClusterScope)(nil).ManagedClusterSpec))
   356  }
   357  
   358  // SetAdminKubeconfigData mocks base method.
   359  func (m *MockManagedClusterScope) SetAdminKubeconfigData(arg0 []byte) {
   360  	m.ctrl.T.Helper()
   361  	m.ctrl.Call(m, "SetAdminKubeconfigData", arg0)
   362  }
   363  
   364  // SetAdminKubeconfigData indicates an expected call of SetAdminKubeconfigData.
   365  func (mr *MockManagedClusterScopeMockRecorder) SetAdminKubeconfigData(arg0 any) *gomock.Call {
   366  	mr.mock.ctrl.T.Helper()
   367  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAdminKubeconfigData", reflect.TypeOf((*MockManagedClusterScope)(nil).SetAdminKubeconfigData), arg0)
   368  }
   369  
   370  // SetAutoUpgradeVersionStatus mocks base method.
   371  func (m *MockManagedClusterScope) SetAutoUpgradeVersionStatus(version string) {
   372  	m.ctrl.T.Helper()
   373  	m.ctrl.Call(m, "SetAutoUpgradeVersionStatus", version)
   374  }
   375  
   376  // SetAutoUpgradeVersionStatus indicates an expected call of SetAutoUpgradeVersionStatus.
   377  func (mr *MockManagedClusterScopeMockRecorder) SetAutoUpgradeVersionStatus(version any) *gomock.Call {
   378  	mr.mock.ctrl.T.Helper()
   379  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAutoUpgradeVersionStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).SetAutoUpgradeVersionStatus), version)
   380  }
   381  
   382  // SetControlPlaneEndpoint mocks base method.
   383  func (m *MockManagedClusterScope) SetControlPlaneEndpoint(arg0 v1beta10.APIEndpoint) {
   384  	m.ctrl.T.Helper()
   385  	m.ctrl.Call(m, "SetControlPlaneEndpoint", arg0)
   386  }
   387  
   388  // SetControlPlaneEndpoint indicates an expected call of SetControlPlaneEndpoint.
   389  func (mr *MockManagedClusterScopeMockRecorder) SetControlPlaneEndpoint(arg0 any) *gomock.Call {
   390  	mr.mock.ctrl.T.Helper()
   391  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetControlPlaneEndpoint", reflect.TypeOf((*MockManagedClusterScope)(nil).SetControlPlaneEndpoint), arg0)
   392  }
   393  
   394  // SetLongRunningOperationState mocks base method.
   395  func (m *MockManagedClusterScope) SetLongRunningOperationState(arg0 *v1beta1.Future) {
   396  	m.ctrl.T.Helper()
   397  	m.ctrl.Call(m, "SetLongRunningOperationState", arg0)
   398  }
   399  
   400  // SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.
   401  func (mr *MockManagedClusterScopeMockRecorder) SetLongRunningOperationState(arg0 any) *gomock.Call {
   402  	mr.mock.ctrl.T.Helper()
   403  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLongRunningOperationState", reflect.TypeOf((*MockManagedClusterScope)(nil).SetLongRunningOperationState), arg0)
   404  }
   405  
   406  // SetOIDCIssuerProfileStatus mocks base method.
   407  func (m *MockManagedClusterScope) SetOIDCIssuerProfileStatus(arg0 *v1beta1.OIDCIssuerProfileStatus) {
   408  	m.ctrl.T.Helper()
   409  	m.ctrl.Call(m, "SetOIDCIssuerProfileStatus", arg0)
   410  }
   411  
   412  // SetOIDCIssuerProfileStatus indicates an expected call of SetOIDCIssuerProfileStatus.
   413  func (mr *MockManagedClusterScopeMockRecorder) SetOIDCIssuerProfileStatus(arg0 any) *gomock.Call {
   414  	mr.mock.ctrl.T.Helper()
   415  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetOIDCIssuerProfileStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).SetOIDCIssuerProfileStatus), arg0)
   416  }
   417  
   418  // SetUserKubeconfigData mocks base method.
   419  func (m *MockManagedClusterScope) SetUserKubeconfigData(arg0 []byte) {
   420  	m.ctrl.T.Helper()
   421  	m.ctrl.Call(m, "SetUserKubeconfigData", arg0)
   422  }
   423  
   424  // SetUserKubeconfigData indicates an expected call of SetUserKubeconfigData.
   425  func (mr *MockManagedClusterScopeMockRecorder) SetUserKubeconfigData(arg0 any) *gomock.Call {
   426  	mr.mock.ctrl.T.Helper()
   427  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserKubeconfigData", reflect.TypeOf((*MockManagedClusterScope)(nil).SetUserKubeconfigData), arg0)
   428  }
   429  
   430  // SetVersionStatus mocks base method.
   431  func (m *MockManagedClusterScope) SetVersionStatus(version string) {
   432  	m.ctrl.T.Helper()
   433  	m.ctrl.Call(m, "SetVersionStatus", version)
   434  }
   435  
   436  // SetVersionStatus indicates an expected call of SetVersionStatus.
   437  func (mr *MockManagedClusterScopeMockRecorder) SetVersionStatus(version any) *gomock.Call {
   438  	mr.mock.ctrl.T.Helper()
   439  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVersionStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).SetVersionStatus), version)
   440  }
   441  
   442  // StoreClusterInfo mocks base method.
   443  func (m *MockManagedClusterScope) StoreClusterInfo(arg0 context.Context, arg1 []byte) error {
   444  	m.ctrl.T.Helper()
   445  	ret := m.ctrl.Call(m, "StoreClusterInfo", arg0, arg1)
   446  	ret0, _ := ret[0].(error)
   447  	return ret0
   448  }
   449  
   450  // StoreClusterInfo indicates an expected call of StoreClusterInfo.
   451  func (mr *MockManagedClusterScopeMockRecorder) StoreClusterInfo(arg0, arg1 any) *gomock.Call {
   452  	mr.mock.ctrl.T.Helper()
   453  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreClusterInfo", reflect.TypeOf((*MockManagedClusterScope)(nil).StoreClusterInfo), arg0, arg1)
   454  }
   455  
   456  // SubscriptionID mocks base method.
   457  func (m *MockManagedClusterScope) SubscriptionID() string {
   458  	m.ctrl.T.Helper()
   459  	ret := m.ctrl.Call(m, "SubscriptionID")
   460  	ret0, _ := ret[0].(string)
   461  	return ret0
   462  }
   463  
   464  // SubscriptionID indicates an expected call of SubscriptionID.
   465  func (mr *MockManagedClusterScopeMockRecorder) SubscriptionID() *gomock.Call {
   466  	mr.mock.ctrl.T.Helper()
   467  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubscriptionID", reflect.TypeOf((*MockManagedClusterScope)(nil).SubscriptionID))
   468  }
   469  
   470  // TenantID mocks base method.
   471  func (m *MockManagedClusterScope) TenantID() string {
   472  	m.ctrl.T.Helper()
   473  	ret := m.ctrl.Call(m, "TenantID")
   474  	ret0, _ := ret[0].(string)
   475  	return ret0
   476  }
   477  
   478  // TenantID indicates an expected call of TenantID.
   479  func (mr *MockManagedClusterScopeMockRecorder) TenantID() *gomock.Call {
   480  	mr.mock.ctrl.T.Helper()
   481  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TenantID", reflect.TypeOf((*MockManagedClusterScope)(nil).TenantID))
   482  }
   483  
   484  // Token mocks base method.
   485  func (m *MockManagedClusterScope) Token() azcore.TokenCredential {
   486  	m.ctrl.T.Helper()
   487  	ret := m.ctrl.Call(m, "Token")
   488  	ret0, _ := ret[0].(azcore.TokenCredential)
   489  	return ret0
   490  }
   491  
   492  // Token indicates an expected call of Token.
   493  func (mr *MockManagedClusterScopeMockRecorder) Token() *gomock.Call {
   494  	mr.mock.ctrl.T.Helper()
   495  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Token", reflect.TypeOf((*MockManagedClusterScope)(nil).Token))
   496  }
   497  
   498  // UpdateDeleteStatus mocks base method.
   499  func (m *MockManagedClusterScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error) {
   500  	m.ctrl.T.Helper()
   501  	m.ctrl.Call(m, "UpdateDeleteStatus", arg0, arg1, arg2)
   502  }
   503  
   504  // UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.
   505  func (mr *MockManagedClusterScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 any) *gomock.Call {
   506  	mr.mock.ctrl.T.Helper()
   507  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDeleteStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).UpdateDeleteStatus), arg0, arg1, arg2)
   508  }
   509  
   510  // UpdatePatchStatus mocks base method.
   511  func (m *MockManagedClusterScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error) {
   512  	m.ctrl.T.Helper()
   513  	m.ctrl.Call(m, "UpdatePatchStatus", arg0, arg1, arg2)
   514  }
   515  
   516  // UpdatePatchStatus indicates an expected call of UpdatePatchStatus.
   517  func (mr *MockManagedClusterScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 any) *gomock.Call {
   518  	mr.mock.ctrl.T.Helper()
   519  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdatePatchStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).UpdatePatchStatus), arg0, arg1, arg2)
   520  }
   521  
   522  // UpdatePutStatus mocks base method.
   523  func (m *MockManagedClusterScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error) {
   524  	m.ctrl.T.Helper()
   525  	m.ctrl.Call(m, "UpdatePutStatus", arg0, arg1, arg2)
   526  }
   527  
   528  // UpdatePutStatus indicates an expected call of UpdatePutStatus.
   529  func (mr *MockManagedClusterScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 any) *gomock.Call {
   530  	mr.mock.ctrl.T.Helper()
   531  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdatePutStatus", reflect.TypeOf((*MockManagedClusterScope)(nil).UpdatePutStatus), arg0, arg1, arg2)
   532  }