mock

package
v1.7.1-1.0-alpha Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package actor is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package actor is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActorImplFactory

func ActorImplFactory() actor.Server

func NotReminderCalleeActorFactory

func NotReminderCalleeActorFactory() actor.Server

Types

type ActorImpl

type ActorImpl struct {
	actor.ServerImplBase
}

func (*ActorImpl) Invoke

func (t *ActorImpl) Invoke(ctx context.Context, req string) (string, error)

func (*ActorImpl) ReminderCall

func (t *ActorImpl) ReminderCall(reminderName string, state []byte, dueTime string, period string)

func (*ActorImpl) Type

func (t *ActorImpl) Type() string

type MockActorContainer

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

MockActorContainer is a mock of ActorContainer interface.

func NewMockActorContainer

func NewMockActorContainer(ctrl *gomock.Controller) *MockActorContainer

NewMockActorContainer creates a new mock instance.

func (*MockActorContainer) EXPECT

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

func (*MockActorContainer) GetActor

func (m *MockActorContainer) GetActor() actor.Server

GetActor mocks base method.

func (*MockActorContainer) Invoke

func (m *MockActorContainer) Invoke(arg0 string, arg1 []byte) ([]reflect.Value, error.ActorErr)

Invoke mocks base method.

type MockActorContainerMockRecorder

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

MockActorContainerMockRecorder is the mock recorder for MockActorContainer.

func (*MockActorContainerMockRecorder) GetActor

func (mr *MockActorContainerMockRecorder) GetActor() *gomock.Call

GetActor indicates an expected call of GetActor.

func (*MockActorContainerMockRecorder) Invoke

func (mr *MockActorContainerMockRecorder) Invoke(arg0, arg1 interface{}) *gomock.Call

Invoke indicates an expected call of Invoke.

type MockActorManager

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

MockActorManager is a mock of ActorManager interface.

func NewMockActorManager

func NewMockActorManager(ctrl *gomock.Controller) *MockActorManager

NewMockActorManager creates a new mock instance.

func (*MockActorManager) DeactivateActor

func (m *MockActorManager) DeactivateActor(arg0 string) error.ActorErr

DeactivateActor mocks base method.

func (*MockActorManager) EXPECT

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

func (*MockActorManager) InvokeMethod

func (m *MockActorManager) InvokeMethod(arg0, arg1 string, arg2 []byte) ([]byte, error.ActorErr)

InvokeMethod mocks base method.

func (*MockActorManager) InvokeReminder

func (m *MockActorManager) InvokeReminder(arg0, arg1 string, arg2 []byte) error.ActorErr

InvokeReminder mocks base method.

func (*MockActorManager) InvokeTimer

func (m *MockActorManager) InvokeTimer(arg0, arg1 string, arg2 []byte) error.ActorErr

InvokeTimer mocks base method.

func (*MockActorManager) RegisterActorImplFactory

func (m *MockActorManager) RegisterActorImplFactory(arg0 actor.Factory)

RegisterActorImplFactory mocks base method.

type MockActorManagerMockRecorder

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

MockActorManagerMockRecorder is the mock recorder for MockActorManager.

func (*MockActorManagerMockRecorder) DeactivateActor

func (mr *MockActorManagerMockRecorder) DeactivateActor(arg0 interface{}) *gomock.Call

DeactivateActor indicates an expected call of DeactivateActor.

func (*MockActorManagerMockRecorder) InvokeMethod

func (mr *MockActorManagerMockRecorder) InvokeMethod(arg0, arg1, arg2 interface{}) *gomock.Call

InvokeMethod indicates an expected call of InvokeMethod.

func (*MockActorManagerMockRecorder) InvokeReminder

func (mr *MockActorManagerMockRecorder) InvokeReminder(arg0, arg1, arg2 interface{}) *gomock.Call

InvokeReminder indicates an expected call of InvokeReminder.

func (*MockActorManagerMockRecorder) InvokeTimer

func (mr *MockActorManagerMockRecorder) InvokeTimer(arg0, arg1, arg2 interface{}) *gomock.Call

InvokeTimer indicates an expected call of InvokeTimer.

func (*MockActorManagerMockRecorder) RegisterActorImplFactory

func (mr *MockActorManagerMockRecorder) RegisterActorImplFactory(arg0 interface{}) *gomock.Call

RegisterActorImplFactory indicates an expected call of RegisterActorImplFactory.

type MockCodec

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

MockCodec is a mock of Codec interface.

func NewMockCodec

func NewMockCodec(ctrl *gomock.Controller) *MockCodec

NewMockCodec creates a new mock instance.

func (*MockCodec) EXPECT

func (m *MockCodec) EXPECT() *MockCodecMockRecorder

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

func (*MockCodec) Marshal

func (m *MockCodec) Marshal(arg0 interface{}) ([]byte, error)

Marshal mocks base method.

func (*MockCodec) Unmarshal

func (m *MockCodec) Unmarshal(arg0 []byte, arg1 interface{}) error

Unmarshal mocks base method.

type MockCodecMockRecorder

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

MockCodecMockRecorder is the mock recorder for MockCodec.

func (*MockCodecMockRecorder) Marshal

func (mr *MockCodecMockRecorder) Marshal(arg0 interface{}) *gomock.Call

Marshal indicates an expected call of Marshal.

func (*MockCodecMockRecorder) Unmarshal

func (mr *MockCodecMockRecorder) Unmarshal(arg0, arg1 interface{}) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

type MockServer

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

MockServer is a mock of Server interface.

func NewMockServer

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT

func (m *MockServer) EXPECT() *MockServerMockRecorder

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

func (*MockServer) ID

func (m *MockServer) ID() string

ID mocks base method.

func (*MockServer) Invoke

func (m *MockServer) Invoke(ctx context.Context, input string) (string, error)

func (*MockServer) SaveState

func (m *MockServer) SaveState() error

SaveState mocks base method.

func (*MockServer) SetID

func (m *MockServer) SetID(arg0 string)

SetID mocks base method.

func (*MockServer) SetStateManager

func (m *MockServer) SetStateManager(arg0 actor.StateManager)

SetStateManager mocks base method.

func (*MockServer) Type

func (m *MockServer) Type() string

Type mocks base method.

type MockServerMockRecorder

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

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) ID

ID indicates an expected call of ID.

func (*MockServerMockRecorder) Invoke

func (mr *MockServerMockRecorder) Invoke(arg0, arg1 interface{}) *gomock.Call

func (*MockServerMockRecorder) SaveState

func (mr *MockServerMockRecorder) SaveState() *gomock.Call

SaveState indicates an expected call of SaveState.

func (*MockServerMockRecorder) SetID

func (mr *MockServerMockRecorder) SetID(arg0 interface{}) *gomock.Call

SetID indicates an expected call of SetID.

func (*MockServerMockRecorder) SetStateManager

func (mr *MockServerMockRecorder) SetStateManager(arg0 interface{}) *gomock.Call

SetStateManager indicates an expected call of SetStateManager.

func (*MockServerMockRecorder) Type

func (mr *MockServerMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

type NotReminderCalleeActor

type NotReminderCalleeActor struct {
	actor.ServerImplBase
}

func (*NotReminderCalleeActor) Type

func (t *NotReminderCalleeActor) Type() string

Jump to

Keyboard shortcuts

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