mocks

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks 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) AddInstanceIPAddress added in v0.4.5

func (m *MockClient) AddInstanceIPAddress(arg0 context.Context, arg1 int, arg2 linodego.InstanceIPAddOptions) (*linodego.InstanceIP, error)

AddInstanceIPAddress mocks base method.

func (*MockClient) CreateFirewall

func (m *MockClient) CreateFirewall(arg0 context.Context, arg1 linodego.FirewallCreateOptions) (*linodego.Firewall, error)

CreateFirewall mocks base method.

func (*MockClient) CreateFirewallDevice

func (m *MockClient) CreateFirewallDevice(arg0 context.Context, arg1 int, arg2 linodego.FirewallDeviceCreateOptions) (*linodego.FirewallDevice, error)

CreateFirewallDevice mocks base method.

func (*MockClient) CreateInstance added in v0.4.5

func (m *MockClient) CreateInstance(arg0 context.Context, arg1 linodego.InstanceCreateOptions) (*linodego.Instance, error)

CreateInstance mocks base method.

func (*MockClient) CreateNodeBalancer

CreateNodeBalancer mocks base method.

func (*MockClient) CreateNodeBalancerConfig

func (m *MockClient) CreateNodeBalancerConfig(arg0 context.Context, arg1 int, arg2 linodego.NodeBalancerConfigCreateOptions) (*linodego.NodeBalancerConfig, error)

CreateNodeBalancerConfig mocks base method.

func (*MockClient) DeleteFirewall

func (m *MockClient) DeleteFirewall(arg0 context.Context, arg1 int) error

DeleteFirewall mocks base method.

func (*MockClient) DeleteFirewallDevice

func (m *MockClient) DeleteFirewallDevice(arg0 context.Context, arg1, arg2 int) error

DeleteFirewallDevice mocks base method.

func (*MockClient) DeleteInstanceIPAddress added in v0.4.5

func (m *MockClient) DeleteInstanceIPAddress(arg0 context.Context, arg1 int, arg2 string) error

DeleteInstanceIPAddress mocks base method.

func (*MockClient) DeleteNodeBalancer

func (m *MockClient) DeleteNodeBalancer(arg0 context.Context, arg1 int) error

DeleteNodeBalancer mocks base method.

func (*MockClient) DeleteNodeBalancerConfig

func (m *MockClient) DeleteNodeBalancerConfig(arg0 context.Context, arg1, arg2 int) error

DeleteNodeBalancerConfig mocks base method.

func (*MockClient) DeleteReservedIPAddress added in v0.9.2

func (m *MockClient) DeleteReservedIPAddress(arg0 context.Context, arg1 string) error

DeleteReservedIPAddress 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) GetFirewall

func (m *MockClient) GetFirewall(arg0 context.Context, arg1 int) (*linodego.Firewall, error)

GetFirewall mocks base method.

func (*MockClient) GetInstance

func (m *MockClient) GetInstance(arg0 context.Context, arg1 int) (*linodego.Instance, error)

GetInstance mocks base method.

func (*MockClient) GetInstanceIPAddresses

func (m *MockClient) GetInstanceIPAddresses(arg0 context.Context, arg1 int) (*linodego.InstanceIPAddressResponse, error)

GetInstanceIPAddresses mocks base method.

func (*MockClient) GetNodeBalancer

func (m *MockClient) GetNodeBalancer(arg0 context.Context, arg1 int) (*linodego.NodeBalancer, error)

GetNodeBalancer mocks base method.

func (*MockClient) GetProfile added in v0.4.23

func (m *MockClient) GetProfile(arg0 context.Context) (*linodego.Profile, error)

GetProfile mocks base method.

func (*MockClient) GetVPC added in v0.9.0

func (m *MockClient) GetVPC(arg0 context.Context, arg1 int) (*linodego.VPC, error)

GetVPC mocks base method.

func (*MockClient) GetVPCSubnet added in v0.9.0

func (m *MockClient) GetVPCSubnet(arg0 context.Context, arg1, arg2 int) (*linodego.VPCSubnet, error)

GetVPCSubnet mocks base method.

func (*MockClient) ListFirewallDevices

func (m *MockClient) ListFirewallDevices(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.FirewallDevice, error)

ListFirewallDevices mocks base method.

func (*MockClient) ListInstanceConfigs added in v0.9.0

func (m *MockClient) ListInstanceConfigs(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.InstanceConfig, error)

ListInstanceConfigs mocks base method.

func (*MockClient) ListInstances

func (m *MockClient) ListInstances(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.Instance, error)

