mock

package
v0.0.0-...-079b0d0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store is a mock of Store interface.

func NewStore

func NewStore(ctrl *gomock.Controller) *Store

NewStore creates a new mock instance.

func (*Store) Clear

func (m *Store) Clear(arg0 context.Context) error

Clear mocks base method.

func (*Store) EXPECT

func (m *Store) EXPECT() *StoreMockRecorder

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

func (*Store) Get

func (m *Store) Get(arg0 context.Context, arg1 *url.URL) (*url.URL, bool)

Get mocks base method.

func (*Store) Load

func (m *Store) Load(arg0 context.Context, arg1 map[*url.URL]*url.URL) error

Load mocks base method.

func (*Store) Put

func (m *Store) Put(ctx context.Context, obscured, original *url.URL) error

Put mocks base method.

func (*Store) Remove

func (m *Store) Remove(arg0 context.Context, arg1 *url.URL) error

Remove mocks base method.

func (*Store) Size

func (m *Store) Size(arg0 context.Context) int

Size mocks base method.

type StoreMockRecorder

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

StoreMockRecorder is the mock recorder for Store.

func (*StoreMockRecorder) Clear

func (mr *StoreMockRecorder) Clear(arg0 interface{}) *gomock.Call

Clear indicates an expected call of Clear.

func (*StoreMockRecorder) Get

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

Get indicates an expected call of Get.

func (*StoreMockRecorder) Load

func (mr *StoreMockRecorder) Load(arg0, arg1 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*StoreMockRecorder) Put

func (mr *StoreMockRecorder) Put(ctx, obscured, original interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*StoreMockRecorder) Remove

func (mr *StoreMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*StoreMockRecorder) Size

func (mr *StoreMockRecorder) Size(arg0 interface{}) *gomock.Call

Size indicates an expected call of Size.

Jump to

Keyboard shortcuts

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