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 ¶
- type MockClient
- func (m *MockClient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 containerservice.ManagedCluster, ...) (containerservice.ManagedCluster, error)
- func (m *MockClient) Delete(arg0 context.Context, arg1, arg2 string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(arg0 context.Context, arg1, arg2 string) (containerservice.ManagedCluster, error)
- func (m *MockClient) GetCredentials(arg0 context.Context, arg1, arg2 string) ([]byte, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCredentials(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockManagedClusterScope
- func (m *MockManagedClusterScope) AdditionalTags() v1beta1.Tags
- func (m *MockManagedClusterScope) Authorizer() autorest.Authorizer
- func (m *MockManagedClusterScope) AvailabilitySetEnabled() bool
- func (m *MockManagedClusterScope) BaseURI() string
- func (m *MockManagedClusterScope) ClientID() string
- func (m *MockManagedClusterScope) ClientSecret() string
- func (m *MockManagedClusterScope) CloudEnvironment() string
- func (m *MockManagedClusterScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides
- func (m *MockManagedClusterScope) ClusterName() string
- func (m *MockManagedClusterScope) EXPECT() *MockManagedClusterScopeMockRecorder
- func (m *MockManagedClusterScope) FailureDomains() []string
- func (m *MockManagedClusterScope) GetAllAgentPoolSpecs(ctx context.Context) ([]azure.AgentPoolSpec, error)
- func (m *MockManagedClusterScope) GetKubeConfigData() []byte
- func (m *MockManagedClusterScope) HashKey() string
- func (m *MockManagedClusterScope) Location() string
- func (m *MockManagedClusterScope) MakeEmptyKubeConfigSecret() v1.Secret
- func (m *MockManagedClusterScope) ManagedClusterAnnotations() map[string]string
- func (m *MockManagedClusterScope) ManagedClusterSpec() (azure.ManagedClusterSpec, error)
- func (m *MockManagedClusterScope) ResourceGroup() string
- func (m *MockManagedClusterScope) SetControlPlaneEndpoint(arg0 v1beta10.APIEndpoint)
- func (m *MockManagedClusterScope) SetKubeConfigData(arg0 []byte)
- func (m *MockManagedClusterScope) SubscriptionID() string
- func (m *MockManagedClusterScope) TenantID() string
- type MockManagedClusterScopeMockRecorder
- func (mr *MockManagedClusterScopeMockRecorder) AdditionalTags() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) FailureDomains() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) GetAllAgentPoolSpecs(ctx interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) GetKubeConfigData() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) Location() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) MakeEmptyKubeConfigSecret() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) ManagedClusterAnnotations() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) ManagedClusterSpec() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) SetControlPlaneEndpoint(arg0 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) SetKubeConfigData(arg0 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) TenantID() *gomock.Call
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 ¶
func (m *MockClient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 containerservice.ManagedCluster, arg4 map[string]string) (containerservice.ManagedCluster, error)
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 ¶
func (m *MockClient) Get(arg0 context.Context, arg1, arg2 string) (containerservice.ManagedCluster, error)
Get mocks base method.
func (*MockClient) GetCredentials ¶
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, arg4 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
func (m *MockManagedClusterScope) Authorizer() autorest.Authorizer
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
func (m *MockManagedClusterScope) EXPECT() *MockManagedClusterScopeMockRecorder
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) GetAllAgentPoolSpecs ¶ added in v1.2.0
func (m *MockManagedClusterScope) GetAllAgentPoolSpecs(ctx context.Context) ([]azure.AgentPoolSpec, error)
GetAllAgentPoolSpecs 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) ManagedClusterAnnotations ¶ added in v1.2.0
func (m *MockManagedClusterScope) ManagedClusterAnnotations() map[string]string
ManagedClusterAnnotations 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
func (mr *MockManagedClusterScopeMockRecorder) Authorizer() *gomock.Call
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
func (mr *MockManagedClusterScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockManagedClusterScopeMockRecorder) ClientID ¶ added in v0.5.2
func (mr *MockManagedClusterScopeMockRecorder) ClientID() *gomock.Call
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) GetAllAgentPoolSpecs ¶ added in v1.2.0
func (mr *MockManagedClusterScopeMockRecorder) GetAllAgentPoolSpecs(ctx interface{}) *gomock.Call
GetAllAgentPoolSpecs indicates an expected call of GetAllAgentPoolSpecs.
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
func (mr *MockManagedClusterScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockManagedClusterScopeMockRecorder) Location ¶ added in v0.5.2
func (mr *MockManagedClusterScopeMockRecorder) Location() *gomock.Call
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) ManagedClusterAnnotations ¶ added in v1.2.0
func (mr *MockManagedClusterScopeMockRecorder) ManagedClusterAnnotations() *gomock.Call
ManagedClusterAnnotations indicates an expected call of ManagedClusterAnnotations.
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
func (mr *MockManagedClusterScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.