ListInstances mocks base method.

func (*MockClient) ListInterfaces added in v0.9.2

func (m *MockClient) ListInterfaces(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.LinodeInterface, error)

ListInterfaces mocks base method.

func (*MockClient) ListNodeBalancerConfigs

func (m *MockClient) ListNodeBalancerConfigs(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.NodeBalancerConfig, error)

ListNodeBalancerConfigs mocks base method.

func (*MockClient) ListNodeBalancerFirewalls

func (m *MockClient) ListNodeBalancerFirewalls(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.Firewall, error)

ListNodeBalancerFirewalls mocks base method.

func (*MockClient) ListNodeBalancerNodes

func (m *MockClient) ListNodeBalancerNodes(arg0 context.Context, arg1, arg2 int, arg3 *linodego.ListOptions) ([]linodego.NodeBalancerNode, error)

ListNodeBalancerNodes mocks base method.

func (*MockClient) ListNodeBalancers

func (m *MockClient) ListNodeBalancers(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.NodeBalancer, error)

ListNodeBalancers mocks base method.

func (*MockClient) ListVPCIPAddresses added in v0.4.4

func (m *MockClient) ListVPCIPAddresses(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.VPCIP, error)

ListVPCIPAddresses mocks base method.

func (*MockClient) ListVPCIPv6Addresses added in v0.9.1

func (m *MockClient) ListVPCIPv6Addresses(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.VPCIP, error)

ListVPCIPv6Addresses mocks base method.

func (*MockClient) ListVPCSubnets added in v0.4.25

func (m *MockClient) ListVPCSubnets(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.VPCSubnet, error)

ListVPCSubnets mocks base method.

func (*MockClient) ListVPCs added in v0.4.4

func (m *MockClient) ListVPCs(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.VPC, error)

ListVPCs mocks base method.

func (*MockClient) RebuildNodeBalancerConfig

func (m *MockClient) RebuildNodeBalancerConfig(arg0 context.Context, arg1, arg2 int, arg3 linodego.NodeBalancerConfigRebuildOptions) (*linodego.NodeBalancerConfig, error)

RebuildNodeBalancerConfig mocks base method.

func (*MockClient) ReserveIPAddress added in v0.9.2

func (m *MockClient) ReserveIPAddress(arg0 context.Context, arg1 linodego.ReserveIPOptions) (*linodego.InstanceIP, error)

ReserveIPAddress mocks base method.

func (*MockClient) ShareIPAddresses added in v0.4.5

func (m *MockClient) ShareIPAddresses(arg0 context.Context, arg1 linodego.IPAddressesShareOptions) error

ShareIPAddresses mocks base method.

func (*MockClient) UpdateFirewallRules

func (m *MockClient) UpdateFirewallRules(arg0 context.Context, arg1 int, arg2 linodego.FirewallRulesUpdateOptions) (*linodego.FirewallRules, error)

UpdateFirewallRules mocks base method.

func (*MockClient) UpdateInstanceConfigInterface added in v0.4.4

func (m *MockClient) UpdateInstanceConfigInterface(arg0 context.Context, arg1, arg2, arg3 int, arg4 linodego.InstanceConfigInterfaceUpdateOptions) (*linodego.InstanceConfigInterface, error)

UpdateInstanceConfigInterface mocks base method.

func (*MockClient) UpdateInterface added in v0.9.2

func (m *MockClient) UpdateInterface(arg0 context.Context, arg1, arg2 int, arg3 linodego.LinodeInterfaceUpdateOptions) (*linodego.LinodeInterface, error)

UpdateInterface mocks base method.

func (*MockClient) UpdateNodeBalancer

func (m *MockClient) UpdateNodeBalancer(arg0 context.Context, arg1 int, arg2 linodego.NodeBalancerUpdateOptions) (*linodego.NodeBalancer, error)

UpdateNodeBalancer mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AddInstanceIPAddress added in v0.4.5

func (mr *MockClientMockRecorder) AddInstanceIPAddress(arg0, arg1, arg2 interface{}) *gomock.Call

AddInstanceIPAddress indicates an expected call of AddInstanceIPAddress.

func (*MockClientMockRecorder) CreateFirewall

func (mr *MockClientMockRecorder) CreateFirewall(arg0, arg1 interface{}) *gomock.Call

CreateFirewall indicates an expected call of CreateFirewall.

func (*MockClientMockRecorder) CreateFirewallDevice

func (mr *MockClientMockRecorder) CreateFirewallDevice(arg0, arg1, arg2 interface{}) *gomock.Call

