Documentation ¶
Overview ¶
Package ai_mock is a generated GoMock package.
Index ¶
- type MockAIServiceClient
- func (m *MockAIServiceClient) EXPECT() *MockAIServiceClientMockRecorder
- func (m *MockAIServiceClient) GenerateAudio(ctx context.Context, in *v1.GenerateAudioRequest, opts ...grpc.CallOption) (*v1.GenerateAudioResponse, error)
- func (m *MockAIServiceClient) GenerateImage(ctx context.Context, in *v1.GenerateImageRequest, opts ...grpc.CallOption) (*v1.GenerateImageResponse, error)
- func (m *MockAIServiceClient) GenerateVoice(ctx context.Context, in *v1.GenerateVoiceRequest, opts ...grpc.CallOption) (*v1.GenerateVoiceResponse, error)
- func (m *MockAIServiceClient) GetVoiceLanguages(ctx context.Context, in *v1.GetVoiceLanguagesRequest, opts ...grpc.CallOption) (*v1.GetVoiceLanguagesResponse, error)
- func (m *MockAIServiceClient) GetVoiceModels(ctx context.Context, in *v1.GetVoiceModelsRequest, opts ...grpc.CallOption) (*v1.GetVoiceModelsResponse, error)
- type MockAIServiceClientMockRecorder
- func (mr *MockAIServiceClientMockRecorder) GenerateAudio(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAIServiceClientMockRecorder) GenerateImage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAIServiceClientMockRecorder) GenerateVoice(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAIServiceClientMockRecorder) GetVoiceLanguages(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAIServiceClientMockRecorder) GetVoiceModels(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAIServiceServer
- func (m *MockAIServiceServer) EXPECT() *MockAIServiceServerMockRecorder
- func (m *MockAIServiceServer) GenerateAudio(arg0 context.Context, arg1 *v1.GenerateAudioRequest) (*v1.GenerateAudioResponse, error)
- func (m *MockAIServiceServer) GenerateImage(arg0 context.Context, arg1 *v1.GenerateImageRequest) (*v1.GenerateImageResponse, error)
- func (m *MockAIServiceServer) GenerateVoice(arg0 context.Context, arg1 *v1.GenerateVoiceRequest) (*v1.GenerateVoiceResponse, error)
- func (m *MockAIServiceServer) GetVoiceLanguages(arg0 context.Context, arg1 *v1.GetVoiceLanguagesRequest) (*v1.GetVoiceLanguagesResponse, error)
- func (m *MockAIServiceServer) GetVoiceModels(arg0 context.Context, arg1 *v1.GetVoiceModelsRequest) (*v1.GetVoiceModelsResponse, error)
- type MockAIServiceServerMockRecorder
- func (mr *MockAIServiceServerMockRecorder) GenerateAudio(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAIServiceServerMockRecorder) GenerateImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAIServiceServerMockRecorder) GenerateVoice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAIServiceServerMockRecorder) GetVoiceLanguages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAIServiceServerMockRecorder) GetVoiceModels(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeAIServiceServer
- type MockUnsafeAIServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAIServiceClient ¶
type MockAIServiceClient struct {
// contains filtered or unexported fields
}
MockAIServiceClient is a mock of AIServiceClient interface.
func NewMockAIServiceClient ¶
func NewMockAIServiceClient(ctrl *gomock.Controller) *MockAIServiceClient
NewMockAIServiceClient creates a new mock instance.
func (*MockAIServiceClient) EXPECT ¶
func (m *MockAIServiceClient) EXPECT() *MockAIServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAIServiceClient) GenerateAudio ¶
func (m *MockAIServiceClient) GenerateAudio(ctx context.Context, in *v1.GenerateAudioRequest, opts ...grpc.CallOption) (*v1.GenerateAudioResponse, error)
GenerateAudio mocks base method.
func (*MockAIServiceClient) GenerateImage ¶
func (m *MockAIServiceClient) GenerateImage(ctx context.Context, in *v1.GenerateImageRequest, opts ...grpc.CallOption) (*v1.GenerateImageResponse, error)
GenerateImage mocks base method.
func (*MockAIServiceClient) GenerateVoice ¶
func (m *MockAIServiceClient) GenerateVoice(ctx context.Context, in *v1.GenerateVoiceRequest, opts ...grpc.CallOption) (*v1.GenerateVoiceResponse, error)
GenerateVoice mocks base method.
func (*MockAIServiceClient) GetVoiceLanguages ¶
func (m *MockAIServiceClient) GetVoiceLanguages(ctx context.Context, in *v1.GetVoiceLanguagesRequest, opts ...grpc.CallOption) (*v1.GetVoiceLanguagesResponse, error)
GetVoiceLanguages mocks base method.
func (*MockAIServiceClient) GetVoiceModels ¶
func (m *MockAIServiceClient) GetVoiceModels(ctx context.Context, in *v1.GetVoiceModelsRequest, opts ...grpc.CallOption) (*v1.GetVoiceModelsResponse, error)
GetVoiceModels mocks base method.
type MockAIServiceClientMockRecorder ¶
type MockAIServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAIServiceClientMockRecorder is the mock recorder for MockAIServiceClient.
func (*MockAIServiceClientMockRecorder) GenerateAudio ¶
func (mr *MockAIServiceClientMockRecorder) GenerateAudio(ctx, in interface{}, opts ...interface{}) *gomock.Call
GenerateAudio indicates an expected call of GenerateAudio.
func (*MockAIServiceClientMockRecorder) GenerateImage ¶
func (mr *MockAIServiceClientMockRecorder) GenerateImage(ctx, in interface{}, opts ...interface{}) *gomock.Call
GenerateImage indicates an expected call of GenerateImage.
func (*MockAIServiceClientMockRecorder) GenerateVoice ¶
func (mr *MockAIServiceClientMockRecorder) GenerateVoice(ctx, in interface{}, opts ...interface{}) *gomock.Call
GenerateVoice indicates an expected call of GenerateVoice.
func (*MockAIServiceClientMockRecorder) GetVoiceLanguages ¶
func (mr *MockAIServiceClientMockRecorder) GetVoiceLanguages(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetVoiceLanguages indicates an expected call of GetVoiceLanguages.
func (*MockAIServiceClientMockRecorder) GetVoiceModels ¶
func (mr *MockAIServiceClientMockRecorder) GetVoiceModels(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetVoiceModels indicates an expected call of GetVoiceModels.
type MockAIServiceServer ¶
type MockAIServiceServer struct {
// contains filtered or unexported fields
}
MockAIServiceServer is a mock of AIServiceServer interface.
func NewMockAIServiceServer ¶
func NewMockAIServiceServer(ctrl *gomock.Controller) *MockAIServiceServer
NewMockAIServiceServer creates a new mock instance.
func (*MockAIServiceServer) EXPECT ¶
func (m *MockAIServiceServer) EXPECT() *MockAIServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAIServiceServer) GenerateAudio ¶
func (m *MockAIServiceServer) GenerateAudio(arg0 context.Context, arg1 *v1.GenerateAudioRequest) (*v1.GenerateAudioResponse, error)
GenerateAudio mocks base method.
func (*MockAIServiceServer) GenerateImage ¶
func (m *MockAIServiceServer) GenerateImage(arg0 context.Context, arg1 *v1.GenerateImageRequest) (*v1.GenerateImageResponse, error)
GenerateImage mocks base method.
func (*MockAIServiceServer) GenerateVoice ¶
func (m *MockAIServiceServer) GenerateVoice(arg0 context.Context, arg1 *v1.GenerateVoiceRequest) (*v1.GenerateVoiceResponse, error)
GenerateVoice mocks base method.
func (*MockAIServiceServer) GetVoiceLanguages ¶
func (m *MockAIServiceServer) GetVoiceLanguages(arg0 context.Context, arg1 *v1.GetVoiceLanguagesRequest) (*v1.GetVoiceLanguagesResponse, error)
GetVoiceLanguages mocks base method.
func (*MockAIServiceServer) GetVoiceModels ¶
func (m *MockAIServiceServer) GetVoiceModels(arg0 context.Context, arg1 *v1.GetVoiceModelsRequest) (*v1.GetVoiceModelsResponse, error)
GetVoiceModels mocks base method.
type MockAIServiceServerMockRecorder ¶
type MockAIServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAIServiceServerMockRecorder is the mock recorder for MockAIServiceServer.
func (*MockAIServiceServerMockRecorder) GenerateAudio ¶
func (mr *MockAIServiceServerMockRecorder) GenerateAudio(arg0, arg1 interface{}) *gomock.Call
GenerateAudio indicates an expected call of GenerateAudio.
func (*MockAIServiceServerMockRecorder) GenerateImage ¶
func (mr *MockAIServiceServerMockRecorder) GenerateImage(arg0, arg1 interface{}) *gomock.Call
GenerateImage indicates an expected call of GenerateImage.
func (*MockAIServiceServerMockRecorder) GenerateVoice ¶
func (mr *MockAIServiceServerMockRecorder) GenerateVoice(arg0, arg1 interface{}) *gomock.Call
GenerateVoice indicates an expected call of GenerateVoice.
func (*MockAIServiceServerMockRecorder) GetVoiceLanguages ¶
func (mr *MockAIServiceServerMockRecorder) GetVoiceLanguages(arg0, arg1 interface{}) *gomock.Call
GetVoiceLanguages indicates an expected call of GetVoiceLanguages.
func (*MockAIServiceServerMockRecorder) GetVoiceModels ¶
func (mr *MockAIServiceServerMockRecorder) GetVoiceModels(arg0, arg1 interface{}) *gomock.Call
GetVoiceModels indicates an expected call of GetVoiceModels.
type MockUnsafeAIServiceServer ¶
type MockUnsafeAIServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeAIServiceServer is a mock of UnsafeAIServiceServer interface.
func NewMockUnsafeAIServiceServer ¶
func NewMockUnsafeAIServiceServer(ctrl *gomock.Controller) *MockUnsafeAIServiceServer
NewMockUnsafeAIServiceServer creates a new mock instance.
func (*MockUnsafeAIServiceServer) EXPECT ¶
func (m *MockUnsafeAIServiceServer) EXPECT() *MockUnsafeAIServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAIServiceServerMockRecorder ¶
type MockUnsafeAIServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAIServiceServerMockRecorder is the mock recorder for MockUnsafeAIServiceServer.