mock_managedclusters

package
v1.12.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: ../client.go

Generated by this command:

mockgen -destination client_mock.go -package mock_managedclusters -source ../client.go CredentialGetter

Package mock_managedclusters is a generated GoMock package.

Run go generate to regenerate this mock.

Code generated by MockGen. DO NOT EDIT. Source: ../managedclusters.go

Generated by this command:

mockgen -destination managedclusters_mock.go -package mock_managedclusters -source ../managedclusters.go ManagedClusterScope

Package mock_managedclusters is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCredentialGetter added in v1.4.0

type MockCredentialGetter struct {
	// contains filtered or unexported fields
}

MockCredentialGetter is a mock of CredentialGetter interface.

func NewMockCredentialGetter added in v1.4.0

func NewMockCredentialGetter(ctrl *gomock.Controller) *MockCredentialGetter

NewMockCredentialGetter creates a new mock instance.

func (*MockCredentialGetter) EXPECT added in v1.4.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCredentialGetter) GetCredentials added in v1.4.0

func (m *MockCredentialGetter) GetCredentials(arg0 context.Context, arg1, arg2 string) ([]byte, error)

GetCredentials mocks base method.

func (*MockCredentialGetter) GetUserCredentials added in v1.12.0

func (m *MockCredentialGetter) GetUserCredentials(arg0 context.Context, arg1, arg2 string) ([]byte, error)

GetUserCredentials mocks base method.

type MockCredentialGetterMockRecorder added in v1.4.0

type MockCredentialGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockCredentialGetterMockRecorder is the mock recorder for MockCredentialGetter.

func (*MockCredentialGetterMockRecorder) GetCredentials added in v1.4.0

func (mr *MockCredentialGetterMockRecorder) GetCredentials(arg0, arg1, arg2 any) *gomock.Call

GetCredentials indicates an expected call of GetCredentials.

func (*MockCredentialGetterMockRecorder) GetUserCredentials added in v1.12.0

func (mr *MockCredentialGetterMockRecorder) GetUserCredentials(arg0, arg1, arg2 any) *gomock.Call

GetUserCredentials indicates an expected call of GetUserCredentials.

type MockManagedClusterScope added in v0.5.2

type MockManagedClusterScope struct {
	// contains filtered or unexported fields
}

MockManagedClusterScope is a mock of ManagedClusterScope interface.

func NewMockManagedClusterScope added in v0.5.2

func NewMockManagedClusterScope(ctrl *gomock.Controller) *MockManagedClusterScope

NewMockManagedClusterScope creates a new mock instance.

func (*MockManagedClusterScope) AreLocalAccountsDisabled added in v1.12.0

func (m *MockManagedClusterScope) AreLocalAccountsDisabled() bool

AreLocalAccountsDisabled mocks base method.

func (*MockManagedClusterScope) BaseURI added in v0.5.2

func (m *MockManagedClusterScope) BaseURI() string

BaseURI mocks base method.

func (*MockManagedClusterScope) ClientID added in v0.5.2

func (m *MockManagedClusterScope) ClientID() string

ClientID mocks base method.

func (*MockManagedClusterScope) ClientSecret added in v0.5.2

func (m *MockManagedClusterScope) ClientSecret() string

ClientSecret mocks base method.

func (*MockManagedClusterScope) CloudEnvironment added in v0.5.2

func (m *MockManagedClusterScope) CloudEnvironment() string

CloudEnvironment mocks base method.

func (*MockManagedClusterScope) ClusterName added in v0.5.2

func (m *MockManagedClusterScope) ClusterName() string

ClusterName mocks base method.

func (*MockManagedClusterScope) DeleteLongRunningOperationState added in v1.4.0

func (m *MockManagedClusterScope) DeleteLongRunningOperationState(arg0, arg1, arg2 string)

DeleteLongRunningOperationState mocks base method.

func (*MockManagedClusterScope) EXPECT added in v0.5.2

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManagedClusterScope) GetAdminKubeconfigData added in v1.12.0

func (m *MockManagedClusterScope) GetAdminKubeconfigData() []byte

GetAdminKubeconfigData mocks base method.

func (*MockManagedClusterScope) GetClient added in v1.12.0

func (m *MockManagedClusterScope) GetClient() client.Client

GetClient mocks base method.

func (*MockManagedClusterScope) GetLongRunningOperationState added in v1.4.0

func (m *MockManagedClusterScope) GetLongRunningOperationState(arg0, arg1, arg2 string) *v1beta1.Future

GetLongRunningOperationState mocks base method.

func (*MockManagedClusterScope) GetUserKubeconfigData added in v1.12.0

func (m *MockManagedClusterScope) GetUserKubeconfigData() []byte

GetUserKubeconfigData mocks base method.

