Documentation ¶
Overview ¶
Package forwardingrule is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CheckDuplicateForwardingRule(ctx context.Context, datacenterID, nlbID, ruleName string) (string, error)
- func (m *MockClient) CreateForwardingRule(ctx context.Context, datacenterID, nlbID string, ...) (ionoscloud.NetworkLoadBalancerForwardingRule, error)
- func (m *MockClient) DeleteForwardingRule(ctx context.Context, datacenterID, nlbID, ruleID string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetForwardingRuleByID(ctx context.Context, datacenterID, nlbID, ruleID string) (ionoscloud.NetworkLoadBalancerForwardingRule, error)
- func (m *MockClient) UpdateForwardingRule(ctx context.Context, datacenterID, nlbID, ruleID string, ...) (ionoscloud.NetworkLoadBalancerForwardingRule, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CheckDuplicateForwardingRule(ctx, datacenterID, nlbID, ruleName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateForwardingRule(ctx, datacenterID, nlbID, rule interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteForwardingRule(ctx, datacenterID, nlbID, ruleID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetForwardingRuleByID(ctx, datacenterID, nlbID, ruleID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateForwardingRule(ctx, datacenterID, nlbID, ruleID, ruleProperties interface{}) *gomock.Call
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 ¶
func (m *MockClient) CreateForwardingRule(ctx context.Context, datacenterID, nlbID string, rule ionoscloud.NetworkLoadBalancerForwardingRule) (ionoscloud.NetworkLoadBalancerForwardingRule, error)
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.