mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 4 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 MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Delete

func (m *MockClient) Delete(url string) ([]byte, int, error)

Delete mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Get

func (m *MockClient) Get(url, body string) ([]byte, int, error)

Get mocks base method

func (*MockClient) Post

func (m *MockClient) Post(url, body string) ([]byte, int, error)

Post mocks base method

func (*MockClient) Put

func (m *MockClient) Put(url, body string) ([]byte, int, error)

Put mocks base method

type MockClientMockRecorder added in v1.0.0

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Delete added in v1.0.0

func (mr *MockClientMockRecorder) Delete(url interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockClientMockRecorder) Get added in v1.0.0

func (mr *MockClientMockRecorder) Get(url, body interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockClientMockRecorder) Post added in v1.0.0

func (mr *MockClientMockRecorder) Post(url, body interface{}) *gomock.Call

Post indicates an expected call of Post

func (*MockClientMockRecorder) Put added in v1.0.0

func (mr *MockClientMockRecorder) Put(url, body interface{}) *gomock.Call

Put indicates an expected call of Put

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(name string) (afero.File, error)

Create mocks base method

func (*MockFileSystem) EXPECT

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

func (*MockFileSystem) IsNotExist

func (m *MockFileSystem) IsNotExist(err error) bool

IsNotExist mocks base method

func (*MockFileSystem) MkdirAll

func (m *MockFileSystem) MkdirAll(path string, perm os.FileMode) error

MkdirAll mocks base method

func (*MockFileSystem) Stat

func (m *MockFileSystem) Stat(name string) (os.FileInfo, error)

Stat mocks base method

type MockFileSystemMockRecorder added in v1.0.0

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

MockFileSystemMockRecorder is the mock recorder for MockFileSystem

func (*MockFileSystemMockRecorder) Create added in v1.0.0

func (mr *MockFileSystemMockRecorder) Create(name interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockFileSystemMockRecorder) IsNotExist added in v1.0.0

func (mr *MockFileSystemMockRecorder) IsNotExist(err interface{}) *gomock.Call

IsNotExist indicates an expected call of IsNotExist

func (*MockFileSystemMockRecorder) MkdirAll added in v1.0.0

func (mr *MockFileSystemMockRecorder) MkdirAll(path, perm interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll

func (*MockFileSystemMockRecorder) Stat added in v1.0.0

func (mr *MockFileSystemMockRecorder) Stat(name interface{}) *gomock.Call

Stat indicates an expected call of Stat

Jump to

Keyboard shortcuts

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