ipblock

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ipblock 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) CheckDuplicateIPBlock

func (m *MockClient) CheckDuplicateIPBlock(ctx context.Context, ipBlockName, location string) (*ionoscloud.IpBlock, error)

CheckDuplicateIPBlock mocks base method.

func (*MockClient) CreateIPBlock

CreateIPBlock mocks base method.

func (*MockClient) DeleteIPBlock

func (m *MockClient) DeleteIPBlock(ctx context.Context, ipBlockID string) (*ionoscloud.APIResponse, error)

DeleteIPBlock 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) GetAPIClient

func (m *MockClient) GetAPIClient() *ionoscloud.APIClient

GetAPIClient mocks base method.

func (*MockClient) GetIPBlock

func (m *MockClient) GetIPBlock(ctx context.Context, ipBlockID string) (ionoscloud.IpBlock, *ionoscloud.APIResponse, error)

GetIPBlock mocks base method.

func (*MockClient) GetIPBlockID

func (m *MockClient) GetIPBlockID(ipBlock *ionoscloud.IpBlock) (string, error)

GetIPBlockID mocks base method.

func (*MockClient) GetIPs

func (m *MockClient) GetIPs(ctx context.Context, ipBlockID string, indexes ...int) ([]string, error)

GetIPs mocks base method.

func (*MockClient) UpdateIPBlock

UpdateIPBlock mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CheckDuplicateIPBlock

func (mr *MockClientMockRecorder) CheckDuplicateIPBlock(ctx, ipBlockName, location interface{}) *gomock.Call

CheckDuplicateIPBlock indicates an expected call of CheckDuplicateIPBlock.

func (*MockClientMockRecorder) CreateIPBlock

func (mr *MockClientMockRecorder) CreateIPBlock(ctx, ipBlock interface{}) *gomock.Call

CreateIPBlock indicates an expected call of CreateIPBlock.

func (*MockClientMockRecorder) DeleteIPBlock

func (mr *MockClientMockRecorder) DeleteIPBlock(ctx, ipBlockID interface{}) *gomock.Call

DeleteIPBlock indicates an expected call of DeleteIPBlock.

func (*MockClientMockRecorder) GetAPIClient

func (mr *MockClientMockRecorder) GetAPIClient() *gomock.Call

GetAPIClient indicates an expected call of GetAPIClient.

func (*MockClientMockRecorder) GetIPBlock

func (mr *MockClientMockRecorder) GetIPBlock(ctx, ipBlockID interface{}) *gomock.Call

GetIPBlock indicates an expected call of GetIPBlock.

func (*MockClientMockRecorder) GetIPBlockID

func (mr *MockClientMockRecorder) GetIPBlockID(ipBlock interface{}) *gomock.Call

GetIPBlockID indicates an expected call of GetIPBlockID.

func (*MockClientMockRecorder) GetIPs

func (mr *MockClientMockRecorder) GetIPs(ctx, ipBlockID interface{}, indexes ...interface{}) *gomock.Call

GetIPs indicates an expected call of GetIPs.

func (*MockClientMockRecorder) UpdateIPBlock

func (mr *MockClientMockRecorder) UpdateIPBlock(ctx, ipBlockID, ipBlock interface{}) *gomock.Call

UpdateIPBlock indicates an expected call of UpdateIPBlock.

Jump to

Keyboard shortcuts

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