Documentation ¶
Overview ¶
Package ipblock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CheckDuplicateIPBlock(ctx context.Context, ipBlockName, location string) (*ionoscloud.IpBlock, error)
- func (m *MockClient) CreateIPBlock(ctx context.Context, ipBlock ionoscloud.IpBlock) (ionoscloud.IpBlock, *ionoscloud.APIResponse, error)
- func (m *MockClient) DeleteIPBlock(ctx context.Context, ipBlockID string) (*ionoscloud.APIResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetAPIClient() *ionoscloud.APIClient
- func (m *MockClient) GetIPBlock(ctx context.Context, ipBlockID string) (ionoscloud.IpBlock, *ionoscloud.APIResponse, error)
- func (m *MockClient) GetIPBlockID(ipBlock *ionoscloud.IpBlock) (string, error)
- func (m *MockClient) GetIPs(ctx context.Context, ipBlockID string, indexes ...int) ([]string, error)
- func (m *MockClient) UpdateIPBlock(ctx context.Context, ipBlockID string, ipBlock ionoscloud.IpBlockProperties) (ionoscloud.IpBlock, *ionoscloud.APIResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CheckDuplicateIPBlock(ctx, ipBlockName, location interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateIPBlock(ctx, ipBlock interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteIPBlock(ctx, ipBlockID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAPIClient() *gomock.Call
- func (mr *MockClientMockRecorder) GetIPBlock(ctx, ipBlockID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetIPBlockID(ipBlock interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetIPs(ctx, ipBlockID interface{}, indexes ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateIPBlock(ctx, ipBlockID, ipBlock 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) CheckDuplicateIPBlock ¶
func (m *MockClient) CheckDuplicateIPBlock(ctx context.Context, ipBlockName, location string) (*ionoscloud.IpBlock, error)
CheckDuplicateIPBlock mocks base method.
func (*MockClient) CreateIPBlock ¶
func (m *MockClient) CreateIPBlock(ctx context.Context, ipBlock ionoscloud.IpBlock) (ionoscloud.IpBlock, *ionoscloud.APIResponse, error)
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 ¶
func (m *MockClient) UpdateIPBlock(ctx context.Context, ipBlockID string, ipBlock ionoscloud.IpBlockProperties) (ionoscloud.IpBlock, *ionoscloud.APIResponse, error)
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.