storage_mock

package
v0.2.120 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package storage_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorageAPIClient

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

MockStorageAPIClient is a mock of StorageAPIClient interface.

func NewMockStorageAPIClient

func NewMockStorageAPIClient(ctrl *gomock.Controller) *MockStorageAPIClient

NewMockStorageAPIClient creates a new mock instance.

func (*MockStorageAPIClient) AggregateSitemap added in v0.2.108

func (m *MockStorageAPIClient) AggregateSitemap(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1.AggregateSitemapResponse, error)

AggregateSitemap mocks base method.

func (*MockStorageAPIClient) DeleteFile

DeleteFile mocks base method.

func (*MockStorageAPIClient) EXPECT

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

func (*MockStorageAPIClient) GetFileByFileLocation

GetFileByFileLocation mocks base method.

func (*MockStorageAPIClient) GetFileByID

GetFileByID mocks base method.

func (*MockStorageAPIClient) GetFiles

GetFiles mocks base method.

func (*MockStorageAPIClient) GetTmpFileAccess added in v0.2.110

GetTmpFileAccess mocks base method.

func (*MockStorageAPIClient) ProcessOldFiles

func (m *MockStorageAPIClient) ProcessOldFiles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

ProcessOldFiles mocks base method.

func (*MockStorageAPIClient) ProvideIdsToContentAPI

