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