func (*MockManagedClusterScope) HashKey added in v0.5.2

func (m *MockManagedClusterScope) HashKey() string

HashKey mocks base method.

func (*MockManagedClusterScope) IsAADEnabled added in v1.12.0

func (m *MockManagedClusterScope) IsAADEnabled() bool

IsAADEnabled mocks base method.

func (*MockManagedClusterScope) MakeClusterCA added in v1.12.0

func (m *MockManagedClusterScope) MakeClusterCA() *v1.Secret

MakeClusterCA mocks base method.

func (*MockManagedClusterScope) MakeEmptyKubeConfigSecret added in v0.5.2

func (m *MockManagedClusterScope) MakeEmptyKubeConfigSecret() v1.Secret

MakeEmptyKubeConfigSecret mocks base method.

func (*MockManagedClusterScope) ManagedClusterSpec added in v0.5.2

ManagedClusterSpec mocks base method.

func (*MockManagedClusterScope) SetAdminKubeconfigData added in v1.12.0

func (m *MockManagedClusterScope) SetAdminKubeconfigData(arg0 []byte)

SetAdminKubeconfigData mocks base method.

func (*MockManagedClusterScope) SetControlPlaneEndpoint added in v0.5.2

func (m *MockManagedClusterScope) SetControlPlaneEndpoint(arg0 v1beta10.APIEndpoint)

SetControlPlaneEndpoint mocks base method.

func (*MockManagedClusterScope) SetLongRunningOperationState added in v1.4.0

func (m *MockManagedClusterScope) SetLongRunningOperationState(arg0 *v1beta1.Future)

SetLongRunningOperationState mocks base method.

func (*MockManagedClusterScope) SetOIDCIssuerProfileStatus added in v1.11.0

func (m *MockManagedClusterScope) SetOIDCIssuerProfileStatus(arg0 *v1beta1.OIDCIssuerProfileStatus)

SetOIDCIssuerProfileStatus mocks base method.

func (*MockManagedClusterScope) SetUserKubeconfigData added in v1.12.0

func (m *MockManagedClusterScope) SetUserKubeconfigData(arg0 []byte)

SetUserKubeconfigData mocks base method.

func (*MockManagedClusterScope) StoreClusterInfo added in v1.12.0

func (m *MockManagedClusterScope) StoreClusterInfo(arg0 context.Context, arg1 []byte) error

StoreClusterInfo mocks base method.

func (*MockManagedClusterScope) SubscriptionID added in v0.5.2

func (m *MockManagedClusterScope) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockManagedClusterScope) TenantID added in v0.5.2

func (m *MockManagedClusterScope) TenantID() string

TenantID mocks base method.

func (*MockManagedClusterScope) Token added in v1.11.0

Token mocks base method.

func (*MockManagedClusterScope) UpdateDeleteStatus added in v1.4.0

func (m *MockManagedClusterScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)

UpdateDeleteStatus mocks base method.

func (*MockManagedClusterScope) UpdatePatchStatus added in v1.4.0

func (m *MockManagedClusterScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)

UpdatePatchStatus mocks base method.

func (*MockManagedClusterScope) UpdatePutStatus added in v1.4.0

func (m *MockManagedClusterScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)

UpdatePutStatus mocks base method.

type MockManagedClusterScopeMockRecorder added in v0.5.2

type MockManagedClusterScopeMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagedClusterScopeMockRecorder is the mock recorder for MockManagedClusterScope.

func (*MockManagedClusterScopeMockRecorder) AreLocalAccountsDisabled added in v1.12.0

func (mr *MockManagedClusterScopeMockRecorder) AreLocalAccountsDisabled() *gomock.Call

AreLocalAccountsDisabled indicates an expected call of AreLocalAccountsDisabled.

func (*MockManagedClusterScopeMockRecorder) BaseURI added in v0.5.2

BaseURI indicates an expected call of BaseURI.

func (*MockManagedClusterScopeMockRecorder) ClientID added in v0.5.2

ClientID indicates an expected call of ClientID.

func (*MockManagedClusterScopeMockRecorder) ClientSecret added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) ClientSecret() *gomock.Call

ClientSecret indicates an expected call of ClientSecret.

func (*MockManagedClusterScopeMockRecorder) CloudEnvironment added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) CloudEnvironment() *gomock.Call

CloudEnvironment indicates an expected call of CloudEnvironment.

func (*MockManagedClusterScopeMockRecorder) ClusterName added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) ClusterName() *gomock.Call

ClusterName indicates an expected call of ClusterName.

func (*MockManagedClusterScopeMockRecorder) DeleteLongRunningOperationState added in v1.4.0

