mocks

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockCharmHub

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

MockCharmHub is a mock of CharmHub interface.

func NewMockCharmHub

func NewMockCharmHub(ctrl *gomock.Controller) *MockCharmHub

NewMockCharmHub creates a new mock instance.

func (*MockCharmHub) EXPECT

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

func (*MockCharmHub) ListResourceRevisions

func (m *MockCharmHub) ListResourceRevisions(arg0 context.Context, arg1, arg2 string) ([]transport.ResourceRevision, error)

ListResourceRevisions mocks base method.

func (*MockCharmHub) Refresh

Refresh mocks base method.

type MockCharmHubMockRecorder

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

MockCharmHubMockRecorder is the mock recorder for MockCharmHub.

func (*MockCharmHubMockRecorder) ListResourceRevisions

func (mr *MockCharmHubMockRecorder) ListResourceRevisions(arg0, arg1, arg2 interface{}) *gomock.Call

ListResourceRevisions indicates an expected call of ListResourceRevisions.

func (*MockCharmHubMockRecorder) Refresh

func (mr *MockCharmHubMockRecorder) Refresh(arg0, arg1 interface{}) *gomock.Call

Refresh indicates an expected call of Refresh.

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debugf

func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})

Debugf mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Errorf

func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})

Errorf mocks base method.

func (*MockLogger) Tracef

func (m *MockLogger) Tracef(arg0 string, arg1 ...interface{})

Tracef mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debugf

func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf.

func (*MockLoggerMockRecorder) Errorf

func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf.

func (*MockLoggerMockRecorder) Tracef

func (mr *MockLoggerMockRecorder) Tracef(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Tracef indicates an expected call of Tracef.

Jump to

Keyboard shortcuts

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