mocks

package
v0.0.0-...-6dcaeb9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 5 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 resource.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) (resources.ApplicationResources, error)

ListResources mocks base method.

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) *gomock.Call

AddPendingResource indicates an expected call of AddPendingResource.

func (*MockBackendMockRecorder) ListResources

func (mr *MockBackendMockRecorder) ListResources(arg0 any) *gomock.Call

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 []resource.Resource, arg1 charm.CharmID) ([]resource.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

func (mr *MockNewCharmRepositoryMockRecorder) ResolveResources(arg0, arg1 any) *gomock.Call

ResolveResources indicates an expected call of ResolveResources.

Jump to

Keyboard shortcuts

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