Documentation ¶
Overview ¶
Package networkloadbalancer is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CheckDuplicateNetworkLoadBalancer(ctx context.Context, datacenterID, nlbName string) (string, error)
- func (m *MockClient) CreateNetworkLoadBalancer(ctx context.Context, datacenterID string, nlb ionoscloud.NetworkLoadBalancer) (ionoscloud.NetworkLoadBalancer, error)
- func (m *MockClient) DeleteNetworkLoadBalancer(ctx context.Context, datacenterID, nlbID string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetNetworkLoadBalancerByID(ctx context.Context, datacenterID, NetworkLoadBalancerID string) (ionoscloud.NetworkLoadBalancer, error)
- func (m *MockClient) UpdateNetworkLoadBalancer(ctx context.Context, datacenterID, nlbID string, ...) (ionoscloud.NetworkLoadBalancer, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CheckDuplicateNetworkLoadBalancer(ctx, datacenterID, nlbName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateNetworkLoadBalancer(ctx, datacenterID, nlb interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteNetworkLoadBalancer(ctx, datacenterID, nlbID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetNetworkLoadBalancerByID(ctx, datacenterID, NetworkLoadBalancerID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateNetworkLoadBalancer(ctx, datacenterID, nlbID, nlbProperties 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) CheckDuplicateNetworkLoadBalancer ¶
func (m *MockClient) CheckDuplicateNetworkLoadBalancer(ctx context.Context, datacenterID, nlbName string) (string, error)
CheckDuplicateNetworkLoadBalancer mocks base method.
func (*MockClient) CreateNetworkLoadBalancer ¶
func (m *MockClient) CreateNetworkLoadBalancer(ctx context.Context, datacenterID string, nlb ionoscloud.NetworkLoadBalancer) (ionoscloud.NetworkLoadBalancer, error)
CreateNetworkLoadBalancer mocks base method.
func (*MockClient) DeleteNetworkLoadBalancer ¶
func (m *MockClient) DeleteNetworkLoadBalancer(ctx context.Context, datacenterID, nlbID string) error
DeleteNetworkLoadBalancer 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) GetNetworkLoadBalancerByID ¶
func (m *MockClient) GetNetworkLoadBalancerByID(ctx context.Context, datacenterID, NetworkLoadBalancerID string) (ionoscloud.NetworkLoadBalancer, error)
GetNetworkLoadBalancerByID mocks base method.
func (*MockClient) UpdateNetworkLoadBalancer ¶
func (m *MockClient) UpdateNetworkLoadBalancer(ctx context.Context, datacenterID, nlbID string, nlbProperties ionoscloud.NetworkLoadBalancerProperties) (ionoscloud.NetworkLoadBalancer, error)
UpdateNetworkLoadBalancer mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CheckDuplicateNetworkLoadBalancer ¶
func (mr *MockClientMockRecorder) CheckDuplicateNetworkLoadBalancer(ctx, datacenterID, nlbName interface{}) *gomock.Call
CheckDuplicateNetworkLoadBalancer indicates an expected call of CheckDuplicateNetworkLoadBalancer.
func (*MockClientMockRecorder) CreateNetworkLoadBalancer ¶
func (mr *MockClientMockRecorder) CreateNetworkLoadBalancer(ctx, datacenterID, nlb interface{}) *gomock.Call
CreateNetworkLoadBalancer indicates an expected call of CreateNetworkLoadBalancer.
func (*MockClientMockRecorder) DeleteNetworkLoadBalancer ¶
func (mr *MockClientMockRecorder) DeleteNetworkLoadBalancer(ctx, datacenterID, nlbID interface{}) *gomock.Call
DeleteNetworkLoadBalancer indicates an expected call of DeleteNetworkLoadBalancer.
func (*MockClientMockRecorder) GetNetworkLoadBalancerByID ¶
func (mr *MockClientMockRecorder) GetNetworkLoadBalancerByID(ctx, datacenterID, NetworkLoadBalancerID interface{}) *gomock.Call
GetNetworkLoadBalancerByID indicates an expected call of GetNetworkLoadBalancerByID.
func (*MockClientMockRecorder) UpdateNetworkLoadBalancer ¶
func (mr *MockClientMockRecorder) UpdateNetworkLoadBalancer(ctx, datacenterID, nlbID, nlbProperties interface{}) *gomock.Call
UpdateNetworkLoadBalancer indicates an expected call of UpdateNetworkLoadBalancer.