Documentation ¶
Overview ¶
Package mock_virtualnetworks is a generated GoMock package.
Run go generate to regenerate this mock.
Package mock_virtualnetworks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CheckIPAddressAvailability(arg0 context.Context, arg1, arg2, arg3 string) (network.IPAddressAvailabilityResult, error)
- func (m *MockClient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 network.VirtualNetwork) 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) (network.VirtualNetwork, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CheckIPAddressAvailability(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockVNetScope
- func (m *MockVNetScope) AdditionalTags() v1beta1.Tags
- func (m *MockVNetScope) Authorizer() autorest.Authorizer
- func (m *MockVNetScope) AvailabilitySetEnabled() bool
- func (m *MockVNetScope) BaseURI() string
- func (m *MockVNetScope) ClientID() string
- func (m *MockVNetScope) ClientSecret() string
- func (m *MockVNetScope) CloudEnvironment() string
- func (m *MockVNetScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides
- func (m *MockVNetScope) ClusterName() string
- func (m *MockVNetScope) EXPECT() *MockVNetScopeMockRecorder
- func (m *MockVNetScope) FailureDomains() []string
- func (m *MockVNetScope) HashKey() string
- func (m *MockVNetScope) Location() string
- func (m *MockVNetScope) ResourceGroup() string
- func (m *MockVNetScope) SubscriptionID() string
- func (m *MockVNetScope) TenantID() string
- func (m *MockVNetScope) VNetSpec() azure.VNetSpec
- func (m *MockVNetScope) Vnet() *v1beta1.VnetSpec
- type MockVNetScopeMockRecorder
- func (mr *MockVNetScopeMockRecorder) AdditionalTags() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) FailureDomains() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) Location() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) VNetSpec() *gomock.Call
- func (mr *MockVNetScopeMockRecorder) Vnet() *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) CheckIPAddressAvailability ¶
func (m *MockClient) CheckIPAddressAvailability(arg0 context.Context, arg1, arg2, arg3 string) (network.IPAddressAvailabilityResult, error)
CheckIPAddressAvailability mocks base method.
func (*MockClient) CreateOrUpdate ¶
func (m *MockClient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 network.VirtualNetwork) 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) (network.VirtualNetwork, error)
Get mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CheckIPAddressAvailability ¶
func (mr *MockClientMockRecorder) CheckIPAddressAvailability(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CheckIPAddressAvailability indicates an expected call of CheckIPAddressAvailability.
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.
type MockVNetScope ¶
type MockVNetScope struct {
// contains filtered or unexported fields
}
MockVNetScope is a mock of VNetScope interface.
func NewMockVNetScope ¶
func NewMockVNetScope(ctrl *gomock.Controller) *MockVNetScope
NewMockVNetScope creates a new mock instance.
func (*MockVNetScope) AdditionalTags ¶
func (m *MockVNetScope) AdditionalTags() v1beta1.Tags
AdditionalTags mocks base method.
func (*MockVNetScope) Authorizer ¶
func (m *MockVNetScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockVNetScope) AvailabilitySetEnabled ¶
func (m *MockVNetScope) AvailabilitySetEnabled() bool
AvailabilitySetEnabled mocks base method.
func (*MockVNetScope) ClientID ¶
func (m *MockVNetScope) ClientID() string
ClientID mocks base method.
func (*MockVNetScope) ClientSecret ¶
func (m *MockVNetScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockVNetScope) CloudEnvironment ¶
func (m *MockVNetScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockVNetScope) CloudProviderConfigOverrides ¶
func (m *MockVNetScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides
CloudProviderConfigOverrides mocks base method.
func (*MockVNetScope) ClusterName ¶
func (m *MockVNetScope) ClusterName() string
ClusterName mocks base method.
func (*MockVNetScope) EXPECT ¶
func (m *MockVNetScope) EXPECT() *MockVNetScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVNetScope) FailureDomains ¶ added in v0.5.3
func (m *MockVNetScope) FailureDomains() []string
FailureDomains mocks base method.
func (*MockVNetScope) Location ¶
func (m *MockVNetScope) Location() string
Location mocks base method.
func (*MockVNetScope) ResourceGroup ¶
func (m *MockVNetScope) ResourceGroup() string
ResourceGroup mocks base method.
func (*MockVNetScope) SubscriptionID ¶
func (m *MockVNetScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockVNetScope) TenantID ¶
func (m *MockVNetScope) TenantID() string
TenantID mocks base method.
func (*MockVNetScope) VNetSpec ¶
func (m *MockVNetScope) VNetSpec() azure.VNetSpec
VNetSpec mocks base method.
func (*MockVNetScope) Vnet ¶
func (m *MockVNetScope) Vnet() *v1beta1.VnetSpec
Vnet mocks base method.
type MockVNetScopeMockRecorder ¶
type MockVNetScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockVNetScopeMockRecorder is the mock recorder for MockVNetScope.
func (*MockVNetScopeMockRecorder) AdditionalTags ¶
func (mr *MockVNetScopeMockRecorder) AdditionalTags() *gomock.Call
AdditionalTags indicates an expected call of AdditionalTags.
func (*MockVNetScopeMockRecorder) Authorizer ¶
func (mr *MockVNetScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockVNetScopeMockRecorder) AvailabilitySetEnabled ¶
func (mr *MockVNetScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.
func (*MockVNetScopeMockRecorder) BaseURI ¶
func (mr *MockVNetScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockVNetScopeMockRecorder) ClientID ¶
func (mr *MockVNetScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockVNetScopeMockRecorder) ClientSecret ¶
func (mr *MockVNetScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockVNetScopeMockRecorder) CloudEnvironment ¶
func (mr *MockVNetScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockVNetScopeMockRecorder) CloudProviderConfigOverrides ¶
func (mr *MockVNetScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.
func (*MockVNetScopeMockRecorder) ClusterName ¶
func (mr *MockVNetScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockVNetScopeMockRecorder) FailureDomains ¶ added in v0.5.3
func (mr *MockVNetScopeMockRecorder) FailureDomains() *gomock.Call
FailureDomains indicates an expected call of FailureDomains.
func (*MockVNetScopeMockRecorder) HashKey ¶
func (mr *MockVNetScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockVNetScopeMockRecorder) Location ¶
func (mr *MockVNetScopeMockRecorder) Location() *gomock.Call
Location indicates an expected call of Location.
func (*MockVNetScopeMockRecorder) ResourceGroup ¶
func (mr *MockVNetScopeMockRecorder) ResourceGroup() *gomock.Call
ResourceGroup indicates an expected call of ResourceGroup.
func (*MockVNetScopeMockRecorder) SubscriptionID ¶
func (mr *MockVNetScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockVNetScopeMockRecorder) TenantID ¶
func (mr *MockVNetScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockVNetScopeMockRecorder) VNetSpec ¶
func (mr *MockVNetScopeMockRecorder) VNetSpec() *gomock.Call
VNetSpec indicates an expected call of VNetSpec.
func (*MockVNetScopeMockRecorder) Vnet ¶
func (mr *MockVNetScopeMockRecorder) Vnet() *gomock.Call
Vnet indicates an expected call of Vnet.