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

func (m *MockCharmHubClient) Download(arg0 context.Context, arg1 *url.URL, arg2 string) error

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

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

Download indicates an expected call of Download

func (*MockCharmHubClientMockRecorder) Refresh

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

Refresh indicates an expected call of Refresh

type MockDownloadCommandAPI

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

MockDownloadCommandAPI is a mock of DownloadCommandAPI interface

func NewMockDownloadCommandAPI

func NewMockDownloadCommandAPI(ctrl *gomock.Controller) *MockDownloadCommandAPI

NewMockDownloadCommandAPI creates a new mock instance

func (*MockDownloadCommandAPI) Download

func (m *MockDownloadCommandAPI) Download(arg0 context.Context, arg1 *url.URL, arg2 string, arg3 ...charmhub0.DownloadOption) error

Download mocks base method

func (*MockDownloadCommandAPI) EXPECT

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

func (*MockDownloadCommandAPI) Info

Info mocks base method

func (*MockDownloadCommandAPI) Refresh

Refresh mocks base method

type MockDownloadCommandAPIMockRecorder

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

MockDownloadCommandAPIMockRecorder is the mock recorder for MockDownloadCommandAPI

func (*MockDownloadCommandAPIMockRecorder) Download

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

Download indicates an expected call of Download

func (*MockDownloadCommandAPIMockRecorder) Info

