Documentation ¶
Index ¶
- type AttackOrchestrator
- type AttackOrchestrator_Expecter
- type AttackOrchestrator_OrchestrateMove_Call
- func (_c *AttackOrchestrator_OrchestrateMove_Call) Return(_a0 error) *AttackOrchestrator_OrchestrateMove_Call
- func (_c *AttackOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move attack.Move)) *AttackOrchestrator_OrchestrateMove_Call
- func (_c *AttackOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, attack.Move) error) *AttackOrchestrator_OrchestrateMove_Call
- type CardsOrchestrator
- type CardsOrchestrator_Expecter
- type CardsOrchestrator_OrchestrateMove_Call
- func (_c *CardsOrchestrator_OrchestrateMove_Call) Return(_a0 error) *CardsOrchestrator_OrchestrateMove_Call
- func (_c *CardsOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move cards.Move)) *CardsOrchestrator_OrchestrateMove_Call
- func (_c *CardsOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, cards.Move) error) *CardsOrchestrator_OrchestrateMove_Call
- type ConquerOrchestrator
- type ConquerOrchestrator_Expecter
- type ConquerOrchestrator_OrchestrateMove_Call
- func (_c *ConquerOrchestrator_OrchestrateMove_Call) Return(_a0 error) *ConquerOrchestrator_OrchestrateMove_Call
- func (_c *ConquerOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move conquer.Move)) *ConquerOrchestrator_OrchestrateMove_Call
- func (_c *ConquerOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, conquer.Move) error) *ConquerOrchestrator_OrchestrateMove_Call
- type DeployOrchestrator
- type DeployOrchestrator_Expecter
- type DeployOrchestrator_OrchestrateMove_Call
- func (_c *DeployOrchestrator_OrchestrateMove_Call) Return(_a0 error) *DeployOrchestrator_OrchestrateMove_Call
- func (_c *DeployOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move deploy.Move)) *DeployOrchestrator_OrchestrateMove_Call
- func (_c *DeployOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, deploy.Move) error) *DeployOrchestrator_OrchestrateMove_Call
- type Orchestrator
- type Orchestrator_Expecter
- type Orchestrator_OrchestrateMove_Call
- func (_c *Orchestrator_OrchestrateMove_Call[T, R]) Return(_a0 error) *Orchestrator_OrchestrateMove_Call[T, R]
- func (_c *Orchestrator_OrchestrateMove_Call[T, R]) Run(run func(_a0 ctx.GameContext, move T)) *Orchestrator_OrchestrateMove_Call[T, R]
- func (_c *Orchestrator_OrchestrateMove_Call[T, R]) RunAndReturn(run func(ctx.GameContext, T) error) *Orchestrator_OrchestrateMove_Call[T, R]
- type ReinforceOrchestrator
- type ReinforceOrchestrator_Expecter
- type ReinforceOrchestrator_OrchestrateMove_Call
- func (_c *ReinforceOrchestrator_OrchestrateMove_Call) Return(_a0 error) *ReinforceOrchestrator_OrchestrateMove_Call
- func (_c *ReinforceOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move reinforce.Move)) *ReinforceOrchestrator_OrchestrateMove_Call
- func (_c *ReinforceOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, reinforce.Move) error) *ReinforceOrchestrator_OrchestrateMove_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttackOrchestrator ¶
AttackOrchestrator is an autogenerated mock type for the AttackOrchestrator type
func NewAttackOrchestrator ¶
func NewAttackOrchestrator(t interface { mock.TestingT Cleanup(func()) }) *AttackOrchestrator
NewAttackOrchestrator creates a new instance of AttackOrchestrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AttackOrchestrator) EXPECT ¶
func (_m *AttackOrchestrator) EXPECT() *AttackOrchestrator_Expecter
func (*AttackOrchestrator) OrchestrateMove ¶
func (_m *AttackOrchestrator) OrchestrateMove(_a0 ctx.GameContext, move attack.Move) error
OrchestrateMove provides a mock function with given fields: _a0, move
type AttackOrchestrator_Expecter ¶
type AttackOrchestrator_Expecter struct {
// contains filtered or unexported fields
}
func (*AttackOrchestrator_Expecter) OrchestrateMove ¶
func (_e *AttackOrchestrator_Expecter) OrchestrateMove(_a0 interface{}, move interface{}) *AttackOrchestrator_OrchestrateMove_Call
OrchestrateMove is a helper method to define mock.On call
- _a0 ctx.GameContext
- move attack.Move
type AttackOrchestrator_OrchestrateMove_Call ¶
AttackOrchestrator_OrchestrateMove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrchestrateMove'
func (*AttackOrchestrator_OrchestrateMove_Call) Return ¶
func (_c *AttackOrchestrator_OrchestrateMove_Call) Return(_a0 error) *AttackOrchestrator_OrchestrateMove_Call
func (*AttackOrchestrator_OrchestrateMove_Call) Run ¶
func (_c *AttackOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move attack.Move)) *AttackOrchestrator_OrchestrateMove_Call
func (*AttackOrchestrator_OrchestrateMove_Call) RunAndReturn ¶
func (_c *AttackOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, attack.Move) error) *AttackOrchestrator_OrchestrateMove_Call
type CardsOrchestrator ¶
CardsOrchestrator is an autogenerated mock type for the CardsOrchestrator type
func NewCardsOrchestrator ¶
func NewCardsOrchestrator(t interface { mock.TestingT Cleanup(func()) }) *CardsOrchestrator
NewCardsOrchestrator creates a new instance of CardsOrchestrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CardsOrchestrator) EXPECT ¶
func (_m *CardsOrchestrator) EXPECT() *CardsOrchestrator_Expecter
func (*CardsOrchestrator) OrchestrateMove ¶
func (_m *CardsOrchestrator) OrchestrateMove(_a0 ctx.GameContext, move cards.Move) error
OrchestrateMove provides a mock function with given fields: _a0, move
type CardsOrchestrator_Expecter ¶
type CardsOrchestrator_Expecter struct {
// contains filtered or unexported fields
}
func (*CardsOrchestrator_Expecter) OrchestrateMove ¶
func (_e *CardsOrchestrator_Expecter) OrchestrateMove(_a0 interface{}, move interface{}) *CardsOrchestrator_OrchestrateMove_Call
OrchestrateMove is a helper method to define mock.On call
- _a0 ctx.GameContext
- move cards.Move
type CardsOrchestrator_OrchestrateMove_Call ¶
CardsOrchestrator_OrchestrateMove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrchestrateMove'
func (*CardsOrchestrator_OrchestrateMove_Call) Return ¶
func (_c *CardsOrchestrator_OrchestrateMove_Call) Return(_a0 error) *CardsOrchestrator_OrchestrateMove_Call
func (*CardsOrchestrator_OrchestrateMove_Call) Run ¶
func (_c *CardsOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move cards.Move)) *CardsOrchestrator_OrchestrateMove_Call
func (*CardsOrchestrator_OrchestrateMove_Call) RunAndReturn ¶
func (_c *CardsOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, cards.Move) error) *CardsOrchestrator_OrchestrateMove_Call
type ConquerOrchestrator ¶
ConquerOrchestrator is an autogenerated mock type for the ConquerOrchestrator type
func NewConquerOrchestrator ¶
func NewConquerOrchestrator(t interface { mock.TestingT Cleanup(func()) }) *ConquerOrchestrator
NewConquerOrchestrator creates a new instance of ConquerOrchestrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ConquerOrchestrator) EXPECT ¶
func (_m *ConquerOrchestrator) EXPECT() *ConquerOrchestrator_Expecter
func (*ConquerOrchestrator) OrchestrateMove ¶
func (_m *ConquerOrchestrator) OrchestrateMove(_a0 ctx.GameContext, move conquer.Move) error
OrchestrateMove provides a mock function with given fields: _a0, move
type ConquerOrchestrator_Expecter ¶
type ConquerOrchestrator_Expecter struct {
// contains filtered or unexported fields
}
func (*ConquerOrchestrator_Expecter) OrchestrateMove ¶
func (_e *ConquerOrchestrator_Expecter) OrchestrateMove(_a0 interface{}, move interface{}) *ConquerOrchestrator_OrchestrateMove_Call
OrchestrateMove is a helper method to define mock.On call
- _a0 ctx.GameContext
- move conquer.Move
type ConquerOrchestrator_OrchestrateMove_Call ¶
ConquerOrchestrator_OrchestrateMove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrchestrateMove'
func (*ConquerOrchestrator_OrchestrateMove_Call) Return ¶
func (_c *ConquerOrchestrator_OrchestrateMove_Call) Return(_a0 error) *ConquerOrchestrator_OrchestrateMove_Call
func (*ConquerOrchestrator_OrchestrateMove_Call) Run ¶
func (_c *ConquerOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move conquer.Move)) *ConquerOrchestrator_OrchestrateMove_Call
func (*ConquerOrchestrator_OrchestrateMove_Call) RunAndReturn ¶
func (_c *ConquerOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, conquer.Move) error) *ConquerOrchestrator_OrchestrateMove_Call
type DeployOrchestrator ¶
DeployOrchestrator is an autogenerated mock type for the DeployOrchestrator type
func NewDeployOrchestrator ¶
func NewDeployOrchestrator(t interface { mock.TestingT Cleanup(func()) }) *DeployOrchestrator
NewDeployOrchestrator creates a new instance of DeployOrchestrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeployOrchestrator) EXPECT ¶
func (_m *DeployOrchestrator) EXPECT() *DeployOrchestrator_Expecter
func (*DeployOrchestrator) OrchestrateMove ¶
func (_m *DeployOrchestrator) OrchestrateMove(_a0 ctx.GameContext, move deploy.Move) error
OrchestrateMove provides a mock function with given fields: _a0, move
type DeployOrchestrator_Expecter ¶
type DeployOrchestrator_Expecter struct {
// contains filtered or unexported fields
}
func (*DeployOrchestrator_Expecter) OrchestrateMove ¶
func (_e *DeployOrchestrator_Expecter) OrchestrateMove(_a0 interface{}, move interface{}) *DeployOrchestrator_OrchestrateMove_Call
OrchestrateMove is a helper method to define mock.On call
- _a0 ctx.GameContext
- move deploy.Move
type DeployOrchestrator_OrchestrateMove_Call ¶
DeployOrchestrator_OrchestrateMove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrchestrateMove'
func (*DeployOrchestrator_OrchestrateMove_Call) Return ¶
func (_c *DeployOrchestrator_OrchestrateMove_Call) Return(_a0 error) *DeployOrchestrator_OrchestrateMove_Call
func (*DeployOrchestrator_OrchestrateMove_Call) Run ¶
func (_c *DeployOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move deploy.Move)) *DeployOrchestrator_OrchestrateMove_Call
func (*DeployOrchestrator_OrchestrateMove_Call) RunAndReturn ¶
func (_c *DeployOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, deploy.Move) error) *DeployOrchestrator_OrchestrateMove_Call
type Orchestrator ¶
Orchestrator is an autogenerated mock type for the Orchestrator type
func NewOrchestrator ¶
func NewOrchestrator[T any, R any](t interface { mock.TestingT Cleanup(func()) }) *Orchestrator[T, R]
NewOrchestrator creates a new instance of Orchestrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Orchestrator[T, R]) EXPECT ¶
func (_m *Orchestrator[T, R]) EXPECT() *Orchestrator_Expecter[T, R]
func (*Orchestrator[T, R]) OrchestrateMove ¶
func (_m *Orchestrator[T, R]) OrchestrateMove(_a0 ctx.GameContext, move T) error
OrchestrateMove provides a mock function with given fields: _a0, move
type Orchestrator_Expecter ¶
func (*Orchestrator_Expecter[T, R]) OrchestrateMove ¶
func (_e *Orchestrator_Expecter[T, R]) OrchestrateMove(_a0 interface{}, move interface{}) *Orchestrator_OrchestrateMove_Call[T, R]
OrchestrateMove is a helper method to define mock.On call
- _a0 ctx.GameContext
- move T
type Orchestrator_OrchestrateMove_Call ¶
Orchestrator_OrchestrateMove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrchestrateMove'
func (*Orchestrator_OrchestrateMove_Call[T, R]) Return ¶
func (_c *Orchestrator_OrchestrateMove_Call[T, R]) Return(_a0 error) *Orchestrator_OrchestrateMove_Call[T, R]
func (*Orchestrator_OrchestrateMove_Call[T, R]) Run ¶
func (_c *Orchestrator_OrchestrateMove_Call[T, R]) Run(run func(_a0 ctx.GameContext, move T)) *Orchestrator_OrchestrateMove_Call[T, R]
func (*Orchestrator_OrchestrateMove_Call[T, R]) RunAndReturn ¶
func (_c *Orchestrator_OrchestrateMove_Call[T, R]) RunAndReturn(run func(ctx.GameContext, T) error) *Orchestrator_OrchestrateMove_Call[T, R]
type ReinforceOrchestrator ¶
ReinforceOrchestrator is an autogenerated mock type for the ReinforceOrchestrator type
func NewReinforceOrchestrator ¶
func NewReinforceOrchestrator(t interface { mock.TestingT Cleanup(func()) }) *ReinforceOrchestrator
NewReinforceOrchestrator creates a new instance of ReinforceOrchestrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReinforceOrchestrator) EXPECT ¶
func (_m *ReinforceOrchestrator) EXPECT() *ReinforceOrchestrator_Expecter
func (*ReinforceOrchestrator) OrchestrateMove ¶
func (_m *ReinforceOrchestrator) OrchestrateMove(_a0 ctx.GameContext, move reinforce.Move) error
OrchestrateMove provides a mock function with given fields: _a0, move
type ReinforceOrchestrator_Expecter ¶
type ReinforceOrchestrator_Expecter struct {
// contains filtered or unexported fields
}
func (*ReinforceOrchestrator_Expecter) OrchestrateMove ¶
func (_e *ReinforceOrchestrator_Expecter) OrchestrateMove(_a0 interface{}, move interface{}) *ReinforceOrchestrator_OrchestrateMove_Call
OrchestrateMove is a helper method to define mock.On call
- _a0 ctx.GameContext
- move reinforce.Move
type ReinforceOrchestrator_OrchestrateMove_Call ¶
ReinforceOrchestrator_OrchestrateMove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrchestrateMove'
func (*ReinforceOrchestrator_OrchestrateMove_Call) Return ¶
func (_c *ReinforceOrchestrator_OrchestrateMove_Call) Return(_a0 error) *ReinforceOrchestrator_OrchestrateMove_Call
func (*ReinforceOrchestrator_OrchestrateMove_Call) Run ¶
func (_c *ReinforceOrchestrator_OrchestrateMove_Call) Run(run func(_a0 ctx.GameContext, move reinforce.Move)) *ReinforceOrchestrator_OrchestrateMove_Call
func (*ReinforceOrchestrator_OrchestrateMove_Call) RunAndReturn ¶
func (_c *ReinforceOrchestrator_OrchestrateMove_Call) RunAndReturn(run func(ctx.GameContext, reinforce.Move) error) *ReinforceOrchestrator_OrchestrateMove_Call