mock_natgateways

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_natgateways is a generated GoMock package.

Run go generate to regenerate this mock.

Package mock_natgateways is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNatGatewayScope

type MockNatGatewayScope struct {
	// contains filtered or unexported fields
}

MockNatGatewayScope is a mock of NatGatewayScope interface.

func NewMockNatGatewayScope

func NewMockNatGatewayScope(ctrl *gomock.Controller) *MockNatGatewayScope

NewMockNatGatewayScope creates a new mock instance.

func (*MockNatGatewayScope) APIServerLBName

func (m *MockNatGatewayScope) APIServerLBName() string

APIServerLBName mocks base method.

func (*MockNatGatewayScope) APIServerLBPoolName

func (m *MockNatGatewayScope) APIServerLBPoolName(arg0 string) string

APIServerLBPoolName mocks base method.

func (*MockNatGatewayScope) AdditionalTags

func (m *MockNatGatewayScope) AdditionalTags() v1beta1.Tags

AdditionalTags mocks base method.

func (*MockNatGatewayScope) Authorizer

func (m *MockNatGatewayScope) Authorizer() autorest.Authorizer

Authorizer mocks base method.

func (*MockNatGatewayScope) AvailabilitySetEnabled

func (m *MockNatGatewayScope) AvailabilitySetEnabled() bool

AvailabilitySetEnabled mocks base method.

func (*MockNatGatewayScope) BaseURI

func (m *MockNatGatewayScope) BaseURI() string

BaseURI mocks base method.

func (*MockNatGatewayScope) ClientID

func (m *MockNatGatewayScope) ClientID() string

ClientID mocks base method.

func (*MockNatGatewayScope) ClientSecret

func (m *MockNatGatewayScope) ClientSecret() string

ClientSecret mocks base method.

func (*MockNatGatewayScope) CloudEnvironment

func (m *MockNatGatewayScope) CloudEnvironment() string

CloudEnvironment mocks base method.

func (*MockNatGatewayScope) CloudProviderConfigOverrides

func (m *MockNatGatewayScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides

CloudProviderConfigOverrides mocks base method.

func (*MockNatGatewayScope) ClusterName

func (m *MockNatGatewayScope) ClusterName() string

ClusterName mocks base method.

func (*MockNatGatewayScope) ControlPlaneRouteTable

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

ControlPlaneRouteTable mocks base method.

func (*MockNatGatewayScope) ControlPlaneSubnet

func (m *MockNatGatewayScope) ControlPlaneSubnet() v1beta1.SubnetSpec

ControlPlaneSubnet mocks base method.

func (*MockNatGatewayScope) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNatGatewayScope) Enabled

func (m *MockNatGatewayScope) Enabled() bool

Enabled mocks base method.

func (*MockNatGatewayScope) Error

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

Error mocks base method.

func (*MockNatGatewayScope) FailureDomains added in v0.5.3

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

FailureDomains mocks base method.

func (*MockNatGatewayScope) GetPrivateDNSZoneName

func (m *MockNatGatewayScope) GetPrivateDNSZoneName() string

GetPrivateDNSZoneName mocks base method.

func (*MockNatGatewayScope) HashKey

func (m *MockNatGatewayScope) HashKey() string

HashKey mocks base method.

func (*MockNatGatewayScope) Info

func (m *MockNatGatewayScope) Info(msg string, keysAndValues ...interface{})

Info mocks base method.

func (*MockNatGatewayScope) IsAPIServerPrivate

func (m *MockNatGatewayScope) IsAPIServerPrivate() bool

IsAPIServerPrivate mocks base method.

func (*MockNatGatewayScope) IsIPv6Enabled

func (m *MockNatGatewayScope) IsIPv6Enabled() bool

IsIPv6Enabled mocks base method.

func (*MockNatGatewayScope) IsVnetManaged

func (m *MockNatGatewayScope) IsVnetManaged() bool

IsVnetManaged mocks base method.

func (*MockNatGatewayScope) Location

func (m *MockNatGatewayScope) Location() string

Location mocks base method.

func (*MockNatGatewayScope) NatGatewaySpecs

func (m *MockNatGatewayScope) NatGatewaySpecs() []azure.NatGatewaySpec

NatGatewaySpecs mocks base method.

func (*MockNatGatewayScope) NodeSubnets added in v0.5.1

func (m *MockNatGatewayScope) NodeSubnets() []v1beta1.SubnetSpec

NodeSubnets mocks base method.

func (*MockNatGatewayScope) OutboundLBName

func (m *MockNatGatewayScope) OutboundLBName(arg0 string) string

OutboundLBName mocks base method.

func (*MockNatGatewayScope) OutboundPoolName

func (m *MockNatGatewayScope) OutboundPoolName(arg0 string) string

OutboundPoolName mocks base method.

func (*MockNatGatewayScope) ResourceGroup

func (m *MockNatGatewayScope) ResourceGroup() string

ResourceGroup mocks base method.

func (*MockNatGatewayScope) SetSubnet

func (m *MockNatGatewayScope) SetSubnet(arg0 v1beta1.SubnetSpec)

SetSubnet mocks base method.

func (*MockNatGatewayScope) Subnet added in v0.5.1

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

Subnet mocks base method.

func (*MockNatGatewayScope) Subnets added in v0.5.1

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

Subnets mocks base method.

func (*MockNatGatewayScope) SubscriptionID

func (m *MockNatGatewayScope) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockNatGatewayScope) TenantID

func (m *MockNatGatewayScope) TenantID() string

TenantID mocks base method.

func (*MockNatGatewayScope) V

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

V mocks base method.

func (*MockNatGatewayScope) Vnet

Vnet mocks base method.

func (*MockNatGatewayScope) WithName

func (m *MockNatGatewayScope) WithName(name string) logr.Logger

WithName mocks base method.

func (*MockNatGatewayScope) WithValues

func (m *MockNatGatewayScope) WithValues(keysAndValues ...interface{}) logr.Logger

WithValues mocks base method.

type MockNatGatewayScopeMockRecorder

type MockNatGatewayScopeMockRecorder struct {
	// contains filtered or unexported fields
}

MockNatGatewayScopeMockRecorder is the mock recorder for MockNatGatewayScope.

func (*MockNatGatewayScopeMockRecorder) APIServerLBName

func (mr *MockNatGatewayScopeMockRecorder) APIServerLBName() *gomock.Call

APIServerLBName indicates an expected call of APIServerLBName.

func (*MockNatGatewayScopeMockRecorder) APIServerLBPoolName

func (mr *MockNatGatewayScopeMockRecorder) APIServerLBPoolName(arg0 interface{}) *gomock.Call

APIServerLBPoolName indicates an expected call of APIServerLBPoolName.

func (*MockNatGatewayScopeMockRecorder) AdditionalTags

func (mr *MockNatGatewayScopeMockRecorder) AdditionalTags() *gomock.Call

AdditionalTags indicates an expected call of AdditionalTags.

func (*MockNatGatewayScopeMockRecorder) Authorizer

func (mr *MockNatGatewayScopeMockRecorder) Authorizer() *gomock.Call

Authorizer indicates an expected call of Authorizer.

func (*MockNatGatewayScopeMockRecorder) AvailabilitySetEnabled

