mocks

package
v2.0.128 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGRPCInferenceServiceClient

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

MockGRPCInferenceServiceClient is a mock of GRPCInferenceServiceClient interface.

func NewMockGRPCInferenceServiceClient

func NewMockGRPCInferenceServiceClient(ctrl *gomock.Controller) *MockGRPCInferenceServiceClient

NewMockGRPCInferenceServiceClient creates a new mock instance.

func (*MockGRPCInferenceServiceClient) CudaSharedMemoryRegister

CudaSharedMemoryRegister mocks base method.

func (*MockGRPCInferenceServiceClient) CudaSharedMemoryStatus

CudaSharedMemoryStatus mocks base method.

func (*MockGRPCInferenceServiceClient) CudaSharedMemoryUnregister

CudaSharedMemoryUnregister mocks base method.

func (*MockGRPCInferenceServiceClient) EXPECT

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

func (*MockGRPCInferenceServiceClient) LogSettings

LogSettings mocks base method.

func (*MockGRPCInferenceServiceClient) ModelConfig

ModelConfig mocks base method.

func (*MockGRPCInferenceServiceClient) ModelInfer

ModelInfer mocks base method.

func (*MockGRPCInferenceServiceClient) ModelMetadata

ModelMetadata mocks base method.

func (*MockGRPCInferenceServiceClient) ModelReady

ModelReady mocks base method.

func (*MockGRPCInferenceServiceClient) ModelStatistics

ModelStatistics mocks base method.

func (*MockGRPCInferenceServiceClient) ModelStreamInfer

ModelStreamInfer mocks base method.

func (*MockGRPCInferenceServiceClient) RepositoryIndex

RepositoryIndex mocks base method.

func (*MockGRPCInferenceServiceClient) RepositoryModelLoad

RepositoryModelLoad mocks base method.

func (*MockGRPCInferenceServiceClient) RepositoryModelUnload

RepositoryModelUnload mocks base method.

func (*MockGRPCInferenceServiceClient) ServerLive

ServerLive mocks base method.

func (*MockGRPCInferenceServiceClient) ServerMetadata

ServerMetadata mocks base method.

func (*MockGRPCInferenceServiceClient) ServerReady

ServerReady mocks base method.

func (*MockGRPCInferenceServiceClient) SystemSharedMemoryRegister

SystemSharedMemoryRegister mocks base method.

func (*MockGRPCInferenceServiceClient) SystemSharedMemoryStatus

SystemSharedMemoryStatus mocks base method.

func (*MockGRPCInferenceServiceClient) SystemSharedMemoryUnregister

SystemSharedMemoryUnregister mocks base method.

func (*MockGRPCInferenceServiceClient) TraceSetting

TraceSetting mocks base method.

type MockGRPCInferenceServiceClientMockRecorder

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

MockGRPCInferenceServiceClientMockRecorder is the mock recorder for MockGRPCInferenceServiceClient.

func (*MockGRPCInferenceServiceClientMockRecorder) CudaSharedMemoryRegister

func (mr *MockGRPCInferenceServiceClientMockRecorder) CudaSharedMemoryRegister(ctx, in any, opts ...any) *gomock.Call

CudaSharedMemoryRegister indicates an expected call of CudaSharedMemoryRegister.

func (*MockGRPCInferenceServiceClientMockRecorder) CudaSharedMemoryStatus

func (mr *MockGRPCInferenceServiceClientMockRecorder) CudaSharedMemoryStatus(ctx, in any, opts ...any) *gomock.Call

CudaSharedMemoryStatus indicates an expected call of CudaSharedMemoryStatus.

func (*MockGRPCInferenceServiceClientMockRecorder) CudaSharedMemoryUnregister

func (mr *MockGRPCInferenceServiceClientMockRecorder) CudaSharedMemoryUnregister(ctx, in any, opts ...any) *gomock.Call

CudaSharedMemoryUnregister indicates an expected call of CudaSharedMemoryUnregister.

func (*MockGRPCInferenceServiceClientMockRecorder) LogSettings

func (mr *MockGRPCInferenceServiceClientMockRecorder) LogSettings(ctx, in any, opts ...any) *gomock.Call

LogSettings indicates an expected call of LogSettings.

func (*MockGRPCInferenceServiceClientMockRecorder) ModelConfig

func (mr *MockGRPCInferenceServiceClientMockRecorder) ModelConfig(ctx, in any, opts ...any) *gomock.Call

