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() v1alpha4.Tags
- func (m *MockAvailabilitySetScope) Authorizer() autorest.Authorizer
- func (m *MockAvailabilitySetScope) AvailabilitySet() (string, bool)
- func (m *MockAvailabilitySetScope) AvailabilitySetEnabled() bool
- func (m *MockAvailabilitySetScope) BaseURI() string
- func (m *MockAvailabilitySetScope) ClientID() string
- func (m *MockAvailabilitySetScope) ClientSecret() string
- func (m *MockAvailabilitySetScope) CloudEnvironment() string
- func (m *MockAvailabilitySetScope) CloudProviderConfigOverrides() *v1alpha4.CloudProviderConfigOverrides
- func (m *MockAvailabilitySetScope) ClusterName() string
- func (m *MockAvailabilitySetScope) EXPECT() *MockAvailabilitySetScopeMockRecorder
- func (m *MockAvailabilitySetScope) Enabled() bool
- func (m *MockAvailabilitySetScope) Error(err error, msg string, keysAndValues ...interface{})
- func (m *MockAvailabilitySetScope) HashKey() string
- func (m *MockAvailabilitySetScope) Info(msg string, keysAndValues ...interface{})
- func (m *MockAvailabilitySetScope) Location() string
- func (m *MockAvailabilitySetScope) ResourceGroup() string
- func (m *MockAvailabilitySetScope) SubscriptionID() string
- func (m *MockAvailabilitySetScope) TenantID() string
- func (m *MockAvailabilitySetScope) V(level int) logr.Logger
- func (m *MockAvailabilitySetScope) WithName(name string) logr.Logger
- func (m *MockAvailabilitySetScope) WithValues(keysAndValues ...interface{}) logr.Logger
- type MockAvailabilitySetScopeMockRecorder
- func (mr *MockAvailabilitySetScopeMockRecorder) AdditionalTags() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) AvailabilitySet() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) AvailabilitySetEnabled() *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) Enabled() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) Location() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) V(level interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) WithName(name interface{}) *gomock.Call
- func (mr *MockAvailabilitySetScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
- type MockClient
- func (m *MockClient) CreateOrUpdate(ctx context.Context, resourceGroup, availabilitySetsName string, ...) (compute.AvailabilitySet, error)
- func (m *MockClient) Delete(ctx context.Context, resourceGroup, availabilitySetsName string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ctx context.Context, resourceGroup, availabilitySetsName string) (compute.AvailabilitySet, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateOrUpdate(ctx, resourceGroup, availabilitySetsName, params interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Delete(ctx, resourceGroup, availabilitySetsName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(ctx, resourceGroup, availabilitySetsName 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() v1alpha4.Tags
AdditionalTags mocks base method.
func (*MockAvailabilitySetScope) Authorizer ¶
func (m *MockAvailabilitySetScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockAvailabilitySetScope) AvailabilitySet ¶
func (m *MockAvailabilitySetScope) AvailabilitySet() (string, bool)
AvailabilitySet mocks base method.
func (*MockAvailabilitySetScope) AvailabilitySetEnabled ¶
func (m *MockAvailabilitySetScope) AvailabilitySetEnabled() bool
AvailabilitySetEnabled 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() *v1alpha4.CloudProviderConfigOverrides
CloudProviderConfigOverrides mocks base method.
func (*MockAvailabilitySetScope) ClusterName ¶
func (m *MockAvailabilitySetScope) ClusterName() string
ClusterName 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) Enabled ¶
func (m *MockAvailabilitySetScope) Enabled() bool
Enabled mocks base method.
func (*MockAvailabilitySetScope) Error ¶
func (m *MockAvailabilitySetScope) Error(err error, msg string, keysAndValues ...interface{})
Error mocks base method.
func (*MockAvailabilitySetScope) HashKey ¶
func (m *MockAvailabilitySetScope) HashKey() string
HashKey mocks base method.
func (*MockAvailabilitySetScope) Info ¶
func (m *MockAvailabilitySetScope) Info(msg string, keysAndValues ...interface{})
Info 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) SubscriptionID ¶
func (m *MockAvailabilitySetScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockAvailabilitySetScope) TenantID ¶
func (m *MockAvailabilitySetScope) TenantID() string
TenantID mocks base method.
func (*MockAvailabilitySetScope) V ¶
func (m *MockAvailabilitySetScope) V(level int) logr.Logger
V mocks base method.
func (*MockAvailabilitySetScope) WithName ¶
func (m *MockAvailabilitySetScope) WithName(name string) logr.Logger
WithName mocks base method.
func (*MockAvailabilitySetScope) WithValues ¶
func (m *MockAvailabilitySetScope) WithValues(keysAndValues ...interface{}) logr.Logger
WithValues 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) AvailabilitySet ¶
func (mr *MockAvailabilitySetScopeMockRecorder) AvailabilitySet() *gomock.Call
AvailabilitySet indicates an expected call of AvailabilitySet.
func (*MockAvailabilitySetScopeMockRecorder) AvailabilitySetEnabled ¶
func (mr *MockAvailabilitySetScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.
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) Enabled ¶
func (mr *MockAvailabilitySetScopeMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockAvailabilitySetScopeMockRecorder) Error ¶
func (mr *MockAvailabilitySetScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockAvailabilitySetScopeMockRecorder) HashKey ¶
func (mr *MockAvailabilitySetScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockAvailabilitySetScopeMockRecorder) Info ¶
func (mr *MockAvailabilitySetScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Info indicates an expected call of Info.
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) 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) V ¶
func (mr *MockAvailabilitySetScopeMockRecorder) V(level interface{}) *gomock.Call
V indicates an expected call of V.
func (*MockAvailabilitySetScopeMockRecorder) WithName ¶
func (mr *MockAvailabilitySetScopeMockRecorder) WithName(name interface{}) *gomock.Call
WithName indicates an expected call of WithName.
func (*MockAvailabilitySetScopeMockRecorder) WithValues ¶
func (mr *MockAvailabilitySetScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
WithValues indicates an expected call of WithValues.
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(ctx context.Context, resourceGroup, availabilitySetsName string, params compute.AvailabilitySet) (compute.AvailabilitySet, error)
CreateOrUpdate mocks base method.
func (*MockClient) Delete ¶
func (m *MockClient) Delete(ctx context.Context, resourceGroup, availabilitySetsName 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(ctx context.Context, resourceGroup, availabilitySetsName string) (compute.AvailabilitySet, error)
Get 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(ctx, resourceGroup, availabilitySetsName, params interface{}) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockClientMockRecorder) Delete ¶
func (mr *MockClientMockRecorder) Delete(ctx, resourceGroup, availabilitySetsName interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, resourceGroup, availabilitySetsName interface{}) *gomock.Call
Get indicates an expected call of Get.