mock

package
v2.0.4-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 3 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 MockResourceClient

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

MockResourceClient is a mock of ResourceClient interface.

func NewMockResourceClient

func NewMockResourceClient(ctrl *gomock.Controller) *MockResourceClient

NewMockResourceClient creates a new mock instance.

func (*MockResourceClient) Download

func (m *MockResourceClient) Download(arg0 *source.Request) (*source.Response, error)

Download mocks base method.

func (*MockResourceClient) EXPECT

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

func (*MockResourceClient) GetContentLength

func (m *MockResourceClient) GetContentLength(arg0 *source.Request) (int64, error)

GetContentLength mocks base method.

func (*MockResourceClient) GetLastModified added in v2.0.2

func (m *MockResourceClient) GetLastModified(arg0 *source.Request) (int64, error)

GetLastModified mocks base method.

func (*MockResourceClient) IsExpired

func (m *MockResourceClient) IsExpired(arg0 *source.Request, arg1 *source.ExpireInfo) (bool, error)

IsExpired mocks base method.

func (*MockResourceClient) IsSupportRange

func (m *MockResourceClient) IsSupportRange(arg0 *source.Request) (bool, error)

IsSupportRange mocks base method.

type MockResourceClientMockRecorder

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

MockResourceClientMockRecorder is the mock recorder for MockResourceClient.

func (*MockResourceClientMockRecorder) Download

func (mr *MockResourceClientMockRecorder) Download(arg0 interface{}) *gomock.Call

Download indicates an expected call of Download.

func (*MockResourceClientMockRecorder) GetContentLength

func (mr *MockResourceClientMockRecorder) GetContentLength(arg0 interface{}) *gomock.Call

GetContentLength indicates an expected call of GetContentLength.

func (*MockResourceClientMockRecorder) GetLastModified added in v2.0.2

func (mr *MockResourceClientMockRecorder) GetLastModified(arg0 interface{}) *gomock.Call

GetLastModified indicates an expected call of GetLastModified.

func (*MockResourceClientMockRecorder) IsExpired

func (mr *MockResourceClientMockRecorder) IsExpired(arg0, arg1 interface{}) *gomock.Call

IsExpired indicates an expected call of IsExpired.

func (*MockResourceClientMockRecorder) IsSupportRange

func (mr *MockResourceClientMockRecorder) IsSupportRange(arg0 interface{}) *gomock.Call

IsSupportRange indicates an expected call of IsSupportRange.

Jump to

Keyboard shortcuts

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