ModelConfig indicates an expected call of ModelConfig.

func (*MockGRPCInferenceServiceClientMockRecorder) ModelInfer

func (mr *MockGRPCInferenceServiceClientMockRecorder) ModelInfer(ctx, in any, opts ...any) *gomock.Call

ModelInfer indicates an expected call of ModelInfer.

func (*MockGRPCInferenceServiceClientMockRecorder) ModelMetadata

func (mr *MockGRPCInferenceServiceClientMockRecorder) ModelMetadata(ctx, in any, opts ...any) *gomock.Call

ModelMetadata indicates an expected call of ModelMetadata.

func (*MockGRPCInferenceServiceClientMockRecorder) ModelReady

func (mr *MockGRPCInferenceServiceClientMockRecorder) ModelReady(ctx, in any, opts ...any) *gomock.Call

ModelReady indicates an expected call of ModelReady.

func (*MockGRPCInferenceServiceClientMockRecorder) ModelStatistics

func (mr *MockGRPCInferenceServiceClientMockRecorder) ModelStatistics(ctx, in any, opts ...any) *gomock.Call

ModelStatistics indicates an expected call of ModelStatistics.

func (*MockGRPCInferenceServiceClientMockRecorder) ModelStreamInfer

func (mr *MockGRPCInferenceServiceClientMockRecorder) ModelStreamInfer(ctx any, opts ...any) *gomock.Call

ModelStreamInfer indicates an expected call of ModelStreamInfer.

func (*MockGRPCInferenceServiceClientMockRecorder) RepositoryIndex

func (mr *MockGRPCInferenceServiceClientMockRecorder) RepositoryIndex(ctx, in any, opts ...any) *gomock.Call

RepositoryIndex indicates an expected call of RepositoryIndex.

func (*MockGRPCInferenceServiceClientMockRecorder) RepositoryModelLoad

func (mr *MockGRPCInferenceServiceClientMockRecorder) RepositoryModelLoad(ctx, in any, opts ...any) *gomock.Call

RepositoryModelLoad indicates an expected call of RepositoryModelLoad.

func (*MockGRPCInferenceServiceClientMockRecorder) RepositoryModelUnload

func (mr *MockGRPCInferenceServiceClientMockRecorder) RepositoryModelUnload(ctx, in any, opts ...any) *gomock.Call

RepositoryModelUnload indicates an expected call of RepositoryModelUnload.

func (*MockGRPCInferenceServiceClientMockRecorder) ServerLive

func (mr *MockGRPCInferenceServiceClientMockRecorder) ServerLive(ctx, in any, opts ...any) *gomock.Call

ServerLive indicates an expected call of ServerLive.

func (*MockGRPCInferenceServiceClientMockRecorder) ServerMetadata

func (mr *MockGRPCInferenceServiceClientMockRecorder) ServerMetadata(ctx, in any, opts ...any) *gomock.Call

ServerMetadata indicates an expected call of ServerMetadata.

func (*MockGRPCInferenceServiceClientMockRecorder) ServerReady

func (mr *MockGRPCInferenceServiceClientMockRecorder) ServerReady(ctx, in any, opts ...any) *gomock.Call

ServerReady indicates an expected call of ServerReady.

func (*MockGRPCInferenceServiceClientMockRecorder) SystemSharedMemoryRegister

func (mr *MockGRPCInferenceServiceClientMockRecorder) SystemSharedMemoryRegister(ctx, in any, opts ...any) *gomock.Call

SystemSharedMemoryRegister indicates an expected call of SystemSharedMemoryRegister.

func (*MockGRPCInferenceServiceClientMockRecorder) SystemSharedMemoryStatus

func (mr *MockGRPCInferenceServiceClientMockRecorder) SystemSharedMemoryStatus(ctx, in any, opts ...any) *gomock.Call

SystemSharedMemoryStatus indicates an expected call of SystemSharedMemoryStatus.

func (*MockGRPCInferenceServiceClientMockRecorder) SystemSharedMemoryUnregister

func (mr *MockGRPCInferenceServiceClientMockRecorder) SystemSharedMemoryUnregister(ctx, in any, opts ...any) *gomock.Call

SystemSharedMemoryUnregister indicates an expected call of SystemSharedMemoryUnregister.

func (*MockGRPCInferenceServiceClientMockRecorder) TraceSetting

