mock_loadbalancers

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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

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() v1beta1.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) BaseURI

func (m *MockLBScope) BaseURI() string

BaseURI mocks base method.

func (*MockLBScope) ClientID

func (m *MockLBScope) ClientID() string

ClientID 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() *v1beta1.CloudProviderConfigOverrides

CloudProviderConfigOverrides mocks base method.

func (*MockLBScope) ClusterName

func (m *MockLBScope) ClusterName() string

ClusterName mocks base method.

func (*MockLBScope) ControlPlaneRouteTable

func (m *MockLBScope) ControlPlaneRouteTable() v1beta1.RouteTable

ControlPlaneRouteTable mocks base method.

func (*MockLBScope) ControlPlaneSubnet

func (m *MockLBScope) ControlPlaneSubnet() v1beta1.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) Enabled

func (m *MockLBScope) Enabled() bool

Enabled mocks base method.

func (*MockLBScope) Error

func (m *MockLBScope) Error(err error, msg string, keysAndValues ...interface{})

Error mocks base method.

func (*MockLBScope) FailureDomains added in v0.5.3

func (m *MockLBScope) FailureDomains() []string

FailureDomains mocks base method.

func (*MockLBScope) GetPrivateDNSZoneName

func (m *MockLBScope) GetPrivateDNSZoneName() string

GetPrivateDNSZoneName mocks base method.

func (*MockLBScope) HashKey

func (m *MockLBScope) HashKey() string

HashKey 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) Location

func (m *MockLBScope) Location() string

Location mocks base method.

func (*MockLBScope) NodeSubnets added in v0.5.1

func (m *MockLBScope) NodeSubnets() []v1beta1.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 v1beta1.SubnetSpec)

SetSubnet mocks base method.

func (*MockLBScope) Subnet added in v0.5.1

func (m *MockLBScope) Subnet(arg0 string) v1beta1.SubnetSpec

Subnet mocks base method.

func (*MockLBScope) Subnets added in v0.5.1

func (m *MockLBScope) Subnets() v1beta1.Subnets

Subnets mocks base method.

func (*MockLBScope) SubscriptionID

func (m *MockLBScope) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockLBScope) TenantID

func (m *MockLBScope) TenantID() string

TenantID mocks base method.

func (*MockLBScope) V

func (m *MockLBScope) V(level int) logr.Logger

V mocks base method.

func (*MockLBScope) Vnet

func (m *MockLBScope) Vnet() *v1beta1.VnetSpec

Vnet 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) FailureDomains added in v0.5.3

func (mr *MockLBScopeMockRecorder) FailureDomains() *gomock.Call

FailureDomains indicates an expected call of FailureDomains.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL