mocks

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 5 Imported by: 0

README

To re-generate the mocks, run the following command from the golift.io/starr folder.

go generate ./...

Do this when you change the APIer interface in interface.go.

Documentation

Overview

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 MockAPIer

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

MockAPIer is a mock of APIer interface.

func NewMockAPIer

func NewMockAPIer(ctrl *gomock.Controller) *MockAPIer

NewMockAPIer creates a new mock instance.

func (*MockAPIer) Delete added in v0.12.0

func (m *MockAPIer) Delete(arg0 context.Context, arg1 string, arg2 url.Values) ([]byte, error)

Delete mocks base method.

func (*MockAPIer) DeleteBody added in v0.12.0

func (m *MockAPIer) DeleteBody(arg0 context.Context, arg1 string, arg2 url.Values) (io.ReadCloser, int, error)

DeleteBody mocks base method.

func (*MockAPIer) DeleteInto added in v0.12.0

func (m *MockAPIer) DeleteInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 interface{}) error

DeleteInto mocks base method.

func (*MockAPIer) EXPECT

func (m *MockAPIer) EXPECT() *MockAPIerMockRecorder

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

func (*MockAPIer) Get

func (m *MockAPIer) Get(arg0 context.Context, arg1 string, arg2 url.Values) ([]byte, error)

Get mocks base method.

func (*MockAPIer) GetBody added in v0.12.0

func (m *MockAPIer) GetBody(arg0 context.Context, arg1 string, arg2 url.Values) (io.ReadCloser, int, error)

GetBody mocks base method.

func (*MockAPIer) GetInto

func (m *MockAPIer) GetInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 interface{}) error

GetInto mocks base method.

func (*MockAPIer) Login added in v0.12.0

func (m *MockAPIer) Login(arg0 context.Context) error

Login mocks base method.

func (*MockAPIer) Post

func (m *MockAPIer) Post(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) ([]byte, error)

Post mocks base method.

func (*MockAPIer) PostBody added in v0.12.0

func (m *MockAPIer) PostBody(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) (io.ReadCloser, int, error)

PostBody mocks base method.

func (*MockAPIer) PostInto

func (m *MockAPIer) PostInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader, arg4 interface{}) error

PostInto mocks base method.

func (*MockAPIer) Put added in v0.12.0

func (m *MockAPIer) Put(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) ([]byte, error)

Put mocks base method.

func (*MockAPIer) PutBody added in v0.12.0

func (m *MockAPIer) PutBody(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) (io.ReadCloser, int, error)

PutBody mocks base method.

func (*MockAPIer) PutInto added in v0.12.0

func (m *MockAPIer) PutInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader, arg4 interface{}) error

PutInto mocks base method.

type MockAPIerMockRecorder

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

MockAPIerMockRecorder is the mock recorder for MockAPIer.

func (*MockAPIerMockRecorder) Delete added in v0.12.0

func (mr *MockAPIerMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockAPIerMockRecorder) DeleteBody added in v0.12.0

func (mr *MockAPIerMockRecorder) DeleteBody(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteBody indicates an expected call of DeleteBody.

func (*MockAPIerMockRecorder) DeleteInto added in v0.12.0

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

DeleteInto indicates an expected call of DeleteInto.

func (*MockAPIerMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockAPIerMockRecorder) GetBody added in v0.12.0

func (mr *MockAPIerMockRecorder) GetBody(arg0, arg1, arg2 interface{}) *gomock.Call

GetBody indicates an expected call of GetBody.

func (*MockAPIerMockRecorder) GetInto

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

GetInto indicates an expected call of GetInto.

func (*MockAPIerMockRecorder) Login added in v0.12.0

func (mr *MockAPIerMockRecorder) Login(arg0 interface{}) *gomock.Call

Login indicates an expected call of Login.

func (*MockAPIerMockRecorder) Post

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

Post indicates an expected call of Post.

func (*MockAPIerMockRecorder) PostBody added in v0.12.0

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

PostBody indicates an expected call of PostBody.

func (*MockAPIerMockRecorder) PostInto

func (mr *MockAPIerMockRecorder) PostInto(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

PostInto indicates an expected call of PostInto.

func (*MockAPIerMockRecorder) Put added in v0.12.0

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

Put indicates an expected call of Put.

func (*MockAPIerMockRecorder) PutBody added in v0.12.0

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

PutBody indicates an expected call of PutBody.

func (*MockAPIerMockRecorder) PutInto added in v0.12.0

func (mr *MockAPIerMockRecorder) PutInto(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

PutInto indicates an expected call of PutInto.

Jump to

Keyboard shortcuts

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