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 ¶
- func ActorImplFactory() actor.Server
- func NotReminderCalleeActorFactory() actor.Server
- type ActorImpl
- type MockActorContainer
- type MockActorContainerMockRecorder
- type MockActorManager
- func (m *MockActorManager) DeactivateActor(arg0 string) error.ActorErr
- func (m *MockActorManager) EXPECT() *MockActorManagerMockRecorder
- func (m *MockActorManager) InvokeMethod(arg0, arg1 string, arg2 []byte) ([]byte, error.ActorErr)
- func (m *MockActorManager) InvokeReminder(arg0, arg1 string, arg2 []byte) error.ActorErr
- func (m *MockActorManager) InvokeTimer(arg0, arg1 string, arg2 []byte) error.ActorErr
- func (m *MockActorManager) RegisterActorImplFactory(arg0 actor.Factory)
- type MockActorManagerMockRecorder
- func (mr *MockActorManagerMockRecorder) DeactivateActor(arg0 interface{}) *gomock.Call
- func (mr *MockActorManagerMockRecorder) InvokeMethod(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockActorManagerMockRecorder) InvokeReminder(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockActorManagerMockRecorder) InvokeTimer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockActorManagerMockRecorder) RegisterActorImplFactory(arg0 interface{}) *gomock.Call
- type MockCodec
- type MockCodecMockRecorder
- type MockServer
- func (m *MockServer) EXPECT() *MockServerMockRecorder
- func (m *MockServer) ID() string
- func (m *MockServer) Invoke(ctx context.Context, input string) (string, error)
- func (m *MockServer) SaveState() error
- func (m *MockServer) SetID(arg0 string)
- func (m *MockServer) SetStateManager(arg0 actor.StateManager)
- func (m *MockServer) Type() string
- type MockServerMockRecorder
- func (mr *MockServerMockRecorder) ID() *gomock.Call
- func (mr *MockServerMockRecorder) Invoke(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerMockRecorder) SaveState() *gomock.Call
- func (mr *MockServerMockRecorder) SetID(arg0 interface{}) *gomock.Call
- func (mr *MockServerMockRecorder) SetStateManager(arg0 interface{}) *gomock.Call
- func (mr *MockServerMockRecorder) Type() *gomock.Call
- type NotReminderCalleeActor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActorImplFactory ¶
Types ¶
type ActorImpl ¶
type ActorImpl struct {
actor.ServerImplBase
}
func (*ActorImpl) ReminderCall ¶
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 ¶
func (m *MockActorContainer) EXPECT() *MockActorContainerMockRecorder
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.
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 ¶
func (m *MockActorManager) EXPECT() *MockActorManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockActorManager) InvokeMethod ¶
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.
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) SetStateManager ¶
func (m *MockServer) SetStateManager(arg0 actor.StateManager)
SetStateManager mocks base method.
type MockServerMockRecorder ¶
type MockServerMockRecorder struct {
// contains filtered or unexported fields
}
MockServerMockRecorder is the mock recorder for MockServer.
func (*MockServerMockRecorder) ID ¶
func (mr *MockServerMockRecorder) ID() *gomock.Call
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