mocks

package
v0.0.0-...-0a271de Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplicationService

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

MockApplicationService is a mock of ApplicationService interface.

func NewMockApplicationService

func NewMockApplicationService(ctrl *gomock.Controller) *MockApplicationService

NewMockApplicationService creates a new mock instance.

func (*MockApplicationService) EXPECT

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

func (*MockApplicationService) GetApplicationIDByName

func (m *MockApplicationService) GetApplicationIDByName(arg0 context.Context, arg1 string) (application.ID, error)

GetApplicationIDByName mocks base method.

func (*MockApplicationService) GetCharmByApplicationID

func (m *MockApplicationService) GetCharmByApplicationID(arg0 context.Context, arg1 application.ID) (charm0.Charm, charm.CharmLocator, error)

GetCharmByApplicationID mocks base method.

type MockApplicationServiceGetApplicationIDByNameCall

type MockApplicationServiceGetApplicationIDByNameCall struct {
	*gomock.Call
}

MockApplicationServiceGetApplicationIDByNameCall wrap *gomock.Call

func (*MockApplicationServiceGetApplicationIDByNameCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationServiceGetApplicationIDByNameCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationServiceGetApplicationIDByNameCall) Return

Return rewrite *gomock.Call.Return

type MockApplicationServiceGetCharmByApplicationIDCall

type MockApplicationServiceGetCharmByApplicationIDCall struct {
	*gomock.Call
}

MockApplicationServiceGetCharmByApplicationIDCall wrap *gomock.Call

func (*MockApplicationServiceGetCharmByApplicationIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationServiceGetCharmByApplicationIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationServiceGetCharmByApplicationIDCall) Return

Return rewrite *gomock.Call.Return

type MockApplicationServiceMockRecorder

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

MockApplicationServiceMockRecorder is the mock recorder for MockApplicationService.

func (*MockApplicationServiceMockRecorder) GetApplicationIDByName

GetApplicationIDByName indicates an expected call of GetApplicationIDByName.

func (*MockApplicationServiceMockRecorder) GetCharmByApplicationID

GetCharmByApplicationID indicates an expected call of GetCharmByApplicationID.

type MockCharmService

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

MockCharmService is a mock of CharmService interface.

func NewMockCharmService

func NewMockCharmService(ctrl *gomock.Controller) *MockCharmService

NewMockCharmService creates a new mock instance.

func (*MockCharmService) EXPECT

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

func (*MockCharmService) GetCharm

GetCharm mocks base method.

type MockCharmServiceGetCharmCall

type MockCharmServiceGetCharmCall struct {
	*gomock.Call
}

MockCharmServiceGetCharmCall wrap *gomock.Call

func (*MockCharmServiceGetCharmCall) Do

Do rewrite *gomock.Call.Do

func (*MockCharmServiceGetCharmCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCharmServiceGetCharmCall) Return

Return rewrite *gomock.Call.Return

type MockCharmServiceMockRecorder

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

MockCharmServiceMockRecorder is the mock recorder for MockCharmService.

func (*MockCharmServiceMockRecorder) GetCharm

GetCharm indicates an expected call of GetCharm.

Jump to

Keyboard shortcuts

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