orchestration

package
v0.0.0-...-ce35f69 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttackOrchestrator

type AttackOrchestrator struct {
	mock.Mock
}

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 (*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

type AttackOrchestrator_OrchestrateMove_Call struct {
	*mock.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 (*AttackOrchestrator_OrchestrateMove_Call) Run

func (*AttackOrchestrator_OrchestrateMove_Call) RunAndReturn

type CardsOrchestrator

type CardsOrchestrator struct {
	mock.Mock
}

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 (*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

type CardsOrchestrator_OrchestrateMove_Call struct {
	*mock.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 (*CardsOrchestrator_OrchestrateMove_Call) Run

func (*CardsOrchestrator_OrchestrateMove_Call) RunAndReturn

type ConquerOrchestrator

type ConquerOrchestrator struct {
	mock.Mock
}

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 (*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

type ConquerOrchestrator_OrchestrateMove_Call struct {
	*mock.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 (*ConquerOrchestrator_OrchestrateMove_Call) Run

func (*ConquerOrchestrator_OrchestrateMove_Call) RunAndReturn

type DeployOrchestrator

type DeployOrchestrator struct {
	mock.Mock
}

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 (*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

type DeployOrchestrator_OrchestrateMove_Call struct {
	*mock.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 (*DeployOrchestrator_OrchestrateMove_Call) Run

func (*DeployOrchestrator_OrchestrateMove_Call) RunAndReturn

type Orchestrator

type Orchestrator[T any, R any] struct {
	mock.Mock
}

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

type Orchestrator_Expecter[T any, R any] struct {
	// contains filtered or unexported fields
}

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

type Orchestrator_OrchestrateMove_Call[T any, R any] struct {
	*mock.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 (*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

type ReinforceOrchestrator struct {
	mock.Mock
}

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 (*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

type ReinforceOrchestrator_OrchestrateMove_Call struct {
	*mock.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 (*ReinforceOrchestrator_OrchestrateMove_Call) Run

func (*ReinforceOrchestrator_OrchestrateMove_Call) RunAndReturn

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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