CreateFirewallDevice indicates an expected call of CreateFirewallDevice.

func (*MockClientMockRecorder) CreateInstance added in v0.4.5

func (mr *MockClientMockRecorder) CreateInstance(arg0, arg1 interface{}) *gomock.Call

CreateInstance indicates an expected call of CreateInstance.

func (*MockClientMockRecorder) CreateNodeBalancer

func (mr *MockClientMockRecorder) CreateNodeBalancer(arg0, arg1 interface{}) *gomock.Call

CreateNodeBalancer indicates an expected call of CreateNodeBalancer.

func (*MockClientMockRecorder) CreateNodeBalancerConfig

func (mr *MockClientMockRecorder) CreateNodeBalancerConfig(arg0, arg1, arg2 interface{}) *gomock.Call

CreateNodeBalancerConfig indicates an expected call of CreateNodeBalancerConfig.

func (*MockClientMockRecorder) DeleteFirewall

func (mr *MockClientMockRecorder) DeleteFirewall(arg0, arg1 interface{}) *gomock.Call

DeleteFirewall indicates an expected call of DeleteFirewall.

func (*MockClientMockRecorder) DeleteFirewallDevice

func (mr *MockClientMockRecorder) DeleteFirewallDevice(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteFirewallDevice indicates an expected call of DeleteFirewallDevice.

func (*MockClientMockRecorder) DeleteInstanceIPAddress added in v0.4.5

func (mr *MockClientMockRecorder) DeleteInstanceIPAddress(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteInstanceIPAddress indicates an expected call of DeleteInstanceIPAddress.

func (*MockClientMockRecorder) DeleteNodeBalancer

func (mr *MockClientMockRecorder) DeleteNodeBalancer(arg0, arg1 interface{}) *gomock.Call

DeleteNodeBalancer indicates an expected call of DeleteNodeBalancer.

func (*MockClientMockRecorder) DeleteNodeBalancerConfig

func (mr *MockClientMockRecorder) DeleteNodeBalancerConfig(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteNodeBalancerConfig indicates an expected call of DeleteNodeBalancerConfig.

func (*MockClientMockRecorder) DeleteReservedIPAddress added in v0.9.2

func (mr *MockClientMockRecorder) DeleteReservedIPAddress(arg0, arg1 interface{}) *gomock.Call

DeleteReservedIPAddress indicates an expected call of DeleteReservedIPAddress.

func (*MockClientMockRecorder) GetFirewall

func (mr *MockClientMockRecorder) GetFirewall(arg0, arg1 interface{}) *gomock.Call

GetFirewall indicates an expected call of GetFirewall.

func (*MockClientMockRecorder) GetInstance

func (mr *MockClientMockRecorder) GetInstance(arg0, arg1 interface{}) *gomock.Call

GetInstance indicates an expected call of GetInstance.

func (*MockClientMockRecorder) GetInstanceIPAddresses

func (mr *MockClientMockRecorder) GetInstanceIPAddresses(arg0, arg1 interface{}) *gomock.Call

GetInstanceIPAddresses indicates an expected call of GetInstanceIPAddresses.

func (*MockClientMockRecorder) GetNodeBalancer

func (mr *MockClientMockRecorder) GetNodeBalancer(arg0, arg1 interface{}) *gomock.Call

GetNodeBalancer indicates an expected call of GetNodeBalancer.

func (*MockClientMockRecorder) GetProfile added in v0.4.23

func (mr *MockClientMockRecorder) GetProfile(arg0 interface{}) *gomock.Call

GetProfile indicates an expected call of GetProfile.

func (*MockClientMockRecorder) GetVPC added in v0.9.0

func (mr *MockClientMockRecorder) GetVPC(arg0, arg1 interface{}) *gomock.Call

GetVPC indicates an expected call of GetVPC.

func (*MockClientMockRecorder) GetVPCSubnet added in v0.9.0

func (mr *MockClientMockRecorder) GetVPCSubnet(arg0, arg1, arg2 interface{}) *gomock.Call

GetVPCSubnet indicates an expected call of GetVPCSubnet.

func (*MockClientMockRecorder) ListFirewallDevices

func (mr *MockClientMockRecorder) ListFirewallDevices(arg0, arg1, arg2 interface{}) *gomock.Call

ListFirewallDevices indicates an expected call of ListFirewallDevices.

func (*MockClientMockRecorder) ListInstanceConfigs added in v0.9.0

func (mr *MockClientMockRecorder) ListInstanceConfigs(arg0, arg1, arg2 interface{}) *gomock.Call

ListInstanceConfigs indicates an expected call of ListInstanceConfigs.

func (*MockClientMockRecorder) ListInstances

func (mr *MockClientMockRecorder) ListInstances(arg0, arg1 interface{}) *gomock.Call

ListInstances indicates an expected call of ListInstances.

func (*MockClientMockRecorder) ListInterfaces added in v0.9.2

func (mr *MockClientMockRecorder) ListInterfaces(arg0, arg1, arg2 interface{}) *gomock.Call

ListInterfaces indicates an expected call of ListInterfaces.

func (*MockClientMockRecorder) ListNodeBalancerConfigs

func (mr *MockClientMockRecorder) ListNodeBalancerConfigs(arg0, arg1, arg2 interface{}) *gomock.Call

ListNodeBalancerConfigs indicates an expected call of ListNodeBalancerConfigs.

func (*MockClientMockRecorder) ListNodeBalancerFirewalls

func (mr *MockClientMockRecorder) ListNodeBalancerFirewalls(arg0, arg1, arg2 interface{}) *gomock.Call

ListNodeBalancerFirewalls indicates an expected call of ListNodeBalancerFirewalls.

func (*MockClientMockRecorder) ListNodeBalancerNodes

func (mr *MockClientMockRecorder) ListNodeBalancerNodes(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListNodeBalancerNodes indicates an expected call of ListNodeBalancerNodes.

func (*MockClientMockRecorder) ListNodeBalancers

func (mr *MockClientMockRecorder) ListNodeBalancers(arg0, arg1 interface{}) *gomock.Call

ListNodeBalancers indicates an expected call of ListNodeBalancers.

func (*MockClientMockRecorder) ListVPCIPAddresses added in v0.4.4

func (mr *MockClientMockRecorder) ListVPCIPAddresses(arg0, arg1, arg2 interface{}) *gomock.Call

ListVPCIPAddresses indicates an expected call of ListVPCIPAddresses.

func (*MockClientMockRecorder) ListVPCIPv6Addresses added in v0.9.1

func (mr *MockClientMockRecorder) ListVPCIPv6Addresses(arg0, arg1, arg2 interface{}) *gomock.Call

ListVPCIPv6Addresses indicates an expected call of ListVPCIPv6Addresses.

func (*MockClientMockRecorder) ListVPCSubnets added in v0.4.25

func (mr *MockClientMockRecorder) ListVPCSubnets(arg0, arg1, arg2 interface{}) *gomock.Call

ListVPCSubnets indicates an expected call of ListVPCSubnets.

func (*MockClientMockRecorder) ListVPCs added in v0.4.4

func (mr *MockClientMockRecorder) ListVPCs(arg0, arg1 interface{}) *gomock.Call

ListVPCs indicates an expected call of ListVPCs.

func (*MockClientMockRecorder) RebuildNodeBalancerConfig

func (mr *MockClientMockRecorder) RebuildNodeBalancerConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RebuildNodeBalancerConfig indicates an expected call of RebuildNodeBalancerConfig.

func (*MockClientMockRecorder) ReserveIPAddress added in v0.9.2

func (mr *MockClientMockRecorder) ReserveIPAddress(arg0, arg1 interface{}) *gomock.Call

ReserveIPAddress indicates an expected call of ReserveIPAddress.

func (*MockClientMockRecorder) ShareIPAddresses added in v0.4.5

func (mr *MockClientMockRecorder) ShareIPAddresses(arg0, arg1 interface{}) *gomock.Call

ShareIPAddresses indicates an expected call of ShareIPAddresses.

func (*MockClientMockRecorder) UpdateFirewallRules

func (mr *MockClientMockRecorder) UpdateFirewallRules(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateFirewallRules indicates an expected call of UpdateFirewallRules.

func (*MockClientMockRecorder) UpdateInstanceConfigInterface added in v0.4.4

func (mr *MockClientMockRecorder) UpdateInstanceConfigInterface(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpdateInstanceConfigInterface indicates an expected call of UpdateInstanceConfigInterface.

func (*MockClientMockRecorder) UpdateInterface added in v0.9.2

func (mr *MockClientMockRecorder) UpdateInterface(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateInterface indicates an expected call of UpdateInterface.

func (*MockClientMockRecorder) UpdateNodeBalancer

func (mr *MockClientMockRecorder) UpdateNodeBalancer(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateNodeBalancer indicates an expected call of UpdateNodeBalancer.

Jump to

Keyboard shortcuts

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