func (mr *MockDownloadCommandAPIMockRecorder) Info(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Info indicates an expected call of Info

func (*MockDownloadCommandAPIMockRecorder) Refresh

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

Refresh indicates an expected call of Refresh

type MockFilesystem

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

MockFilesystem is a mock of Filesystem interface

func NewMockFilesystem

func NewMockFilesystem(ctrl *gomock.Controller) *MockFilesystem

NewMockFilesystem creates a new mock instance

func (*MockFilesystem) Create

func (m *MockFilesystem) Create(arg0 string) (*os.File, error)

Create mocks base method

func (*MockFilesystem) EXPECT

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

func (*MockFilesystem) Open

Open mocks base method

func (*MockFilesystem) OpenFile

func (m *MockFilesystem) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (*os.File, error)

OpenFile mocks base method

func (*MockFilesystem) RemoveAll

func (m *MockFilesystem) RemoveAll(arg0 string) error

RemoveAll mocks base method

func (*MockFilesystem) Stat

func (m *MockFilesystem) Stat(arg0 string) (os.FileInfo, error)

Stat mocks base method

type MockFilesystemMockRecorder

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

MockFilesystemMockRecorder is the mock recorder for MockFilesystem

func (*MockFilesystemMockRecorder) Create

func (mr *MockFilesystemMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockFilesystemMockRecorder) Open

func (mr *MockFilesystemMockRecorder) Open(arg0 interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockFilesystemMockRecorder) OpenFile

func (mr *MockFilesystemMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call

OpenFile indicates an expected call of OpenFile

func (*MockFilesystemMockRecorder) RemoveAll

func (mr *MockFilesystemMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call

RemoveAll indicates an expected call of RemoveAll

func (*MockFilesystemMockRecorder) Stat

func (mr *MockFilesystemMockRecorder) Stat(arg0 interface{}) *gomock.Call

Stat indicates an expected call of Stat

type MockFindCommandAPI

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

MockFindCommandAPI is a mock of FindCommandAPI interface

func NewMockFindCommandAPI

func NewMockFindCommandAPI(ctrl *gomock.Controller) *MockFindCommandAPI

NewMockFindCommandAPI creates a new mock instance

func (*MockFindCommandAPI) Close

func (m *MockFindCommandAPI) Close() error

Close mocks base method

func (*MockFindCommandAPI) EXPECT

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

func (*MockFindCommandAPI) Find

Find mocks base method

type MockFindCommandAPIMockRecorder

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

MockFindCommandAPIMockRecorder is the mock recorder for MockFindCommandAPI

func (*MockFindCommandAPIMockRecorder) Close

Close indicates an expected call of Close

func (*MockFindCommandAPIMockRecorder) Find

func (mr *MockFindCommandAPIMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Find indicates an expected call of Find

type MockInfoCommandAPI

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

MockInfoCommandAPI is a mock of InfoCommandAPI interface

func NewMockInfoCommandAPI

func NewMockInfoCommandAPI(ctrl *gomock.Controller) *MockInfoCommandAPI

NewMockInfoCommandAPI creates a new mock instance

func (*MockInfoCommandAPI) Close

func (m *MockInfoCommandAPI) Close() error

Close mocks base method

func (*MockInfoCommandAPI) EXPECT

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

func (*MockInfoCommandAPI) Info

Info mocks base method

type MockInfoCommandAPIMockRecorder

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

MockInfoCommandAPIMockRecorder is the mock recorder for MockInfoCommandAPI

func (*MockInfoCommandAPIMockRecorder) Close

Close indicates an expected call of Close

func (*MockInfoCommandAPIMockRecorder) Info

func (mr *MockInfoCommandAPIMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Info indicates an expected call of Info

type MockModelConfigClient

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

MockModelConfigClient is a mock of ModelConfigClient interface

func NewMockModelConfigClient

func NewMockModelConfigClient(ctrl *gomock.Controller) *MockModelConfigClient

NewMockModelConfigClient creates a new mock instance

func (*MockModelConfigClient) Close

func (m *MockModelConfigClient) Close() error

Close mocks base method

func (*MockModelConfigClient) EXPECT

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

func (*MockModelConfigClient) ModelGet

func (m *MockModelConfigClient) ModelGet() (map[string]interface{}, error)

ModelGet mocks base method

type MockModelConfigClientMockRecorder

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

MockModelConfigClientMockRecorder is the mock recorder for MockModelConfigClient

func (*MockModelConfigClientMockRecorder) Close

Close indicates an expected call of Close

func (*MockModelConfigClientMockRecorder) ModelGet

ModelGet indicates an expected call of ModelGet

type MockModelConfigGetter

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

MockModelConfigGetter is a mock of ModelConfigGetter interface

func NewMockModelConfigGetter

func NewMockModelConfigGetter(ctrl *gomock.Controller) *MockModelConfigGetter

NewMockModelConfigGetter creates a new mock instance

func (*MockModelConfigGetter) EXPECT

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

func (*MockModelConfigGetter) ModelGet

func (m *MockModelConfigGetter) ModelGet() (map[string]interface{}, error)

ModelGet mocks base method

type MockModelConfigGetterMockRecorder

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

MockModelConfigGetterMockRecorder is the mock recorder for MockModelConfigGetter

func (*MockModelConfigGetterMockRecorder) ModelGet

ModelGet indicates an expected call of ModelGet

type MockOSEnviron

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

MockOSEnviron is a mock of OSEnviron interface

func NewMockOSEnviron

func NewMockOSEnviron(ctrl *gomock.Controller) *MockOSEnviron

NewMockOSEnviron creates a new mock instance

func (*MockOSEnviron) EXPECT

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

func (*MockOSEnviron) Getenv

func (m *MockOSEnviron) Getenv(arg0 string) string

Getenv mocks base method

func (*MockOSEnviron) IsTerminal

func (m *MockOSEnviron) IsTerminal() bool

IsTerminal mocks base method

type MockOSEnvironMockRecorder

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

MockOSEnvironMockRecorder is the mock recorder for MockOSEnviron

func (*MockOSEnvironMockRecorder) Getenv

func (mr *MockOSEnvironMockRecorder) Getenv(arg0 interface{}) *gomock.Call

Getenv indicates an expected call of Getenv

func (*MockOSEnvironMockRecorder) IsTerminal

func (mr *MockOSEnvironMockRecorder) IsTerminal() *gomock.Call

IsTerminal indicates an expected call of IsTerminal

type MockReadSeekCloser

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

MockReadSeekCloser is a mock of ReadSeekCloser interface

func NewMockReadSeekCloser

func NewMockReadSeekCloser(ctrl *gomock.Controller) *MockReadSeekCloser

NewMockReadSeekCloser creates a new mock instance

func (*MockReadSeekCloser) Close

func (m *MockReadSeekCloser) Close() error

Close mocks base method

func (*MockReadSeekCloser) EXPECT

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

func (*MockReadSeekCloser) Read

func (m *MockReadSeekCloser) Read(arg0 []byte) (int, error)

Read mocks base method

func (*MockReadSeekCloser) Seek

func (m *MockReadSeekCloser) Seek(arg0 int64, arg1 int) (int64, error)

Seek mocks base method

type MockReadSeekCloserMockRecorder

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

MockReadSeekCloserMockRecorder is the mock recorder for MockReadSeekCloser

func (*MockReadSeekCloserMockRecorder) Close

Close indicates an expected call of Close

func (*MockReadSeekCloserMockRecorder) Read

func (mr *MockReadSeekCloserMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockReadSeekCloserMockRecorder) Seek

func (mr *MockReadSeekCloserMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call

Seek indicates an expected call of Seek

Jump to

Keyboard shortcuts

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