func (mr *MockManagedClusterScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call

DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.

func (*MockManagedClusterScopeMockRecorder) GetAdminKubeconfigData added in v1.12.0

func (mr *MockManagedClusterScopeMockRecorder) GetAdminKubeconfigData() *gomock.Call

GetAdminKubeconfigData indicates an expected call of GetAdminKubeconfigData.

func (*MockManagedClusterScopeMockRecorder) GetClient added in v1.12.0

GetClient indicates an expected call of GetClient.

func (*MockManagedClusterScopeMockRecorder) GetLongRunningOperationState added in v1.4.0

func (mr *MockManagedClusterScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call

GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.

func (*MockManagedClusterScopeMockRecorder) GetUserKubeconfigData added in v1.12.0

func (mr *MockManagedClusterScopeMockRecorder) GetUserKubeconfigData() *gomock.Call

GetUserKubeconfigData indicates an expected call of GetUserKubeconfigData.

func (*MockManagedClusterScopeMockRecorder) HashKey added in v0.5.2

HashKey indicates an expected call of HashKey.

func (*MockManagedClusterScopeMockRecorder) IsAADEnabled added in v1.12.0

func (mr *MockManagedClusterScopeMockRecorder) IsAADEnabled() *gomock.Call

IsAADEnabled indicates an expected call of IsAADEnabled.

func (*MockManagedClusterScopeMockRecorder) MakeClusterCA added in v1.12.0

func (mr *MockManagedClusterScopeMockRecorder) MakeClusterCA() *gomock.Call

MakeClusterCA indicates an expected call of MakeClusterCA.

func (*MockManagedClusterScopeMockRecorder) MakeEmptyKubeConfigSecret added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) MakeEmptyKubeConfigSecret() *gomock.Call

MakeEmptyKubeConfigSecret indicates an expected call of MakeEmptyKubeConfigSecret.

func (*MockManagedClusterScopeMockRecorder) ManagedClusterSpec added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) ManagedClusterSpec() *gomock.Call

ManagedClusterSpec indicates an expected call of ManagedClusterSpec.

func (*MockManagedClusterScopeMockRecorder) SetAdminKubeconfigData added in v1.12.0

func (mr *MockManagedClusterScopeMockRecorder) SetAdminKubeconfigData(arg0 any) *gomock.Call

SetAdminKubeconfigData indicates an expected call of SetAdminKubeconfigData.

func (*MockManagedClusterScopeMockRecorder) SetControlPlaneEndpoint added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) SetControlPlaneEndpoint(arg0 any) *gomock.Call

SetControlPlaneEndpoint indicates an expected call of SetControlPlaneEndpoint.

func (*MockManagedClusterScopeMockRecorder) SetLongRunningOperationState added in v1.4.0

func (mr *MockManagedClusterScopeMockRecorder) SetLongRunningOperationState(arg0 any) *gomock.Call

SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.

func (*MockManagedClusterScopeMockRecorder) SetOIDCIssuerProfileStatus added in v1.11.0

func (mr *MockManagedClusterScopeMockRecorder) SetOIDCIssuerProfileStatus(arg0 any) *gomock.Call

SetOIDCIssuerProfileStatus indicates an expected call of SetOIDCIssuerProfileStatus.

func (*MockManagedClusterScopeMockRecorder) SetUserKubeconfigData added in v1.12.0

func (mr *MockManagedClusterScopeMockRecorder) SetUserKubeconfigData(arg0 any) *gomock.Call

SetUserKubeconfigData indicates an expected call of SetUserKubeconfigData.

func (*MockManagedClusterScopeMockRecorder) StoreClusterInfo added in v1.12.0

func (mr *MockManagedClusterScopeMockRecorder) StoreClusterInfo(arg0, arg1 any) *gomock.Call

StoreClusterInfo indicates an expected call of StoreClusterInfo.

func (*MockManagedClusterScopeMockRecorder) SubscriptionID added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) SubscriptionID() *gomock.Call

SubscriptionID indicates an expected call of SubscriptionID.

func (*MockManagedClusterScopeMockRecorder) TenantID added in v0.5.2

TenantID indicates an expected call of TenantID.

func (*MockManagedClusterScopeMockRecorder) Token added in v1.11.0

Token indicates an expected call of Token.

func (*MockManagedClusterScopeMockRecorder) UpdateDeleteStatus added in v1.4.0

func (mr *MockManagedClusterScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 any) *gomock.Call

UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.

func (*MockManagedClusterScopeMockRecorder) UpdatePatchStatus added in v1.4.0

func (mr *MockManagedClusterScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 any) *gomock.Call

UpdatePatchStatus indicates an expected call of UpdatePatchStatus.

func (*MockManagedClusterScopeMockRecorder) UpdatePutStatus added in v1.4.0

func (mr *MockManagedClusterScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 any) *gomock.Call

UpdatePutStatus indicates an expected call of UpdatePutStatus.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL