mock_usecase

package
v0.0.0-...-007df55 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_usecase is a generated GoMock package.

Package mock_usecase is a generated GoMock package.

Package mock_usecase is a generated GoMock package.

Package mock_usecase is a generated GoMock package.

Package mock_usecase is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFirewallRepository

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

MockFirewallRepository is a mock of FirewallRepository interface.

func NewMockFirewallRepository

func NewMockFirewallRepository(ctrl *gomock.Controller) *MockFirewallRepository

NewMockFirewallRepository creates a new mock instance.

func (*MockFirewallRepository) Create

Create mocks base method.

func (*MockFirewallRepository) Delete

func (m *MockFirewallRepository) Delete(ctx context.Context, id int) error

Delete mocks base method.

func (*MockFirewallRepository) EXPECT

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

func (*MockFirewallRepository) Get

Get mocks base method.

func (*MockFirewallRepository) List

List mocks base method.

func (*MockFirewallRepository) Update

Update mocks base method.

type MockFirewallRepositoryMockRecorder

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

MockFirewallRepositoryMockRecorder is the mock recorder for MockFirewallRepository.

func (*MockFirewallRepositoryMockRecorder) Create

func (mr *MockFirewallRepositoryMockRecorder) Create(ctx, fw interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockFirewallRepositoryMockRecorder) Delete

func (mr *MockFirewallRepositoryMockRecorder) Delete(ctx, id interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockFirewallRepositoryMockRecorder) Get

func (mr *MockFirewallRepositoryMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockFirewallRepositoryMockRecorder) List

func (mr *MockFirewallRepositoryMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockFirewallRepositoryMockRecorder) Update

func (mr *MockFirewallRepositoryMockRecorder) Update(ctx, fw interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockFirewallUseCase

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

MockFirewallUseCase is a mock of FirewallUseCase interface.

func NewMockFirewallUseCase

func NewMockFirewallUseCase(ctrl *gomock.Controller) *MockFirewallUseCase

NewMockFirewallUseCase creates a new mock instance.

func (*MockFirewallUseCase) Apply

func (m *MockFirewallUseCase) Apply(ctx context.Context, fileBody []byte) error

Apply mocks base method.

func (*MockFirewallUseCase) Delete

func (m *MockFirewallUseCase) Delete(ctx context.Context, target string) error

Delete mocks base method.

func (*MockFirewallUseCase) EXPECT

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

func (*MockFirewallUseCase) Get

func (m *MockFirewallUseCase) Get(ctx context.Context, target string) error

Get mocks base method.

func (*MockFirewallUseCase) List

List mocks base method.

type MockFirewallUseCaseMockRecorder

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

MockFirewallUseCaseMockRecorder is the mock recorder for MockFirewallUseCase.

func (*MockFirewallUseCaseMockRecorder) Apply

func (mr *MockFirewallUseCaseMockRecorder) Apply(ctx, fileBody interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockFirewallUseCaseMockRecorder) Delete

func (mr *MockFirewallUseCaseMockRecorder) Delete(ctx, target interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockFirewallUseCaseMockRecorder) Get

func (mr *MockFirewallUseCaseMockRecorder) Get(ctx, target interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockFirewallUseCaseMockRecorder) List

func (mr *MockFirewallUseCaseMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

type MockInstanceRepository

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

MockInstanceRepository is a mock of InstanceRepository interface.

func NewMockInstanceRepository

func NewMockInstanceRepository(ctrl *gomock.Controller) *MockInstanceRepository

NewMockInstanceRepository creates a new mock instance.

func (*MockInstanceRepository) Create

func (m *MockInstanceRepository) Create(ctx context.Context, name string, planID, osID, regionID, sshKeyID int) error

Create mocks base method.

func (*MockInstanceRepository) EXPECT

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

func (*MockInstanceRepository) List

List mocks base method.

func (*MockInstanceRepository) UpdateStatus

func (m *MockInstanceRepository) UpdateStatus(ctx context.Context, id int, status string) error

UpdateStatus mocks base method.

type MockInstanceRepositoryMockRecorder

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

MockInstanceRepositoryMockRecorder is the mock recorder for MockInstanceRepository.

func (*MockInstanceRepositoryMockRecorder) Create

func (mr *MockInstanceRepositoryMockRecorder) Create(ctx, name, planID, osID, regionID, sshKeyID interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockInstanceRepositoryMockRecorder) List

func (mr *MockInstanceRepositoryMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockInstanceRepositoryMockRecorder) UpdateStatus

func (mr *MockInstanceRepositoryMockRecorder) UpdateStatus(ctx, id, status interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

type MockInstanceUseCase

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

MockInstanceUseCase is a mock of InstanceUseCase interface.

func NewMockInstanceUseCase

func NewMockInstanceUseCase(ctrl *gomock.Controller) *MockInstanceUseCase

NewMockInstanceUseCase creates a new mock instance.

func (*MockInstanceUseCase) Create

func (m *MockInstanceUseCase) Create(ctx context.Context, name string, planID, osID, regionID, sshKeyID int) error

Create mocks base method.

func (*MockInstanceUseCase) Delete

func (m *MockInstanceUseCase) Delete(ctx context.Context, name string) error

Delete mocks base method.

func (*MockInstanceUseCase) EXPECT

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

func (*MockInstanceUseCase) ForceStop

func (m *MockInstanceUseCase) ForceStop(ctx context.Context, name string) error

ForceStop mocks base method.

func (*MockInstanceUseCase) List

List mocks base method.

func (*MockInstanceUseCase) Start

func (m *MockInstanceUseCase) Start(ctx context.Context, name string) error

Start mocks base method.

func (*MockInstanceUseCase) Stop

func (m *MockInstanceUseCase) Stop(ctx context.Context, name string) error

Stop mocks base method.

type MockInstanceUseCaseMockRecorder

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

MockInstanceUseCaseMockRecorder is the mock recorder for MockInstanceUseCase.

func (*MockInstanceUseCaseMockRecorder) Create

func (mr *MockInstanceUseCaseMockRecorder) Create(ctx, name, planID, osID, regionID, sshKeyID interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockInstanceUseCaseMockRecorder) Delete

func (mr *MockInstanceUseCaseMockRecorder) Delete(ctx, name interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockInstanceUseCaseMockRecorder) ForceStop

func (mr *MockInstanceUseCaseMockRecorder) ForceStop(ctx, name interface{}) *gomock.Call

ForceStop indicates an expected call of ForceStop.

func (*MockInstanceUseCaseMockRecorder) List

func (mr *MockInstanceUseCaseMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockInstanceUseCaseMockRecorder) Start

func (mr *MockInstanceUseCaseMockRecorder) Start(ctx, name interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockInstanceUseCaseMockRecorder) Stop

func (mr *MockInstanceUseCaseMockRecorder) Stop(ctx, name interface{}) *gomock.Call

Stop indicates an expected call of Stop.

type MockOSRepository

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

MockOSRepository is a mock of OSRepository interface.

func NewMockOSRepository

func NewMockOSRepository(ctrl *gomock.Controller) *MockOSRepository

NewMockOSRepository creates a new mock instance.

func (*MockOSRepository) EXPECT

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

func (*MockOSRepository) List

func (m *MockOSRepository) List(ctx context.Context) ([]domain.OS, error)

List mocks base method.

type MockOSRepositoryMockRecorder

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

MockOSRepositoryMockRecorder is the mock recorder for MockOSRepository.

func (*MockOSRepositoryMockRecorder) List

func (mr *MockOSRepositoryMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

type MockOSUseCase

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

MockOSUseCase is a mock of OSUseCase interface.

func NewMockOSUseCase

func NewMockOSUseCase(ctrl *gomock.Controller) *MockOSUseCase

NewMockOSUseCase creates a new mock instance.

func (*MockOSUseCase) EXPECT

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

func (*MockOSUseCase) List

func (m *MockOSUseCase) List(ctx context.Context) error

List mocks base method.

type MockOSUseCaseMockRecorder

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

MockOSUseCaseMockRecorder is the mock recorder for MockOSUseCase.

func (*MockOSUseCaseMockRecorder) List

func (mr *MockOSUseCaseMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

type MockPlanRepository

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

MockPlanRepository is a mock of PlanRepository interface.

func NewMockPlanRepository

func NewMockPlanRepository(ctrl *gomock.Controller) *MockPlanRepository

NewMockPlanRepository creates a new mock instance.

func (*MockPlanRepository) EXPECT

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

func (*MockPlanRepository) List

func (m *MockPlanRepository) List(ctx context.Context) ([]domain.Plan, error)

List mocks base method.

type MockPlanRepositoryMockRecorder

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

MockPlanRepositoryMockRecorder is the mock recorder for MockPlanRepository.

func (*MockPlanRepositoryMockRecorder) List

func (mr *MockPlanRepositoryMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

type MockPlanUseCase

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

MockPlanUseCase is a mock of PlanUseCase interface.

func NewMockPlanUseCase

func NewMockPlanUseCase(ctrl *gomock.Controller) *MockPlanUseCase

NewMockPlanUseCase creates a new mock instance.

func (*MockPlanUseCase) EXPECT

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

func (*MockPlanUseCase) List

func (m *MockPlanUseCase) List(ctx context.Context) error

List mocks base method.

type MockPlanUseCaseMockRecorder

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

MockPlanUseCaseMockRecorder is the mock recorder for MockPlanUseCase.

func (*MockPlanUseCaseMockRecorder) List

func (mr *MockPlanUseCaseMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

type MockSSHKeyRepository

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

MockSSHKeyRepository is a mock of SSHKeyRepository interface.

func NewMockSSHKeyRepository

func NewMockSSHKeyRepository(ctrl *gomock.Controller) *MockSSHKeyRepository

NewMockSSHKeyRepository creates a new mock instance.

func (*MockSSHKeyRepository) EXPECT

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

func (*MockSSHKeyRepository) List

List mocks base method.

type MockSSHKeyRepositoryMockRecorder

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

MockSSHKeyRepositoryMockRecorder is the mock recorder for MockSSHKeyRepository.

func (*MockSSHKeyRepositoryMockRecorder) List

func (mr *MockSSHKeyRepositoryMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

type MockSSHKeyUseCase

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

MockSSHKeyUseCase is a mock of SSHKeyUseCase interface.

func NewMockSSHKeyUseCase

func NewMockSSHKeyUseCase(ctrl *gomock.Controller) *MockSSHKeyUseCase

NewMockSSHKeyUseCase creates a new mock instance.

func (*MockSSHKeyUseCase) EXPECT

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

func (*MockSSHKeyUseCase) List

func (m *MockSSHKeyUseCase) List(ctx context.Context) error

List mocks base method.

type MockSSHKeyUseCaseMockRecorder

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

MockSSHKeyUseCaseMockRecorder is the mock recorder for MockSSHKeyUseCase.

func (*MockSSHKeyUseCaseMockRecorder) List

func (mr *MockSSHKeyUseCaseMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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