Documentation ¶
Overview ¶
Package mock_subnets is a generated GoMock package.
Run go generate to regenerate this mock.
Package mock_subnets is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateOrUpdate(arg0 context.Context, arg1, arg2, arg3 string, arg4 network.Subnet) error
- func (m *MockClient) Delete(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(arg0 context.Context, arg1, arg2, arg3 string) (network.Subnet, error)
- type MockClientMockRecorder
- type MockSubnetScope
- func (m *MockSubnetScope) APIServerLBName() string
- func (m *MockSubnetScope) APIServerLBPoolName(arg0 string) string
- func (m *MockSubnetScope) AdditionalTags() v1alpha4.Tags
- func (m *MockSubnetScope) Authorizer() autorest.Authorizer
- func (m *MockSubnetScope) AvailabilitySetEnabled() bool
- func (m *MockSubnetScope) BaseURI() string
- func (m *MockSubnetScope) ClientID() string
- func (m *MockSubnetScope) ClientSecret() string
- func (m *MockSubnetScope) CloudEnvironment() string
- func (m *MockSubnetScope) CloudProviderConfigOverrides() *v1alpha4.CloudProviderConfigOverrides
- func (m *MockSubnetScope) ClusterName() string
- func (m *MockSubnetScope) ControlPlaneRouteTable() v1alpha4.RouteTable
- func (m *MockSubnetScope) ControlPlaneSubnet() v1alpha4.SubnetSpec
- func (m *MockSubnetScope) EXPECT() *MockSubnetScopeMockRecorder
- func (m *MockSubnetScope) Enabled() bool
- func (m *MockSubnetScope) Error(err error, msg string, keysAndValues ...interface{})
- func (m *MockSubnetScope) FailureDomains() []string
- func (m *MockSubnetScope) GetPrivateDNSZoneName() string
- func (m *MockSubnetScope) HashKey() string
- func (m *MockSubnetScope) Info(msg string, keysAndValues ...interface{})
- func (m *MockSubnetScope) IsAPIServerPrivate() bool
- func (m *MockSubnetScope) IsIPv6Enabled() bool
- func (m *MockSubnetScope) IsVnetManaged() bool
- func (m *MockSubnetScope) Location() string
- func (m *MockSubnetScope) NodeSubnets() []v1alpha4.SubnetSpec
- func (m *MockSubnetScope) OutboundLBName(arg0 string) string
- func (m *MockSubnetScope) OutboundPoolName(arg0 string) string
- func (m *MockSubnetScope) ResourceGroup() string
- func (m *MockSubnetScope) SetSubnet(arg0 v1alpha4.SubnetSpec)
- func (m *MockSubnetScope) Subnet(arg0 string) v1alpha4.SubnetSpec
- func (m *MockSubnetScope) SubnetSpecs() []azure.SubnetSpec
- func (m *MockSubnetScope) Subnets() v1alpha4.Subnets
- func (m *MockSubnetScope) SubscriptionID() string
- func (m *MockSubnetScope) TenantID() string
- func (m *MockSubnetScope) V(level int) logr.Logger
- func (m *MockSubnetScope) Vnet() *v1alpha4.VnetSpec
- func (m *MockSubnetScope) WithName(name string) logr.Logger
- func (m *MockSubnetScope) WithValues(keysAndValues ...interface{}) logr.Logger
- type MockSubnetScopeMockRecorder
- func (mr *MockSubnetScopeMockRecorder) APIServerLBName() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) APIServerLBPoolName(arg0 interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) AdditionalTags() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) ControlPlaneRouteTable() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) ControlPlaneSubnet() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) Enabled() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) FailureDomains() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) GetPrivateDNSZoneName() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) IsAPIServerPrivate() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) IsIPv6Enabled() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) IsVnetManaged() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) Location() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) NodeSubnets() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) OutboundLBName(arg0 interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) OutboundPoolName(arg0 interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) SetSubnet(arg0 interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) Subnet(arg0 interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) SubnetSpecs() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) Subnets() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) V(level interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) Vnet() *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) WithName(name interface{}) *gomock.Call
- func (mr *MockSubnetScopeMockRecorder) WithValues(keysAndValues ...interface{}) *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, arg3 string, arg4 network.Subnet) error
CreateOrUpdate mocks base method.
func (*MockClient) Delete ¶
func (m *MockClient) Delete(arg0 context.Context, arg1, arg2, arg3 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.
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, arg3 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockSubnetScope ¶
type MockSubnetScope struct {
// contains filtered or unexported fields
}
MockSubnetScope is a mock of SubnetScope interface.
func NewMockSubnetScope ¶
func NewMockSubnetScope(ctrl *gomock.Controller) *MockSubnetScope
NewMockSubnetScope creates a new mock instance.
func (*MockSubnetScope) APIServerLBName ¶
func (m *MockSubnetScope) APIServerLBName() string
APIServerLBName mocks base method.
func (*MockSubnetScope) APIServerLBPoolName ¶
func (m *MockSubnetScope) APIServerLBPoolName(arg0 string) string
APIServerLBPoolName mocks base method.
func (*MockSubnetScope) AdditionalTags ¶
func (m *MockSubnetScope) AdditionalTags() v1alpha4.Tags
AdditionalTags mocks base method.
func (*MockSubnetScope) Authorizer ¶
func (m *MockSubnetScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockSubnetScope) AvailabilitySetEnabled ¶
func (m *MockSubnetScope) AvailabilitySetEnabled() bool
AvailabilitySetEnabled mocks base method.
func (*MockSubnetScope) BaseURI ¶
func (m *MockSubnetScope) BaseURI() string
BaseURI mocks base method.
func (*MockSubnetScope) ClientID ¶
func (m *MockSubnetScope) ClientID() string
ClientID mocks base method.
func (*MockSubnetScope) ClientSecret ¶
func (m *MockSubnetScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockSubnetScope) CloudEnvironment ¶
func (m *MockSubnetScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockSubnetScope) CloudProviderConfigOverrides ¶
func (m *MockSubnetScope) CloudProviderConfigOverrides() *v1alpha4.CloudProviderConfigOverrides
CloudProviderConfigOverrides mocks base method.
func (*MockSubnetScope) ClusterName ¶
func (m *MockSubnetScope) ClusterName() string
ClusterName mocks base method.
func (*MockSubnetScope) ControlPlaneRouteTable ¶
func (m *MockSubnetScope) ControlPlaneRouteTable() v1alpha4.RouteTable
ControlPlaneRouteTable mocks base method.
func (*MockSubnetScope) ControlPlaneSubnet ¶
func (m *MockSubnetScope) ControlPlaneSubnet() v1alpha4.SubnetSpec
ControlPlaneSubnet mocks base method.
func (*MockSubnetScope) EXPECT ¶
func (m *MockSubnetScope) EXPECT() *MockSubnetScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubnetScope) Enabled ¶
func (m *MockSubnetScope) Enabled() bool
Enabled mocks base method.
func (*MockSubnetScope) Error ¶
func (m *MockSubnetScope) Error(err error, msg string, keysAndValues ...interface{})
Error mocks base method.
func (*MockSubnetScope) FailureDomains ¶ added in v0.5.3
func (m *MockSubnetScope) FailureDomains() []string
FailureDomains mocks base method.
func (*MockSubnetScope) GetPrivateDNSZoneName ¶
func (m *MockSubnetScope) GetPrivateDNSZoneName() string
GetPrivateDNSZoneName mocks base method.
func (*MockSubnetScope) HashKey ¶
func (m *MockSubnetScope) HashKey() string
HashKey mocks base method.
func (*MockSubnetScope) Info ¶
func (m *MockSubnetScope) Info(msg string, keysAndValues ...interface{})
Info mocks base method.
func (*MockSubnetScope) IsAPIServerPrivate ¶
func (m *MockSubnetScope) IsAPIServerPrivate() bool
IsAPIServerPrivate mocks base method.
func (*MockSubnetScope) IsIPv6Enabled ¶
func (m *MockSubnetScope) IsIPv6Enabled() bool
IsIPv6Enabled mocks base method.
func (*MockSubnetScope) IsVnetManaged ¶
func (m *MockSubnetScope) IsVnetManaged() bool
IsVnetManaged mocks base method.
func (*MockSubnetScope) Location ¶
func (m *MockSubnetScope) Location() string
Location mocks base method.
func (*MockSubnetScope) NodeSubnets ¶ added in v0.5.1
func (m *MockSubnetScope) NodeSubnets() []v1alpha4.SubnetSpec
NodeSubnets mocks base method.
func (*MockSubnetScope) OutboundLBName ¶
func (m *MockSubnetScope) OutboundLBName(arg0 string) string
OutboundLBName mocks base method.
func (*MockSubnetScope) OutboundPoolName ¶
func (m *MockSubnetScope) OutboundPoolName(arg0 string) string
OutboundPoolName mocks base method.
func (*MockSubnetScope) ResourceGroup ¶
func (m *MockSubnetScope) ResourceGroup() string
ResourceGroup mocks base method.
func (*MockSubnetScope) SetSubnet ¶
func (m *MockSubnetScope) SetSubnet(arg0 v1alpha4.SubnetSpec)
SetSubnet mocks base method.
func (*MockSubnetScope) Subnet ¶ added in v0.5.1
func (m *MockSubnetScope) Subnet(arg0 string) v1alpha4.SubnetSpec
Subnet mocks base method.
func (*MockSubnetScope) SubnetSpecs ¶
func (m *MockSubnetScope) SubnetSpecs() []azure.SubnetSpec
SubnetSpecs mocks base method.
func (*MockSubnetScope) Subnets ¶ added in v0.5.1
func (m *MockSubnetScope) Subnets() v1alpha4.Subnets
Subnets mocks base method.
func (*MockSubnetScope) SubscriptionID ¶
func (m *MockSubnetScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockSubnetScope) TenantID ¶
func (m *MockSubnetScope) TenantID() string
TenantID mocks base method.
func (*MockSubnetScope) Vnet ¶
func (m *MockSubnetScope) Vnet() *v1alpha4.VnetSpec
Vnet mocks base method.
func (*MockSubnetScope) WithName ¶
func (m *MockSubnetScope) WithName(name string) logr.Logger
WithName mocks base method.
func (*MockSubnetScope) WithValues ¶
func (m *MockSubnetScope) WithValues(keysAndValues ...interface{}) logr.Logger
WithValues mocks base method.
type MockSubnetScopeMockRecorder ¶
type MockSubnetScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockSubnetScopeMockRecorder is the mock recorder for MockSubnetScope.
func (*MockSubnetScopeMockRecorder) APIServerLBName ¶
func (mr *MockSubnetScopeMockRecorder) APIServerLBName() *gomock.Call
APIServerLBName indicates an expected call of APIServerLBName.
func (*MockSubnetScopeMockRecorder) APIServerLBPoolName ¶
func (mr *MockSubnetScopeMockRecorder) APIServerLBPoolName(arg0 interface{}) *gomock.Call
APIServerLBPoolName indicates an expected call of APIServerLBPoolName.
func (*MockSubnetScopeMockRecorder) AdditionalTags ¶
func (mr *MockSubnetScopeMockRecorder) AdditionalTags() *gomock.Call
AdditionalTags indicates an expected call of AdditionalTags.
func (*MockSubnetScopeMockRecorder) Authorizer ¶
func (mr *MockSubnetScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockSubnetScopeMockRecorder) AvailabilitySetEnabled ¶
func (mr *MockSubnetScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.
func (*MockSubnetScopeMockRecorder) BaseURI ¶
func (mr *MockSubnetScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockSubnetScopeMockRecorder) ClientID ¶
func (mr *MockSubnetScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockSubnetScopeMockRecorder) ClientSecret ¶
func (mr *MockSubnetScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockSubnetScopeMockRecorder) CloudEnvironment ¶
func (mr *MockSubnetScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockSubnetScopeMockRecorder) CloudProviderConfigOverrides ¶
func (mr *MockSubnetScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.
func (*MockSubnetScopeMockRecorder) ClusterName ¶
func (mr *MockSubnetScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockSubnetScopeMockRecorder) ControlPlaneRouteTable ¶
func (mr *MockSubnetScopeMockRecorder) ControlPlaneRouteTable() *gomock.Call
ControlPlaneRouteTable indicates an expected call of ControlPlaneRouteTable.
func (*MockSubnetScopeMockRecorder) ControlPlaneSubnet ¶
func (mr *MockSubnetScopeMockRecorder) ControlPlaneSubnet() *gomock.Call
ControlPlaneSubnet indicates an expected call of ControlPlaneSubnet.
func (*MockSubnetScopeMockRecorder) Enabled ¶
func (mr *MockSubnetScopeMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockSubnetScopeMockRecorder) Error ¶
func (mr *MockSubnetScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockSubnetScopeMockRecorder) FailureDomains ¶ added in v0.5.3
func (mr *MockSubnetScopeMockRecorder) FailureDomains() *gomock.Call
FailureDomains indicates an expected call of FailureDomains.
func (*MockSubnetScopeMockRecorder) GetPrivateDNSZoneName ¶
func (mr *MockSubnetScopeMockRecorder) GetPrivateDNSZoneName() *gomock.Call
GetPrivateDNSZoneName indicates an expected call of GetPrivateDNSZoneName.
func (*MockSubnetScopeMockRecorder) HashKey ¶
func (mr *MockSubnetScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockSubnetScopeMockRecorder) Info ¶
func (mr *MockSubnetScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockSubnetScopeMockRecorder) IsAPIServerPrivate ¶
func (mr *MockSubnetScopeMockRecorder) IsAPIServerPrivate() *gomock.Call
IsAPIServerPrivate indicates an expected call of IsAPIServerPrivate.
func (*MockSubnetScopeMockRecorder) IsIPv6Enabled ¶
func (mr *MockSubnetScopeMockRecorder) IsIPv6Enabled() *gomock.Call
IsIPv6Enabled indicates an expected call of IsIPv6Enabled.
func (*MockSubnetScopeMockRecorder) IsVnetManaged ¶
func (mr *MockSubnetScopeMockRecorder) IsVnetManaged() *gomock.Call
IsVnetManaged indicates an expected call of IsVnetManaged.
func (*MockSubnetScopeMockRecorder) Location ¶
func (mr *MockSubnetScopeMockRecorder) Location() *gomock.Call
Location indicates an expected call of Location.
func (*MockSubnetScopeMockRecorder) NodeSubnets ¶ added in v0.5.1
func (mr *MockSubnetScopeMockRecorder) NodeSubnets() *gomock.Call
NodeSubnets indicates an expected call of NodeSubnets.
func (*MockSubnetScopeMockRecorder) OutboundLBName ¶
func (mr *MockSubnetScopeMockRecorder) OutboundLBName(arg0 interface{}) *gomock.Call
OutboundLBName indicates an expected call of OutboundLBName.
func (*MockSubnetScopeMockRecorder) OutboundPoolName ¶
func (mr *MockSubnetScopeMockRecorder) OutboundPoolName(arg0 interface{}) *gomock.Call
OutboundPoolName indicates an expected call of OutboundPoolName.
func (*MockSubnetScopeMockRecorder) ResourceGroup ¶
func (mr *MockSubnetScopeMockRecorder) ResourceGroup() *gomock.Call
ResourceGroup indicates an expected call of ResourceGroup.
func (*MockSubnetScopeMockRecorder) SetSubnet ¶
func (mr *MockSubnetScopeMockRecorder) SetSubnet(arg0 interface{}) *gomock.Call
SetSubnet indicates an expected call of SetSubnet.
func (*MockSubnetScopeMockRecorder) Subnet ¶ added in v0.5.1
func (mr *MockSubnetScopeMockRecorder) Subnet(arg0 interface{}) *gomock.Call
Subnet indicates an expected call of Subnet.
func (*MockSubnetScopeMockRecorder) SubnetSpecs ¶
func (mr *MockSubnetScopeMockRecorder) SubnetSpecs() *gomock.Call
SubnetSpecs indicates an expected call of SubnetSpecs.
func (*MockSubnetScopeMockRecorder) Subnets ¶ added in v0.5.1
func (mr *MockSubnetScopeMockRecorder) Subnets() *gomock.Call
Subnets indicates an expected call of Subnets.
func (*MockSubnetScopeMockRecorder) SubscriptionID ¶
func (mr *MockSubnetScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockSubnetScopeMockRecorder) TenantID ¶
func (mr *MockSubnetScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockSubnetScopeMockRecorder) V ¶
func (mr *MockSubnetScopeMockRecorder) V(level interface{}) *gomock.Call
V indicates an expected call of V.
func (*MockSubnetScopeMockRecorder) Vnet ¶
func (mr *MockSubnetScopeMockRecorder) Vnet() *gomock.Call
Vnet indicates an expected call of Vnet.
func (*MockSubnetScopeMockRecorder) WithName ¶
func (mr *MockSubnetScopeMockRecorder) WithName(name interface{}) *gomock.Call
WithName indicates an expected call of WithName.
func (*MockSubnetScopeMockRecorder) WithValues ¶
func (mr *MockSubnetScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
WithValues indicates an expected call of WithValues.