func (mr *MockGRPCInferenceServiceClientMockRecorder) TraceSetting(ctx, in any, opts ...any) *gomock.Call

TraceSetting indicates an expected call of TraceSetting.

type MockGRPCInferenceServiceServer

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

MockGRPCInferenceServiceServer is a mock of GRPCInferenceServiceServer interface.

func NewMockGRPCInferenceServiceServer

func NewMockGRPCInferenceServiceServer(ctrl *gomock.Controller) *MockGRPCInferenceServiceServer

NewMockGRPCInferenceServiceServer creates a new mock instance.

func (*MockGRPCInferenceServiceServer) CudaSharedMemoryRegister

CudaSharedMemoryRegister mocks base method.

func (*MockGRPCInferenceServiceServer) CudaSharedMemoryStatus

CudaSharedMemoryStatus mocks base method.

func (*MockGRPCInferenceServiceServer) CudaSharedMemoryUnregister

CudaSharedMemoryUnregister mocks base method.

func (*MockGRPCInferenceServiceServer) EXPECT

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

func (*MockGRPCInferenceServiceServer) LogSettings

LogSettings mocks base method.

func (*MockGRPCInferenceServiceServer) ModelConfig

ModelConfig mocks base method.

func (*MockGRPCInferenceServiceServer) ModelInfer

ModelInfer mocks base method.

func (*MockGRPCInferenceServiceServer) ModelMetadata

ModelMetadata mocks base method.

func (*MockGRPCInferenceServiceServer) ModelReady

ModelReady mocks base method.

func (*MockGRPCInferenceServiceServer) ModelStatistics

ModelStatistics mocks base method.

func (*MockGRPCInferenceServiceServer) ModelStreamInfer

ModelStreamInfer mocks base method.

func (*MockGRPCInferenceServiceServer) RepositoryIndex

RepositoryIndex mocks base method.

func (*MockGRPCInferenceServiceServer) RepositoryModelLoad

RepositoryModelLoad mocks base method.

func (*MockGRPCInferenceServiceServer) RepositoryModelUnload

RepositoryModelUnload mocks base method.

func (*MockGRPCInferenceServiceServer) ServerLive

ServerLive mocks base method.

func (*MockGRPCInferenceServiceServer) ServerMetadata

ServerMetadata mocks base method.

func (*MockGRPCInferenceServiceServer) ServerReady

ServerReady mocks base method.

func (*MockGRPCInferenceServiceServer) SystemSharedMemoryRegister

SystemSharedMemoryRegister mocks base method.

func (*MockGRPCInferenceServiceServer) SystemSharedMemoryStatus

SystemSharedMemoryStatus mocks base method.

func (*MockGRPCInferenceServiceServer) SystemSharedMemoryUnregister

SystemSharedMemoryUnregister mocks base method.

func (*MockGRPCInferenceServiceServer) TraceSetting

TraceSetting mocks base method.

type MockGRPCInferenceServiceServerMockRecorder

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

MockGRPCInferenceServiceServerMockRecorder is the mock recorder for MockGRPCInferenceServiceServer.

func (*MockGRPCInferenceServiceServerMockRecorder) CudaSharedMemoryRegister

func (mr *MockGRPCInferenceServiceServerMockRecorder) CudaSharedMemoryRegister(arg0, arg1 any) *gomock.Call

CudaSharedMemoryRegister indicates an expected call of CudaSharedMemoryRegister.

func (*MockGRPCInferenceServiceServerMockRecorder) CudaSharedMemoryStatus

func (mr *MockGRPCInferenceServiceServerMockRecorder) CudaSharedMemoryStatus(arg0, arg1 any) *gomock.Call

CudaSharedMemoryStatus indicates an expected call of CudaSharedMemoryStatus.

func (*MockGRPCInferenceServiceServerMockRecorder) CudaSharedMemoryUnregister

func (mr *MockGRPCInferenceServiceServerMockRecorder) CudaSharedMemoryUnregister(arg0, arg1 any) *gomock.Call

CudaSharedMemoryUnregister indicates an expected call of CudaSharedMemoryUnregister.

func (*MockGRPCInferenceServiceServerMockRecorder) LogSettings

func (mr *MockGRPCInferenceServiceServerMockRecorder) LogSettings(arg0, arg1 any) *gomock.Call

LogSettings indicates an expected call of LogSettings.

func (*MockGRPCInferenceServiceServerMockRecorder) ModelConfig

func (mr *MockGRPCInferenceServiceServerMockRecorder) ModelConfig(arg0, arg1 any) *gomock.Call

ModelConfig indicates an expected call of ModelConfig.

func (*MockGRPCInferenceServiceServerMockRecorder) ModelInfer

func (mr *MockGRPCInferenceServiceServerMockRecorder) ModelInfer(arg0, arg1 any) *gomock.Call

ModelInfer indicates an expected call of ModelInfer.

func (*MockGRPCInferenceServiceServerMockRecorder) ModelMetadata

func (mr *MockGRPCInferenceServiceServerMockRecorder) ModelMetadata(arg0, arg1 any) *gomock.Call

ModelMetadata indicates an expected call of ModelMetadata.

func (*MockGRPCInferenceServiceServerMockRecorder) ModelReady

func (mr *MockGRPCInferenceServiceServerMockRecorder) ModelReady(arg0, arg1 any) *gomock.Call

ModelReady indicates an expected call of ModelReady.

func (*MockGRPCInferenceServiceServerMockRecorder) ModelStatistics

func (mr *MockGRPCInferenceServiceServerMockRecorder) ModelStatistics(arg0, arg1 any) *gomock.Call

ModelStatistics indicates an expected call of ModelStatistics.

func (*MockGRPCInferenceServiceServerMockRecorder) ModelStreamInfer

func (mr *MockGRPCInferenceServiceServerMockRecorder) ModelStreamInfer(arg0 any) *gomock.Call

ModelStreamInfer indicates an expected call of ModelStreamInfer.

func (*MockGRPCInferenceServiceServerMockRecorder) RepositoryIndex

func (mr *MockGRPCInferenceServiceServerMockRecorder) RepositoryIndex(arg0, arg1 any) *gomock.Call

RepositoryIndex indicates an expected call of RepositoryIndex.

func (*MockGRPCInferenceServiceServerMockRecorder) RepositoryModelLoad

func (mr *MockGRPCInferenceServiceServerMockRecorder) RepositoryModelLoad(arg0, arg1 any) *gomock.Call

RepositoryModelLoad indicates an expected call of RepositoryModelLoad.

func (*MockGRPCInferenceServiceServerMockRecorder) RepositoryModelUnload

func (mr *MockGRPCInferenceServiceServerMockRecorder) RepositoryModelUnload(arg0, arg1 any) *gomock.Call

RepositoryModelUnload indicates an expected call of RepositoryModelUnload.

func (*MockGRPCInferenceServiceServerMockRecorder) ServerLive

func (mr *MockGRPCInferenceServiceServerMockRecorder) ServerLive(arg0, arg1 any) *gomock.Call

ServerLive indicates an expected call of ServerLive.

func (*MockGRPCInferenceServiceServerMockRecorder) ServerMetadata

func (mr *MockGRPCInferenceServiceServerMockRecorder) ServerMetadata(arg0, arg1 any) *gomock.Call

ServerMetadata indicates an expected call of ServerMetadata.

func (*MockGRPCInferenceServiceServerMockRecorder) ServerReady

func (mr *MockGRPCInferenceServiceServerMockRecorder) ServerReady(arg0, arg1 any) *gomock.Call

ServerReady indicates an expected call of ServerReady.

func (*MockGRPCInferenceServiceServerMockRecorder) SystemSharedMemoryRegister

func (mr *MockGRPCInferenceServiceServerMockRecorder) SystemSharedMemoryRegister(arg0, arg1 any) *gomock.Call

SystemSharedMemoryRegister indicates an expected call of SystemSharedMemoryRegister.

func (*MockGRPCInferenceServiceServerMockRecorder) SystemSharedMemoryStatus

func (mr *MockGRPCInferenceServiceServerMockRecorder) SystemSharedMemoryStatus(arg0, arg1 any) *gomock.Call

SystemSharedMemoryStatus indicates an expected call of SystemSharedMemoryStatus.

func (*MockGRPCInferenceServiceServerMockRecorder) SystemSharedMemoryUnregister

func (mr *MockGRPCInferenceServiceServerMockRecorder) SystemSharedMemoryUnregister(arg0, arg1 any) *gomock.Call

SystemSharedMemoryUnregister indicates an expected call of SystemSharedMemoryUnregister.

func (*MockGRPCInferenceServiceServerMockRecorder) TraceSetting

func (mr *MockGRPCInferenceServiceServerMockRecorder) TraceSetting(arg0, arg1 any) *gomock.Call

TraceSetting indicates an expected call of TraceSetting.

type MockGRPCInferenceService_ModelStreamInferClient

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

MockGRPCInferenceService_ModelStreamInferClient is a mock of GRPCInferenceService_ModelStreamInferClient interface.

func NewMockGRPCInferenceService_ModelStreamInferClient

func NewMockGRPCInferenceService_ModelStreamInferClient(ctrl *gomock.Controller) *MockGRPCInferenceService_ModelStreamInferClient

NewMockGRPCInferenceService_ModelStreamInferClient creates a new mock instance.

func (*MockGRPCInferenceService_ModelStreamInferClient) CloseSend

CloseSend mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferClient) Context

Context mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferClient) EXPECT

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

func (*MockGRPCInferenceService_ModelStreamInferClient) Header

Header mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferClient) Recv

Recv mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferClient) RecvMsg

RecvMsg mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferClient) Send

Send mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferClient) SendMsg

SendMsg mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferClient) Trailer

Trailer mocks base method.

type MockGRPCInferenceService_ModelStreamInferClientMockRecorder

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

MockGRPCInferenceService_ModelStreamInferClientMockRecorder is the mock recorder for MockGRPCInferenceService_ModelStreamInferClient.

func (*MockGRPCInferenceService_ModelStreamInferClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockGRPCInferenceService_ModelStreamInferClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockGRPCInferenceService_ModelStreamInferClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockGRPCInferenceService_ModelStreamInferClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockGRPCInferenceService_ModelStreamInferClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockGRPCInferenceService_ModelStreamInferClientMockRecorder) Send

Send indicates an expected call of Send.

func (*MockGRPCInferenceService_ModelStreamInferClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockGRPCInferenceService_ModelStreamInferClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockGRPCInferenceService_ModelStreamInferServer

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

MockGRPCInferenceService_ModelStreamInferServer is a mock of GRPCInferenceService_ModelStreamInferServer interface.

func NewMockGRPCInferenceService_ModelStreamInferServer

func NewMockGRPCInferenceService_ModelStreamInferServer(ctrl *gomock.Controller) *MockGRPCInferenceService_ModelStreamInferServer

NewMockGRPCInferenceService_ModelStreamInferServer creates a new mock instance.

func (*MockGRPCInferenceService_ModelStreamInferServer) Context

Context mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferServer) EXPECT

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

func (*MockGRPCInferenceService_ModelStreamInferServer) Recv

Recv mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferServer) RecvMsg

RecvMsg mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferServer) Send

Send mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferServer) SendHeader

SendHeader mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferServer) SendMsg

SendMsg mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferServer) SetHeader

SetHeader mocks base method.

func (*MockGRPCInferenceService_ModelStreamInferServer) SetTrailer

SetTrailer mocks base method.

type MockGRPCInferenceService_ModelStreamInferServerMockRecorder

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

MockGRPCInferenceService_ModelStreamInferServerMockRecorder is the mock recorder for MockGRPCInferenceService_ModelStreamInferServer.

func (*MockGRPCInferenceService_ModelStreamInferServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockGRPCInferenceService_ModelStreamInferServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockGRPCInferenceService_ModelStreamInferServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockGRPCInferenceService_ModelStreamInferServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockGRPCInferenceService_ModelStreamInferServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockGRPCInferenceService_ModelStreamInferServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockGRPCInferenceService_ModelStreamInferServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockGRPCInferenceService_ModelStreamInferServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafeGRPCInferenceServiceServer

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

MockUnsafeGRPCInferenceServiceServer is a mock of UnsafeGRPCInferenceServiceServer interface.

func NewMockUnsafeGRPCInferenceServiceServer

func NewMockUnsafeGRPCInferenceServiceServer(ctrl *gomock.Controller) *MockUnsafeGRPCInferenceServiceServer

NewMockUnsafeGRPCInferenceServiceServer creates a new mock instance.

func (*MockUnsafeGRPCInferenceServiceServer) EXPECT

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

type MockUnsafeGRPCInferenceServiceServerMockRecorder

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

MockUnsafeGRPCInferenceServiceServerMockRecorder is the mock recorder for MockUnsafeGRPCInferenceServiceServer.

Jump to

Keyboard shortcuts

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