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: 4 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 MockStateCharm

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

MockStateCharm is a mock of StateCharm interface

func NewMockStateCharm

func NewMockStateCharm(ctrl *gomock.Controller) *MockStateCharm

NewMockStateCharm creates a new mock instance

func (*MockStateCharm) EXPECT

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

func (*MockStateCharm) IsUploaded

func (m *MockStateCharm) IsUploaded() bool

IsUploaded mocks base method

type MockStateCharmMockRecorder

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

MockStateCharmMockRecorder is the mock recorder for MockStateCharm

func (*MockStateCharmMockRecorder) IsUploaded

func (mr *MockStateCharmMockRecorder) IsUploaded() *gomock.Call

IsUploaded indicates an expected call of IsUploaded

type MockStateModel

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

MockStateModel is a mock of StateModel interface

func NewMockStateModel

func NewMockStateModel(ctrl *gomock.Controller) *MockStateModel

NewMockStateModel creates a new mock instance

func (*MockStateModel) EXPECT

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

func (*MockStateModel) ModelConfig

func (m *MockStateModel) ModelConfig() (*config.Config, error)

ModelConfig mocks base method

type MockStateModelMockRecorder

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

MockStateModelMockRecorder is the mock recorder for MockStateModel

func (*MockStateModelMockRecorder) ModelConfig

func (mr *MockStateModelMockRecorder) ModelConfig() *gomock.Call

ModelConfig indicates an expected call of ModelConfig

type MockStorage

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

MockStorage is a mock of Storage interface

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) Get

func (m *MockStorage) Get(arg0 string) (io.ReadCloser, int64, error)

Get mocks base method

func (*MockStorage) Put

func (m *MockStorage) Put(arg0 string, arg1 io.Reader, arg2 int64) error

Put mocks base method

func (*MockStorage) PutAndCheckHash

func (m *MockStorage) PutAndCheckHash(arg0 string, arg1 io.Reader, arg2 int64, arg3 string) error

PutAndCheckHash mocks base method

func (*MockStorage) Remove

func (m *MockStorage) Remove(arg0 string) error

Remove mocks base method

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) Get

func (mr *MockStorageMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStorageMockRecorder) Put

func (mr *MockStorageMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockStorageMockRecorder) PutAndCheckHash

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

PutAndCheckHash indicates an expected call of PutAndCheckHash

func (*MockStorageMockRecorder) Remove

func (mr *MockStorageMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove

Jump to

Keyboard shortcuts

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