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 ¶
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 ¶
func (m *MockNewCharmRepository) EXPECT() *MockNewCharmRepositoryMockRecorder
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.