mock_managedclusters

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_managedclusters is a generated GoMock package.

Run go generate to regenerate this mock.

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 MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CreateOrUpdate

CreateOrUpdate mocks base method.

func (*MockClient) Delete

func (m *MockClient) Delete(arg0 context.Context, arg1, arg2 string) error

Delete mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Get

Get mocks base method.

func (*MockClient) GetCredentials

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

GetCredentials mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateOrUpdate

func (mr *MockClientMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate.

func (*MockClientMockRecorder) Delete

func (mr *MockClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClientMockRecorder) Get

func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockClientMockRecorder) GetCredentials

func (mr *MockClientMockRecorder) GetCredentials(arg0, arg1, arg2 interface{}) *gomock.Call

GetCredentials indicates an expected call of GetCredentials.

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) AdditionalTags added in v0.5.2

func (m *MockManagedClusterScope) AdditionalTags() v1beta1.Tags

AdditionalTags mocks base method.

func (*MockManagedClusterScope) Authorizer added in v0.5.2

Authorizer mocks base method.

func (*MockManagedClusterScope) AvailabilitySetEnabled added in v0.5.2

func (m *MockManagedClusterScope) AvailabilitySetEnabled() bool

AvailabilitySetEnabled 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) CloudProviderConfigOverrides added in v0.5.2

func (m *MockManagedClusterScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides

CloudProviderConfigOverrides mocks base method.

func (*MockManagedClusterScope) ClusterName added in v0.5.2

func (m *MockManagedClusterScope) ClusterName() string

ClusterName 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) FailureDomains added in v0.5.3

func (m *MockManagedClusterScope) FailureDomains() []string

FailureDomains mocks base method.

func (*MockManagedClusterScope) GetAgentPoolSpecs added in v0.5.3

func (m *MockManagedClusterScope) GetAgentPoolSpecs(ctx context.Context) ([]azure.AgentPoolSpec, error)

GetAgentPoolSpecs mocks base method.

func (*MockManagedClusterScope) GetKubeConfigData added in v0.5.2

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

GetKubeConfigData mocks base method.

func (*MockManagedClusterScope) HashKey added in v0.5.2

func (m *MockManagedClusterScope) HashKey() string

HashKey mocks base method.

func (*MockManagedClusterScope) Location added in v0.5.2

func (m *MockManagedClusterScope) Location() string

Location 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

func (m *MockManagedClusterScope) ManagedClusterSpec() (azure.ManagedClusterSpec, error)

ManagedClusterSpec mocks base method.

func (*MockManagedClusterScope) ResourceGroup added in v0.5.2

func (m *MockManagedClusterScope) ResourceGroup() string

ResourceGroup mocks base method.

func (*MockManagedClusterScope) SetControlPlaneEndpoint added in v0.5.2

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

SetControlPlaneEndpoint mocks base method.

func (*MockManagedClusterScope) SetKubeConfigData added in v0.5.2

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

SetKubeConfigData 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.

type MockManagedClusterScopeMockRecorder added in v0.5.2

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

MockManagedClusterScopeMockRecorder is the mock recorder for MockManagedClusterScope.

func (*MockManagedClusterScopeMockRecorder) AdditionalTags added in v0.5.2

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

AdditionalTags indicates an expected call of AdditionalTags.

func (*MockManagedClusterScopeMockRecorder) Authorizer added in v0.5.2

Authorizer indicates an expected call of Authorizer.

func (*MockManagedClusterScopeMockRecorder) AvailabilitySetEnabled added in v0.5.2

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

AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.

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) CloudProviderConfigOverrides added in v0.5.2

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

CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.

func (*MockManagedClusterScopeMockRecorder) ClusterName added in v0.5.2

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

ClusterName indicates an expected call of ClusterName.

func (*MockManagedClusterScopeMockRecorder) FailureDomains added in v0.5.3

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

FailureDomains indicates an expected call of FailureDomains.

func (*MockManagedClusterScopeMockRecorder) GetAgentPoolSpecs added in v0.5.3

func (mr *MockManagedClusterScopeMockRecorder) GetAgentPoolSpecs(ctx interface{}) *gomock.Call

GetAgentPoolSpecs indicates an expected call of GetAgentPoolSpecs.

func (*MockManagedClusterScopeMockRecorder) GetKubeConfigData added in v0.5.2

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

GetKubeConfigData indicates an expected call of GetKubeConfigData.

func (*MockManagedClusterScopeMockRecorder) HashKey added in v0.5.2

HashKey indicates an expected call of HashKey.

func (*MockManagedClusterScopeMockRecorder) Location added in v0.5.2

Location indicates an expected call of Location.

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) ResourceGroup added in v0.5.2

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

ResourceGroup indicates an expected call of ResourceGroup.

func (*MockManagedClusterScopeMockRecorder) SetControlPlaneEndpoint added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) SetControlPlaneEndpoint(arg0 interface{}) *gomock.Call

SetControlPlaneEndpoint indicates an expected call of SetControlPlaneEndpoint.

func (*MockManagedClusterScopeMockRecorder) SetKubeConfigData added in v0.5.2

func (mr *MockManagedClusterScopeMockRecorder) SetKubeConfigData(arg0 interface{}) *gomock.Call

SetKubeConfigData indicates an expected call of SetKubeConfigData.

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.

Jump to

Keyboard shortcuts

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