mocks

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 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 MockBackend

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

MockBackend is a mock of Backend interface.

func NewMockBackend

func NewMockBackend(ctrl *gomock.Controller) *MockBackend

NewMockBackend creates a new mock instance.

func (*MockBackend) AddPendingResource

func (m *MockBackend) AddPendingResource(arg0, arg1 string, arg2 resource0.Resource) (string, error)

AddPendingResource mocks base method.

func (*MockBackend) EXPECT

func (m *MockBackend) EXPECT() *MockBackendMockRecorder

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

func (*MockBackend) ListResources

func (m *MockBackend) ListResources(arg0 string) (resource.ApplicationResources, error)

ListResources mocks base method.

type MockBackendAddPendingResourceCall

type MockBackendAddPendingResourceCall struct {
	*gomock.Call
}

MockBackendAddPendingResourceCall wrap *gomock.Call

func (*MockBackendAddPendingResourceCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendAddPendingResourceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendAddPendingResourceCall) Return

Return rewrite *gomock.Call.Return

type MockBackendListResourcesCall

type MockBackendListResourcesCall struct {
	*gomock.Call
}

MockBackendListResourcesCall wrap *gomock.Call

func (*MockBackendListResourcesCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendListResourcesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendListResourcesCall) Return

Return rewrite *gomock.Call.Return

type MockBackendMockRecorder

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

MockBackendMockRecorder is the mock recorder for MockBackend.

func (*MockBackendMockRecorder) AddPendingResource

func (mr *MockBackendMockRecorder) AddPendingResource(arg0, arg1, arg2 any) *MockBackendAddPendingResourceCall

AddPendingResource indicates an expected call of AddPendingResource.

func (*MockBackendMockRecorder) ListResources

func (mr *MockBackendMockRecorder) ListResources(arg0 any) *MockBackendListResourcesCall

ListResources indicates an expected call of ListResources.

type MockNewCharmRepository

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

MockNewCharmRepository is a mock of NewCharmRepository interface.

func NewMockNewCharmRepository

func NewMockNewCharmRepository(ctrl *gomock.Controller) *MockNewCharmRepository

NewMockNewCharmRepository creates a new mock instance.

func (*MockNewCharmRepository) EXPECT

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

func (*MockNewCharmRepository) ResolveResources

func (m *MockNewCharmRepository) ResolveResources(arg0 context.Context, arg1 []resource0.Resource, arg2 charm.CharmID) ([]resource0.Resource, error)

ResolveResources mocks base method.

type MockNewCharmRepositoryMockRecorder

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

MockNewCharmRepositoryMockRecorder is the mock recorder for MockNewCharmRepository.

func (*MockNewCharmRepositoryMockRecorder) ResolveResources

ResolveResources indicates an expected call of ResolveResources.

type MockNewCharmRepositoryResolveResourcesCall

type MockNewCharmRepositoryResolveResourcesCall struct {
	*gomock.Call
}

MockNewCharmRepositoryResolveResourcesCall wrap *gomock.Call

func (*MockNewCharmRepositoryResolveResourcesCall) Do

Do rewrite *gomock.Call.Do

func (*MockNewCharmRepositoryResolveResourcesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNewCharmRepositoryResolveResourcesCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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