Documentation ¶
Overview ¶
Package mock_availabilitysets is a generated GoMock package.
Package mock_availabilitysets is a generated GoMock package.
Run go generate to regenerate this mock.
Index ¶
- type MockAvailabilitySetScope
- func (m *MockAvailabilitySetScope) AdditionalTags() v1beta1.Tags
- func (m *MockAvailabilitySetScope) Authorizer() autorest.Authorizer
- func (m *MockAvailabilitySetScope) AvailabilitySetEnabled() bool
- func (m *MockAvailabilitySetScope) AvailabilitySetSpec() azure.ResourceSpecGetter
- func (m *MockAvailabilitySetScope) BaseURI() string
- func (m *MockAvailabilitySetScope) ClientID() string
- func (m *MockAvailabilitySetScope) ClientSecret() string
- func (m *MockAvailabilitySetScope) CloudEnvironment() string
- func (m *MockAvailabilitySetScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides
- func (m *MockAvailabilitySetScope) ClusterName() string
- func (m *MockAvailabilitySetScope) DeleteLongRunningOperationState(arg0, arg1 string)
- func (m *MockAvailabilitySetScope) EXPECT() *MockAvailabilitySetScopeMockRecorder
- func (m *MockAvailabilitySetScope) FailureDomains() []string
- func (m *MockAvailabilitySetScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
- func (m *MockAvailabilitySetScope) HashKey() string
- func (m *MockAvailabilitySetScope) Location() string
- func (m *MockAvailabilitySetScope) ResourceGroup() string
- func (m *MockAvailabilitySetScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
- func (m *MockAvailabilitySetScope) SubscriptionID() string
- func (m *MockAvailabilitySetScope) TenantID() string
- func (m *MockAvailabilitySetScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockAvailabilitySetScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockAvailabilitySetScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- type MockAvailabilitySetScopeMockRecorder
- func (mr *MockAvailabilitySetScopeMockRecorder) AdditionalTags() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) AvailabilitySetSpec() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) FailureDomains() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) Location() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockClient
- func (m *MockClient) CreateOrUpdateAsync(arg0 context.Context, arg1 azure0.ResourceSpecGetter, arg2 interface{}) (interface{}, azure.FutureAPI, error)
- func (m *MockClient) DeleteAsync(arg0 context.Context, arg1 azure0.ResourceSpecGetter) (azure.FutureAPI, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ctx context.Context, spec azure0.ResourceSpecGetter) (interface{}, error)
- func (m *MockClient) IsDone(arg0 context.Context, arg1 azure.FutureAPI) (bool, error)
- func (m *MockClient) Result(arg0 context.Context, arg1 azure.FutureAPI, arg2 string) (interface{}, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateOrUpdateAsync(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAsync(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(ctx, spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsDone(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Result(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAvailabilitySetScope ¶
type MockAvailabilitySetScope struct {
// contains filtered or unexported fields
}
MockAvailabilitySetScope is a mock of AvailabilitySetScope interface.
func NewMockAvailabilitySetScope ¶
func NewMockAvailabilitySetScope(ctrl *gomock.Controller) *MockAvailabilitySetScope
NewMockAvailabilitySetScope creates a new mock instance.
func (*MockAvailabilitySetScope) AdditionalTags ¶
func (m *MockAvailabilitySetScope) AdditionalTags() v1beta1.Tags
AdditionalTags mocks base method.
func (*MockAvailabilitySetScope) Authorizer ¶
func (m *MockAvailabilitySetScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockAvailabilitySetScope) AvailabilitySetEnabled ¶
func (m *MockAvailabilitySetScope) AvailabilitySetEnabled() bool
AvailabilitySetEnabled mocks base method.
func (*MockAvailabilitySetScope) AvailabilitySetSpec ¶ added in v1.1.0
func (m *MockAvailabilitySetScope) AvailabilitySetSpec() azure.ResourceSpecGetter
AvailabilitySetSpec mocks base method.
func (*MockAvailabilitySetScope) BaseURI ¶
func (m *MockAvailabilitySetScope) BaseURI() string
BaseURI mocks base method.
func (*MockAvailabilitySetScope) ClientID ¶
func (m *MockAvailabilitySetScope) ClientID() string
ClientID mocks base method.
func (*MockAvailabilitySetScope) ClientSecret ¶
func (m *MockAvailabilitySetScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockAvailabilitySetScope) CloudEnvironment ¶
func (m *MockAvailabilitySetScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockAvailabilitySetScope) CloudProviderConfigOverrides ¶
func (m *MockAvailabilitySetScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides
CloudProviderConfigOverrides mocks base method.
func (*MockAvailabilitySetScope) ClusterName ¶
func (m *MockAvailabilitySetScope) ClusterName() string
ClusterName mocks base method.
func (*MockAvailabilitySetScope) DeleteLongRunningOperationState ¶ added in v1.1.0
func (m *MockAvailabilitySetScope) DeleteLongRunningOperationState(arg0, arg1 string)
DeleteLongRunningOperationState mocks base method.
func (*MockAvailabilitySetScope) EXPECT ¶
func (m *MockAvailabilitySetScope) EXPECT() *MockAvailabilitySetScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAvailabilitySetScope) FailureDomains ¶ added in v0.5.3
func (m *MockAvailabilitySetScope) FailureDomains() []string
FailureDomains mocks base method.
func (*MockAvailabilitySetScope) GetLongRunningOperationState ¶ added in v1.1.0
func (m *MockAvailabilitySetScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
GetLongRunningOperationState mocks base method.
func (*MockAvailabilitySetScope) HashKey ¶
func (m *MockAvailabilitySetScope) HashKey() string
HashKey mocks base method.
func (*MockAvailabilitySetScope) Location ¶
func (m *MockAvailabilitySetScope) Location() string
Location mocks base method.
func (*MockAvailabilitySetScope) ResourceGroup ¶
func (m *MockAvailabilitySetScope) ResourceGroup() string
ResourceGroup mocks base method.
func (*MockAvailabilitySetScope) SetLongRunningOperationState ¶ added in v1.1.0
func (m *MockAvailabilitySetScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
SetLongRunningOperationState mocks base method.
func (*MockAvailabilitySetScope) SubscriptionID ¶
func (m *MockAvailabilitySetScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockAvailabilitySetScope) TenantID ¶
func (m *MockAvailabilitySetScope) TenantID() string
TenantID mocks base method.
func (*MockAvailabilitySetScope) UpdateDeleteStatus ¶ added in v1.1.0
func (m *MockAvailabilitySetScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdateDeleteStatus mocks base method.
func (*MockAvailabilitySetScope) UpdatePatchStatus ¶ added in v1.1.0
func (m *MockAvailabilitySetScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePatchStatus mocks base method.
func (*MockAvailabilitySetScope) UpdatePutStatus ¶ added in v1.1.0
func (m *MockAvailabilitySetScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePutStatus mocks base method.
type MockAvailabilitySetScopeMockRecorder ¶
type MockAvailabilitySetScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockAvailabilitySetScopeMockRecorder is the mock recorder for MockAvailabilitySetScope.
func (*MockAvailabilitySetScopeMockRecorder) AdditionalTags ¶
func (mr *MockAvailabilitySetScopeMockRecorder) AdditionalTags() *gomock.Call
AdditionalTags indicates an expected call of AdditionalTags.
func (*MockAvailabilitySetScopeMockRecorder) Authorizer ¶
func (mr *MockAvailabilitySetScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockAvailabilitySetScopeMockRecorder) AvailabilitySetEnabled ¶
func (mr *MockAvailabilitySetScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.
func (*MockAvailabilitySetScopeMockRecorder) AvailabilitySetSpec ¶ added in v1.1.0
func (mr *MockAvailabilitySetScopeMockRecorder) AvailabilitySetSpec() *gomock.Call
AvailabilitySetSpec indicates an expected call of AvailabilitySetSpec.
func (*MockAvailabilitySetScopeMockRecorder) BaseURI ¶
func (mr *MockAvailabilitySetScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockAvailabilitySetScopeMockRecorder) ClientID ¶
func (mr *MockAvailabilitySetScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockAvailabilitySetScopeMockRecorder) ClientSecret ¶
func (mr *MockAvailabilitySetScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockAvailabilitySetScopeMockRecorder) CloudEnvironment ¶
func (mr *MockAvailabilitySetScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockAvailabilitySetScopeMockRecorder) CloudProviderConfigOverrides ¶
func (mr *MockAvailabilitySetScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.
func (*MockAvailabilitySetScopeMockRecorder) ClusterName ¶
func (mr *MockAvailabilitySetScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockAvailabilitySetScopeMockRecorder) DeleteLongRunningOperationState ¶ added in v1.1.0
func (mr *MockAvailabilitySetScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.
func (*MockAvailabilitySetScopeMockRecorder) FailureDomains ¶ added in v0.5.3
func (mr *MockAvailabilitySetScopeMockRecorder) FailureDomains() *gomock.Call
FailureDomains indicates an expected call of FailureDomains.
func (*MockAvailabilitySetScopeMockRecorder) GetLongRunningOperationState ¶ added in v1.1.0
func (mr *MockAvailabilitySetScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.
func (*MockAvailabilitySetScopeMockRecorder) HashKey ¶
func (mr *MockAvailabilitySetScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockAvailabilitySetScopeMockRecorder) Location ¶
func (mr *MockAvailabilitySetScopeMockRecorder) Location() *gomock.Call
Location indicates an expected call of Location.
func (*MockAvailabilitySetScopeMockRecorder) ResourceGroup ¶
func (mr *MockAvailabilitySetScopeMockRecorder) ResourceGroup() *gomock.Call
ResourceGroup indicates an expected call of ResourceGroup.
func (*MockAvailabilitySetScopeMockRecorder) SetLongRunningOperationState ¶ added in v1.1.0
func (mr *MockAvailabilitySetScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.
func (*MockAvailabilitySetScopeMockRecorder) SubscriptionID ¶
func (mr *MockAvailabilitySetScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockAvailabilitySetScopeMockRecorder) TenantID ¶
func (mr *MockAvailabilitySetScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockAvailabilitySetScopeMockRecorder) UpdateDeleteStatus ¶ added in v1.1.0
func (mr *MockAvailabilitySetScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.
func (*MockAvailabilitySetScopeMockRecorder) UpdatePatchStatus ¶ added in v1.1.0
func (mr *MockAvailabilitySetScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePatchStatus indicates an expected call of UpdatePatchStatus.
func (*MockAvailabilitySetScopeMockRecorder) UpdatePutStatus ¶ added in v1.1.0
func (mr *MockAvailabilitySetScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePutStatus indicates an expected call of UpdatePutStatus.
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) CreateOrUpdateAsync ¶ added in v1.1.0
func (m *MockClient) CreateOrUpdateAsync(arg0 context.Context, arg1 azure0.ResourceSpecGetter, arg2 interface{}) (interface{}, azure.FutureAPI, error)
CreateOrUpdateAsync mocks base method.
func (*MockClient) DeleteAsync ¶ added in v1.1.0
func (m *MockClient) DeleteAsync(arg0 context.Context, arg1 azure0.ResourceSpecGetter) (azure.FutureAPI, error)
DeleteAsync 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(ctx context.Context, spec azure0.ResourceSpecGetter) (interface{}, error)
Get mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CreateOrUpdateAsync ¶ added in v1.1.0
func (mr *MockClientMockRecorder) CreateOrUpdateAsync(arg0, arg1, arg2 interface{}) *gomock.Call
CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.
func (*MockClientMockRecorder) DeleteAsync ¶ added in v1.1.0
func (mr *MockClientMockRecorder) DeleteAsync(arg0, arg1 interface{}) *gomock.Call
DeleteAsync indicates an expected call of DeleteAsync.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, spec interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockClientMockRecorder) IsDone ¶ added in v1.1.0
func (mr *MockClientMockRecorder) IsDone(arg0, arg1 interface{}) *gomock.Call
IsDone indicates an expected call of IsDone.
func (*MockClientMockRecorder) Result ¶ added in v1.1.0
func (mr *MockClientMockRecorder) Result(arg0, arg1, arg2 interface{}) *gomock.Call
Result indicates an expected call of Result.