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 MockCredentialGetter
- type MockCredentialGetterMockRecorder
- type MockManagedClusterScope
- func (m *MockManagedClusterScope) Authorizer() autorest.Authorizer
- func (m *MockManagedClusterScope) BaseURI() string
- func (m *MockManagedClusterScope) ClientID() string
- func (m *MockManagedClusterScope) ClientSecret() string
- func (m *MockManagedClusterScope) CloudEnvironment() string
- func (m *MockManagedClusterScope) DeleteLongRunningOperationState(arg0, arg1, arg2 string)
- func (m *MockManagedClusterScope) EXPECT() *MockManagedClusterScopeMockRecorder
- func (m *MockManagedClusterScope) GetKubeConfigData() []byte
- func (m *MockManagedClusterScope) GetLongRunningOperationState(arg0, arg1, arg2 string) *v1beta1.Future
- func (m *MockManagedClusterScope) HashKey() string
- func (m *MockManagedClusterScope) MakeEmptyKubeConfigSecret() v1.Secret
- func (m *MockManagedClusterScope) ManagedClusterSpec() azure.ResourceSpecGetter
- func (m *MockManagedClusterScope) SetControlPlaneEndpoint(arg0 v1beta10.APIEndpoint)
- func (m *MockManagedClusterScope) SetKubeConfigData(arg0 []byte)
- func (m *MockManagedClusterScope) SetKubeletIdentity(arg0 string)
- func (m *MockManagedClusterScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
- func (m *MockManagedClusterScope) SubscriptionID() string
- func (m *MockManagedClusterScope) TenantID() string
- func (m *MockManagedClusterScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockManagedClusterScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockManagedClusterScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- type MockManagedClusterScopeMockRecorder
- func (mr *MockManagedClusterScopeMockRecorder) Authorizer() *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) DeleteLongRunningOperationState(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) GetKubeConfigData() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) MakeEmptyKubeConfigSecret() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) ManagedClusterSpec() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) SetControlPlaneEndpoint(arg0 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) SetKubeConfigData(arg0 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) SetKubeletIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagedClusterScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
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
func (m *MockCredentialGetter) EXPECT() *MockCredentialGetterMockRecorder
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.
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 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) Authorizer ¶ added in v0.5.2
func (m *MockManagedClusterScope) Authorizer() autorest.Authorizer
Authorizer 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) 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
func (m *MockManagedClusterScope) EXPECT() *MockManagedClusterScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagedClusterScope) GetKubeConfigData ¶ added in v0.5.2
func (m *MockManagedClusterScope) GetKubeConfigData() []byte
GetKubeConfigData 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) HashKey ¶ added in v0.5.2
func (m *MockManagedClusterScope) HashKey() string
HashKey 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.ResourceSpecGetter
ManagedClusterSpec 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) SetKubeletIdentity ¶ added in v1.10.0
func (m *MockManagedClusterScope) SetKubeletIdentity(arg0 string)
SetKubeletIdentity mocks base method.
func (*MockManagedClusterScope) SetLongRunningOperationState ¶ added in v1.4.0
func (m *MockManagedClusterScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
SetLongRunningOperationState 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) 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) Authorizer ¶ added in v0.5.2
func (mr *MockManagedClusterScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
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) DeleteLongRunningOperationState ¶ added in v1.4.0
func (mr *MockManagedClusterScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.
func (*MockManagedClusterScopeMockRecorder) GetKubeConfigData ¶ added in v0.5.2
func (mr *MockManagedClusterScopeMockRecorder) GetKubeConfigData() *gomock.Call
GetKubeConfigData indicates an expected call of GetKubeConfigData.
func (*MockManagedClusterScopeMockRecorder) GetLongRunningOperationState ¶ added in v1.4.0
func (mr *MockManagedClusterScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 interface{}) *gomock.Call
GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.
func (*MockManagedClusterScopeMockRecorder) HashKey ¶ added in v0.5.2
func (mr *MockManagedClusterScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
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) 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) SetKubeletIdentity ¶ added in v1.10.0
func (mr *MockManagedClusterScopeMockRecorder) SetKubeletIdentity(arg0 interface{}) *gomock.Call
SetKubeletIdentity indicates an expected call of SetKubeletIdentity.
func (*MockManagedClusterScopeMockRecorder) SetLongRunningOperationState ¶ added in v1.4.0
func (mr *MockManagedClusterScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.
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.
func (*MockManagedClusterScopeMockRecorder) UpdateDeleteStatus ¶ added in v1.4.0
func (mr *MockManagedClusterScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.
func (*MockManagedClusterScopeMockRecorder) UpdatePatchStatus ¶ added in v1.4.0
func (mr *MockManagedClusterScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePatchStatus indicates an expected call of UpdatePatchStatus.
func (*MockManagedClusterScopeMockRecorder) UpdatePutStatus ¶ added in v1.4.0
func (mr *MockManagedClusterScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePutStatus indicates an expected call of UpdatePutStatus.