func (mr *MockNatGatewayScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call

AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.

func (*MockNatGatewayScopeMockRecorder) BaseURI

BaseURI indicates an expected call of BaseURI.

func (*MockNatGatewayScopeMockRecorder) ClientID

ClientID indicates an expected call of ClientID.

func (*MockNatGatewayScopeMockRecorder) ClientSecret

func (mr *MockNatGatewayScopeMockRecorder) ClientSecret() *gomock.Call

ClientSecret indicates an expected call of ClientSecret.

func (*MockNatGatewayScopeMockRecorder) CloudEnvironment

func (mr *MockNatGatewayScopeMockRecorder) CloudEnvironment() *gomock.Call

CloudEnvironment indicates an expected call of CloudEnvironment.

func (*MockNatGatewayScopeMockRecorder) CloudProviderConfigOverrides

func (mr *MockNatGatewayScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call

CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.

func (*MockNatGatewayScopeMockRecorder) ClusterName

func (mr *MockNatGatewayScopeMockRecorder) ClusterName() *gomock.Call

ClusterName indicates an expected call of ClusterName.

func (*MockNatGatewayScopeMockRecorder) ControlPlaneRouteTable

func (mr *MockNatGatewayScopeMockRecorder) ControlPlaneRouteTable() *gomock.Call

ControlPlaneRouteTable indicates an expected call of ControlPlaneRouteTable.

func (*MockNatGatewayScopeMockRecorder) ControlPlaneSubnet

func (mr *MockNatGatewayScopeMockRecorder) ControlPlaneSubnet() *gomock.Call

ControlPlaneSubnet indicates an expected call of ControlPlaneSubnet.

func (*MockNatGatewayScopeMockRecorder) Enabled

Enabled indicates an expected call of Enabled.

func (*MockNatGatewayScopeMockRecorder) Error

func (mr *MockNatGatewayScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockNatGatewayScopeMockRecorder) FailureDomains added in v0.5.3

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

FailureDomains indicates an expected call of FailureDomains.

func (*MockNatGatewayScopeMockRecorder) GetPrivateDNSZoneName

func (mr *MockNatGatewayScopeMockRecorder) GetPrivateDNSZoneName() *gomock.Call

GetPrivateDNSZoneName indicates an expected call of GetPrivateDNSZoneName.

func (*MockNatGatewayScopeMockRecorder) HashKey

HashKey indicates an expected call of HashKey.

func (*MockNatGatewayScopeMockRecorder) Info

func (mr *MockNatGatewayScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockNatGatewayScopeMockRecorder) IsAPIServerPrivate

func (mr *MockNatGatewayScopeMockRecorder) IsAPIServerPrivate() *gomock.Call

IsAPIServerPrivate indicates an expected call of IsAPIServerPrivate.

func (*MockNatGatewayScopeMockRecorder) IsIPv6Enabled

func (mr *MockNatGatewayScopeMockRecorder) IsIPv6Enabled() *gomock.Call

IsIPv6Enabled indicates an expected call of IsIPv6Enabled.

func (*MockNatGatewayScopeMockRecorder) IsVnetManaged

func (mr *MockNatGatewayScopeMockRecorder) IsVnetManaged() *gomock.Call

IsVnetManaged indicates an expected call of IsVnetManaged.

func (*MockNatGatewayScopeMockRecorder) Location

Location indicates an expected call of Location.

func (*MockNatGatewayScopeMockRecorder) NatGatewaySpecs

func (mr *MockNatGatewayScopeMockRecorder) NatGatewaySpecs() *gomock.Call

NatGatewaySpecs indicates an expected call of NatGatewaySpecs.

func (*MockNatGatewayScopeMockRecorder) NodeSubnets added in v0.5.1

func (mr *MockNatGatewayScopeMockRecorder) NodeSubnets() *gomock.Call

NodeSubnets indicates an expected call of NodeSubnets.

func (*MockNatGatewayScopeMockRecorder) OutboundLBName

func (mr *MockNatGatewayScopeMockRecorder) OutboundLBName(arg0 interface{}) *gomock.Call

OutboundLBName indicates an expected call of OutboundLBName.

func (*MockNatGatewayScopeMockRecorder) OutboundPoolName

func (mr *MockNatGatewayScopeMockRecorder) OutboundPoolName(arg0 interface{}) *gomock.Call

OutboundPoolName indicates an expected call of OutboundPoolName.

func (*MockNatGatewayScopeMockRecorder) ResourceGroup

func (mr *MockNatGatewayScopeMockRecorder) ResourceGroup() *gomock.Call

ResourceGroup indicates an expected call of ResourceGroup.

func (*MockNatGatewayScopeMockRecorder) SetSubnet

func (mr *MockNatGatewayScopeMockRecorder) SetSubnet(arg0 interface{}) *gomock.Call

SetSubnet indicates an expected call of SetSubnet.

func (*MockNatGatewayScopeMockRecorder) Subnet added in v0.5.1

func (mr *MockNatGatewayScopeMockRecorder) Subnet(arg0 interface{}) *gomock.Call

Subnet indicates an expected call of Subnet.

func (*MockNatGatewayScopeMockRecorder) Subnets added in v0.5.1

Subnets indicates an expected call of Subnets.

func (*MockNatGatewayScopeMockRecorder) SubscriptionID

func (mr *MockNatGatewayScopeMockRecorder) SubscriptionID() *gomock.Call

SubscriptionID indicates an expected call of SubscriptionID.

func (*MockNatGatewayScopeMockRecorder) TenantID

TenantID indicates an expected call of TenantID.

func (*MockNatGatewayScopeMockRecorder) V

func (mr *MockNatGatewayScopeMockRecorder) V(level interface{}) *gomock.Call

V indicates an expected call of V.

func (*MockNatGatewayScopeMockRecorder) Vnet

Vnet indicates an expected call of Vnet.

func (*MockNatGatewayScopeMockRecorder) WithName

func (mr *MockNatGatewayScopeMockRecorder) WithName(name interface{}) *gomock.Call

WithName indicates an expected call of WithName.

func (*MockNatGatewayScopeMockRecorder) WithValues

func (mr *MockNatGatewayScopeMockRecorder) 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(arg0 context.Context, arg1, arg2 string, arg3 network.NatGateway) 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.NatGateway, 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.

Jump to

Keyboard shortcuts

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