func (m *MockStorageAPIClient) ProvideIdsToContentAPI(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

ProvideIdsToContentAPI mocks base method.

func (*MockStorageAPIClient) StopProcessOldFiles

func (m *MockStorageAPIClient) StopProcessOldFiles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

StopProcessOldFiles mocks base method.

func (*MockStorageAPIClient) StopProvideIdsToContentAPI

func (m *MockStorageAPIClient) StopProvideIdsToContentAPI(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

StopProvideIdsToContentAPI mocks base method.

func (*MockStorageAPIClient) UploadFile

UploadFile mocks base method.

type MockStorageAPIClientMockRecorder

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

MockStorageAPIClientMockRecorder is the mock recorder for MockStorageAPIClient.

func (*MockStorageAPIClientMockRecorder) AggregateSitemap added in v0.2.108

func (mr *MockStorageAPIClientMockRecorder) AggregateSitemap(ctx, in interface{}, opts ...interface{}) *gomock.Call

AggregateSitemap indicates an expected call of AggregateSitemap.

func (*MockStorageAPIClientMockRecorder) DeleteFile

func (mr *MockStorageAPIClientMockRecorder) DeleteFile(ctx, in interface{}, opts ...interface{}) *gomock.Call

DeleteFile indicates an expected call of DeleteFile.

func (*MockStorageAPIClientMockRecorder) GetFileByFileLocation

func (mr *MockStorageAPIClientMockRecorder) GetFileByFileLocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetFileByFileLocation indicates an expected call of GetFileByFileLocation.

func (*MockStorageAPIClientMockRecorder) GetFileByID

func (mr *MockStorageAPIClientMockRecorder) GetFileByID(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetFileByID indicates an expected call of GetFileByID.

func (*MockStorageAPIClientMockRecorder) GetFiles

func (mr *MockStorageAPIClientMockRecorder) GetFiles(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetFiles indicates an expected call of GetFiles.

func (*MockStorageAPIClientMockRecorder) GetTmpFileAccess added in v0.2.110

func (mr *MockStorageAPIClientMockRecorder) GetTmpFileAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTmpFileAccess indicates an expected call of GetTmpFileAccess.

func (*MockStorageAPIClientMockRecorder) ProcessOldFiles

func (mr *MockStorageAPIClientMockRecorder) ProcessOldFiles(ctx, in interface{}, opts ...interface{}) *gomock.Call

ProcessOldFiles indicates an expected call of ProcessOldFiles.

func (*MockStorageAPIClientMockRecorder) ProvideIdsToContentAPI

func (mr *MockStorageAPIClientMockRecorder) ProvideIdsToContentAPI(ctx, in interface{}, opts ...interface{}) *gomock.Call

ProvideIdsToContentAPI indicates an expected call of ProvideIdsToContentAPI.

func (*MockStorageAPIClientMockRecorder) StopProcessOldFiles

func (mr *MockStorageAPIClientMockRecorder) StopProcessOldFiles(ctx, in interface{}, opts ...interface{}) *gomock.Call

StopProcessOldFiles indicates an expected call of StopProcessOldFiles.

func (*MockStorageAPIClientMockRecorder) StopProvideIdsToContentAPI

func (mr *MockStorageAPIClientMockRecorder) StopProvideIdsToContentAPI(ctx, in interface{}, opts ...interface{}) *gomock.Call

StopProvideIdsToContentAPI indicates an expected call of StopProvideIdsToContentAPI.

func (*MockStorageAPIClientMockRecorder) UploadFile

func (mr *MockStorageAPIClientMockRecorder) UploadFile(ctx interface{}, opts ...interface{}) *gomock.Call

UploadFile indicates an expected call of UploadFile.

type MockStorageAPIServer

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

MockStorageAPIServer is a mock of StorageAPIServer interface.

func NewMockStorageAPIServer

func NewMockStorageAPIServer(ctrl *gomock.Controller) *MockStorageAPIServer

NewMockStorageAPIServer creates a new mock instance.

func (*MockStorageAPIServer) AggregateSitemap added in v0.2.108

func (m *MockStorageAPIServer) AggregateSitemap(arg0 context.Context, arg1 *emptypb.Empty) (*v1.AggregateSitemapResponse, error)

AggregateSitemap mocks base method.

func (*MockStorageAPIServer) DeleteFile

DeleteFile mocks base method.

func (*MockStorageAPIServer) EXPECT

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

func (*MockStorageAPIServer) GetFileByFileLocation

GetFileByFileLocation mocks base method.

func (*MockStorageAPIServer) GetFileByID

GetFileByID mocks base method.

func (*MockStorageAPIServer) GetFiles

GetFiles mocks base method.

func (*MockStorageAPIServer) GetTmpFileAccess added in v0.2.110

GetTmpFileAccess mocks base method.

func (*MockStorageAPIServer) ProcessOldFiles

func (m *MockStorageAPIServer) ProcessOldFiles(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)

ProcessOldFiles mocks base method.

func (*MockStorageAPIServer) ProvideIdsToContentAPI

func (m *MockStorageAPIServer) ProvideIdsToContentAPI(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)

ProvideIdsToContentAPI mocks base method.

func (*MockStorageAPIServer) StopProcessOldFiles

func (m *MockStorageAPIServer) StopProcessOldFiles(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)

StopProcessOldFiles mocks base method.

func (*MockStorageAPIServer) StopProvideIdsToContentAPI

func (m *MockStorageAPIServer) StopProvideIdsToContentAPI(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)

StopProvideIdsToContentAPI mocks base method.

func (*MockStorageAPIServer) UploadFile

UploadFile mocks base method.

type MockStorageAPIServerMockRecorder

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

MockStorageAPIServerMockRecorder is the mock recorder for MockStorageAPIServer.

func (*MockStorageAPIServerMockRecorder) AggregateSitemap added in v0.2.108

func (mr *MockStorageAPIServerMockRecorder) AggregateSitemap(arg0, arg1 interface{}) *gomock.Call

AggregateSitemap indicates an expected call of AggregateSitemap.

func (*MockStorageAPIServerMockRecorder) DeleteFile

func (mr *MockStorageAPIServerMockRecorder) DeleteFile(arg0, arg1 interface{}) *gomock.Call

DeleteFile indicates an expected call of DeleteFile.

func (*MockStorageAPIServerMockRecorder) GetFileByFileLocation

func (mr *MockStorageAPIServerMockRecorder) GetFileByFileLocation(arg0, arg1 interface{}) *gomock.Call

GetFileByFileLocation indicates an expected call of GetFileByFileLocation.

func (*MockStorageAPIServerMockRecorder) GetFileByID

func (mr *MockStorageAPIServerMockRecorder) GetFileByID(arg0, arg1 interface{}) *gomock.Call

GetFileByID indicates an expected call of GetFileByID.

func (*MockStorageAPIServerMockRecorder) GetFiles

func (mr *MockStorageAPIServerMockRecorder) GetFiles(arg0, arg1 interface{}) *gomock.Call

GetFiles indicates an expected call of GetFiles.

func (*MockStorageAPIServerMockRecorder) GetTmpFileAccess added in v0.2.110

func (mr *MockStorageAPIServerMockRecorder) GetTmpFileAccess(arg0, arg1 interface{}) *gomock.Call

GetTmpFileAccess indicates an expected call of GetTmpFileAccess.

func (*MockStorageAPIServerMockRecorder) ProcessOldFiles

func (mr *MockStorageAPIServerMockRecorder) ProcessOldFiles(arg0, arg1 interface{}) *gomock.Call

ProcessOldFiles indicates an expected call of ProcessOldFiles.

func (*MockStorageAPIServerMockRecorder) ProvideIdsToContentAPI

func (mr *MockStorageAPIServerMockRecorder) ProvideIdsToContentAPI(arg0, arg1 interface{}) *gomock.Call

ProvideIdsToContentAPI indicates an expected call of ProvideIdsToContentAPI.

func (*MockStorageAPIServerMockRecorder) StopProcessOldFiles

func (mr *MockStorageAPIServerMockRecorder) StopProcessOldFiles(arg0, arg1 interface{}) *gomock.Call

StopProcessOldFiles indicates an expected call of StopProcessOldFiles.

func (*MockStorageAPIServerMockRecorder) StopProvideIdsToContentAPI

func (mr *MockStorageAPIServerMockRecorder) StopProvideIdsToContentAPI(arg0, arg1 interface{}) *gomock.Call

StopProvideIdsToContentAPI indicates an expected call of StopProvideIdsToContentAPI.

func (*MockStorageAPIServerMockRecorder) UploadFile

func (mr *MockStorageAPIServerMockRecorder) UploadFile(arg0 interface{}) *gomock.Call

UploadFile indicates an expected call of UploadFile.

type MockStorageAPI_UploadFileClient

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

MockStorageAPI_UploadFileClient is a mock of StorageAPI_UploadFileClient interface.

func NewMockStorageAPI_UploadFileClient

func NewMockStorageAPI_UploadFileClient(ctrl *gomock.Controller) *MockStorageAPI_UploadFileClient

NewMockStorageAPI_UploadFileClient creates a new mock instance.

func (*MockStorageAPI_UploadFileClient) CloseAndRecv

CloseAndRecv mocks base method.

func (*MockStorageAPI_UploadFileClient) CloseSend

func (m *MockStorageAPI_UploadFileClient) CloseSend() error

CloseSend mocks base method.

func (*MockStorageAPI_UploadFileClient) Context

Context mocks base method.

func (*MockStorageAPI_UploadFileClient) EXPECT

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

func (*MockStorageAPI_UploadFileClient) Header

Header mocks base method.

func (*MockStorageAPI_UploadFileClient) RecvMsg

func (m_2 *MockStorageAPI_UploadFileClient) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockStorageAPI_UploadFileClient) Send

Send mocks base method.

func (*MockStorageAPI_UploadFileClient) SendMsg

func (m_2 *MockStorageAPI_UploadFileClient) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockStorageAPI_UploadFileClient) Trailer

Trailer mocks base method.

type MockStorageAPI_UploadFileClientMockRecorder

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

MockStorageAPI_UploadFileClientMockRecorder is the mock recorder for MockStorageAPI_UploadFileClient.

func (*MockStorageAPI_UploadFileClientMockRecorder) CloseAndRecv

CloseAndRecv indicates an expected call of CloseAndRecv.

func (*MockStorageAPI_UploadFileClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockStorageAPI_UploadFileClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockStorageAPI_UploadFileClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockStorageAPI_UploadFileClientMockRecorder) RecvMsg

func (mr *MockStorageAPI_UploadFileClientMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockStorageAPI_UploadFileClientMockRecorder) Send

func (mr *MockStorageAPI_UploadFileClientMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockStorageAPI_UploadFileClientMockRecorder) SendMsg

func (mr *MockStorageAPI_UploadFileClientMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockStorageAPI_UploadFileClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockStorageAPI_UploadFileServer

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

MockStorageAPI_UploadFileServer is a mock of StorageAPI_UploadFileServer interface.

func NewMockStorageAPI_UploadFileServer

func NewMockStorageAPI_UploadFileServer(ctrl *gomock.Controller) *MockStorageAPI_UploadFileServer

NewMockStorageAPI_UploadFileServer creates a new mock instance.

func (*MockStorageAPI_UploadFileServer) Context

Context mocks base method.

func (*MockStorageAPI_UploadFileServer) EXPECT

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

func (*MockStorageAPI_UploadFileServer) Recv

Recv mocks base method.

func (*MockStorageAPI_UploadFileServer) RecvMsg

func (m_2 *MockStorageAPI_UploadFileServer) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockStorageAPI_UploadFileServer) SendAndClose

SendAndClose mocks base method.

func (*MockStorageAPI_UploadFileServer) SendHeader

func (m *MockStorageAPI_UploadFileServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockStorageAPI_UploadFileServer) SendMsg

func (m_2 *MockStorageAPI_UploadFileServer) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockStorageAPI_UploadFileServer) SetHeader

func (m *MockStorageAPI_UploadFileServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockStorageAPI_UploadFileServer) SetTrailer

func (m *MockStorageAPI_UploadFileServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockStorageAPI_UploadFileServerMockRecorder

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

MockStorageAPI_UploadFileServerMockRecorder is the mock recorder for MockStorageAPI_UploadFileServer.

func (*MockStorageAPI_UploadFileServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockStorageAPI_UploadFileServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockStorageAPI_UploadFileServerMockRecorder) RecvMsg

func (mr *MockStorageAPI_UploadFileServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockStorageAPI_UploadFileServerMockRecorder) SendAndClose

func (mr *MockStorageAPI_UploadFileServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call

SendAndClose indicates an expected call of SendAndClose.

func (*MockStorageAPI_UploadFileServerMockRecorder) SendHeader

func (mr *MockStorageAPI_UploadFileServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockStorageAPI_UploadFileServerMockRecorder) SendMsg

func (mr *MockStorageAPI_UploadFileServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockStorageAPI_UploadFileServerMockRecorder) SetHeader

func (mr *MockStorageAPI_UploadFileServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockStorageAPI_UploadFileServerMockRecorder) SetTrailer

func (mr *MockStorageAPI_UploadFileServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafeStorageAPIServer

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

MockUnsafeStorageAPIServer is a mock of UnsafeStorageAPIServer interface.

func NewMockUnsafeStorageAPIServer

func NewMockUnsafeStorageAPIServer(ctrl *gomock.Controller) *MockUnsafeStorageAPIServer

NewMockUnsafeStorageAPIServer creates a new mock instance.

func (*MockUnsafeStorageAPIServer) EXPECT

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

type MockUnsafeStorageAPIServerMockRecorder

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

MockUnsafeStorageAPIServerMockRecorder is the mock recorder for MockUnsafeStorageAPIServer.

Jump to

Keyboard shortcuts

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