mock

package
v2.0.0-alpha-inner-test Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 6 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

Download mocks base method.

func (*MockResourceClient) DownloadWithResponseHeader

func (m *MockResourceClient) DownloadWithResponseHeader(arg0 context.Context, arg1 string, arg2 source.RequestHeader, arg3 *rangeutils.Range) (io.ReadCloser, source.ResponseHeader, error)

DownloadWithResponseHeader 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 context.Context, arg1 string, arg2 source.RequestHeader, arg3 *rangeutils.Range) (int64, error)

GetContentLength mocks base method.

func (*MockResourceClient) GetLastModifiedMillis

func (m *MockResourceClient) GetLastModifiedMillis(arg0 context.Context, arg1 string, arg2 source.RequestHeader) (int64, error)

GetLastModifiedMillis mocks base method.

func (*MockResourceClient) IsExpired

func (m *MockResourceClient) IsExpired(arg0 context.Context, arg1 string, arg2 source.RequestHeader, arg3 map[string]string) (bool, error)

IsExpired mocks base method.

func (*MockResourceClient) IsSupportRange

func (m *MockResourceClient) IsSupportRange(arg0 context.Context, arg1 string, arg2 source.RequestHeader) (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, arg1, arg2, arg3 interface{}) *gomock.Call

Download indicates an expected call of Download.

func (*MockResourceClientMockRecorder) DownloadWithResponseHeader

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

DownloadWithResponseHeader indicates an expected call of DownloadWithResponseHeader.

func (*MockResourceClientMockRecorder) GetContentLength

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

GetContentLength indicates an expected call of GetContentLength.

func (*MockResourceClientMockRecorder) GetLastModifiedMillis

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

GetLastModifiedMillis indicates an expected call of GetLastModifiedMillis.

func (*MockResourceClientMockRecorder) IsExpired

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

IsExpired indicates an expected call of IsExpired.

func (*MockResourceClientMockRecorder) IsSupportRange

func (mr *MockResourceClientMockRecorder) IsSupportRange(arg0, arg1, arg2 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