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: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockCharmHubClient

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

MockCharmHubClient is a mock of CharmHubClient interface.

func NewMockCharmHubClient

func NewMockCharmHubClient(ctrl *gomock.Controller) *MockCharmHubClient

NewMockCharmHubClient creates a new mock instance.

func (*MockCharmHubClient) DownloadAndRead

func (m *MockCharmHubClient) DownloadAndRead(arg0 context.Context, arg1 *url.URL, arg2 string, arg3 ...charmhub.DownloadOption) (*charm.CharmArchive, error)

DownloadAndRead mocks base method.

func (*MockCharmHubClient) EXPECT

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

func (*MockCharmHubClient) Refresh

Refresh mocks base method.

type MockCharmHubClientMockRecorder

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

MockCharmHubClientMockRecorder is the mock recorder for MockCharmHubClient.

func (*MockCharmHubClientMockRecorder) DownloadAndRead

func (mr *MockCharmHubClientMockRecorder) DownloadAndRead(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

DownloadAndRead indicates an expected call of DownloadAndRead.

func (*MockCharmHubClientMockRecorder) Refresh

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

Refresh indicates an expected call of Refresh.

type MockCharmStoreClient

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

MockCharmStoreClient is a mock of CharmStoreClient interface.

func NewMockCharmStoreClient

func NewMockCharmStoreClient(ctrl *gomock.Controller) *MockCharmStoreClient

NewMockCharmStoreClient creates a new mock instance.

func (*MockCharmStoreClient) EXPECT

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

func (*MockCharmStoreClient) Get

func (m *MockCharmStoreClient) Get(arg0 *charm.URL, arg1 string) (*charm.CharmArchive, error)

Get mocks base method.

func (*MockCharmStoreClient) GetFileFromArchive

func (m *MockCharmStoreClient) GetFileFromArchive(arg0 *charm.URL, arg1 string) (io.ReadCloser, error)

GetFileFromArchive mocks base method.

func (*MockCharmStoreClient) Meta

func (m *MockCharmStoreClient) Meta(arg0 *charm.URL, arg1 interface{}) (*charm.URL, error)

Meta mocks base method.

func (*MockCharmStoreClient) ResolveWithPreferredChannel

func (m *MockCharmStoreClient) ResolveWithPreferredChannel(arg0 *charm.URL, arg1 params.Channel) (*charm.URL, params.Channel, []string, error)

ResolveWithPreferredChannel mocks base method.

type MockCharmStoreClientMockRecorder

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

MockCharmStoreClientMockRecorder is the mock recorder for MockCharmStoreClient.

func (*MockCharmStoreClientMockRecorder) Get

func (mr *MockCharmStoreClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCharmStoreClientMockRecorder) GetFileFromArchive

func (mr *MockCharmStoreClientMockRecorder) GetFileFromArchive(arg0, arg1 interface{}) *gomock.Call

GetFileFromArchive indicates an expected call of GetFileFromArchive.

func (*MockCharmStoreClientMockRecorder) Meta

func (mr *MockCharmStoreClientMockRecorder) Meta(arg0, arg1 interface{}) *gomock.Call

Meta indicates an expected call of Meta.

func (*MockCharmStoreClientMockRecorder) ResolveWithPreferredChannel

func (mr *MockCharmStoreClientMockRecorder) ResolveWithPreferredChannel(arg0, arg1 interface{}) *gomock.Call

ResolveWithPreferredChannel indicates an expected call of ResolveWithPreferredChannel.

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) 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) 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