csmock

package
v0.2.0-dev3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package csmock is a generated GoMock package.

Package csmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServerGroupService

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

MockServerGroupService is a mock of ServerGroupService interface.

func NewMockServerGroupService

func NewMockServerGroupService(ctrl *gomock.Controller) *MockServerGroupService

NewMockServerGroupService creates a new mock instance.

func (*MockServerGroupService) Create

Create mocks base method.

func (*MockServerGroupService) Delete

func (m *MockServerGroupService) Delete(ctx context.Context, serverGroupID string) error

Delete mocks base method.

func (*MockServerGroupService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServerGroupService) Get

func (m *MockServerGroupService) Get(ctx context.Context, serverGroupID string) (*cloudscale.ServerGroup, error)

Get mocks base method.

func (*MockServerGroupService) List

List mocks base method.

func (*MockServerGroupService) Update

func (m *MockServerGroupService) Update(ctx context.Context, networkID string, updateRequest *cloudscale.ServerGroupRequest) error

Update mocks base method.

type MockServerGroupServiceMockRecorder

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

MockServerGroupServiceMockRecorder is the mock recorder for MockServerGroupService.

func (*MockServerGroupServiceMockRecorder) Create

func (mr *MockServerGroupServiceMockRecorder) Create(ctx, createRequest any) *gomock.Call

Create indicates an expected call of Create.

func (*MockServerGroupServiceMockRecorder) Delete

func (mr *MockServerGroupServiceMockRecorder) Delete(ctx, serverGroupID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockServerGroupServiceMockRecorder) Get

func (mr *MockServerGroupServiceMockRecorder) Get(ctx, serverGroupID any) *gomock.Call

Get indicates an expected call of Get.

func (*MockServerGroupServiceMockRecorder) List

func (mr *MockServerGroupServiceMockRecorder) List(ctx any, modifiers ...any) *gomock.Call

List indicates an expected call of List.

func (*MockServerGroupServiceMockRecorder) Update

func (mr *MockServerGroupServiceMockRecorder) Update(ctx, networkID, updateRequest any) *gomock.Call

Update indicates an expected call of Update.

type MockServerService

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

MockServerService is a mock of ServerService interface.

func NewMockServerService

func NewMockServerService(ctrl *gomock.Controller) *MockServerService

NewMockServerService creates a new mock instance.

func (*MockServerService) Create

func (m *MockServerService) Create(ctx context.Context, createRequest *cloudscale.ServerRequest) (*cloudscale.Server, error)

Create mocks base method.

func (*MockServerService) Delete

func (m *MockServerService) Delete(ctx context.Context, serverID string) error

Delete mocks base method.

func (*MockServerService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServerService) Get

func (m *MockServerService) Get(ctx context.Context, serverID string) (*cloudscale.Server, error)

Get mocks base method.

func (*MockServerService) List

List mocks base method.

func (*MockServerService) Reboot

func (m *MockServerService) Reboot(ctx context.Context, serverID string) error

Reboot mocks base method.

func (*MockServerService) Start

func (m *MockServerService) Start(ctx context.Context, serverID string) error

Start mocks base method.

func (*MockServerService) Stop

func (m *MockServerService) Stop(ctx context.Context, serverID string) error

Stop mocks base method.

func (*MockServerService) Update

func (m *MockServerService) Update(ctx context.Context, serverID string, updateRequest *cloudscale.ServerUpdateRequest) error

Update mocks base method.

type MockServerServiceMockRecorder

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

MockServerServiceMockRecorder is the mock recorder for MockServerService.

func (*MockServerServiceMockRecorder) Create

func (mr *MockServerServiceMockRecorder) Create(ctx, createRequest any) *gomock.Call

Create indicates an expected call of Create.

func (*MockServerServiceMockRecorder) Delete

func (mr *MockServerServiceMockRecorder) Delete(ctx, serverID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockServerServiceMockRecorder) Get

func (mr *MockServerServiceMockRecorder) Get(ctx, serverID any) *gomock.Call

Get indicates an expected call of Get.

func (*MockServerServiceMockRecorder) List

func (mr *MockServerServiceMockRecorder) List(ctx any, modifiers ...any) *gomock.Call

List indicates an expected call of List.

func (*MockServerServiceMockRecorder) Reboot

func (mr *MockServerServiceMockRecorder) Reboot(ctx, serverID any) *gomock.Call

Reboot indicates an expected call of Reboot.

func (*MockServerServiceMockRecorder) Start

func (mr *MockServerServiceMockRecorder) Start(ctx, serverID any) *gomock.Call

Start indicates an expected call of Start.

func (*MockServerServiceMockRecorder) Stop

func (mr *MockServerServiceMockRecorder) Stop(ctx, serverID any) *gomock.Call

Stop indicates an expected call of Stop.

func (*MockServerServiceMockRecorder) Update

func (mr *MockServerServiceMockRecorder) Update(ctx, serverID, updateRequest any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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