mocks

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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) 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) 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) 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) 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) ListFirewallDevices

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

ListFirewallDevices 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) 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) RebuildNodeBalancerConfig

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

RebuildNodeBalancerConfig mocks base method.

func (*MockClient) UpdateFirewallRules

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

UpdateFirewallRules 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) 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) 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) 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) 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) ListFirewallDevices

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

ListFirewallDevices indicates an expected call of ListFirewallDevices.

func (*MockClientMockRecorder) ListInstances

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

ListInstances indicates an expected call of ListInstances.

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) RebuildNodeBalancerConfig

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

RebuildNodeBalancerConfig indicates an expected call of RebuildNodeBalancerConfig.

func (*MockClientMockRecorder) UpdateFirewallRules

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

UpdateFirewallRules indicates an expected call of UpdateFirewallRules.

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