mock_cache

package
v1.10.0-beta10 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_cache is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCache

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

MockCache is a mock of Cache interface.

func NewMockCache

func NewMockCache(ctrl *gomock.Controller) *MockCache

NewMockCache creates a new mock instance.

func (*MockCache) Add

func (m *MockCache) Add(arg0 context.Context, arg1 string) (digest.Digest, error)

Add mocks base method.

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

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

func (*MockCache) Get

func (m *MockCache) Get(arg0 context.Context, arg1 digest.Digest) (model.Filter, error)

Get mocks base method.

func (*MockCache) ServeHTTP

func (m *MockCache) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)

ServeHTTP mocks base method.

type MockCacheMockRecorder

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

MockCacheMockRecorder is the mock recorder for MockCache.

func (*MockCacheMockRecorder) Add

func (mr *MockCacheMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockCacheMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockCacheMockRecorder) ServeHTTP

func (mr *MockCacheMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call

ServeHTTP indicates an expected call of ServeHTTP.

Jump to

Keyboard shortcuts

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