forwardingrule

package
v0.3.6-test Latest Latest
Warning

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

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

Documentation

Overview

Package forwardingrule 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) CheckDuplicateForwardingRule

func (m *MockClient) CheckDuplicateForwardingRule(ctx context.Context, datacenterID, nlbID, ruleName string) (string, error)

CheckDuplicateForwardingRule mocks base method.

func (*MockClient) CreateForwardingRule

CreateForwardingRule mocks base method.

func (*MockClient) DeleteForwardingRule

func (m *MockClient) DeleteForwardingRule(ctx context.Context, datacenterID, nlbID, ruleID string) error

DeleteForwardingRule 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) GetForwardingRuleByID

func (m *MockClient) GetForwardingRuleByID(ctx context.Context, datacenterID, nlbID, ruleID string) (ionoscloud.NetworkLoadBalancerForwardingRule, error)

GetForwardingRuleByID mocks base method.

func (*MockClient) UpdateForwardingRule

func (m *MockClient) UpdateForwardingRule(ctx context.Context, datacenterID, nlbID, ruleID string, ruleProperties ionoscloud.NetworkLoadBalancerForwardingRuleProperties) (ionoscloud.NetworkLoadBalancerForwardingRule, error)

UpdateForwardingRule mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CheckDuplicateForwardingRule

func (mr *MockClientMockRecorder) CheckDuplicateForwardingRule(ctx, datacenterID, nlbID, ruleName interface{}) *gomock.Call

CheckDuplicateForwardingRule indicates an expected call of CheckDuplicateForwardingRule.

func (*MockClientMockRecorder) CreateForwardingRule

func (mr *MockClientMockRecorder) CreateForwardingRule(ctx, datacenterID, nlbID, rule interface{}) *gomock.Call

CreateForwardingRule indicates an expected call of CreateForwardingRule.

func (*MockClientMockRecorder) DeleteForwardingRule

func (mr *MockClientMockRecorder) DeleteForwardingRule(ctx, datacenterID, nlbID, ruleID interface{}) *gomock.Call

DeleteForwardingRule indicates an expected call of DeleteForwardingRule.

func (*MockClientMockRecorder) GetForwardingRuleByID

func (mr *MockClientMockRecorder) GetForwardingRuleByID(ctx, datacenterID, nlbID, ruleID interface{}) *gomock.Call

GetForwardingRuleByID indicates an expected call of GetForwardingRuleByID.

func (*MockClientMockRecorder) UpdateForwardingRule

func (mr *MockClientMockRecorder) UpdateForwardingRule(ctx, datacenterID, nlbID, ruleID, ruleProperties interface{}) *gomock.Call

UpdateForwardingRule indicates an expected call of UpdateForwardingRule.

Jump to

Keyboard shortcuts

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