smachine

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StepLoggerUpdateErrorDefault        StepLoggerFlags = 0
	StepLoggerUpdateErrorMuted                          = stepLoggerUpdateErrorBit0
	StepLoggerUpdateErrorRecovered                      = stepLoggerUpdateErrorBit1
	StepLoggerUpdateErrorRecoveryDenied                 = stepLoggerUpdateErrorBit0 | stepLoggerUpdateErrorBit1
)
View Source
const (
	StepLoggerAdapterSyncCall           StepLoggerFlags = 0
	StepLoggerAdapterNotifyCall                         = stepLoggerUpdateAdapterBit0
	StepLoggerAdapterAsyncCall                          = stepLoggerUpdateAdapterBit2
	StepLoggerAdapterAsyncResult                        = stepLoggerUpdateAdapterBit2 | stepLoggerUpdateAdapterBit1
	StepLoggerAdapterAsyncCancel                        = stepLoggerUpdateAdapterBit2 | stepLoggerUpdateAdapterBit1 | stepLoggerUpdateAdapterBit0
	StepLoggerAdapterAsyncExpiredResult                 = stepLoggerUpdateAdapterBit1
	StepLoggerAdapterAsyncExpiredCancel                 = stepLoggerUpdateAdapterBit1 | stepLoggerUpdateAdapterBit0
)
View Source
const StepLoggerAdapterMask = stepLoggerUpdateAdapterBit0 | stepLoggerUpdateAdapterBit1 | stepLoggerUpdateAdapterBit2
View Source
const StepLoggerErrorMask = stepLoggerUpdateErrorBit0 | stepLoggerUpdateErrorBit1
View Source
const SyncPriorityMask = SyncPriorityBoosted | SyncPriorityHigh

Variables

View Source
var ErrCancelledCall = errors.New("cancelled")

Functions

func ApplyAdjustmentAsync

func ApplyAdjustmentAsync(adj SyncAdjustment) bool

func RecoverSlotPanic

func RecoverSlotPanic(msg string, recovered interface{}, prev error, area SlotPanicArea) error

func RecoverSlotPanicWithStack

func RecoverSlotPanicWithStack(msg string, recovered interface{}, prev error, area SlotPanicArea) error

func ScheduleCallTo

func ScheduleCallTo(link SlotLink, fn MachineCallFunc, isSignal bool) bool

func StartChannelWorker

func StartChannelWorker(ctx context.Context, ch <-chan AdapterCall, runArg interface{})

func StartChannelWorkerParallelCalls

func StartChannelWorkerParallelCalls(ctx context.Context, parallelLimit uint16, ch <-chan AdapterCall, runArg interface{})

Types

type AcquireFlags

type AcquireFlags uint8
const (
	// AcquireForThisStep flag grants property of SynchronizationContext.AcquireForThisStep()
	AcquireForThisStep AcquireFlags = 1 << iota
	// AcquireAndRelease flag grants property of SynchronizationContext.AcquireAndRelease()
	AcquireAndRelease
	// BoostedPriorityAcquire flag grants property of a boosted slot - it gets higher priority on relevant synchronization queues.
	BoostedPriorityAcquire
	// HighPriorityAcquire flag grants property of a priority slot - it gets the highest priority on relevant synchronization queues.
	// USE WITH CAUTION.
	HighPriorityAcquire
	// NoPriorityAcquire flag suppresses slot's boost/priority status for the acquire operation.
	NoPriorityAcquire
)

type AdapterCall

type AdapterCall struct {
	Context  context.Context
	CallFn   AdapterCallFunc
	Callback *AdapterCallback
	ErrorFn  func(error)
}

func (AdapterCall) DelegateAndSendResult

func (c AdapterCall) DelegateAndSendResult(defaultNestedFn CreateFactoryFunc, delegate AdapterCallDelegateFunc) (func(), error)

func (AdapterCall) ReportError

func (c AdapterCall) ReportError(e error)

func (AdapterCall) RunAndSendResult

func (c AdapterCall) RunAndSendResult(arg interface{}) error

type AdapterCallDelegateFunc

type AdapterCallDelegateFunc func(
	ctx context.Context,

	callFn AdapterCallFunc,

	nestedCallFn NestedCallFunc,

	chainCancel *synckit.ChainedCancel) (AsyncResultFunc, error)

type AdapterCallFunc

type AdapterCallFunc func(ctx context.Context, arg interface{}) AsyncResultFunc

type AdapterCallback

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

func NewAdapterCallback

func NewAdapterCallback(adapterID AdapterID, caller StepLink, callbackOverride AdapterCallbackFunc, flags AsyncCallFlags,
	nestedFn CreateFactoryFunc) *AdapterCallback

func (*AdapterCallback) ChainedCancel

func (c *AdapterCallback) ChainedCancel() *synckit.ChainedCancel

func (*AdapterCallback) IsCancelled

func (c *AdapterCallback) IsCancelled() bool

func (*AdapterCallback) Prepare

func (c *AdapterCallback) Prepare(needCancel bool) context.CancelFunc

func (*AdapterCallback) SendCancel

func (c *AdapterCallback) SendCancel()

can be called repeatedly

func (*AdapterCallback) SendNested

func (c *AdapterCallback) SendNested(defaultFactoryFn CreateFactoryFunc, payload interface{}) error

func (*AdapterCallback) SendPanic

func (c *AdapterCallback) SendPanic(err error)

func (*AdapterCallback) SendResult

func (c *AdapterCallback) SendResult(result AsyncResultFunc)

type AdapterCallbackFunc

type AdapterCallbackFunc func(isValid bool, fn AsyncResultFunc, err error) bool

type AdapterExecutor

type AdapterExecutor interface {
	// StartCall schedules asynchronous execution, MAY return native cancellation function, but only if supported.
	// This method MUST be fast and MUST NOT lock up. May panic on queue overflow.
	StartCall(ctx context.Context, fn AdapterCallFunc, callback *AdapterCallback, needCancel bool) context.CancelFunc

	// SendNotify schedules asynchronous, fire-and-forget execution.
	// This method MUST be fast and MUST NOT lock up. May panic on queue overflow.
	SendNotify(context.Context, AdapterNotifyFunc)

	// TODO PLAT-41 pass in a cancellation object
	// TrySyncCall performs sync call ONLY if *natively* supported by the adapter, otherwise must return (false, nil)
	TrySyncCall(context.Context, AdapterCallFunc) (bool, AsyncResultFunc)
}

Provides execution of calls to an adapter.

type AdapterID

type AdapterID string

func (AdapterID) IsEmpty

func (v AdapterID) IsEmpty() bool

type AdapterNotifyFunc

type AdapterNotifyFunc func(ctx context.Context, arg interface{})

type AsyncCallFlags

type AsyncCallFlags uint8
const (
	/*
		CallBoundToStep indicates that a call stays valid for this step (where the call is made) and for a next step.
		When SM will went further, the call or its result will be cancelled / ignored.
		NB! This cancel functionality is PASSIVE, an adapter should check this status explicitly.
	*/
	CallBoundToStep AsyncCallFlags = 1 << iota

	// WakeUpBoundToStep indicates if a wakeup from call's result will be valid for this step (where the call is made) and for a next step.
	WakeUpBoundToStep
	// WakeUpOnResult enables receiving of call's successful result to wake up the slot without WakeUp(). Affected by WakeUpBoundToStep.
	WakeUpOnResult
	// WakeUpOnResult enables a caller to be woken up when the async request was cancelled by an adapter. Affected by WakeUpBoundToStep.
	WakeUpOnCancel
)

type AsyncCallRequester

type AsyncCallRequester interface {
	// WithCancel allocates and provides cancellation function. Repeated call returns same.
	WithCancel(*context.CancelFunc) AsyncCallRequester
	// WithNested sets a handler to map nested calls from the target adapter to new SMs
	// If this handler is nil or returns nil, then a default handler of the adapter will be in use.
	// To block a nested event - return non-nil CreateFunc, and then return nil from CreateFunc.
	WithNested(CreateFactoryFunc) AsyncCallRequester
	// WithFlags sets AsyncCallFlags. AutoWakeUp is set by default.
	WithFlags(flags AsyncCallFlags) AsyncCallRequester
	// WithoutAutoWakeUp removes AutoWakeUp. See AsyncCallFlags.
	WithoutAutoWakeUp() AsyncCallRequester
	// WithLog sets internal logging for the call and its result.
	// This mode is set automatically when tracing is active or StepElevatedLog is set.
	WithLog(isLogging bool) AsyncCallRequester

	// Start starts this async call
	Start()
	// DelayedStart creates an update that can be returned as a new state and will ONLY be executed if returned as a new state
	DelayedStart() CallConditionalBuilder
}

type AsyncCallRequesterMock

type AsyncCallRequesterMock struct {
	DelayedStartMock mAsyncCallRequesterMockDelayedStart

	StartMock mAsyncCallRequesterMockStart

	WithCancelMock mAsyncCallRequesterMockWithCancel

	WithFlagsMock mAsyncCallRequesterMockWithFlags

	WithLogMock mAsyncCallRequesterMockWithLog

	WithNestedMock mAsyncCallRequesterMockWithNested

	WithoutAutoWakeUpMock mAsyncCallRequesterMockWithoutAutoWakeUp
	// contains filtered or unexported fields
}

AsyncCallRequesterMock implements AsyncCallRequester

func NewAsyncCallRequesterMock

func NewAsyncCallRequesterMock(t minimock.Tester) *AsyncCallRequesterMock

NewAsyncCallRequesterMock returns a mock for AsyncCallRequester

func (*AsyncCallRequesterMock) DelayedStart

func (mmDelayedStart *AsyncCallRequesterMock) DelayedStart() (c1 CallConditionalBuilder)

DelayedStart implements AsyncCallRequester

func (*AsyncCallRequesterMock) DelayedStartAfterCounter

func (mmDelayedStart *AsyncCallRequesterMock) DelayedStartAfterCounter() uint64

DelayedStartAfterCounter returns a count of finished AsyncCallRequesterMock.DelayedStart invocations

func (*AsyncCallRequesterMock) DelayedStartBeforeCounter

func (mmDelayedStart *AsyncCallRequesterMock) DelayedStartBeforeCounter() uint64

DelayedStartBeforeCounter returns a count of AsyncCallRequesterMock.DelayedStart invocations

func (*AsyncCallRequesterMock) MinimockDelayedStartDone

func (m *AsyncCallRequesterMock) MinimockDelayedStartDone() bool

MinimockDelayedStartDone returns true if the count of the DelayedStart invocations corresponds the number of defined expectations

func (*AsyncCallRequesterMock) MinimockDelayedStartInspect

func (m *AsyncCallRequesterMock) MinimockDelayedStartInspect()

MinimockDelayedStartInspect logs each unmet expectation

func (*AsyncCallRequesterMock) MinimockFinish

func (m *AsyncCallRequesterMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*AsyncCallRequesterMock) MinimockStartDone

func (m *AsyncCallRequesterMock) MinimockStartDone() bool

MinimockStartDone returns true if the count of the Start invocations corresponds the number of defined expectations

func (*AsyncCallRequesterMock) MinimockStartInspect

func (m *AsyncCallRequesterMock) MinimockStartInspect()

MinimockStartInspect logs each unmet expectation

func (*AsyncCallRequesterMock) MinimockWait

func (m *AsyncCallRequesterMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*AsyncCallRequesterMock) MinimockWithCancelDone

func (m *AsyncCallRequesterMock) MinimockWithCancelDone() bool

MinimockWithCancelDone returns true if the count of the WithCancel invocations corresponds the number of defined expectations

func (*AsyncCallRequesterMock) MinimockWithCancelInspect

func (m *AsyncCallRequesterMock) MinimockWithCancelInspect()

MinimockWithCancelInspect logs each unmet expectation

func (*AsyncCallRequesterMock) MinimockWithFlagsDone

func (m *AsyncCallRequesterMock) MinimockWithFlagsDone() bool

MinimockWithFlagsDone returns true if the count of the WithFlags invocations corresponds the number of defined expectations

func (*AsyncCallRequesterMock) MinimockWithFlagsInspect

func (m *AsyncCallRequesterMock) MinimockWithFlagsInspect()

MinimockWithFlagsInspect logs each unmet expectation

func (*AsyncCallRequesterMock) MinimockWithLogDone

func (m *AsyncCallRequesterMock) MinimockWithLogDone() bool

MinimockWithLogDone returns true if the count of the WithLog invocations corresponds the number of defined expectations

func (*AsyncCallRequesterMock) MinimockWithLogInspect

func (m *AsyncCallRequesterMock) MinimockWithLogInspect()

MinimockWithLogInspect logs each unmet expectation

func (*AsyncCallRequesterMock) MinimockWithNestedDone

func (m *AsyncCallRequesterMock) MinimockWithNestedDone() bool

MinimockWithNestedDone returns true if the count of the WithNested invocations corresponds the number of defined expectations

func (*AsyncCallRequesterMock) MinimockWithNestedInspect

func (m *AsyncCallRequesterMock) MinimockWithNestedInspect()

MinimockWithNestedInspect logs each unmet expectation

func (*AsyncCallRequesterMock) MinimockWithoutAutoWakeUpDone

func (m *AsyncCallRequesterMock) MinimockWithoutAutoWakeUpDone() bool

MinimockWithoutAutoWakeUpDone returns true if the count of the WithoutAutoWakeUp invocations corresponds the number of defined expectations

func (*AsyncCallRequesterMock) MinimockWithoutAutoWakeUpInspect

func (m *AsyncCallRequesterMock) MinimockWithoutAutoWakeUpInspect()

MinimockWithoutAutoWakeUpInspect logs each unmet expectation

func (*AsyncCallRequesterMock) Start

func (mmStart *AsyncCallRequesterMock) Start()

Start implements AsyncCallRequester

func (*AsyncCallRequesterMock) StartAfterCounter

func (mmStart *AsyncCallRequesterMock) StartAfterCounter() uint64

StartAfterCounter returns a count of finished AsyncCallRequesterMock.Start invocations

func (*AsyncCallRequesterMock) StartBeforeCounter

func (mmStart *AsyncCallRequesterMock) StartBeforeCounter() uint64

StartBeforeCounter returns a count of AsyncCallRequesterMock.Start invocations

func (*AsyncCallRequesterMock) WithCancel

func (mmWithCancel *AsyncCallRequesterMock) WithCancel(cp1 *context.CancelFunc) (a1 AsyncCallRequester)

WithCancel implements AsyncCallRequester

func (*AsyncCallRequesterMock) WithCancelAfterCounter

func (mmWithCancel *AsyncCallRequesterMock) WithCancelAfterCounter() uint64

WithCancelAfterCounter returns a count of finished AsyncCallRequesterMock.WithCancel invocations

func (*AsyncCallRequesterMock) WithCancelBeforeCounter

func (mmWithCancel *AsyncCallRequesterMock) WithCancelBeforeCounter() uint64

WithCancelBeforeCounter returns a count of AsyncCallRequesterMock.WithCancel invocations

func (*AsyncCallRequesterMock) WithFlags

func (mmWithFlags *AsyncCallRequesterMock) WithFlags(flags AsyncCallFlags) (a1 AsyncCallRequester)

WithFlags implements AsyncCallRequester

func (*AsyncCallRequesterMock) WithFlagsAfterCounter

func (mmWithFlags *AsyncCallRequesterMock) WithFlagsAfterCounter() uint64

WithFlagsAfterCounter returns a count of finished AsyncCallRequesterMock.WithFlags invocations

func (*AsyncCallRequesterMock) WithFlagsBeforeCounter

func (mmWithFlags *AsyncCallRequesterMock) WithFlagsBeforeCounter() uint64

WithFlagsBeforeCounter returns a count of AsyncCallRequesterMock.WithFlags invocations

func (*AsyncCallRequesterMock) WithLog

func (mmWithLog *AsyncCallRequesterMock) WithLog(isLogging bool) (a1 AsyncCallRequester)

WithLog implements AsyncCallRequester

func (*AsyncCallRequesterMock) WithLogAfterCounter

func (mmWithLog *AsyncCallRequesterMock) WithLogAfterCounter() uint64

WithLogAfterCounter returns a count of finished AsyncCallRequesterMock.WithLog invocations

func (*AsyncCallRequesterMock) WithLogBeforeCounter

func (mmWithLog *AsyncCallRequesterMock) WithLogBeforeCounter() uint64

WithLogBeforeCounter returns a count of AsyncCallRequesterMock.WithLog invocations

func (*AsyncCallRequesterMock) WithNested

func (mmWithNested *AsyncCallRequesterMock) WithNested(c1 CreateFactoryFunc) (a1 AsyncCallRequester)

WithNested implements AsyncCallRequester

func (*AsyncCallRequesterMock) WithNestedAfterCounter

func (mmWithNested *AsyncCallRequesterMock) WithNestedAfterCounter() uint64

WithNestedAfterCounter returns a count of finished AsyncCallRequesterMock.WithNested invocations

func (*AsyncCallRequesterMock) WithNestedBeforeCounter

func (mmWithNested *AsyncCallRequesterMock) WithNestedBeforeCounter() uint64

WithNestedBeforeCounter returns a count of AsyncCallRequesterMock.WithNested invocations

func (*AsyncCallRequesterMock) WithoutAutoWakeUp

func (mmWithoutAutoWakeUp *AsyncCallRequesterMock) WithoutAutoWakeUp() (a1 AsyncCallRequester)

WithoutAutoWakeUp implements AsyncCallRequester

func (*AsyncCallRequesterMock) WithoutAutoWakeUpAfterCounter

func (mmWithoutAutoWakeUp *AsyncCallRequesterMock) WithoutAutoWakeUpAfterCounter() uint64

WithoutAutoWakeUpAfterCounter returns a count of finished AsyncCallRequesterMock.WithoutAutoWakeUp invocations

func (*AsyncCallRequesterMock) WithoutAutoWakeUpBeforeCounter

func (mmWithoutAutoWakeUp *AsyncCallRequesterMock) WithoutAutoWakeUpBeforeCounter() uint64

WithoutAutoWakeUpBeforeCounter returns a count of AsyncCallRequesterMock.WithoutAutoWakeUp invocations

type AsyncCallRequesterMockDelayedStartExpectation

type AsyncCallRequesterMockDelayedStartExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

AsyncCallRequesterMockDelayedStartExpectation specifies expectation struct of the AsyncCallRequester.DelayedStart

type AsyncCallRequesterMockDelayedStartResults

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

AsyncCallRequesterMockDelayedStartResults contains results of the AsyncCallRequester.DelayedStart

type AsyncCallRequesterMockStartExpectation

type AsyncCallRequesterMockStartExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

AsyncCallRequesterMockStartExpectation specifies expectation struct of the AsyncCallRequester.Start

type AsyncCallRequesterMockWithCancelExpectation

type AsyncCallRequesterMockWithCancelExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

AsyncCallRequesterMockWithCancelExpectation specifies expectation struct of the AsyncCallRequester.WithCancel

func (*AsyncCallRequesterMockWithCancelExpectation) Then

Then sets up AsyncCallRequester.WithCancel return parameters for the expectation previously defined by the When method

type AsyncCallRequesterMockWithCancelParams

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

AsyncCallRequesterMockWithCancelParams contains parameters of the AsyncCallRequester.WithCancel

type AsyncCallRequesterMockWithCancelResults

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

AsyncCallRequesterMockWithCancelResults contains results of the AsyncCallRequester.WithCancel

type AsyncCallRequesterMockWithFlagsExpectation

type AsyncCallRequesterMockWithFlagsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

AsyncCallRequesterMockWithFlagsExpectation specifies expectation struct of the AsyncCallRequester.WithFlags

func (*AsyncCallRequesterMockWithFlagsExpectation) Then

Then sets up AsyncCallRequester.WithFlags return parameters for the expectation previously defined by the When method

type AsyncCallRequesterMockWithFlagsParams

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

AsyncCallRequesterMockWithFlagsParams contains parameters of the AsyncCallRequester.WithFlags

type AsyncCallRequesterMockWithFlagsResults

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

AsyncCallRequesterMockWithFlagsResults contains results of the AsyncCallRequester.WithFlags

type AsyncCallRequesterMockWithLogExpectation

type AsyncCallRequesterMockWithLogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

AsyncCallRequesterMockWithLogExpectation specifies expectation struct of the AsyncCallRequester.WithLog

func (*AsyncCallRequesterMockWithLogExpectation) Then

Then sets up AsyncCallRequester.WithLog return parameters for the expectation previously defined by the When method

type AsyncCallRequesterMockWithLogParams

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

AsyncCallRequesterMockWithLogParams contains parameters of the AsyncCallRequester.WithLog

type AsyncCallRequesterMockWithLogResults

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

AsyncCallRequesterMockWithLogResults contains results of the AsyncCallRequester.WithLog

type AsyncCallRequesterMockWithNestedExpectation

type AsyncCallRequesterMockWithNestedExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

AsyncCallRequesterMockWithNestedExpectation specifies expectation struct of the AsyncCallRequester.WithNested

func (*AsyncCallRequesterMockWithNestedExpectation) Then

Then sets up AsyncCallRequester.WithNested return parameters for the expectation previously defined by the When method

type AsyncCallRequesterMockWithNestedParams

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

AsyncCallRequesterMockWithNestedParams contains parameters of the AsyncCallRequester.WithNested

type AsyncCallRequesterMockWithNestedResults

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

AsyncCallRequesterMockWithNestedResults contains results of the AsyncCallRequester.WithNested

type AsyncCallRequesterMockWithoutAutoWakeUpExpectation

type AsyncCallRequesterMockWithoutAutoWakeUpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

AsyncCallRequesterMockWithoutAutoWakeUpExpectation specifies expectation struct of the AsyncCallRequester.WithoutAutoWakeUp

type AsyncCallRequesterMockWithoutAutoWakeUpResults

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

AsyncCallRequesterMockWithoutAutoWakeUpResults contains results of the AsyncCallRequester.WithoutAutoWakeUp

type AsyncCallbackFunc

type AsyncCallbackFunc func(link SlotLink, worker DetachableSlotWorker) bool

type AsyncResultContext

type AsyncResultContext interface {
	BasicContext

	// Returns a slot logger for this context. It is only valid while this context is valid.
	Log() Logger

	// Makes SM active if it was waiting or polling
	WakeUp()
	// contains filtered or unexported methods
}

type AsyncResultFunc

type AsyncResultFunc func(ctx AsyncResultContext)

type AttachableSlotWorker

type AttachableSlotWorker interface {
	AttachTo(m *SlotMachine, signal *synckit.SignalVersion, loopLimit uint32, fn AttachedFunc) (wasDetached bool, callCount uint)
	AttachAsNested(m *SlotMachine, w DetachableSlotWorker, loopLimit uint32, fn AttachedFunc) (wasDetached bool)
}

type AttachedFunc

type AttachedFunc func(AttachedSlotWorker)

type AttachedSlotWorker

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

func NewAttachedSlotWorker

func NewAttachedSlotWorker(worker SlotWorkerSupport) AttachedSlotWorker

func (AttachedSlotWorker) AsFixedSlotWorker

func (v AttachedSlotWorker) AsFixedSlotWorker() FixedSlotWorker

func (AttachedSlotWorker) CanLoopOrHasSignal

func (v AttachedSlotWorker) CanLoopOrHasSignal(loopCount int) (canLoop, hasSignal bool)

func (AttachedSlotWorker) CanWorkOn

func (v AttachedSlotWorker) CanWorkOn(*SlotMachine) bool

func (AttachedSlotWorker) DetachableCall

func (v AttachedSlotWorker) DetachableCall(fn DetachableFunc) (wasDetached bool)

func (AttachedSlotWorker) GetSignalMark

func (v AttachedSlotWorker) GetSignalMark() *synckit.SignalVersion

func (AttachedSlotWorker) HasSignal

func (v AttachedSlotWorker) HasSignal() bool

func (AttachedSlotWorker) IsDetached

func (v AttachedSlotWorker) IsDetached() bool

func (AttachedSlotWorker) IsZero

func (v AttachedSlotWorker) IsZero() bool

func (AttachedSlotWorker) OuterCall

func (v AttachedSlotWorker) OuterCall(*SlotMachine, NonDetachableFunc) (wasExecuted bool)

type BargeIn

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

func NewNoopBargeIn

func NewNoopBargeIn(link StepLink) BargeIn

func (BargeIn) Call

func (v BargeIn) Call() bool

func (BargeIn) CallWithParam

func (v BargeIn) CallWithParam(param interface{}) bool

func (BargeIn) IsValid

func (v BargeIn) IsValid() bool

func (BargeIn) IsZero

func (v BargeIn) IsZero() bool
func (v BargeIn) StepLink() StepLink

type BargeInApplyFunc

type BargeInApplyFunc func(interface{}) BargeInCallbackFunc

type BargeInBuilder

type BargeInBuilder interface {
	// WithJumpExt creates a BargeIn that will change SM's step and wake it up
	WithJumpExt(SlotStep) BargeIn
	// WithJump creates a BargeIn that will change SM's step and wake it up
	WithJump(StateFunc) BargeIn
	// WithWakeUp creates a BargeIn that will wake up SM at its current step
	WithWakeUp() BargeIn
	// WithStop creates a BargeIn that will stop SM
	WithStop() BargeIn
	// WithError creates a BargeIn that will stop SM with the given error
	WithError(error) BargeIn
}

type BargeInBuilderMock

type BargeInBuilderMock struct {
	WithErrorMock mBargeInBuilderMockWithError

	WithJumpMock mBargeInBuilderMockWithJump

	WithJumpExtMock mBargeInBuilderMockWithJumpExt

	WithStopMock mBargeInBuilderMockWithStop

	WithWakeUpMock mBargeInBuilderMockWithWakeUp
	// contains filtered or unexported fields
}

BargeInBuilderMock implements BargeInBuilder

func NewBargeInBuilderMock

func NewBargeInBuilderMock(t minimock.Tester) *BargeInBuilderMock

NewBargeInBuilderMock returns a mock for BargeInBuilder

func (*BargeInBuilderMock) MinimockFinish

func (m *BargeInBuilderMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*BargeInBuilderMock) MinimockWait

func (m *BargeInBuilderMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*BargeInBuilderMock) MinimockWithErrorDone

func (m *BargeInBuilderMock) MinimockWithErrorDone() bool

MinimockWithErrorDone returns true if the count of the WithError invocations corresponds the number of defined expectations

func (*BargeInBuilderMock) MinimockWithErrorInspect

func (m *BargeInBuilderMock) MinimockWithErrorInspect()

MinimockWithErrorInspect logs each unmet expectation

func (*BargeInBuilderMock) MinimockWithJumpDone

func (m *BargeInBuilderMock) MinimockWithJumpDone() bool

MinimockWithJumpDone returns true if the count of the WithJump invocations corresponds the number of defined expectations

func (*BargeInBuilderMock) MinimockWithJumpExtDone

func (m *BargeInBuilderMock) MinimockWithJumpExtDone() bool

MinimockWithJumpExtDone returns true if the count of the WithJumpExt invocations corresponds the number of defined expectations

func (*BargeInBuilderMock) MinimockWithJumpExtInspect

func (m *BargeInBuilderMock) MinimockWithJumpExtInspect()

MinimockWithJumpExtInspect logs each unmet expectation

func (*BargeInBuilderMock) MinimockWithJumpInspect

func (m *BargeInBuilderMock) MinimockWithJumpInspect()

MinimockWithJumpInspect logs each unmet expectation

func (*BargeInBuilderMock) MinimockWithStopDone

func (m *BargeInBuilderMock) MinimockWithStopDone() bool

MinimockWithStopDone returns true if the count of the WithStop invocations corresponds the number of defined expectations

func (*BargeInBuilderMock) MinimockWithStopInspect

func (m *BargeInBuilderMock) MinimockWithStopInspect()

MinimockWithStopInspect logs each unmet expectation

func (*BargeInBuilderMock) MinimockWithWakeUpDone

func (m *BargeInBuilderMock) MinimockWithWakeUpDone() bool

MinimockWithWakeUpDone returns true if the count of the WithWakeUp invocations corresponds the number of defined expectations

func (*BargeInBuilderMock) MinimockWithWakeUpInspect

func (m *BargeInBuilderMock) MinimockWithWakeUpInspect()

MinimockWithWakeUpInspect logs each unmet expectation

func (*BargeInBuilderMock) WithError

func (mmWithError *BargeInBuilderMock) WithError(e1 error) (b1 BargeIn)

WithError implements BargeInBuilder

func (*BargeInBuilderMock) WithErrorAfterCounter

func (mmWithError *BargeInBuilderMock) WithErrorAfterCounter() uint64

WithErrorAfterCounter returns a count of finished BargeInBuilderMock.WithError invocations

func (*BargeInBuilderMock) WithErrorBeforeCounter

func (mmWithError *BargeInBuilderMock) WithErrorBeforeCounter() uint64

WithErrorBeforeCounter returns a count of BargeInBuilderMock.WithError invocations

func (*BargeInBuilderMock) WithJump

func (mmWithJump *BargeInBuilderMock) WithJump(s1 StateFunc) (b1 BargeIn)

WithJump implements BargeInBuilder

func (*BargeInBuilderMock) WithJumpAfterCounter

func (mmWithJump *BargeInBuilderMock) WithJumpAfterCounter() uint64

WithJumpAfterCounter returns a count of finished BargeInBuilderMock.WithJump invocations

func (*BargeInBuilderMock) WithJumpBeforeCounter

func (mmWithJump *BargeInBuilderMock) WithJumpBeforeCounter() uint64

WithJumpBeforeCounter returns a count of BargeInBuilderMock.WithJump invocations

func (*BargeInBuilderMock) WithJumpExt

func (mmWithJumpExt *BargeInBuilderMock) WithJumpExt(s1 SlotStep) (b1 BargeIn)

WithJumpExt implements BargeInBuilder

func (*BargeInBuilderMock) WithJumpExtAfterCounter

func (mmWithJumpExt *BargeInBuilderMock) WithJumpExtAfterCounter() uint64

WithJumpExtAfterCounter returns a count of finished BargeInBuilderMock.WithJumpExt invocations

func (*BargeInBuilderMock) WithJumpExtBeforeCounter

func (mmWithJumpExt *BargeInBuilderMock) WithJumpExtBeforeCounter() uint64

WithJumpExtBeforeCounter returns a count of BargeInBuilderMock.WithJumpExt invocations

func (*BargeInBuilderMock) WithStop

func (mmWithStop *BargeInBuilderMock) WithStop() (b1 BargeIn)

WithStop implements BargeInBuilder

func (*BargeInBuilderMock) WithStopAfterCounter

func (mmWithStop *BargeInBuilderMock) WithStopAfterCounter() uint64

WithStopAfterCounter returns a count of finished BargeInBuilderMock.WithStop invocations

func (*BargeInBuilderMock) WithStopBeforeCounter

func (mmWithStop *BargeInBuilderMock) WithStopBeforeCounter() uint64

WithStopBeforeCounter returns a count of BargeInBuilderMock.WithStop invocations

func (*BargeInBuilderMock) WithWakeUp

func (mmWithWakeUp *BargeInBuilderMock) WithWakeUp() (b1 BargeIn)

WithWakeUp implements BargeInBuilder

func (*BargeInBuilderMock) WithWakeUpAfterCounter

func (mmWithWakeUp *BargeInBuilderMock) WithWakeUpAfterCounter() uint64

WithWakeUpAfterCounter returns a count of finished BargeInBuilderMock.WithWakeUp invocations

func (*BargeInBuilderMock) WithWakeUpBeforeCounter

func (mmWithWakeUp *BargeInBuilderMock) WithWakeUpBeforeCounter() uint64

WithWakeUpBeforeCounter returns a count of BargeInBuilderMock.WithWakeUp invocations

type BargeInBuilderMockWithErrorExpectation

type BargeInBuilderMockWithErrorExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

BargeInBuilderMockWithErrorExpectation specifies expectation struct of the BargeInBuilder.WithError

func (*BargeInBuilderMockWithErrorExpectation) Then

Then sets up BargeInBuilder.WithError return parameters for the expectation previously defined by the When method

type BargeInBuilderMockWithErrorParams

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

BargeInBuilderMockWithErrorParams contains parameters of the BargeInBuilder.WithError

type BargeInBuilderMockWithErrorResults

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

BargeInBuilderMockWithErrorResults contains results of the BargeInBuilder.WithError

type BargeInBuilderMockWithJumpExpectation

type BargeInBuilderMockWithJumpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

BargeInBuilderMockWithJumpExpectation specifies expectation struct of the BargeInBuilder.WithJump

func (*BargeInBuilderMockWithJumpExpectation) Then

Then sets up BargeInBuilder.WithJump return parameters for the expectation previously defined by the When method

type BargeInBuilderMockWithJumpExtExpectation

type BargeInBuilderMockWithJumpExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

BargeInBuilderMockWithJumpExtExpectation specifies expectation struct of the BargeInBuilder.WithJumpExt

func (*BargeInBuilderMockWithJumpExtExpectation) Then

Then sets up BargeInBuilder.WithJumpExt return parameters for the expectation previously defined by the When method

type BargeInBuilderMockWithJumpExtParams

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

BargeInBuilderMockWithJumpExtParams contains parameters of the BargeInBuilder.WithJumpExt

type BargeInBuilderMockWithJumpExtResults

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

BargeInBuilderMockWithJumpExtResults contains results of the BargeInBuilder.WithJumpExt

type BargeInBuilderMockWithJumpParams

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

BargeInBuilderMockWithJumpParams contains parameters of the BargeInBuilder.WithJump

type BargeInBuilderMockWithJumpResults

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

BargeInBuilderMockWithJumpResults contains results of the BargeInBuilder.WithJump

type BargeInBuilderMockWithStopExpectation

type BargeInBuilderMockWithStopExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

BargeInBuilderMockWithStopExpectation specifies expectation struct of the BargeInBuilder.WithStop

type BargeInBuilderMockWithStopResults

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

BargeInBuilderMockWithStopResults contains results of the BargeInBuilder.WithStop

type BargeInBuilderMockWithWakeUpExpectation

type BargeInBuilderMockWithWakeUpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

BargeInBuilderMockWithWakeUpExpectation specifies expectation struct of the BargeInBuilder.WithWakeUp

type BargeInBuilderMockWithWakeUpResults

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

BargeInBuilderMockWithWakeUpResults contains results of the BargeInBuilder.WithWakeUp

type BargeInCallbackFunc

type BargeInCallbackFunc func(ctx BargeInContext) StateUpdate

type BargeInContext

type BargeInContext interface {

	// AffectedStep is a step this SM is at during this barge-in. Will return zero value when the step belongs to a subroutine, not to this SM.
	AffectedStep() SlotStep

	// IsAtOriginalStep returns true when SM step wasn't change since barge-in creation
	IsAtOriginalStep() bool

	// Stay keeps the last state
	Stay() StateUpdate
	// Makes SM active if it was waiting or polling
	WakeUp() StateUpdate
	// contains filtered or unexported methods
}

type BargeInHolder

type BargeInHolder interface {
	StepLink() StepLink
	IsValid() bool
	CallWithParam(interface{}) bool
}

type BargeInHolderMock

type BargeInHolderMock struct {
	CallWithParamMock mBargeInHolderMockCallWithParam

	IsValidMock mBargeInHolderMockIsValid

	StepLinkMock mBargeInHolderMockStepLink
	// contains filtered or unexported fields
}

BargeInHolderMock implements BargeInHolder

func NewBargeInHolderMock

func NewBargeInHolderMock(t minimock.Tester) *BargeInHolderMock

NewBargeInHolderMock returns a mock for BargeInHolder

func (*BargeInHolderMock) CallWithParam

func (mmCallWithParam *BargeInHolderMock) CallWithParam(p1 interface{}) (b1 bool)

CallWithParam implements BargeInHolder

func (*BargeInHolderMock) CallWithParamAfterCounter

func (mmCallWithParam *BargeInHolderMock) CallWithParamAfterCounter() uint64

CallWithParamAfterCounter returns a count of finished BargeInHolderMock.CallWithParam invocations

func (*BargeInHolderMock) CallWithParamBeforeCounter

func (mmCallWithParam *BargeInHolderMock) CallWithParamBeforeCounter() uint64

CallWithParamBeforeCounter returns a count of BargeInHolderMock.CallWithParam invocations

func (*BargeInHolderMock) IsValid

func (mmIsValid *BargeInHolderMock) IsValid() (b1 bool)

IsValid implements BargeInHolder

func (*BargeInHolderMock) IsValidAfterCounter

func (mmIsValid *BargeInHolderMock) IsValidAfterCounter() uint64

IsValidAfterCounter returns a count of finished BargeInHolderMock.IsValid invocations

func (*BargeInHolderMock) IsValidBeforeCounter

func (mmIsValid *BargeInHolderMock) IsValidBeforeCounter() uint64

IsValidBeforeCounter returns a count of BargeInHolderMock.IsValid invocations

func (*BargeInHolderMock) MinimockCallWithParamDone

func (m *BargeInHolderMock) MinimockCallWithParamDone() bool

MinimockCallWithParamDone returns true if the count of the CallWithParam invocations corresponds the number of defined expectations

func (*BargeInHolderMock) MinimockCallWithParamInspect

func (m *BargeInHolderMock) MinimockCallWithParamInspect()

MinimockCallWithParamInspect logs each unmet expectation

func (*BargeInHolderMock) MinimockFinish

func (m *BargeInHolderMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*BargeInHolderMock) MinimockIsValidDone

func (m *BargeInHolderMock) MinimockIsValidDone() bool

MinimockIsValidDone returns true if the count of the IsValid invocations corresponds the number of defined expectations

func (*BargeInHolderMock) MinimockIsValidInspect

func (m *BargeInHolderMock) MinimockIsValidInspect()

MinimockIsValidInspect logs each unmet expectation

func (*BargeInHolderMock) MinimockStepLinkDone

func (m *BargeInHolderMock) MinimockStepLinkDone() bool

MinimockStepLinkDone returns true if the count of the StepLink invocations corresponds the number of defined expectations

func (*BargeInHolderMock) MinimockStepLinkInspect

func (m *BargeInHolderMock) MinimockStepLinkInspect()

MinimockStepLinkInspect logs each unmet expectation

func (*BargeInHolderMock) MinimockWait

func (m *BargeInHolderMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (mmStepLink *BargeInHolderMock) StepLink() (s1 StepLink)

StepLink implements BargeInHolder

func (*BargeInHolderMock) StepLinkAfterCounter

func (mmStepLink *BargeInHolderMock) StepLinkAfterCounter() uint64

StepLinkAfterCounter returns a count of finished BargeInHolderMock.StepLink invocations

func (*BargeInHolderMock) StepLinkBeforeCounter

func (mmStepLink *BargeInHolderMock) StepLinkBeforeCounter() uint64

StepLinkBeforeCounter returns a count of BargeInHolderMock.StepLink invocations

type BargeInHolderMockCallWithParamExpectation

type BargeInHolderMockCallWithParamExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

BargeInHolderMockCallWithParamExpectation specifies expectation struct of the BargeInHolder.CallWithParam

func (*BargeInHolderMockCallWithParamExpectation) Then

Then sets up BargeInHolder.CallWithParam return parameters for the expectation previously defined by the When method

type BargeInHolderMockCallWithParamParams

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

BargeInHolderMockCallWithParamParams contains parameters of the BargeInHolder.CallWithParam

type BargeInHolderMockCallWithParamResults

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

BargeInHolderMockCallWithParamResults contains results of the BargeInHolder.CallWithParam

type BargeInHolderMockIsValidExpectation

type BargeInHolderMockIsValidExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

BargeInHolderMockIsValidExpectation specifies expectation struct of the BargeInHolder.IsValid

type BargeInHolderMockIsValidResults

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

BargeInHolderMockIsValidResults contains results of the BargeInHolder.IsValid

type BargeInHolderMockStepLinkExpectation

type BargeInHolderMockStepLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

BargeInHolderMockStepLinkExpectation specifies expectation struct of the BargeInHolder.StepLink

type BargeInHolderMockStepLinkResults

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

BargeInHolderMockStepLinkResults contains results of the BargeInHolder.StepLink

type BargeInNoArgHolder

type BargeInNoArgHolder interface {
	StepLink() StepLink
	IsValid() bool
	Call() bool
}

type BargeInWithParam

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

func NewNoopBargeInWithParam

func NewNoopBargeInWithParam(link StepLink) BargeInWithParam

func (BargeInWithParam) CallWithParam

func (v BargeInWithParam) CallWithParam(a interface{}) bool

func (BargeInWithParam) IsValid

func (v BargeInWithParam) IsValid() bool

func (BargeInWithParam) IsZero

func (v BargeInWithParam) IsZero() bool
func (v BargeInWithParam) StepLink() StepLink

type BasicContext

type BasicContext interface {
	SlotLink() SlotLink
	// can be empty - no parent
	ParentLink() SlotLink
	// not nil
	GetContext() context.Context
}

type BoolDecision

type BoolDecision bool

func (BoolDecision) AsValid

func (v BoolDecision) AsValid() (BoolDecision, bool)

func (BoolDecision) Bool

func (v BoolDecision) Bool() bool

func (BoolDecision) GetDecision

func (v BoolDecision) GetDecision() Decision

func (BoolDecision) IsNotPassed

func (v BoolDecision) IsNotPassed() bool

func (BoolDecision) IsPassed

func (v BoolDecision) IsPassed() bool

func (BoolDecision) IsValid

func (v BoolDecision) IsValid() bool

type CallConditionalBuilder

type CallConditionalBuilder interface {
	ConditionalBuilder
	Sleep() ConditionalBuilder
	Poll() ConditionalBuilder
	WaitAny() ConditionalBuilder
}

type ConditionalBuilder

type ConditionalBuilder interface {
	ThenJump(StateFunc) StateUpdate
	ThenJumpExt(SlotStep) StateUpdate
	ThenRepeat() StateUpdate
}

type ConstructionContext

type ConstructionContext interface {
	BasicContext

	// OverrideDependency puts a dependency for injector. Value can be nil
	OverrideDependency(id string, v interface{})
	// SetDependencyInheritanceMode sets dependency inheritance mode
	// Precedence of dependencies (from the highest):
	// 1) overrides in this context
	// 2) provided via CreateDefaultValues
	// 3) inherited from creator (when allowed by inheritance mode)
	// 4) slot machine
	// 5) provided to slot machine
	SetDependencyInheritanceMode(DependencyInheritanceMode)

	SetContext(context.Context)
	SetParentLink(SlotLink)

	// SetDefaultTerminationResult sets a default value to be passed to TerminationHandlerFunc when the slot stops.
	SetDefaultTerminationResult(interface{})

	// The given function will be called after SM termination and will have access to SM residual state and to the
	// termination result or error
	SetTerminationCallback(receiver ExecutionContext, getResultFn TerminationCallbackFunc)

	// SetLogTracing sets tracing mode for the slot. Actual impact depends on implementation of a logger.
	SetLogTracing(bool)

	// SetTracerID sets tracer id for the slot. This can't be directly changed after construction. See UpdateDefaultStepLogger()
	SetTracerID(TracerID)
}

During construction SlotLink() will have correct SlotID, but MAY have INVALID status, as slot was not yet created

type ConstructionContextMock

type ConstructionContextMock struct {
	GetContextMock mConstructionContextMockGetContext

	OverrideDependencyMock mConstructionContextMockOverrideDependency

	ParentLinkMock mConstructionContextMockParentLink

	SetContextMock mConstructionContextMockSetContext

	SetDefaultTerminationResultMock mConstructionContextMockSetDefaultTerminationResult

	SetDependencyInheritanceModeMock mConstructionContextMockSetDependencyInheritanceMode

	SetLogTracingMock mConstructionContextMockSetLogTracing

	SetParentLinkMock mConstructionContextMockSetParentLink

	SetTerminationCallbackMock mConstructionContextMockSetTerminationCallback

	SetTracerIDMock mConstructionContextMockSetTracerID

	SlotLinkMock mConstructionContextMockSlotLink
	// contains filtered or unexported fields
}

ConstructionContextMock implements ConstructionContext

func NewConstructionContextMock

func NewConstructionContextMock(t minimock.Tester) *ConstructionContextMock

NewConstructionContextMock returns a mock for ConstructionContext

func (*ConstructionContextMock) GetContext

func (mmGetContext *ConstructionContextMock) GetContext() (c1 context.Context)

GetContext implements ConstructionContext

func (*ConstructionContextMock) GetContextAfterCounter

func (mmGetContext *ConstructionContextMock) GetContextAfterCounter() uint64

GetContextAfterCounter returns a count of finished ConstructionContextMock.GetContext invocations

func (*ConstructionContextMock) GetContextBeforeCounter

func (mmGetContext *ConstructionContextMock) GetContextBeforeCounter() uint64

GetContextBeforeCounter returns a count of ConstructionContextMock.GetContext invocations

func (*ConstructionContextMock) MinimockFinish

func (m *ConstructionContextMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*ConstructionContextMock) MinimockGetContextDone

func (m *ConstructionContextMock) MinimockGetContextDone() bool

MinimockGetContextDone returns true if the count of the GetContext invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockGetContextInspect

func (m *ConstructionContextMock) MinimockGetContextInspect()

MinimockGetContextInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockOverrideDependencyDone

func (m *ConstructionContextMock) MinimockOverrideDependencyDone() bool

MinimockOverrideDependencyDone returns true if the count of the OverrideDependency invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockOverrideDependencyInspect

func (m *ConstructionContextMock) MinimockOverrideDependencyInspect()

MinimockOverrideDependencyInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockParentLinkDone

func (m *ConstructionContextMock) MinimockParentLinkDone() bool

MinimockParentLinkDone returns true if the count of the ParentLink invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockParentLinkInspect

func (m *ConstructionContextMock) MinimockParentLinkInspect()

MinimockParentLinkInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockSetContextDone

func (m *ConstructionContextMock) MinimockSetContextDone() bool

MinimockSetContextDone returns true if the count of the SetContext invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockSetContextInspect

func (m *ConstructionContextMock) MinimockSetContextInspect()

MinimockSetContextInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockSetDefaultTerminationResultDone

func (m *ConstructionContextMock) MinimockSetDefaultTerminationResultDone() bool

MinimockSetDefaultTerminationResultDone returns true if the count of the SetDefaultTerminationResult invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockSetDefaultTerminationResultInspect

func (m *ConstructionContextMock) MinimockSetDefaultTerminationResultInspect()

MinimockSetDefaultTerminationResultInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockSetDependencyInheritanceModeDone

func (m *ConstructionContextMock) MinimockSetDependencyInheritanceModeDone() bool

MinimockSetDependencyInheritanceModeDone returns true if the count of the SetDependencyInheritanceMode invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockSetDependencyInheritanceModeInspect

func (m *ConstructionContextMock) MinimockSetDependencyInheritanceModeInspect()

MinimockSetDependencyInheritanceModeInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockSetLogTracingDone

func (m *ConstructionContextMock) MinimockSetLogTracingDone() bool

MinimockSetLogTracingDone returns true if the count of the SetLogTracing invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockSetLogTracingInspect

func (m *ConstructionContextMock) MinimockSetLogTracingInspect()

MinimockSetLogTracingInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockSetParentLinkDone

func (m *ConstructionContextMock) MinimockSetParentLinkDone() bool

MinimockSetParentLinkDone returns true if the count of the SetParentLink invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockSetParentLinkInspect

func (m *ConstructionContextMock) MinimockSetParentLinkInspect()

MinimockSetParentLinkInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockSetTerminationCallbackDone

func (m *ConstructionContextMock) MinimockSetTerminationCallbackDone() bool

MinimockSetTerminationCallbackDone returns true if the count of the SetTerminationCallback invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockSetTerminationCallbackInspect

func (m *ConstructionContextMock) MinimockSetTerminationCallbackInspect()

MinimockSetTerminationCallbackInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockSetTracerIDDone

func (m *ConstructionContextMock) MinimockSetTracerIDDone() bool

MinimockSetTracerIDDone returns true if the count of the SetTracerID invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockSetTracerIDInspect

func (m *ConstructionContextMock) MinimockSetTracerIDInspect()

MinimockSetTracerIDInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockSlotLinkDone

func (m *ConstructionContextMock) MinimockSlotLinkDone() bool

MinimockSlotLinkDone returns true if the count of the SlotLink invocations corresponds the number of defined expectations

func (*ConstructionContextMock) MinimockSlotLinkInspect

func (m *ConstructionContextMock) MinimockSlotLinkInspect()

MinimockSlotLinkInspect logs each unmet expectation

func (*ConstructionContextMock) MinimockWait

func (m *ConstructionContextMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*ConstructionContextMock) OverrideDependency

func (mmOverrideDependency *ConstructionContextMock) OverrideDependency(id string, v interface{})

OverrideDependency implements ConstructionContext

func (*ConstructionContextMock) OverrideDependencyAfterCounter

func (mmOverrideDependency *ConstructionContextMock) OverrideDependencyAfterCounter() uint64

OverrideDependencyAfterCounter returns a count of finished ConstructionContextMock.OverrideDependency invocations

func (*ConstructionContextMock) OverrideDependencyBeforeCounter

func (mmOverrideDependency *ConstructionContextMock) OverrideDependencyBeforeCounter() uint64

OverrideDependencyBeforeCounter returns a count of ConstructionContextMock.OverrideDependency invocations

func (mmParentLink *ConstructionContextMock) ParentLink() (s1 SlotLink)

ParentLink implements ConstructionContext

func (*ConstructionContextMock) ParentLinkAfterCounter

func (mmParentLink *ConstructionContextMock) ParentLinkAfterCounter() uint64

ParentLinkAfterCounter returns a count of finished ConstructionContextMock.ParentLink invocations

func (*ConstructionContextMock) ParentLinkBeforeCounter

func (mmParentLink *ConstructionContextMock) ParentLinkBeforeCounter() uint64

ParentLinkBeforeCounter returns a count of ConstructionContextMock.ParentLink invocations

func (*ConstructionContextMock) SetContext

func (mmSetContext *ConstructionContextMock) SetContext(ctx context.Context)

SetContext implements ConstructionContext

func (*ConstructionContextMock) SetContextAfterCounter

func (mmSetContext *ConstructionContextMock) SetContextAfterCounter() uint64

SetContextAfterCounter returns a count of finished ConstructionContextMock.SetContext invocations

func (*ConstructionContextMock) SetContextBeforeCounter

func (mmSetContext *ConstructionContextMock) SetContextBeforeCounter() uint64

SetContextBeforeCounter returns a count of ConstructionContextMock.SetContext invocations

func (*ConstructionContextMock) SetDefaultTerminationResult

func (mmSetDefaultTerminationResult *ConstructionContextMock) SetDefaultTerminationResult(p1 interface{})

SetDefaultTerminationResult implements ConstructionContext

func (*ConstructionContextMock) SetDefaultTerminationResultAfterCounter

func (mmSetDefaultTerminationResult *ConstructionContextMock) SetDefaultTerminationResultAfterCounter() uint64

SetDefaultTerminationResultAfterCounter returns a count of finished ConstructionContextMock.SetDefaultTerminationResult invocations

func (*ConstructionContextMock) SetDefaultTerminationResultBeforeCounter

func (mmSetDefaultTerminationResult *ConstructionContextMock) SetDefaultTerminationResultBeforeCounter() uint64

SetDefaultTerminationResultBeforeCounter returns a count of ConstructionContextMock.SetDefaultTerminationResult invocations

func (*ConstructionContextMock) SetDependencyInheritanceMode

func (mmSetDependencyInheritanceMode *ConstructionContextMock) SetDependencyInheritanceMode(d1 DependencyInheritanceMode)

SetDependencyInheritanceMode implements ConstructionContext

func (*ConstructionContextMock) SetDependencyInheritanceModeAfterCounter

func (mmSetDependencyInheritanceMode *ConstructionContextMock) SetDependencyInheritanceModeAfterCounter() uint64

SetDependencyInheritanceModeAfterCounter returns a count of finished ConstructionContextMock.SetDependencyInheritanceMode invocations

func (*ConstructionContextMock) SetDependencyInheritanceModeBeforeCounter

func (mmSetDependencyInheritanceMode *ConstructionContextMock) SetDependencyInheritanceModeBeforeCounter() uint64

SetDependencyInheritanceModeBeforeCounter returns a count of ConstructionContextMock.SetDependencyInheritanceMode invocations

func (*ConstructionContextMock) SetLogTracing

func (mmSetLogTracing *ConstructionContextMock) SetLogTracing(b1 bool)

SetLogTracing implements ConstructionContext

func (*ConstructionContextMock) SetLogTracingAfterCounter

func (mmSetLogTracing *ConstructionContextMock) SetLogTracingAfterCounter() uint64

SetLogTracingAfterCounter returns a count of finished ConstructionContextMock.SetLogTracing invocations

func (*ConstructionContextMock) SetLogTracingBeforeCounter

func (mmSetLogTracing *ConstructionContextMock) SetLogTracingBeforeCounter() uint64

SetLogTracingBeforeCounter returns a count of ConstructionContextMock.SetLogTracing invocations

func (mmSetParentLink *ConstructionContextMock) SetParentLink(s1 SlotLink)

SetParentLink implements ConstructionContext

func (*ConstructionContextMock) SetParentLinkAfterCounter

func (mmSetParentLink *ConstructionContextMock) SetParentLinkAfterCounter() uint64

SetParentLinkAfterCounter returns a count of finished ConstructionContextMock.SetParentLink invocations

func (*ConstructionContextMock) SetParentLinkBeforeCounter

func (mmSetParentLink *ConstructionContextMock) SetParentLinkBeforeCounter() uint64

SetParentLinkBeforeCounter returns a count of ConstructionContextMock.SetParentLink invocations

func (*ConstructionContextMock) SetTerminationCallback

func (mmSetTerminationCallback *ConstructionContextMock) SetTerminationCallback(receiver ExecutionContext, getResultFn TerminationCallbackFunc)

SetTerminationCallback implements ConstructionContext

func (*ConstructionContextMock) SetTerminationCallbackAfterCounter

func (mmSetTerminationCallback *ConstructionContextMock) SetTerminationCallbackAfterCounter() uint64

SetTerminationCallbackAfterCounter returns a count of finished ConstructionContextMock.SetTerminationCallback invocations

func (*ConstructionContextMock) SetTerminationCallbackBeforeCounter

func (mmSetTerminationCallback *ConstructionContextMock) SetTerminationCallbackBeforeCounter() uint64

SetTerminationCallbackBeforeCounter returns a count of ConstructionContextMock.SetTerminationCallback invocations

func (*ConstructionContextMock) SetTracerID

func (mmSetTracerID *ConstructionContextMock) SetTracerID(t1 TracerID)

SetTracerID implements ConstructionContext

func (*ConstructionContextMock) SetTracerIDAfterCounter

func (mmSetTracerID *ConstructionContextMock) SetTracerIDAfterCounter() uint64

SetTracerIDAfterCounter returns a count of finished ConstructionContextMock.SetTracerID invocations

func (*ConstructionContextMock) SetTracerIDBeforeCounter

func (mmSetTracerID *ConstructionContextMock) SetTracerIDBeforeCounter() uint64

SetTracerIDBeforeCounter returns a count of ConstructionContextMock.SetTracerID invocations

func (mmSlotLink *ConstructionContextMock) SlotLink() (s1 SlotLink)

SlotLink implements ConstructionContext

func (*ConstructionContextMock) SlotLinkAfterCounter

func (mmSlotLink *ConstructionContextMock) SlotLinkAfterCounter() uint64

SlotLinkAfterCounter returns a count of finished ConstructionContextMock.SlotLink invocations

func (*ConstructionContextMock) SlotLinkBeforeCounter

func (mmSlotLink *ConstructionContextMock) SlotLinkBeforeCounter() uint64

SlotLinkBeforeCounter returns a count of ConstructionContextMock.SlotLink invocations

type ConstructionContextMockGetContextExpectation

type ConstructionContextMockGetContextExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockGetContextExpectation specifies expectation struct of the ConstructionContext.GetContext

type ConstructionContextMockGetContextResults

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

ConstructionContextMockGetContextResults contains results of the ConstructionContext.GetContext

type ConstructionContextMockOverrideDependencyExpectation

type ConstructionContextMockOverrideDependencyExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockOverrideDependencyExpectation specifies expectation struct of the ConstructionContext.OverrideDependency

type ConstructionContextMockOverrideDependencyParams

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

ConstructionContextMockOverrideDependencyParams contains parameters of the ConstructionContext.OverrideDependency

type ConstructionContextMockParentLinkExpectation

type ConstructionContextMockParentLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockParentLinkExpectation specifies expectation struct of the ConstructionContext.ParentLink

type ConstructionContextMockParentLinkResults

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

ConstructionContextMockParentLinkResults contains results of the ConstructionContext.ParentLink

type ConstructionContextMockSetContextExpectation

type ConstructionContextMockSetContextExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockSetContextExpectation specifies expectation struct of the ConstructionContext.SetContext

type ConstructionContextMockSetContextParams

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

ConstructionContextMockSetContextParams contains parameters of the ConstructionContext.SetContext

type ConstructionContextMockSetDefaultTerminationResultExpectation

type ConstructionContextMockSetDefaultTerminationResultExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockSetDefaultTerminationResultExpectation specifies expectation struct of the ConstructionContext.SetDefaultTerminationResult

type ConstructionContextMockSetDefaultTerminationResultParams

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

ConstructionContextMockSetDefaultTerminationResultParams contains parameters of the ConstructionContext.SetDefaultTerminationResult

type ConstructionContextMockSetDependencyInheritanceModeExpectation

type ConstructionContextMockSetDependencyInheritanceModeExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockSetDependencyInheritanceModeExpectation specifies expectation struct of the ConstructionContext.SetDependencyInheritanceMode

type ConstructionContextMockSetDependencyInheritanceModeParams

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

ConstructionContextMockSetDependencyInheritanceModeParams contains parameters of the ConstructionContext.SetDependencyInheritanceMode

type ConstructionContextMockSetLogTracingExpectation

type ConstructionContextMockSetLogTracingExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockSetLogTracingExpectation specifies expectation struct of the ConstructionContext.SetLogTracing

type ConstructionContextMockSetLogTracingParams

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

ConstructionContextMockSetLogTracingParams contains parameters of the ConstructionContext.SetLogTracing

type ConstructionContextMockSetParentLinkExpectation

type ConstructionContextMockSetParentLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockSetParentLinkExpectation specifies expectation struct of the ConstructionContext.SetParentLink

type ConstructionContextMockSetParentLinkParams

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

ConstructionContextMockSetParentLinkParams contains parameters of the ConstructionContext.SetParentLink

type ConstructionContextMockSetTerminationCallbackExpectation

type ConstructionContextMockSetTerminationCallbackExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockSetTerminationCallbackExpectation specifies expectation struct of the ConstructionContext.SetTerminationCallback

type ConstructionContextMockSetTerminationCallbackParams

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

ConstructionContextMockSetTerminationCallbackParams contains parameters of the ConstructionContext.SetTerminationCallback

type ConstructionContextMockSetTracerIDExpectation

type ConstructionContextMockSetTracerIDExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockSetTracerIDExpectation specifies expectation struct of the ConstructionContext.SetTracerID

type ConstructionContextMockSetTracerIDParams

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

ConstructionContextMockSetTracerIDParams contains parameters of the ConstructionContext.SetTracerID

type ConstructionContextMockSlotLinkExpectation

type ConstructionContextMockSlotLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ConstructionContextMockSlotLinkExpectation specifies expectation struct of the ConstructionContext.SlotLink

type ConstructionContextMockSlotLinkResults

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

ConstructionContextMockSlotLinkResults contains results of the ConstructionContext.SlotLink

type ContextMarker

type ContextMarker = uintptr

type CreateDefaultValues

type CreateDefaultValues struct {
	Context                context.Context
	Parent                 SlotLink
	OverriddenDependencies map[string]interface{}
	InheritAllDependencies bool

	PreInitializationHandler PreInitHandlerFunc

	// TerminationHandler provides a special termination handler that will be invoked AFTER termination of SM.
	// This handler is invoked with data from GetTerminationResult() and error (if any).
	// This handler is not directly accessible to SM.
	// WARNING! This handler is UNSAFE to access any SM.
	TerminationHandler TerminationHandlerFunc
	TerminationResult  interface{}
	TracerID           TracerID
}

func (*CreateDefaultValues) PutOverride

func (p *CreateDefaultValues) PutOverride(id string, v interface{})

type CreateFactoryFunc

type CreateFactoryFunc func(eventPayload interface{}) CreateFunc

type CreateFunc

type CreateFunc func(ctx ConstructionContext) StateMachine

type Decider

type Decider interface {
	GetDecision() Decision
}

type Decision

type Decision uint8
const (
	Unknown Decision = iota
	Impossible
	NotPassed
	Passed
)

func (Decision) AsValid

func (v Decision) AsValid() (BoolDecision, bool)

func (Decision) GetDecision

func (v Decision) GetDecision() Decision

func (Decision) IsNotPassed

func (v Decision) IsNotPassed() bool

func (Decision) IsPassed

func (v Decision) IsPassed() bool

func (Decision) IsValid

func (v Decision) IsValid() bool

func (Decision) IsZero

func (v Decision) IsZero() bool

type DependencyController

type DependencyController interface {
	// CheckState returns current state (open = true, closed = false)
	CheckState() BoolDecision
	// CreateDependency creates a dependency to this sync object.
	// Can return (true, nil) when this sync object doesn't have "open" limit, e.g. for conditional sync.
	CreateDependency(holder SlotLink, flags SlotDependencyFlags) (BoolDecision, SlotDependency)
	// UseDependency also handles partial acquire of hierarchical syncs
	UseDependency(dep SlotDependency, flags SlotDependencyFlags) Decision
	// ReleaseDependency does partial release of hierarchical syncs. MUST be called only after UseDependency check
	ReleaseDependency(dep SlotDependency) (bool, SlotDependency, []PostponedDependency, []StepLink)

	GetLimit() (limit int, isAdjustable bool)
	AdjustLimit(limit int, absolute bool) (deps []StepLink, activate bool)

	GetCounts() (active, inactive int)
	GetName() string

	EnumQueues(EnumQueueFunc) bool
}

Internals of a sync object

type DependencyInheritanceMode

type DependencyInheritanceMode uint8
const (
	// IgnoreInheritedDependencies allows only local overrides and dependencies provided by SlotMachine to be used for injections.
	// And only factually injected dependencies will be inherited by children.
	IgnoreInheritedDependencies DependencyInheritanceMode = 0

	// InheritResolvedDependencies makes injection to use resolved dependencies from creator (NB! not from parent)
	// And only immediately injected dependencies will be inherited by children.
	InheritResolvedDependencies DependencyInheritanceMode = 2

	// InheritAllDependencies makes injection to use resolved dependencies from creator (NB! not from parent)
	// And all injected dependencies will be inherited by children.
	InheritAllDependencies DependencyInheritanceMode = 3 // uses copyAllDependencies

	// DiscardResolvedDependencies can be combined with other modes to prevent inheritance by immediate children.
	// This does NOT affect dependencies provided by SlotMachine.
	DiscardResolvedDependencies DependencyInheritanceMode = 4
)

type DetachableFunc

type DetachableFunc func(DetachableSlotWorker)

type DetachableSlotWorker

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

func NewDetachableSlotWorker

func NewDetachableSlotWorker(worker SlotWorkerSupport) DetachableSlotWorker

func (DetachableSlotWorker) AddNestedCallCount

func (v DetachableSlotWorker) AddNestedCallCount(u uint)

func (DetachableSlotWorker) CanLoopOrHasSignal

func (v DetachableSlotWorker) CanLoopOrHasSignal(loopCount int) (canLoop, hasSignal bool)

func (DetachableSlotWorker) DetachableOuterCall

func (v DetachableSlotWorker) DetachableOuterCall(*SlotMachine, DetachableFunc) (wasExecuted, wasDetached bool)

func (DetachableSlotWorker) GetSignalMark

func (v DetachableSlotWorker) GetSignalMark() *synckit.SignalVersion

func (DetachableSlotWorker) HasSignal

func (v DetachableSlotWorker) HasSignal() bool

func (DetachableSlotWorker) IsDetached

func (v DetachableSlotWorker) IsDetached() bool

func (DetachableSlotWorker) IsZero

func (v DetachableSlotWorker) IsZero() bool

func (DetachableSlotWorker) NonDetachableCall

func (v DetachableSlotWorker) NonDetachableCall(fn NonDetachableFunc) (wasExecuted bool)

NonDetachableCall provides a temporary protection from detach

func (DetachableSlotWorker) NonDetachableOuterCall

func (v DetachableSlotWorker) NonDetachableOuterCall(*SlotMachine, NonDetachableFunc) (wasExecuted bool)

NonDetachableOuterCall checks if this worker can serve another SlotMachine and if so provides a temporary protection from detach

func (DetachableSlotWorker) TryDetach

func (v DetachableSlotWorker) TryDetach(flags LongRunFlags)

type EnumQueueFunc

type EnumQueueFunc func(qId int, link SlotLink, flags SlotDependencyFlags) bool

type ErrorHandlerAction

type ErrorHandlerAction uint8
const (
	ErrorHandlerDefault ErrorHandlerAction = iota
	ErrorHandlerMute
	ErrorHandlerRecover
	ErrorHandlerRecoverAndWakeUp
)

type ErrorHandlerFunc

type ErrorHandlerFunc func(ctx FailureContext)

type ExecutionAdapter

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

func NewExecutionAdapter

func NewExecutionAdapter(adapterID AdapterID, executor AdapterExecutor) ExecutionAdapter

func (ExecutionAdapter) GetAdapterID

func (p ExecutionAdapter) GetAdapterID() AdapterID

func (ExecutionAdapter) IsEmpty

func (p ExecutionAdapter) IsEmpty() bool

func (ExecutionAdapter) PrepareAsync

func (ExecutionAdapter) PrepareNotify

func (ExecutionAdapter) PrepareSync

func (ExecutionAdapter) SendNotify

type ExecutionContext

type ExecutionContext interface {
	PostInitStepContext

	StepLink() StepLink
	GetPendingCallCount() int

	// NewBargeInThisStepOnly provides a builder for a simple barge-in. The barge-in function will be ignored if the step has changed.
	// TODO add step-tolerance as for adapter calls
	NewBargeInThisStepOnly() BargeInBuilder

	// InitiateLongRun forces detachment of this slot from SlotMachine's worker to allow slow processing and/or multiple sync calls.
	// WARNING! AVOID this method unless really needed.
	// Can only be called once per step. Detachment remains until end of the step.
	// Detached step will PREVENT access to any bound data shared by this SM.
	// To avoid doubt - detached step, like a normal step, will NOT receive async results, it can only receive result of sync calls.
	//
	// WARNING! SM with a detached step will NOT receive migrations until the detached step is finished.
	// Hence, SM may become inconsistent with other shared objects and injections that could be updated by migrations.
	//
	// Will panic when: (1) not supported by current worker, (2) detachment limit exceeded, (3) called repeatedly.
	InitiateLongRun(LongRunFlags)

	// LogAsync returns slot logger usable in async calls on adapter side. It will be able to report until the slot is invalidated.
	// This logger reports all events as at the step the logger was created at.
	LogAsync() Logger

	// NewChild immediately allocates a new slot and constructs SM. And schedules initialization.
	// It is guaranteed that:
	// 1) the child will start at the same migration state as the creator (caller of this function)
	// 2) initialization of the new slot will happen before any migration
	// 3) the child is created in the same SlotMachine as the creator
	NewChild(CreateFunc) SlotLink
	NewChildExt(CreateFunc, CreateDefaultValues) SlotLink

	// InitChild is same as NewChild, but also grantees that child's initialization will be completed before return.
	// Please prefer NewChild() to avoid unnecessary dependency.
	InitChild(CreateFunc) SlotLink
	// InitChildWithPostInit executes provided callback immediately after child's init step.
	// Inside the callback it is safe to access both the caller and the child.
	InitChildWithPostInit(CreateFunc, PostInitFunc) SlotLink
	InitChildExt(CreateFunc, CreateDefaultValues, PostInitFunc) SlotLink

	// Replace creates an update that after completion of the current step, will stop this SM and will create/start the new SM.
	// The new SM will by default inherit from this SM: parent, context, termination handler/result and injected dependencies.
	// When Replace() is successful, then stopping of this SM will not fire the termination handler.
	// WARNING! Use of SetTerminationHandler() inside CreateFunc will replace the current handler, so it will never fire then.
	Replace(CreateFunc) StateUpdate
	ReplaceExt(CreateFunc, CreateDefaultValues) StateUpdate
	// See Replace()
	ReplaceWith(StateMachine) StateUpdate

	CallBargeInWithParam(b BargeInWithParam, param interface{}) bool
	CallBargeIn(b BargeIn) bool

	// UseShared applies the accessor produced by a SharedDataLink.
	// SharedDataLink can be used across different SlotMachines.
	UseShared(SharedDataAccessor) SharedAccessReport

	// Repeat repeats the current step (it is not considered as change of step).
	// The param limitPerCycle defines how many times this step will be repeated without switching to other slots unless interrupted.
	Repeat(limitPerCycle int) StateUpdate

	// Yield will apply an action chosen by the builder and wait till next work cycle.
	Yield() ConditionalBuilder
	// Poll will apply an action chosen by the builder and wait for a poll interval (configured on SlotMachine).
	Poll() ConditionalBuilder

	// WaitShared will apply an action chosen by the builder and wait for availability of the SharedDataLink.
	WaitShared(SharedDataLink) StateConditionalBuilder
	// WaitAny will apply an action chosen by the builder and wait for any event (even for one irrelevant to this SM).
	WaitAny() ConditionalBuilder
	// WaitAnyUntil will apply an action chosen by the builder and wait for any event (even for one irrelevant to this SM), but not later than the given time.
	WaitAnyUntil(time.Time) StateConditionalBuilder

	// Sleep will apply an action chosen by the builder and wait for an explicit activation of this slot, e.g. any WakeUp() action.
	Sleep() ConditionalBuilder
}

type ExecutionContextMock

type ExecutionContextMock struct {
	AcquireMock mExecutionContextMockAcquire

	AcquireAndReleaseMock mExecutionContextMockAcquireAndRelease

	AcquireExtMock mExecutionContextMockAcquireExt

	AcquireForThisStepMock mExecutionContextMockAcquireForThisStep

	AcquireForThisStepAndReleaseMock mExecutionContextMockAcquireForThisStepAndRelease

	ApplyAdjustmentMock mExecutionContextMockApplyAdjustment

	CallBargeInMock mExecutionContextMockCallBargeIn

	CallBargeInWithParamMock mExecutionContextMockCallBargeInWithParam

	CallSubroutineMock mExecutionContextMockCallSubroutine

	CheckMock mExecutionContextMockCheck

	ErrorMock mExecutionContextMockError

	GetContextMock mExecutionContextMockGetContext

	GetPendingCallCountMock mExecutionContextMockGetPendingCallCount

	GetPublishedMock mExecutionContextMockGetPublished

	GetPublishedGlobalAliasMock mExecutionContextMockGetPublishedGlobalAlias

	GetPublishedGlobalAliasAndBargeInMock mExecutionContextMockGetPublishedGlobalAliasAndBargeIn

	GetPublishedLinkMock mExecutionContextMockGetPublishedLink

	GetTerminationResultMock mExecutionContextMockGetTerminationResult

	InitChildMock mExecutionContextMockInitChild

	InitChildExtMock mExecutionContextMockInitChildExt

	InitChildWithPostInitMock mExecutionContextMockInitChildWithPostInit

	InitiateLongRunMock mExecutionContextMockInitiateLongRun

	JumpMock mExecutionContextMockJump

	JumpExtMock mExecutionContextMockJumpExt

	LogMock mExecutionContextMockLog

	LogAsyncMock mExecutionContextMockLogAsync

	NewBargeInMock mExecutionContextMockNewBargeIn

	NewBargeInThisStepOnlyMock mExecutionContextMockNewBargeInThisStepOnly

	NewBargeInWithParamMock mExecutionContextMockNewBargeInWithParam

	NewChildMock mExecutionContextMockNewChild

	NewChildExtMock mExecutionContextMockNewChildExt

	OverrideDynamicBoostMock mExecutionContextMockOverrideDynamicBoost

	ParentLinkMock mExecutionContextMockParentLink

	PollMock mExecutionContextMockPoll

	PublishMock mExecutionContextMockPublish

	PublishGlobalAliasMock mExecutionContextMockPublishGlobalAlias

	PublishGlobalAliasAndBargeInMock mExecutionContextMockPublishGlobalAliasAndBargeIn

	PublishReplacementMock mExecutionContextMockPublishReplacement

	ReleaseMock mExecutionContextMockRelease

	ReleaseAllMock mExecutionContextMockReleaseAll

	RepeatMock mExecutionContextMockRepeat

	ReplaceMock mExecutionContextMockReplace

	ReplaceExtMock mExecutionContextMockReplaceExt

	ReplaceWithMock mExecutionContextMockReplaceWith

	RestoreStepMock mExecutionContextMockRestoreStep

	SetDefaultErrorHandlerMock mExecutionContextMockSetDefaultErrorHandler

	SetDefaultFlagsMock mExecutionContextMockSetDefaultFlags

	SetDefaultMigrationMock mExecutionContextMockSetDefaultMigration

	SetFinalizerMock mExecutionContextMockSetFinalizer

	SetLogTracingMock mExecutionContextMockSetLogTracing

	SetTerminationResultMock mExecutionContextMockSetTerminationResult

	ShareMock mExecutionContextMockShare

	SleepMock mExecutionContextMockSleep

	SlotLinkMock mExecutionContextMockSlotLink

	StepLinkMock mExecutionContextMockStepLink

	StopMock mExecutionContextMockStop

	UnpublishMock mExecutionContextMockUnpublish

	UnpublishAllMock mExecutionContextMockUnpublishAll

	UnpublishGlobalAliasMock mExecutionContextMockUnpublishGlobalAlias

	UnshareMock mExecutionContextMockUnshare

	UpdateDefaultStepLoggerMock mExecutionContextMockUpdateDefaultStepLogger

	UseSharedMock mExecutionContextMockUseShared

	WaitAnyMock mExecutionContextMockWaitAny

	WaitAnyUntilMock mExecutionContextMockWaitAnyUntil

	WaitSharedMock mExecutionContextMockWaitShared

	YieldMock mExecutionContextMockYield
	// contains filtered or unexported fields
}

ExecutionContextMock implements ExecutionContext

func NewExecutionContextMock

func NewExecutionContextMock(t minimock.Tester) *ExecutionContextMock

NewExecutionContextMock returns a mock for ExecutionContext

func (*ExecutionContextMock) Acquire

func (mmAcquire *ExecutionContextMock) Acquire(s1 SyncLink) (b1 BoolDecision)

Acquire implements ExecutionContext

func (*ExecutionContextMock) AcquireAfterCounter

func (mmAcquire *ExecutionContextMock) AcquireAfterCounter() uint64

AcquireAfterCounter returns a count of finished ExecutionContextMock.Acquire invocations

func (*ExecutionContextMock) AcquireAndRelease

func (mmAcquireAndRelease *ExecutionContextMock) AcquireAndRelease(s1 SyncLink) (b1 BoolDecision)

AcquireAndRelease implements ExecutionContext

func (*ExecutionContextMock) AcquireAndReleaseAfterCounter

func (mmAcquireAndRelease *ExecutionContextMock) AcquireAndReleaseAfterCounter() uint64

AcquireAndReleaseAfterCounter returns a count of finished ExecutionContextMock.AcquireAndRelease invocations

func (*ExecutionContextMock) AcquireAndReleaseBeforeCounter

func (mmAcquireAndRelease *ExecutionContextMock) AcquireAndReleaseBeforeCounter() uint64

AcquireAndReleaseBeforeCounter returns a count of ExecutionContextMock.AcquireAndRelease invocations

func (*ExecutionContextMock) AcquireBeforeCounter

func (mmAcquire *ExecutionContextMock) AcquireBeforeCounter() uint64

AcquireBeforeCounter returns a count of ExecutionContextMock.Acquire invocations

func (*ExecutionContextMock) AcquireExt

func (mmAcquireExt *ExecutionContextMock) AcquireExt(s1 SyncLink, a1 AcquireFlags) (b1 BoolDecision)

AcquireExt implements ExecutionContext

func (*ExecutionContextMock) AcquireExtAfterCounter

func (mmAcquireExt *ExecutionContextMock) AcquireExtAfterCounter() uint64

AcquireExtAfterCounter returns a count of finished ExecutionContextMock.AcquireExt invocations

func (*ExecutionContextMock) AcquireExtBeforeCounter

func (mmAcquireExt *ExecutionContextMock) AcquireExtBeforeCounter() uint64

AcquireExtBeforeCounter returns a count of ExecutionContextMock.AcquireExt invocations

func (*ExecutionContextMock) AcquireForThisStep

func (mmAcquireForThisStep *ExecutionContextMock) AcquireForThisStep(s1 SyncLink) (b1 BoolDecision)

AcquireForThisStep implements ExecutionContext

func (*ExecutionContextMock) AcquireForThisStepAfterCounter

func (mmAcquireForThisStep *ExecutionContextMock) AcquireForThisStepAfterCounter() uint64

AcquireForThisStepAfterCounter returns a count of finished ExecutionContextMock.AcquireForThisStep invocations

func (*ExecutionContextMock) AcquireForThisStepAndRelease

func (mmAcquireForThisStepAndRelease *ExecutionContextMock) AcquireForThisStepAndRelease(s1 SyncLink) (b1 BoolDecision)

AcquireForThisStepAndRelease implements ExecutionContext

func (*ExecutionContextMock) AcquireForThisStepAndReleaseAfterCounter

func (mmAcquireForThisStepAndRelease *ExecutionContextMock) AcquireForThisStepAndReleaseAfterCounter() uint64

AcquireForThisStepAndReleaseAfterCounter returns a count of finished ExecutionContextMock.AcquireForThisStepAndRelease invocations

func (*ExecutionContextMock) AcquireForThisStepAndReleaseBeforeCounter

func (mmAcquireForThisStepAndRelease *ExecutionContextMock) AcquireForThisStepAndReleaseBeforeCounter() uint64

AcquireForThisStepAndReleaseBeforeCounter returns a count of ExecutionContextMock.AcquireForThisStepAndRelease invocations

func (*ExecutionContextMock) AcquireForThisStepBeforeCounter

func (mmAcquireForThisStep *ExecutionContextMock) AcquireForThisStepBeforeCounter() uint64

AcquireForThisStepBeforeCounter returns a count of ExecutionContextMock.AcquireForThisStep invocations

func (*ExecutionContextMock) ApplyAdjustment

func (mmApplyAdjustment *ExecutionContextMock) ApplyAdjustment(s1 SyncAdjustment) (b1 bool)

ApplyAdjustment implements ExecutionContext

func (*ExecutionContextMock) ApplyAdjustmentAfterCounter

func (mmApplyAdjustment *ExecutionContextMock) ApplyAdjustmentAfterCounter() uint64

ApplyAdjustmentAfterCounter returns a count of finished ExecutionContextMock.ApplyAdjustment invocations

func (*ExecutionContextMock) ApplyAdjustmentBeforeCounter

func (mmApplyAdjustment *ExecutionContextMock) ApplyAdjustmentBeforeCounter() uint64

ApplyAdjustmentBeforeCounter returns a count of ExecutionContextMock.ApplyAdjustment invocations

func (*ExecutionContextMock) CallBargeIn

func (mmCallBargeIn *ExecutionContextMock) CallBargeIn(b BargeIn) (b1 bool)

CallBargeIn implements ExecutionContext

func (*ExecutionContextMock) CallBargeInAfterCounter

func (mmCallBargeIn *ExecutionContextMock) CallBargeInAfterCounter() uint64

CallBargeInAfterCounter returns a count of finished ExecutionContextMock.CallBargeIn invocations

func (*ExecutionContextMock) CallBargeInBeforeCounter

func (mmCallBargeIn *ExecutionContextMock) CallBargeInBeforeCounter() uint64

CallBargeInBeforeCounter returns a count of ExecutionContextMock.CallBargeIn invocations

func (*ExecutionContextMock) CallBargeInWithParam

func (mmCallBargeInWithParam *ExecutionContextMock) CallBargeInWithParam(b BargeInWithParam, param interface{}) (b1 bool)

CallBargeInWithParam implements ExecutionContext

func (*ExecutionContextMock) CallBargeInWithParamAfterCounter

func (mmCallBargeInWithParam *ExecutionContextMock) CallBargeInWithParamAfterCounter() uint64

CallBargeInWithParamAfterCounter returns a count of finished ExecutionContextMock.CallBargeInWithParam invocations

func (*ExecutionContextMock) CallBargeInWithParamBeforeCounter

func (mmCallBargeInWithParam *ExecutionContextMock) CallBargeInWithParamBeforeCounter() uint64

CallBargeInWithParamBeforeCounter returns a count of ExecutionContextMock.CallBargeInWithParam invocations

func (*ExecutionContextMock) CallSubroutine

func (mmCallSubroutine *ExecutionContextMock) CallSubroutine(s1 SubroutineStateMachine, m1 MigrateFunc, s2 SubroutineExitFunc) (s3 StateUpdate)

CallSubroutine implements ExecutionContext

func (*ExecutionContextMock) CallSubroutineAfterCounter

func (mmCallSubroutine *ExecutionContextMock) CallSubroutineAfterCounter() uint64

CallSubroutineAfterCounter returns a count of finished ExecutionContextMock.CallSubroutine invocations

func (*ExecutionContextMock) CallSubroutineBeforeCounter

func (mmCallSubroutine *ExecutionContextMock) CallSubroutineBeforeCounter() uint64

CallSubroutineBeforeCounter returns a count of ExecutionContextMock.CallSubroutine invocations

func (*ExecutionContextMock) Check

func (mmCheck *ExecutionContextMock) Check(s1 SyncLink) (b1 BoolDecision)

Check implements ExecutionContext

func (*ExecutionContextMock) CheckAfterCounter

func (mmCheck *ExecutionContextMock) CheckAfterCounter() uint64

CheckAfterCounter returns a count of finished ExecutionContextMock.Check invocations

func (*ExecutionContextMock) CheckBeforeCounter

func (mmCheck *ExecutionContextMock) CheckBeforeCounter() uint64

CheckBeforeCounter returns a count of ExecutionContextMock.Check invocations

func (*ExecutionContextMock) Error

func (mmError *ExecutionContextMock) Error(e1 error) (s1 StateUpdate)

Error implements ExecutionContext

func (*ExecutionContextMock) ErrorAfterCounter

func (mmError *ExecutionContextMock) ErrorAfterCounter() uint64

ErrorAfterCounter returns a count of finished ExecutionContextMock.Error invocations

func (*ExecutionContextMock) ErrorBeforeCounter

func (mmError *ExecutionContextMock) ErrorBeforeCounter() uint64

ErrorBeforeCounter returns a count of ExecutionContextMock.Error invocations

func (*ExecutionContextMock) GetContext

func (mmGetContext *ExecutionContextMock) GetContext() (c1 context.Context)

GetContext implements ExecutionContext

func (*ExecutionContextMock) GetContextAfterCounter

func (mmGetContext *ExecutionContextMock) GetContextAfterCounter() uint64

GetContextAfterCounter returns a count of finished ExecutionContextMock.GetContext invocations

func (*ExecutionContextMock) GetContextBeforeCounter

func (mmGetContext *ExecutionContextMock) GetContextBeforeCounter() uint64

GetContextBeforeCounter returns a count of ExecutionContextMock.GetContext invocations

func (*ExecutionContextMock) GetPendingCallCount

func (mmGetPendingCallCount *ExecutionContextMock) GetPendingCallCount() (i1 int)

GetPendingCallCount implements ExecutionContext

func (*ExecutionContextMock) GetPendingCallCountAfterCounter

func (mmGetPendingCallCount *ExecutionContextMock) GetPendingCallCountAfterCounter() uint64

GetPendingCallCountAfterCounter returns a count of finished ExecutionContextMock.GetPendingCallCount invocations

func (*ExecutionContextMock) GetPendingCallCountBeforeCounter

func (mmGetPendingCallCount *ExecutionContextMock) GetPendingCallCountBeforeCounter() uint64

GetPendingCallCountBeforeCounter returns a count of ExecutionContextMock.GetPendingCallCount invocations

func (*ExecutionContextMock) GetPublished

func (mmGetPublished *ExecutionContextMock) GetPublished(key interface{}) (p1 interface{})

GetPublished implements ExecutionContext

func (*ExecutionContextMock) GetPublishedAfterCounter

func (mmGetPublished *ExecutionContextMock) GetPublishedAfterCounter() uint64

GetPublishedAfterCounter returns a count of finished ExecutionContextMock.GetPublished invocations

func (*ExecutionContextMock) GetPublishedBeforeCounter

func (mmGetPublished *ExecutionContextMock) GetPublishedBeforeCounter() uint64

GetPublishedBeforeCounter returns a count of ExecutionContextMock.GetPublished invocations

func (*ExecutionContextMock) GetPublishedGlobalAlias

func (mmGetPublishedGlobalAlias *ExecutionContextMock) GetPublishedGlobalAlias(key interface{}) (s1 SlotLink)

GetPublishedGlobalAlias implements ExecutionContext

func (*ExecutionContextMock) GetPublishedGlobalAliasAfterCounter

func (mmGetPublishedGlobalAlias *ExecutionContextMock) GetPublishedGlobalAliasAfterCounter() uint64

GetPublishedGlobalAliasAfterCounter returns a count of finished ExecutionContextMock.GetPublishedGlobalAlias invocations

func (*ExecutionContextMock) GetPublishedGlobalAliasAndBargeIn

func (mmGetPublishedGlobalAliasAndBargeIn *ExecutionContextMock) GetPublishedGlobalAliasAndBargeIn(key interface{}) (s1 SlotLink, b1 BargeInHolder)

GetPublishedGlobalAliasAndBargeIn implements ExecutionContext

func (*ExecutionContextMock) GetPublishedGlobalAliasAndBargeInAfterCounter

func (mmGetPublishedGlobalAliasAndBargeIn *ExecutionContextMock) GetPublishedGlobalAliasAndBargeInAfterCounter() uint64

GetPublishedGlobalAliasAndBargeInAfterCounter returns a count of finished ExecutionContextMock.GetPublishedGlobalAliasAndBargeIn invocations

func (*ExecutionContextMock) GetPublishedGlobalAliasAndBargeInBeforeCounter

func (mmGetPublishedGlobalAliasAndBargeIn *ExecutionContextMock) GetPublishedGlobalAliasAndBargeInBeforeCounter() uint64

GetPublishedGlobalAliasAndBargeInBeforeCounter returns a count of ExecutionContextMock.GetPublishedGlobalAliasAndBargeIn invocations

func (*ExecutionContextMock) GetPublishedGlobalAliasBeforeCounter

func (mmGetPublishedGlobalAlias *ExecutionContextMock) GetPublishedGlobalAliasBeforeCounter() uint64

GetPublishedGlobalAliasBeforeCounter returns a count of ExecutionContextMock.GetPublishedGlobalAlias invocations

func (mmGetPublishedLink *ExecutionContextMock) GetPublishedLink(key interface{}) (s1 SharedDataLink)

GetPublishedLink implements ExecutionContext

func (*ExecutionContextMock) GetPublishedLinkAfterCounter

func (mmGetPublishedLink *ExecutionContextMock) GetPublishedLinkAfterCounter() uint64

GetPublishedLinkAfterCounter returns a count of finished ExecutionContextMock.GetPublishedLink invocations

func (*ExecutionContextMock) GetPublishedLinkBeforeCounter

func (mmGetPublishedLink *ExecutionContextMock) GetPublishedLinkBeforeCounter() uint64

GetPublishedLinkBeforeCounter returns a count of ExecutionContextMock.GetPublishedLink invocations

func (*ExecutionContextMock) GetTerminationResult

func (mmGetTerminationResult *ExecutionContextMock) GetTerminationResult() (p1 interface{})

GetTerminationResult implements ExecutionContext

func (*ExecutionContextMock) GetTerminationResultAfterCounter

func (mmGetTerminationResult *ExecutionContextMock) GetTerminationResultAfterCounter() uint64

GetTerminationResultAfterCounter returns a count of finished ExecutionContextMock.GetTerminationResult invocations

func (*ExecutionContextMock) GetTerminationResultBeforeCounter

func (mmGetTerminationResult *ExecutionContextMock) GetTerminationResultBeforeCounter() uint64

GetTerminationResultBeforeCounter returns a count of ExecutionContextMock.GetTerminationResult invocations

func (*ExecutionContextMock) InitChild

func (mmInitChild *ExecutionContextMock) InitChild(c1 CreateFunc) (s1 SlotLink)

InitChild implements ExecutionContext

func (*ExecutionContextMock) InitChildAfterCounter

func (mmInitChild *ExecutionContextMock) InitChildAfterCounter() uint64

InitChildAfterCounter returns a count of finished ExecutionContextMock.InitChild invocations

func (*ExecutionContextMock) InitChildBeforeCounter

func (mmInitChild *ExecutionContextMock) InitChildBeforeCounter() uint64

InitChildBeforeCounter returns a count of ExecutionContextMock.InitChild invocations

func (*ExecutionContextMock) InitChildExt

func (mmInitChildExt *ExecutionContextMock) InitChildExt(c1 CreateFunc, c2 CreateDefaultValues, p1 PostInitFunc) (s1 SlotLink)

InitChildExt implements ExecutionContext

func (*ExecutionContextMock) InitChildExtAfterCounter

func (mmInitChildExt *ExecutionContextMock) InitChildExtAfterCounter() uint64

InitChildExtAfterCounter returns a count of finished ExecutionContextMock.InitChildExt invocations

func (*ExecutionContextMock) InitChildExtBeforeCounter

func (mmInitChildExt *ExecutionContextMock) InitChildExtBeforeCounter() uint64

InitChildExtBeforeCounter returns a count of ExecutionContextMock.InitChildExt invocations

func (*ExecutionContextMock) InitChildWithPostInit

func (mmInitChildWithPostInit *ExecutionContextMock) InitChildWithPostInit(c1 CreateFunc, p1 PostInitFunc) (s1 SlotLink)

InitChildWithPostInit implements ExecutionContext

func (*ExecutionContextMock) InitChildWithPostInitAfterCounter

func (mmInitChildWithPostInit *ExecutionContextMock) InitChildWithPostInitAfterCounter() uint64

InitChildWithPostInitAfterCounter returns a count of finished ExecutionContextMock.InitChildWithPostInit invocations

func (*ExecutionContextMock) InitChildWithPostInitBeforeCounter

func (mmInitChildWithPostInit *ExecutionContextMock) InitChildWithPostInitBeforeCounter() uint64

InitChildWithPostInitBeforeCounter returns a count of ExecutionContextMock.InitChildWithPostInit invocations

func (*ExecutionContextMock) InitiateLongRun

func (mmInitiateLongRun *ExecutionContextMock) InitiateLongRun(l1 LongRunFlags)

InitiateLongRun implements ExecutionContext

func (*ExecutionContextMock) InitiateLongRunAfterCounter

func (mmInitiateLongRun *ExecutionContextMock) InitiateLongRunAfterCounter() uint64

InitiateLongRunAfterCounter returns a count of finished ExecutionContextMock.InitiateLongRun invocations

func (*ExecutionContextMock) InitiateLongRunBeforeCounter

func (mmInitiateLongRun *ExecutionContextMock) InitiateLongRunBeforeCounter() uint64

InitiateLongRunBeforeCounter returns a count of ExecutionContextMock.InitiateLongRun invocations

func (*ExecutionContextMock) Jump

func (mmJump *ExecutionContextMock) Jump(s1 StateFunc) (s2 StateUpdate)

Jump implements ExecutionContext

func (*ExecutionContextMock) JumpAfterCounter

func (mmJump *ExecutionContextMock) JumpAfterCounter() uint64

JumpAfterCounter returns a count of finished ExecutionContextMock.Jump invocations

func (*ExecutionContextMock) JumpBeforeCounter

func (mmJump *ExecutionContextMock) JumpBeforeCounter() uint64

JumpBeforeCounter returns a count of ExecutionContextMock.Jump invocations

func (*ExecutionContextMock) JumpExt

func (mmJumpExt *ExecutionContextMock) JumpExt(s1 SlotStep) (s2 StateUpdate)

JumpExt implements ExecutionContext

func (*ExecutionContextMock) JumpExtAfterCounter

func (mmJumpExt *ExecutionContextMock) JumpExtAfterCounter() uint64

JumpExtAfterCounter returns a count of finished ExecutionContextMock.JumpExt invocations

func (*ExecutionContextMock) JumpExtBeforeCounter

func (mmJumpExt *ExecutionContextMock) JumpExtBeforeCounter() uint64

JumpExtBeforeCounter returns a count of ExecutionContextMock.JumpExt invocations

func (*ExecutionContextMock) Log

func (mmLog *ExecutionContextMock) Log() (l1 Logger)

Log implements ExecutionContext

func (*ExecutionContextMock) LogAfterCounter

func (mmLog *ExecutionContextMock) LogAfterCounter() uint64

LogAfterCounter returns a count of finished ExecutionContextMock.Log invocations

func (*ExecutionContextMock) LogAsync

func (mmLogAsync *ExecutionContextMock) LogAsync() (l1 Logger)

LogAsync implements ExecutionContext

func (*ExecutionContextMock) LogAsyncAfterCounter

func (mmLogAsync *ExecutionContextMock) LogAsyncAfterCounter() uint64

LogAsyncAfterCounter returns a count of finished ExecutionContextMock.LogAsync invocations

func (*ExecutionContextMock) LogAsyncBeforeCounter

func (mmLogAsync *ExecutionContextMock) LogAsyncBeforeCounter() uint64

LogAsyncBeforeCounter returns a count of ExecutionContextMock.LogAsync invocations

func (*ExecutionContextMock) LogBeforeCounter

func (mmLog *ExecutionContextMock) LogBeforeCounter() uint64

LogBeforeCounter returns a count of ExecutionContextMock.Log invocations

func (*ExecutionContextMock) MinimockAcquireAndReleaseDone

func (m *ExecutionContextMock) MinimockAcquireAndReleaseDone() bool

MinimockAcquireAndReleaseDone returns true if the count of the AcquireAndRelease invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockAcquireAndReleaseInspect

func (m *ExecutionContextMock) MinimockAcquireAndReleaseInspect()

MinimockAcquireAndReleaseInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockAcquireDone

func (m *ExecutionContextMock) MinimockAcquireDone() bool

MinimockAcquireDone returns true if the count of the Acquire invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockAcquireExtDone

func (m *ExecutionContextMock) MinimockAcquireExtDone() bool

MinimockAcquireExtDone returns true if the count of the AcquireExt invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockAcquireExtInspect

func (m *ExecutionContextMock) MinimockAcquireExtInspect()

MinimockAcquireExtInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockAcquireForThisStepAndReleaseDone

func (m *ExecutionContextMock) MinimockAcquireForThisStepAndReleaseDone() bool

MinimockAcquireForThisStepAndReleaseDone returns true if the count of the AcquireForThisStepAndRelease invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockAcquireForThisStepAndReleaseInspect

func (m *ExecutionContextMock) MinimockAcquireForThisStepAndReleaseInspect()

MinimockAcquireForThisStepAndReleaseInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockAcquireForThisStepDone

func (m *ExecutionContextMock) MinimockAcquireForThisStepDone() bool

MinimockAcquireForThisStepDone returns true if the count of the AcquireForThisStep invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockAcquireForThisStepInspect

func (m *ExecutionContextMock) MinimockAcquireForThisStepInspect()

MinimockAcquireForThisStepInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockAcquireInspect

func (m *ExecutionContextMock) MinimockAcquireInspect()

MinimockAcquireInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockApplyAdjustmentDone

func (m *ExecutionContextMock) MinimockApplyAdjustmentDone() bool

MinimockApplyAdjustmentDone returns true if the count of the ApplyAdjustment invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockApplyAdjustmentInspect

func (m *ExecutionContextMock) MinimockApplyAdjustmentInspect()

MinimockApplyAdjustmentInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockCallBargeInDone

func (m *ExecutionContextMock) MinimockCallBargeInDone() bool

MinimockCallBargeInDone returns true if the count of the CallBargeIn invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockCallBargeInInspect

func (m *ExecutionContextMock) MinimockCallBargeInInspect()

MinimockCallBargeInInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockCallBargeInWithParamDone

func (m *ExecutionContextMock) MinimockCallBargeInWithParamDone() bool

MinimockCallBargeInWithParamDone returns true if the count of the CallBargeInWithParam invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockCallBargeInWithParamInspect

func (m *ExecutionContextMock) MinimockCallBargeInWithParamInspect()

MinimockCallBargeInWithParamInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockCallSubroutineDone

func (m *ExecutionContextMock) MinimockCallSubroutineDone() bool

MinimockCallSubroutineDone returns true if the count of the CallSubroutine invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockCallSubroutineInspect

func (m *ExecutionContextMock) MinimockCallSubroutineInspect()

MinimockCallSubroutineInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockCheckDone

func (m *ExecutionContextMock) MinimockCheckDone() bool

MinimockCheckDone returns true if the count of the Check invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockCheckInspect

func (m *ExecutionContextMock) MinimockCheckInspect()

MinimockCheckInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockErrorDone

func (m *ExecutionContextMock) MinimockErrorDone() bool

MinimockErrorDone returns true if the count of the Error invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockErrorInspect

func (m *ExecutionContextMock) MinimockErrorInspect()

MinimockErrorInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockFinish

func (m *ExecutionContextMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*ExecutionContextMock) MinimockGetContextDone

func (m *ExecutionContextMock) MinimockGetContextDone() bool

MinimockGetContextDone returns true if the count of the GetContext invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockGetContextInspect

func (m *ExecutionContextMock) MinimockGetContextInspect()

MinimockGetContextInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockGetPendingCallCountDone

func (m *ExecutionContextMock) MinimockGetPendingCallCountDone() bool

MinimockGetPendingCallCountDone returns true if the count of the GetPendingCallCount invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockGetPendingCallCountInspect

func (m *ExecutionContextMock) MinimockGetPendingCallCountInspect()

MinimockGetPendingCallCountInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockGetPublishedDone

func (m *ExecutionContextMock) MinimockGetPublishedDone() bool

MinimockGetPublishedDone returns true if the count of the GetPublished invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockGetPublishedGlobalAliasAndBargeInDone

func (m *ExecutionContextMock) MinimockGetPublishedGlobalAliasAndBargeInDone() bool

MinimockGetPublishedGlobalAliasAndBargeInDone returns true if the count of the GetPublishedGlobalAliasAndBargeIn invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockGetPublishedGlobalAliasAndBargeInInspect

func (m *ExecutionContextMock) MinimockGetPublishedGlobalAliasAndBargeInInspect()

MinimockGetPublishedGlobalAliasAndBargeInInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockGetPublishedGlobalAliasDone

func (m *ExecutionContextMock) MinimockGetPublishedGlobalAliasDone() bool

MinimockGetPublishedGlobalAliasDone returns true if the count of the GetPublishedGlobalAlias invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockGetPublishedGlobalAliasInspect

func (m *ExecutionContextMock) MinimockGetPublishedGlobalAliasInspect()

MinimockGetPublishedGlobalAliasInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockGetPublishedInspect

func (m *ExecutionContextMock) MinimockGetPublishedInspect()

MinimockGetPublishedInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockGetPublishedLinkDone

func (m *ExecutionContextMock) MinimockGetPublishedLinkDone() bool

MinimockGetPublishedLinkDone returns true if the count of the GetPublishedLink invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockGetPublishedLinkInspect

func (m *ExecutionContextMock) MinimockGetPublishedLinkInspect()

MinimockGetPublishedLinkInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockGetTerminationResultDone

func (m *ExecutionContextMock) MinimockGetTerminationResultDone() bool

MinimockGetTerminationResultDone returns true if the count of the GetTerminationResult invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockGetTerminationResultInspect

func (m *ExecutionContextMock) MinimockGetTerminationResultInspect()

MinimockGetTerminationResultInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockInitChildDone

func (m *ExecutionContextMock) MinimockInitChildDone() bool

MinimockInitChildDone returns true if the count of the InitChild invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockInitChildExtDone

func (m *ExecutionContextMock) MinimockInitChildExtDone() bool

MinimockInitChildExtDone returns true if the count of the InitChildExt invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockInitChildExtInspect

func (m *ExecutionContextMock) MinimockInitChildExtInspect()

MinimockInitChildExtInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockInitChildInspect

func (m *ExecutionContextMock) MinimockInitChildInspect()

MinimockInitChildInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockInitChildWithPostInitDone

func (m *ExecutionContextMock) MinimockInitChildWithPostInitDone() bool

MinimockInitChildWithPostInitDone returns true if the count of the InitChildWithPostInit invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockInitChildWithPostInitInspect

func (m *ExecutionContextMock) MinimockInitChildWithPostInitInspect()

MinimockInitChildWithPostInitInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockInitiateLongRunDone

func (m *ExecutionContextMock) MinimockInitiateLongRunDone() bool

MinimockInitiateLongRunDone returns true if the count of the InitiateLongRun invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockInitiateLongRunInspect

func (m *ExecutionContextMock) MinimockInitiateLongRunInspect()

MinimockInitiateLongRunInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockJumpDone

func (m *ExecutionContextMock) MinimockJumpDone() bool

MinimockJumpDone returns true if the count of the Jump invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockJumpExtDone

func (m *ExecutionContextMock) MinimockJumpExtDone() bool

MinimockJumpExtDone returns true if the count of the JumpExt invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockJumpExtInspect

func (m *ExecutionContextMock) MinimockJumpExtInspect()

MinimockJumpExtInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockJumpInspect

func (m *ExecutionContextMock) MinimockJumpInspect()

MinimockJumpInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockLogAsyncDone

func (m *ExecutionContextMock) MinimockLogAsyncDone() bool

MinimockLogAsyncDone returns true if the count of the LogAsync invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockLogAsyncInspect

func (m *ExecutionContextMock) MinimockLogAsyncInspect()

MinimockLogAsyncInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockLogDone

func (m *ExecutionContextMock) MinimockLogDone() bool

MinimockLogDone returns true if the count of the Log invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockLogInspect

func (m *ExecutionContextMock) MinimockLogInspect()

MinimockLogInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockNewBargeInDone

func (m *ExecutionContextMock) MinimockNewBargeInDone() bool

MinimockNewBargeInDone returns true if the count of the NewBargeIn invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockNewBargeInInspect

func (m *ExecutionContextMock) MinimockNewBargeInInspect()

MinimockNewBargeInInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockNewBargeInThisStepOnlyDone

func (m *ExecutionContextMock) MinimockNewBargeInThisStepOnlyDone() bool

MinimockNewBargeInThisStepOnlyDone returns true if the count of the NewBargeInThisStepOnly invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockNewBargeInThisStepOnlyInspect

func (m *ExecutionContextMock) MinimockNewBargeInThisStepOnlyInspect()

MinimockNewBargeInThisStepOnlyInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockNewBargeInWithParamDone

func (m *ExecutionContextMock) MinimockNewBargeInWithParamDone() bool

MinimockNewBargeInWithParamDone returns true if the count of the NewBargeInWithParam invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockNewBargeInWithParamInspect

func (m *ExecutionContextMock) MinimockNewBargeInWithParamInspect()

MinimockNewBargeInWithParamInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockNewChildDone

func (m *ExecutionContextMock) MinimockNewChildDone() bool

MinimockNewChildDone returns true if the count of the NewChild invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockNewChildExtDone

func (m *ExecutionContextMock) MinimockNewChildExtDone() bool

MinimockNewChildExtDone returns true if the count of the NewChildExt invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockNewChildExtInspect

func (m *ExecutionContextMock) MinimockNewChildExtInspect()

MinimockNewChildExtInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockNewChildInspect

func (m *ExecutionContextMock) MinimockNewChildInspect()

MinimockNewChildInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockOverrideDynamicBoostDone

func (m *ExecutionContextMock) MinimockOverrideDynamicBoostDone() bool

MinimockOverrideDynamicBoostDone returns true if the count of the OverrideDynamicBoost invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockOverrideDynamicBoostInspect

func (m *ExecutionContextMock) MinimockOverrideDynamicBoostInspect()

MinimockOverrideDynamicBoostInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockParentLinkDone

func (m *ExecutionContextMock) MinimockParentLinkDone() bool

MinimockParentLinkDone returns true if the count of the ParentLink invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockParentLinkInspect

func (m *ExecutionContextMock) MinimockParentLinkInspect()

MinimockParentLinkInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockPollDone

func (m *ExecutionContextMock) MinimockPollDone() bool

MinimockPollDone returns true if the count of the Poll invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockPollInspect

func (m *ExecutionContextMock) MinimockPollInspect()

MinimockPollInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockPublishDone

func (m *ExecutionContextMock) MinimockPublishDone() bool

MinimockPublishDone returns true if the count of the Publish invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockPublishGlobalAliasAndBargeInDone

func (m *ExecutionContextMock) MinimockPublishGlobalAliasAndBargeInDone() bool

MinimockPublishGlobalAliasAndBargeInDone returns true if the count of the PublishGlobalAliasAndBargeIn invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockPublishGlobalAliasAndBargeInInspect

func (m *ExecutionContextMock) MinimockPublishGlobalAliasAndBargeInInspect()

MinimockPublishGlobalAliasAndBargeInInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockPublishGlobalAliasDone

func (m *ExecutionContextMock) MinimockPublishGlobalAliasDone() bool

MinimockPublishGlobalAliasDone returns true if the count of the PublishGlobalAlias invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockPublishGlobalAliasInspect

func (m *ExecutionContextMock) MinimockPublishGlobalAliasInspect()

MinimockPublishGlobalAliasInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockPublishInspect

func (m *ExecutionContextMock) MinimockPublishInspect()

MinimockPublishInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockPublishReplacementDone

func (m *ExecutionContextMock) MinimockPublishReplacementDone() bool

MinimockPublishReplacementDone returns true if the count of the PublishReplacement invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockPublishReplacementInspect

func (m *ExecutionContextMock) MinimockPublishReplacementInspect()

MinimockPublishReplacementInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockReleaseAllDone

func (m *ExecutionContextMock) MinimockReleaseAllDone() bool

MinimockReleaseAllDone returns true if the count of the ReleaseAll invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockReleaseAllInspect

func (m *ExecutionContextMock) MinimockReleaseAllInspect()

MinimockReleaseAllInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockReleaseDone

func (m *ExecutionContextMock) MinimockReleaseDone() bool

MinimockReleaseDone returns true if the count of the Release invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockReleaseInspect

func (m *ExecutionContextMock) MinimockReleaseInspect()

MinimockReleaseInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockRepeatDone

func (m *ExecutionContextMock) MinimockRepeatDone() bool

MinimockRepeatDone returns true if the count of the Repeat invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockRepeatInspect

func (m *ExecutionContextMock) MinimockRepeatInspect()

MinimockRepeatInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockReplaceDone

func (m *ExecutionContextMock) MinimockReplaceDone() bool

MinimockReplaceDone returns true if the count of the Replace invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockReplaceExtDone

func (m *ExecutionContextMock) MinimockReplaceExtDone() bool

MinimockReplaceExtDone returns true if the count of the ReplaceExt invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockReplaceExtInspect

func (m *ExecutionContextMock) MinimockReplaceExtInspect()

MinimockReplaceExtInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockReplaceInspect

func (m *ExecutionContextMock) MinimockReplaceInspect()

MinimockReplaceInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockReplaceWithDone

func (m *ExecutionContextMock) MinimockReplaceWithDone() bool

MinimockReplaceWithDone returns true if the count of the ReplaceWith invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockReplaceWithInspect

func (m *ExecutionContextMock) MinimockReplaceWithInspect()

MinimockReplaceWithInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockRestoreStepDone

func (m *ExecutionContextMock) MinimockRestoreStepDone() bool

MinimockRestoreStepDone returns true if the count of the RestoreStep invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockRestoreStepInspect

func (m *ExecutionContextMock) MinimockRestoreStepInspect()

MinimockRestoreStepInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockSetDefaultErrorHandlerDone

func (m *ExecutionContextMock) MinimockSetDefaultErrorHandlerDone() bool

MinimockSetDefaultErrorHandlerDone returns true if the count of the SetDefaultErrorHandler invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockSetDefaultErrorHandlerInspect

func (m *ExecutionContextMock) MinimockSetDefaultErrorHandlerInspect()

MinimockSetDefaultErrorHandlerInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockSetDefaultFlagsDone

func (m *ExecutionContextMock) MinimockSetDefaultFlagsDone() bool

MinimockSetDefaultFlagsDone returns true if the count of the SetDefaultFlags invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockSetDefaultFlagsInspect

func (m *ExecutionContextMock) MinimockSetDefaultFlagsInspect()

MinimockSetDefaultFlagsInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockSetDefaultMigrationDone

func (m *ExecutionContextMock) MinimockSetDefaultMigrationDone() bool

MinimockSetDefaultMigrationDone returns true if the count of the SetDefaultMigration invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockSetDefaultMigrationInspect

func (m *ExecutionContextMock) MinimockSetDefaultMigrationInspect()

MinimockSetDefaultMigrationInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockSetFinalizerDone

func (m *ExecutionContextMock) MinimockSetFinalizerDone() bool

MinimockSetFinalizerDone returns true if the count of the SetFinalizer invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockSetFinalizerInspect

func (m *ExecutionContextMock) MinimockSetFinalizerInspect()

MinimockSetFinalizerInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockSetLogTracingDone

func (m *ExecutionContextMock) MinimockSetLogTracingDone() bool

MinimockSetLogTracingDone returns true if the count of the SetLogTracing invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockSetLogTracingInspect

func (m *ExecutionContextMock) MinimockSetLogTracingInspect()

MinimockSetLogTracingInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockSetTerminationResultDone

func (m *ExecutionContextMock) MinimockSetTerminationResultDone() bool

MinimockSetTerminationResultDone returns true if the count of the SetTerminationResult invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockSetTerminationResultInspect

func (m *ExecutionContextMock) MinimockSetTerminationResultInspect()

MinimockSetTerminationResultInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockShareDone

func (m *ExecutionContextMock) MinimockShareDone() bool

MinimockShareDone returns true if the count of the Share invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockShareInspect

func (m *ExecutionContextMock) MinimockShareInspect()

MinimockShareInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockSleepDone

func (m *ExecutionContextMock) MinimockSleepDone() bool

MinimockSleepDone returns true if the count of the Sleep invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockSleepInspect

func (m *ExecutionContextMock) MinimockSleepInspect()

MinimockSleepInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockSlotLinkDone

func (m *ExecutionContextMock) MinimockSlotLinkDone() bool

MinimockSlotLinkDone returns true if the count of the SlotLink invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockSlotLinkInspect

func (m *ExecutionContextMock) MinimockSlotLinkInspect()

MinimockSlotLinkInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockStepLinkDone

func (m *ExecutionContextMock) MinimockStepLinkDone() bool

MinimockStepLinkDone returns true if the count of the StepLink invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockStepLinkInspect

func (m *ExecutionContextMock) MinimockStepLinkInspect()

MinimockStepLinkInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockStopDone

func (m *ExecutionContextMock) MinimockStopDone() bool

MinimockStopDone returns true if the count of the Stop invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockStopInspect

func (m *ExecutionContextMock) MinimockStopInspect()

MinimockStopInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockUnpublishAllDone

func (m *ExecutionContextMock) MinimockUnpublishAllDone() bool

MinimockUnpublishAllDone returns true if the count of the UnpublishAll invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockUnpublishAllInspect

func (m *ExecutionContextMock) MinimockUnpublishAllInspect()

MinimockUnpublishAllInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockUnpublishDone

func (m *ExecutionContextMock) MinimockUnpublishDone() bool

MinimockUnpublishDone returns true if the count of the Unpublish invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockUnpublishGlobalAliasDone

func (m *ExecutionContextMock) MinimockUnpublishGlobalAliasDone() bool

MinimockUnpublishGlobalAliasDone returns true if the count of the UnpublishGlobalAlias invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockUnpublishGlobalAliasInspect

func (m *ExecutionContextMock) MinimockUnpublishGlobalAliasInspect()

MinimockUnpublishGlobalAliasInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockUnpublishInspect

func (m *ExecutionContextMock) MinimockUnpublishInspect()

MinimockUnpublishInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockUnshareDone

func (m *ExecutionContextMock) MinimockUnshareDone() bool

MinimockUnshareDone returns true if the count of the Unshare invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockUnshareInspect

func (m *ExecutionContextMock) MinimockUnshareInspect()

MinimockUnshareInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockUpdateDefaultStepLoggerDone

func (m *ExecutionContextMock) MinimockUpdateDefaultStepLoggerDone() bool

MinimockUpdateDefaultStepLoggerDone returns true if the count of the UpdateDefaultStepLogger invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockUpdateDefaultStepLoggerInspect

func (m *ExecutionContextMock) MinimockUpdateDefaultStepLoggerInspect()

MinimockUpdateDefaultStepLoggerInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockUseSharedDone

func (m *ExecutionContextMock) MinimockUseSharedDone() bool

MinimockUseSharedDone returns true if the count of the UseShared invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockUseSharedInspect

func (m *ExecutionContextMock) MinimockUseSharedInspect()

MinimockUseSharedInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockWait

func (m *ExecutionContextMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*ExecutionContextMock) MinimockWaitAnyDone

func (m *ExecutionContextMock) MinimockWaitAnyDone() bool

MinimockWaitAnyDone returns true if the count of the WaitAny invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockWaitAnyInspect

func (m *ExecutionContextMock) MinimockWaitAnyInspect()

MinimockWaitAnyInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockWaitAnyUntilDone

func (m *ExecutionContextMock) MinimockWaitAnyUntilDone() bool

MinimockWaitAnyUntilDone returns true if the count of the WaitAnyUntil invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockWaitAnyUntilInspect

func (m *ExecutionContextMock) MinimockWaitAnyUntilInspect()

MinimockWaitAnyUntilInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockWaitSharedDone

func (m *ExecutionContextMock) MinimockWaitSharedDone() bool

MinimockWaitSharedDone returns true if the count of the WaitShared invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockWaitSharedInspect

func (m *ExecutionContextMock) MinimockWaitSharedInspect()

MinimockWaitSharedInspect logs each unmet expectation

func (*ExecutionContextMock) MinimockYieldDone

func (m *ExecutionContextMock) MinimockYieldDone() bool

MinimockYieldDone returns true if the count of the Yield invocations corresponds the number of defined expectations

func (*ExecutionContextMock) MinimockYieldInspect

func (m *ExecutionContextMock) MinimockYieldInspect()

MinimockYieldInspect logs each unmet expectation

func (*ExecutionContextMock) NewBargeIn

func (mmNewBargeIn *ExecutionContextMock) NewBargeIn() (b1 BargeInBuilder)

NewBargeIn implements ExecutionContext

func (*ExecutionContextMock) NewBargeInAfterCounter

func (mmNewBargeIn *ExecutionContextMock) NewBargeInAfterCounter() uint64

NewBargeInAfterCounter returns a count of finished ExecutionContextMock.NewBargeIn invocations

func (*ExecutionContextMock) NewBargeInBeforeCounter

func (mmNewBargeIn *ExecutionContextMock) NewBargeInBeforeCounter() uint64

NewBargeInBeforeCounter returns a count of ExecutionContextMock.NewBargeIn invocations

func (*ExecutionContextMock) NewBargeInThisStepOnly

func (mmNewBargeInThisStepOnly *ExecutionContextMock) NewBargeInThisStepOnly() (b1 BargeInBuilder)

NewBargeInThisStepOnly implements ExecutionContext

func (*ExecutionContextMock) NewBargeInThisStepOnlyAfterCounter

func (mmNewBargeInThisStepOnly *ExecutionContextMock) NewBargeInThisStepOnlyAfterCounter() uint64

NewBargeInThisStepOnlyAfterCounter returns a count of finished ExecutionContextMock.NewBargeInThisStepOnly invocations

func (*ExecutionContextMock) NewBargeInThisStepOnlyBeforeCounter

func (mmNewBargeInThisStepOnly *ExecutionContextMock) NewBargeInThisStepOnlyBeforeCounter() uint64

NewBargeInThisStepOnlyBeforeCounter returns a count of ExecutionContextMock.NewBargeInThisStepOnly invocations

func (*ExecutionContextMock) NewBargeInWithParam

func (mmNewBargeInWithParam *ExecutionContextMock) NewBargeInWithParam(b1 BargeInApplyFunc) (b2 BargeInWithParam)

NewBargeInWithParam implements ExecutionContext

func (*ExecutionContextMock) NewBargeInWithParamAfterCounter

func (mmNewBargeInWithParam *ExecutionContextMock) NewBargeInWithParamAfterCounter() uint64

NewBargeInWithParamAfterCounter returns a count of finished ExecutionContextMock.NewBargeInWithParam invocations

func (*ExecutionContextMock) NewBargeInWithParamBeforeCounter

func (mmNewBargeInWithParam *ExecutionContextMock) NewBargeInWithParamBeforeCounter() uint64

NewBargeInWithParamBeforeCounter returns a count of ExecutionContextMock.NewBargeInWithParam invocations

func (*ExecutionContextMock) NewChild

func (mmNewChild *ExecutionContextMock) NewChild(c1 CreateFunc) (s1 SlotLink)

NewChild implements ExecutionContext

func (*ExecutionContextMock) NewChildAfterCounter

func (mmNewChild *ExecutionContextMock) NewChildAfterCounter() uint64

NewChildAfterCounter returns a count of finished ExecutionContextMock.NewChild invocations

func (*ExecutionContextMock) NewChildBeforeCounter

func (mmNewChild *ExecutionContextMock) NewChildBeforeCounter() uint64

NewChildBeforeCounter returns a count of ExecutionContextMock.NewChild invocations

func (*ExecutionContextMock) NewChildExt

func (mmNewChildExt *ExecutionContextMock) NewChildExt(c1 CreateFunc, c2 CreateDefaultValues) (s1 SlotLink)

NewChildExt implements ExecutionContext

func (*ExecutionContextMock) NewChildExtAfterCounter

func (mmNewChildExt *ExecutionContextMock) NewChildExtAfterCounter() uint64

NewChildExtAfterCounter returns a count of finished ExecutionContextMock.NewChildExt invocations

func (*ExecutionContextMock) NewChildExtBeforeCounter

func (mmNewChildExt *ExecutionContextMock) NewChildExtBeforeCounter() uint64

NewChildExtBeforeCounter returns a count of ExecutionContextMock.NewChildExt invocations

func (*ExecutionContextMock) OverrideDynamicBoost

func (mmOverrideDynamicBoost *ExecutionContextMock) OverrideDynamicBoost(b1 bool)

OverrideDynamicBoost implements ExecutionContext

func (*ExecutionContextMock) OverrideDynamicBoostAfterCounter

func (mmOverrideDynamicBoost *ExecutionContextMock) OverrideDynamicBoostAfterCounter() uint64

OverrideDynamicBoostAfterCounter returns a count of finished ExecutionContextMock.OverrideDynamicBoost invocations

func (*ExecutionContextMock) OverrideDynamicBoostBeforeCounter

func (mmOverrideDynamicBoost *ExecutionContextMock) OverrideDynamicBoostBeforeCounter() uint64

OverrideDynamicBoostBeforeCounter returns a count of ExecutionContextMock.OverrideDynamicBoost invocations

func (mmParentLink *ExecutionContextMock) ParentLink() (s1 SlotLink)

ParentLink implements ExecutionContext

func (*ExecutionContextMock) ParentLinkAfterCounter

func (mmParentLink *ExecutionContextMock) ParentLinkAfterCounter() uint64

ParentLinkAfterCounter returns a count of finished ExecutionContextMock.ParentLink invocations

func (*ExecutionContextMock) ParentLinkBeforeCounter

func (mmParentLink *ExecutionContextMock) ParentLinkBeforeCounter() uint64

ParentLinkBeforeCounter returns a count of ExecutionContextMock.ParentLink invocations

func (*ExecutionContextMock) Poll

func (mmPoll *ExecutionContextMock) Poll() (c1 ConditionalBuilder)

Poll implements ExecutionContext

func (*ExecutionContextMock) PollAfterCounter

func (mmPoll *ExecutionContextMock) PollAfterCounter() uint64

PollAfterCounter returns a count of finished ExecutionContextMock.Poll invocations

func (*ExecutionContextMock) PollBeforeCounter

func (mmPoll *ExecutionContextMock) PollBeforeCounter() uint64

PollBeforeCounter returns a count of ExecutionContextMock.Poll invocations

func (*ExecutionContextMock) Publish

func (mmPublish *ExecutionContextMock) Publish(key interface{}, data interface{}) (b1 bool)

Publish implements ExecutionContext

func (*ExecutionContextMock) PublishAfterCounter

func (mmPublish *ExecutionContextMock) PublishAfterCounter() uint64

PublishAfterCounter returns a count of finished ExecutionContextMock.Publish invocations

func (*ExecutionContextMock) PublishBeforeCounter

func (mmPublish *ExecutionContextMock) PublishBeforeCounter() uint64

PublishBeforeCounter returns a count of ExecutionContextMock.Publish invocations

func (*ExecutionContextMock) PublishGlobalAlias

func (mmPublishGlobalAlias *ExecutionContextMock) PublishGlobalAlias(key interface{}) (b1 bool)

PublishGlobalAlias implements ExecutionContext

func (*ExecutionContextMock) PublishGlobalAliasAfterCounter

func (mmPublishGlobalAlias *ExecutionContextMock) PublishGlobalAliasAfterCounter() uint64

PublishGlobalAliasAfterCounter returns a count of finished ExecutionContextMock.PublishGlobalAlias invocations

func (*ExecutionContextMock) PublishGlobalAliasAndBargeIn

func (mmPublishGlobalAliasAndBargeIn *ExecutionContextMock) PublishGlobalAliasAndBargeIn(key interface{}, handler BargeInHolder) (b1 bool)

PublishGlobalAliasAndBargeIn implements ExecutionContext

func (*ExecutionContextMock) PublishGlobalAliasAndBargeInAfterCounter

func (mmPublishGlobalAliasAndBargeIn *ExecutionContextMock) PublishGlobalAliasAndBargeInAfterCounter() uint64

PublishGlobalAliasAndBargeInAfterCounter returns a count of finished ExecutionContextMock.PublishGlobalAliasAndBargeIn invocations

func (*ExecutionContextMock) PublishGlobalAliasAndBargeInBeforeCounter

func (mmPublishGlobalAliasAndBargeIn *ExecutionContextMock) PublishGlobalAliasAndBargeInBeforeCounter() uint64

PublishGlobalAliasAndBargeInBeforeCounter returns a count of ExecutionContextMock.PublishGlobalAliasAndBargeIn invocations

func (*ExecutionContextMock) PublishGlobalAliasBeforeCounter

func (mmPublishGlobalAlias *ExecutionContextMock) PublishGlobalAliasBeforeCounter() uint64

PublishGlobalAliasBeforeCounter returns a count of ExecutionContextMock.PublishGlobalAlias invocations

func (*ExecutionContextMock) PublishReplacement

func (mmPublishReplacement *ExecutionContextMock) PublishReplacement(key interface{}, data interface{}) (b1 bool)

PublishReplacement implements ExecutionContext

func (*ExecutionContextMock) PublishReplacementAfterCounter

func (mmPublishReplacement *ExecutionContextMock) PublishReplacementAfterCounter() uint64

PublishReplacementAfterCounter returns a count of finished ExecutionContextMock.PublishReplacement invocations

func (*ExecutionContextMock) PublishReplacementBeforeCounter

func (mmPublishReplacement *ExecutionContextMock) PublishReplacementBeforeCounter() uint64

PublishReplacementBeforeCounter returns a count of ExecutionContextMock.PublishReplacement invocations

func (*ExecutionContextMock) Release

func (mmRelease *ExecutionContextMock) Release(s1 SyncLink) (b1 bool)

Release implements ExecutionContext

func (*ExecutionContextMock) ReleaseAfterCounter

func (mmRelease *ExecutionContextMock) ReleaseAfterCounter() uint64

ReleaseAfterCounter returns a count of finished ExecutionContextMock.Release invocations

func (*ExecutionContextMock) ReleaseAll

func (mmReleaseAll *ExecutionContextMock) ReleaseAll() (b1 bool)

ReleaseAll implements ExecutionContext

func (*ExecutionContextMock) ReleaseAllAfterCounter

func (mmReleaseAll *ExecutionContextMock) ReleaseAllAfterCounter() uint64

ReleaseAllAfterCounter returns a count of finished ExecutionContextMock.ReleaseAll invocations

func (*ExecutionContextMock) ReleaseAllBeforeCounter

func (mmReleaseAll *ExecutionContextMock) ReleaseAllBeforeCounter() uint64

ReleaseAllBeforeCounter returns a count of ExecutionContextMock.ReleaseAll invocations

func (*ExecutionContextMock) ReleaseBeforeCounter

func (mmRelease *ExecutionContextMock) ReleaseBeforeCounter() uint64

ReleaseBeforeCounter returns a count of ExecutionContextMock.Release invocations

func (*ExecutionContextMock) Repeat

func (mmRepeat *ExecutionContextMock) Repeat(limitPerCycle int) (s1 StateUpdate)

Repeat implements ExecutionContext

func (*ExecutionContextMock) RepeatAfterCounter

func (mmRepeat *ExecutionContextMock) RepeatAfterCounter() uint64

RepeatAfterCounter returns a count of finished ExecutionContextMock.Repeat invocations

func (*ExecutionContextMock) RepeatBeforeCounter

func (mmRepeat *ExecutionContextMock) RepeatBeforeCounter() uint64

RepeatBeforeCounter returns a count of ExecutionContextMock.Repeat invocations

func (*ExecutionContextMock) Replace

func (mmReplace *ExecutionContextMock) Replace(c1 CreateFunc) (s1 StateUpdate)

Replace implements ExecutionContext

func (*ExecutionContextMock) ReplaceAfterCounter

func (mmReplace *ExecutionContextMock) ReplaceAfterCounter() uint64

ReplaceAfterCounter returns a count of finished ExecutionContextMock.Replace invocations

func (*ExecutionContextMock) ReplaceBeforeCounter

func (mmReplace *ExecutionContextMock) ReplaceBeforeCounter() uint64

ReplaceBeforeCounter returns a count of ExecutionContextMock.Replace invocations

func (*ExecutionContextMock) ReplaceExt

func (mmReplaceExt *ExecutionContextMock) ReplaceExt(c1 CreateFunc, c2 CreateDefaultValues) (s1 StateUpdate)

ReplaceExt implements ExecutionContext

func (*ExecutionContextMock) ReplaceExtAfterCounter

func (mmReplaceExt *ExecutionContextMock) ReplaceExtAfterCounter() uint64

ReplaceExtAfterCounter returns a count of finished ExecutionContextMock.ReplaceExt invocations

func (*ExecutionContextMock) ReplaceExtBeforeCounter

func (mmReplaceExt *ExecutionContextMock) ReplaceExtBeforeCounter() uint64

ReplaceExtBeforeCounter returns a count of ExecutionContextMock.ReplaceExt invocations

func (*ExecutionContextMock) ReplaceWith

func (mmReplaceWith *ExecutionContextMock) ReplaceWith(s1 StateMachine) (s2 StateUpdate)

ReplaceWith implements ExecutionContext

func (*ExecutionContextMock) ReplaceWithAfterCounter

func (mmReplaceWith *ExecutionContextMock) ReplaceWithAfterCounter() uint64

ReplaceWithAfterCounter returns a count of finished ExecutionContextMock.ReplaceWith invocations

func (*ExecutionContextMock) ReplaceWithBeforeCounter

func (mmReplaceWith *ExecutionContextMock) ReplaceWithBeforeCounter() uint64

ReplaceWithBeforeCounter returns a count of ExecutionContextMock.ReplaceWith invocations

func (*ExecutionContextMock) RestoreStep

func (mmRestoreStep *ExecutionContextMock) RestoreStep(s1 SlotStep) (s2 StateUpdate)

RestoreStep implements ExecutionContext

func (*ExecutionContextMock) RestoreStepAfterCounter

func (mmRestoreStep *ExecutionContextMock) RestoreStepAfterCounter() uint64

RestoreStepAfterCounter returns a count of finished ExecutionContextMock.RestoreStep invocations

func (*ExecutionContextMock) RestoreStepBeforeCounter

func (mmRestoreStep *ExecutionContextMock) RestoreStepBeforeCounter() uint64

RestoreStepBeforeCounter returns a count of ExecutionContextMock.RestoreStep invocations

func (*ExecutionContextMock) SetDefaultErrorHandler

func (mmSetDefaultErrorHandler *ExecutionContextMock) SetDefaultErrorHandler(e1 ErrorHandlerFunc)

SetDefaultErrorHandler implements ExecutionContext

func (*ExecutionContextMock) SetDefaultErrorHandlerAfterCounter

func (mmSetDefaultErrorHandler *ExecutionContextMock) SetDefaultErrorHandlerAfterCounter() uint64

SetDefaultErrorHandlerAfterCounter returns a count of finished ExecutionContextMock.SetDefaultErrorHandler invocations

func (*ExecutionContextMock) SetDefaultErrorHandlerBeforeCounter

func (mmSetDefaultErrorHandler *ExecutionContextMock) SetDefaultErrorHandlerBeforeCounter() uint64

SetDefaultErrorHandlerBeforeCounter returns a count of ExecutionContextMock.SetDefaultErrorHandler invocations

func (*ExecutionContextMock) SetDefaultFlags

func (mmSetDefaultFlags *ExecutionContextMock) SetDefaultFlags(s1 StepFlags)

SetDefaultFlags implements ExecutionContext

func (*ExecutionContextMock) SetDefaultFlagsAfterCounter

func (mmSetDefaultFlags *ExecutionContextMock) SetDefaultFlagsAfterCounter() uint64

SetDefaultFlagsAfterCounter returns a count of finished ExecutionContextMock.SetDefaultFlags invocations

func (*ExecutionContextMock) SetDefaultFlagsBeforeCounter

func (mmSetDefaultFlags *ExecutionContextMock) SetDefaultFlagsBeforeCounter() uint64

SetDefaultFlagsBeforeCounter returns a count of ExecutionContextMock.SetDefaultFlags invocations

func (*ExecutionContextMock) SetDefaultMigration

func (mmSetDefaultMigration *ExecutionContextMock) SetDefaultMigration(m1 MigrateFunc)

SetDefaultMigration implements ExecutionContext

func (*ExecutionContextMock) SetDefaultMigrationAfterCounter

func (mmSetDefaultMigration *ExecutionContextMock) SetDefaultMigrationAfterCounter() uint64

SetDefaultMigrationAfterCounter returns a count of finished ExecutionContextMock.SetDefaultMigration invocations

func (*ExecutionContextMock) SetDefaultMigrationBeforeCounter

func (mmSetDefaultMigration *ExecutionContextMock) SetDefaultMigrationBeforeCounter() uint64

SetDefaultMigrationBeforeCounter returns a count of ExecutionContextMock.SetDefaultMigration invocations

func (*ExecutionContextMock) SetFinalizer

func (mmSetFinalizer *ExecutionContextMock) SetFinalizer(f1 FinalizeFunc)

SetFinalizer implements ExecutionContext

func (*ExecutionContextMock) SetFinalizerAfterCounter

func (mmSetFinalizer *ExecutionContextMock) SetFinalizerAfterCounter() uint64

SetFinalizerAfterCounter returns a count of finished ExecutionContextMock.SetFinalizer invocations

func (*ExecutionContextMock) SetFinalizerBeforeCounter

func (mmSetFinalizer *ExecutionContextMock) SetFinalizerBeforeCounter() uint64

SetFinalizerBeforeCounter returns a count of ExecutionContextMock.SetFinalizer invocations

func (*ExecutionContextMock) SetLogTracing

func (mmSetLogTracing *ExecutionContextMock) SetLogTracing(b1 bool)

SetLogTracing implements ExecutionContext

func (*ExecutionContextMock) SetLogTracingAfterCounter

func (mmSetLogTracing *ExecutionContextMock) SetLogTracingAfterCounter() uint64

SetLogTracingAfterCounter returns a count of finished ExecutionContextMock.SetLogTracing invocations

func (*ExecutionContextMock) SetLogTracingBeforeCounter

func (mmSetLogTracing *ExecutionContextMock) SetLogTracingBeforeCounter() uint64

SetLogTracingBeforeCounter returns a count of ExecutionContextMock.SetLogTracing invocations

func (*ExecutionContextMock) SetTerminationResult

func (mmSetTerminationResult *ExecutionContextMock) SetTerminationResult(p1 interface{})

SetTerminationResult implements ExecutionContext

func (*ExecutionContextMock) SetTerminationResultAfterCounter

func (mmSetTerminationResult *ExecutionContextMock) SetTerminationResultAfterCounter() uint64

SetTerminationResultAfterCounter returns a count of finished ExecutionContextMock.SetTerminationResult invocations

func (*ExecutionContextMock) SetTerminationResultBeforeCounter

func (mmSetTerminationResult *ExecutionContextMock) SetTerminationResultBeforeCounter() uint64

SetTerminationResultBeforeCounter returns a count of ExecutionContextMock.SetTerminationResult invocations

func (*ExecutionContextMock) Share

func (mmShare *ExecutionContextMock) Share(data interface{}, flags ShareDataFlags) (s1 SharedDataLink)

Share implements ExecutionContext

func (*ExecutionContextMock) ShareAfterCounter

func (mmShare *ExecutionContextMock) ShareAfterCounter() uint64

ShareAfterCounter returns a count of finished ExecutionContextMock.Share invocations

func (*ExecutionContextMock) ShareBeforeCounter

func (mmShare *ExecutionContextMock) ShareBeforeCounter() uint64

ShareBeforeCounter returns a count of ExecutionContextMock.Share invocations

func (*ExecutionContextMock) Sleep

func (mmSleep *ExecutionContextMock) Sleep() (c1 ConditionalBuilder)

Sleep implements ExecutionContext

func (*ExecutionContextMock) SleepAfterCounter

func (mmSleep *ExecutionContextMock) SleepAfterCounter() uint64

SleepAfterCounter returns a count of finished ExecutionContextMock.Sleep invocations

func (*ExecutionContextMock) SleepBeforeCounter

func (mmSleep *ExecutionContextMock) SleepBeforeCounter() uint64

SleepBeforeCounter returns a count of ExecutionContextMock.Sleep invocations

func (mmSlotLink *ExecutionContextMock) SlotLink() (s1 SlotLink)

SlotLink implements ExecutionContext

func (*ExecutionContextMock) SlotLinkAfterCounter

func (mmSlotLink *ExecutionContextMock) SlotLinkAfterCounter() uint64

SlotLinkAfterCounter returns a count of finished ExecutionContextMock.SlotLink invocations

func (*ExecutionContextMock) SlotLinkBeforeCounter

func (mmSlotLink *ExecutionContextMock) SlotLinkBeforeCounter() uint64

SlotLinkBeforeCounter returns a count of ExecutionContextMock.SlotLink invocations

func (mmStepLink *ExecutionContextMock) StepLink() (s1 StepLink)

StepLink implements ExecutionContext

func (*ExecutionContextMock) StepLinkAfterCounter

func (mmStepLink *ExecutionContextMock) StepLinkAfterCounter() uint64

StepLinkAfterCounter returns a count of finished ExecutionContextMock.StepLink invocations

func (*ExecutionContextMock) StepLinkBeforeCounter

func (mmStepLink *ExecutionContextMock) StepLinkBeforeCounter() uint64

StepLinkBeforeCounter returns a count of ExecutionContextMock.StepLink invocations

func (*ExecutionContextMock) Stop

func (mmStop *ExecutionContextMock) Stop() (s1 StateUpdate)

Stop implements ExecutionContext

func (*ExecutionContextMock) StopAfterCounter

func (mmStop *ExecutionContextMock) StopAfterCounter() uint64

StopAfterCounter returns a count of finished ExecutionContextMock.Stop invocations

func (*ExecutionContextMock) StopBeforeCounter

func (mmStop *ExecutionContextMock) StopBeforeCounter() uint64

StopBeforeCounter returns a count of ExecutionContextMock.Stop invocations

func (*ExecutionContextMock) Unpublish

func (mmUnpublish *ExecutionContextMock) Unpublish(key interface{}) (b1 bool)

Unpublish implements ExecutionContext

func (*ExecutionContextMock) UnpublishAfterCounter

func (mmUnpublish *ExecutionContextMock) UnpublishAfterCounter() uint64

UnpublishAfterCounter returns a count of finished ExecutionContextMock.Unpublish invocations

func (*ExecutionContextMock) UnpublishAll

func (mmUnpublishAll *ExecutionContextMock) UnpublishAll()

UnpublishAll implements ExecutionContext

func (*ExecutionContextMock) UnpublishAllAfterCounter

func (mmUnpublishAll *ExecutionContextMock) UnpublishAllAfterCounter() uint64

UnpublishAllAfterCounter returns a count of finished ExecutionContextMock.UnpublishAll invocations

func (*ExecutionContextMock) UnpublishAllBeforeCounter

func (mmUnpublishAll *ExecutionContextMock) UnpublishAllBeforeCounter() uint64

UnpublishAllBeforeCounter returns a count of ExecutionContextMock.UnpublishAll invocations

func (*ExecutionContextMock) UnpublishBeforeCounter

func (mmUnpublish *ExecutionContextMock) UnpublishBeforeCounter() uint64

UnpublishBeforeCounter returns a count of ExecutionContextMock.Unpublish invocations

func (*ExecutionContextMock) UnpublishGlobalAlias

func (mmUnpublishGlobalAlias *ExecutionContextMock) UnpublishGlobalAlias(key interface{}) (b1 bool)

UnpublishGlobalAlias implements ExecutionContext

func (*ExecutionContextMock) UnpublishGlobalAliasAfterCounter

func (mmUnpublishGlobalAlias *ExecutionContextMock) UnpublishGlobalAliasAfterCounter() uint64

UnpublishGlobalAliasAfterCounter returns a count of finished ExecutionContextMock.UnpublishGlobalAlias invocations

func (*ExecutionContextMock) UnpublishGlobalAliasBeforeCounter

func (mmUnpublishGlobalAlias *ExecutionContextMock) UnpublishGlobalAliasBeforeCounter() uint64

UnpublishGlobalAliasBeforeCounter returns a count of ExecutionContextMock.UnpublishGlobalAlias invocations

func (*ExecutionContextMock) Unshare

func (mmUnshare *ExecutionContextMock) Unshare(s1 SharedDataLink) (b1 bool)

Unshare implements ExecutionContext

func (*ExecutionContextMock) UnshareAfterCounter

func (mmUnshare *ExecutionContextMock) UnshareAfterCounter() uint64

UnshareAfterCounter returns a count of finished ExecutionContextMock.Unshare invocations

func (*ExecutionContextMock) UnshareBeforeCounter

func (mmUnshare *ExecutionContextMock) UnshareBeforeCounter() uint64

UnshareBeforeCounter returns a count of ExecutionContextMock.Unshare invocations

func (*ExecutionContextMock) UpdateDefaultStepLogger

func (mmUpdateDefaultStepLogger *ExecutionContextMock) UpdateDefaultStepLogger(s1 StepLoggerUpdateFunc)

UpdateDefaultStepLogger implements ExecutionContext

func (*ExecutionContextMock) UpdateDefaultStepLoggerAfterCounter

func (mmUpdateDefaultStepLogger *ExecutionContextMock) UpdateDefaultStepLoggerAfterCounter() uint64

UpdateDefaultStepLoggerAfterCounter returns a count of finished ExecutionContextMock.UpdateDefaultStepLogger invocations

func (*ExecutionContextMock) UpdateDefaultStepLoggerBeforeCounter

func (mmUpdateDefaultStepLogger *ExecutionContextMock) UpdateDefaultStepLoggerBeforeCounter() uint64

UpdateDefaultStepLoggerBeforeCounter returns a count of ExecutionContextMock.UpdateDefaultStepLogger invocations

func (*ExecutionContextMock) UseShared

func (mmUseShared *ExecutionContextMock) UseShared(s1 SharedDataAccessor) (s2 SharedAccessReport)

UseShared implements ExecutionContext

func (*ExecutionContextMock) UseSharedAfterCounter

func (mmUseShared *ExecutionContextMock) UseSharedAfterCounter() uint64

UseSharedAfterCounter returns a count of finished ExecutionContextMock.UseShared invocations

func (*ExecutionContextMock) UseSharedBeforeCounter

func (mmUseShared *ExecutionContextMock) UseSharedBeforeCounter() uint64

UseSharedBeforeCounter returns a count of ExecutionContextMock.UseShared invocations

func (*ExecutionContextMock) WaitAny

func (mmWaitAny *ExecutionContextMock) WaitAny() (c1 ConditionalBuilder)

WaitAny implements ExecutionContext

func (*ExecutionContextMock) WaitAnyAfterCounter

func (mmWaitAny *ExecutionContextMock) WaitAnyAfterCounter() uint64

WaitAnyAfterCounter returns a count of finished ExecutionContextMock.WaitAny invocations

func (*ExecutionContextMock) WaitAnyBeforeCounter

func (mmWaitAny *ExecutionContextMock) WaitAnyBeforeCounter() uint64

WaitAnyBeforeCounter returns a count of ExecutionContextMock.WaitAny invocations

func (*ExecutionContextMock) WaitAnyUntil

func (mmWaitAnyUntil *ExecutionContextMock) WaitAnyUntil(t1 time.Time) (s1 StateConditionalBuilder)

WaitAnyUntil implements ExecutionContext

func (*ExecutionContextMock) WaitAnyUntilAfterCounter

func (mmWaitAnyUntil *ExecutionContextMock) WaitAnyUntilAfterCounter() uint64

WaitAnyUntilAfterCounter returns a count of finished ExecutionContextMock.WaitAnyUntil invocations

func (*ExecutionContextMock) WaitAnyUntilBeforeCounter

func (mmWaitAnyUntil *ExecutionContextMock) WaitAnyUntilBeforeCounter() uint64

WaitAnyUntilBeforeCounter returns a count of ExecutionContextMock.WaitAnyUntil invocations

func (*ExecutionContextMock) WaitShared

func (mmWaitShared *ExecutionContextMock) WaitShared(s1 SharedDataLink) (s2 StateConditionalBuilder)

WaitShared implements ExecutionContext

func (*ExecutionContextMock) WaitSharedAfterCounter

func (mmWaitShared *ExecutionContextMock) WaitSharedAfterCounter() uint64

WaitSharedAfterCounter returns a count of finished ExecutionContextMock.WaitShared invocations

func (*ExecutionContextMock) WaitSharedBeforeCounter

func (mmWaitShared *ExecutionContextMock) WaitSharedBeforeCounter() uint64

WaitSharedBeforeCounter returns a count of ExecutionContextMock.WaitShared invocations

func (*ExecutionContextMock) Yield

func (mmYield *ExecutionContextMock) Yield() (c1 ConditionalBuilder)

Yield implements ExecutionContext

func (*ExecutionContextMock) YieldAfterCounter

func (mmYield *ExecutionContextMock) YieldAfterCounter() uint64

YieldAfterCounter returns a count of finished ExecutionContextMock.Yield invocations

func (*ExecutionContextMock) YieldBeforeCounter

func (mmYield *ExecutionContextMock) YieldBeforeCounter() uint64

YieldBeforeCounter returns a count of ExecutionContextMock.Yield invocations

type ExecutionContextMockAcquireAndReleaseExpectation

type ExecutionContextMockAcquireAndReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockAcquireAndReleaseExpectation specifies expectation struct of the ExecutionContext.AcquireAndRelease

func (*ExecutionContextMockAcquireAndReleaseExpectation) Then

Then sets up ExecutionContext.AcquireAndRelease return parameters for the expectation previously defined by the When method

type ExecutionContextMockAcquireAndReleaseParams

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

ExecutionContextMockAcquireAndReleaseParams contains parameters of the ExecutionContext.AcquireAndRelease

type ExecutionContextMockAcquireAndReleaseResults

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

ExecutionContextMockAcquireAndReleaseResults contains results of the ExecutionContext.AcquireAndRelease

type ExecutionContextMockAcquireExpectation

type ExecutionContextMockAcquireExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockAcquireExpectation specifies expectation struct of the ExecutionContext.Acquire

func (*ExecutionContextMockAcquireExpectation) Then

Then sets up ExecutionContext.Acquire return parameters for the expectation previously defined by the When method

type ExecutionContextMockAcquireExtExpectation

type ExecutionContextMockAcquireExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockAcquireExtExpectation specifies expectation struct of the ExecutionContext.AcquireExt

func (*ExecutionContextMockAcquireExtExpectation) Then

Then sets up ExecutionContext.AcquireExt return parameters for the expectation previously defined by the When method

type ExecutionContextMockAcquireExtParams

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

ExecutionContextMockAcquireExtParams contains parameters of the ExecutionContext.AcquireExt

type ExecutionContextMockAcquireExtResults

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

ExecutionContextMockAcquireExtResults contains results of the ExecutionContext.AcquireExt

type ExecutionContextMockAcquireForThisStepAndReleaseExpectation

type ExecutionContextMockAcquireForThisStepAndReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockAcquireForThisStepAndReleaseExpectation specifies expectation struct of the ExecutionContext.AcquireForThisStepAndRelease

func (*ExecutionContextMockAcquireForThisStepAndReleaseExpectation) Then

Then sets up ExecutionContext.AcquireForThisStepAndRelease return parameters for the expectation previously defined by the When method

type ExecutionContextMockAcquireForThisStepAndReleaseParams

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

ExecutionContextMockAcquireForThisStepAndReleaseParams contains parameters of the ExecutionContext.AcquireForThisStepAndRelease

type ExecutionContextMockAcquireForThisStepAndReleaseResults

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

ExecutionContextMockAcquireForThisStepAndReleaseResults contains results of the ExecutionContext.AcquireForThisStepAndRelease

type ExecutionContextMockAcquireForThisStepExpectation

type ExecutionContextMockAcquireForThisStepExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockAcquireForThisStepExpectation specifies expectation struct of the ExecutionContext.AcquireForThisStep

func (*ExecutionContextMockAcquireForThisStepExpectation) Then

Then sets up ExecutionContext.AcquireForThisStep return parameters for the expectation previously defined by the When method

type ExecutionContextMockAcquireForThisStepParams

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

ExecutionContextMockAcquireForThisStepParams contains parameters of the ExecutionContext.AcquireForThisStep

type ExecutionContextMockAcquireForThisStepResults

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

ExecutionContextMockAcquireForThisStepResults contains results of the ExecutionContext.AcquireForThisStep

type ExecutionContextMockAcquireParams

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

ExecutionContextMockAcquireParams contains parameters of the ExecutionContext.Acquire

type ExecutionContextMockAcquireResults

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

ExecutionContextMockAcquireResults contains results of the ExecutionContext.Acquire

type ExecutionContextMockApplyAdjustmentExpectation

type ExecutionContextMockApplyAdjustmentExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockApplyAdjustmentExpectation specifies expectation struct of the ExecutionContext.ApplyAdjustment

func (*ExecutionContextMockApplyAdjustmentExpectation) Then

Then sets up ExecutionContext.ApplyAdjustment return parameters for the expectation previously defined by the When method

type ExecutionContextMockApplyAdjustmentParams

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

ExecutionContextMockApplyAdjustmentParams contains parameters of the ExecutionContext.ApplyAdjustment

type ExecutionContextMockApplyAdjustmentResults

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

ExecutionContextMockApplyAdjustmentResults contains results of the ExecutionContext.ApplyAdjustment

type ExecutionContextMockCallBargeInExpectation

type ExecutionContextMockCallBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockCallBargeInExpectation specifies expectation struct of the ExecutionContext.CallBargeIn

func (*ExecutionContextMockCallBargeInExpectation) Then

Then sets up ExecutionContext.CallBargeIn return parameters for the expectation previously defined by the When method

type ExecutionContextMockCallBargeInParams

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

ExecutionContextMockCallBargeInParams contains parameters of the ExecutionContext.CallBargeIn

type ExecutionContextMockCallBargeInResults

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

ExecutionContextMockCallBargeInResults contains results of the ExecutionContext.CallBargeIn

type ExecutionContextMockCallBargeInWithParamExpectation

type ExecutionContextMockCallBargeInWithParamExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockCallBargeInWithParamExpectation specifies expectation struct of the ExecutionContext.CallBargeInWithParam

func (*ExecutionContextMockCallBargeInWithParamExpectation) Then

Then sets up ExecutionContext.CallBargeInWithParam return parameters for the expectation previously defined by the When method

type ExecutionContextMockCallBargeInWithParamParams

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

ExecutionContextMockCallBargeInWithParamParams contains parameters of the ExecutionContext.CallBargeInWithParam

type ExecutionContextMockCallBargeInWithParamResults

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

ExecutionContextMockCallBargeInWithParamResults contains results of the ExecutionContext.CallBargeInWithParam

type ExecutionContextMockCallSubroutineExpectation

type ExecutionContextMockCallSubroutineExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockCallSubroutineExpectation specifies expectation struct of the ExecutionContext.CallSubroutine

func (*ExecutionContextMockCallSubroutineExpectation) Then

Then sets up ExecutionContext.CallSubroutine return parameters for the expectation previously defined by the When method

type ExecutionContextMockCallSubroutineParams

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

ExecutionContextMockCallSubroutineParams contains parameters of the ExecutionContext.CallSubroutine

type ExecutionContextMockCallSubroutineResults

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

ExecutionContextMockCallSubroutineResults contains results of the ExecutionContext.CallSubroutine

type ExecutionContextMockCheckExpectation

type ExecutionContextMockCheckExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockCheckExpectation specifies expectation struct of the ExecutionContext.Check

func (*ExecutionContextMockCheckExpectation) Then

Then sets up ExecutionContext.Check return parameters for the expectation previously defined by the When method

type ExecutionContextMockCheckParams

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

ExecutionContextMockCheckParams contains parameters of the ExecutionContext.Check

type ExecutionContextMockCheckResults

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

ExecutionContextMockCheckResults contains results of the ExecutionContext.Check

type ExecutionContextMockErrorExpectation

type ExecutionContextMockErrorExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockErrorExpectation specifies expectation struct of the ExecutionContext.Error

func (*ExecutionContextMockErrorExpectation) Then

Then sets up ExecutionContext.Error return parameters for the expectation previously defined by the When method

type ExecutionContextMockErrorParams

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

ExecutionContextMockErrorParams contains parameters of the ExecutionContext.Error

type ExecutionContextMockErrorResults

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

ExecutionContextMockErrorResults contains results of the ExecutionContext.Error

type ExecutionContextMockGetContextExpectation

type ExecutionContextMockGetContextExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockGetContextExpectation specifies expectation struct of the ExecutionContext.GetContext

type ExecutionContextMockGetContextResults

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

ExecutionContextMockGetContextResults contains results of the ExecutionContext.GetContext

type ExecutionContextMockGetPendingCallCountExpectation

type ExecutionContextMockGetPendingCallCountExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockGetPendingCallCountExpectation specifies expectation struct of the ExecutionContext.GetPendingCallCount

type ExecutionContextMockGetPendingCallCountResults

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

ExecutionContextMockGetPendingCallCountResults contains results of the ExecutionContext.GetPendingCallCount

type ExecutionContextMockGetPublishedExpectation

type ExecutionContextMockGetPublishedExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockGetPublishedExpectation specifies expectation struct of the ExecutionContext.GetPublished

func (*ExecutionContextMockGetPublishedExpectation) Then

Then sets up ExecutionContext.GetPublished return parameters for the expectation previously defined by the When method

type ExecutionContextMockGetPublishedGlobalAliasAndBargeInExpectation

type ExecutionContextMockGetPublishedGlobalAliasAndBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockGetPublishedGlobalAliasAndBargeInExpectation specifies expectation struct of the ExecutionContext.GetPublishedGlobalAliasAndBargeIn

func (*ExecutionContextMockGetPublishedGlobalAliasAndBargeInExpectation) Then

Then sets up ExecutionContext.GetPublishedGlobalAliasAndBargeIn return parameters for the expectation previously defined by the When method

type ExecutionContextMockGetPublishedGlobalAliasAndBargeInParams

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

ExecutionContextMockGetPublishedGlobalAliasAndBargeInParams contains parameters of the ExecutionContext.GetPublishedGlobalAliasAndBargeIn

type ExecutionContextMockGetPublishedGlobalAliasAndBargeInResults

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

ExecutionContextMockGetPublishedGlobalAliasAndBargeInResults contains results of the ExecutionContext.GetPublishedGlobalAliasAndBargeIn

type ExecutionContextMockGetPublishedGlobalAliasExpectation

type ExecutionContextMockGetPublishedGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockGetPublishedGlobalAliasExpectation specifies expectation struct of the ExecutionContext.GetPublishedGlobalAlias

func (*ExecutionContextMockGetPublishedGlobalAliasExpectation) Then

Then sets up ExecutionContext.GetPublishedGlobalAlias return parameters for the expectation previously defined by the When method

type ExecutionContextMockGetPublishedGlobalAliasParams

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

ExecutionContextMockGetPublishedGlobalAliasParams contains parameters of the ExecutionContext.GetPublishedGlobalAlias

type ExecutionContextMockGetPublishedGlobalAliasResults

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

ExecutionContextMockGetPublishedGlobalAliasResults contains results of the ExecutionContext.GetPublishedGlobalAlias

type ExecutionContextMockGetPublishedLinkExpectation

type ExecutionContextMockGetPublishedLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockGetPublishedLinkExpectation specifies expectation struct of the ExecutionContext.GetPublishedLink

func (*ExecutionContextMockGetPublishedLinkExpectation) Then

Then sets up ExecutionContext.GetPublishedLink return parameters for the expectation previously defined by the When method

type ExecutionContextMockGetPublishedLinkParams

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

ExecutionContextMockGetPublishedLinkParams contains parameters of the ExecutionContext.GetPublishedLink

type ExecutionContextMockGetPublishedLinkResults

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

ExecutionContextMockGetPublishedLinkResults contains results of the ExecutionContext.GetPublishedLink

type ExecutionContextMockGetPublishedParams

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

ExecutionContextMockGetPublishedParams contains parameters of the ExecutionContext.GetPublished

type ExecutionContextMockGetPublishedResults

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

ExecutionContextMockGetPublishedResults contains results of the ExecutionContext.GetPublished

type ExecutionContextMockGetTerminationResultExpectation

type ExecutionContextMockGetTerminationResultExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockGetTerminationResultExpectation specifies expectation struct of the ExecutionContext.GetTerminationResult

type ExecutionContextMockGetTerminationResultResults

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

ExecutionContextMockGetTerminationResultResults contains results of the ExecutionContext.GetTerminationResult

type ExecutionContextMockInitChildExpectation

type ExecutionContextMockInitChildExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockInitChildExpectation specifies expectation struct of the ExecutionContext.InitChild

func (*ExecutionContextMockInitChildExpectation) Then

Then sets up ExecutionContext.InitChild return parameters for the expectation previously defined by the When method

type ExecutionContextMockInitChildExtExpectation

type ExecutionContextMockInitChildExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockInitChildExtExpectation specifies expectation struct of the ExecutionContext.InitChildExt

func (*ExecutionContextMockInitChildExtExpectation) Then

Then sets up ExecutionContext.InitChildExt return parameters for the expectation previously defined by the When method

type ExecutionContextMockInitChildExtParams

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

ExecutionContextMockInitChildExtParams contains parameters of the ExecutionContext.InitChildExt

type ExecutionContextMockInitChildExtResults

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

ExecutionContextMockInitChildExtResults contains results of the ExecutionContext.InitChildExt

type ExecutionContextMockInitChildParams

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

ExecutionContextMockInitChildParams contains parameters of the ExecutionContext.InitChild

type ExecutionContextMockInitChildResults

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

ExecutionContextMockInitChildResults contains results of the ExecutionContext.InitChild

type ExecutionContextMockInitChildWithPostInitExpectation

type ExecutionContextMockInitChildWithPostInitExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockInitChildWithPostInitExpectation specifies expectation struct of the ExecutionContext.InitChildWithPostInit

func (*ExecutionContextMockInitChildWithPostInitExpectation) Then

Then sets up ExecutionContext.InitChildWithPostInit return parameters for the expectation previously defined by the When method

type ExecutionContextMockInitChildWithPostInitParams

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

ExecutionContextMockInitChildWithPostInitParams contains parameters of the ExecutionContext.InitChildWithPostInit

type ExecutionContextMockInitChildWithPostInitResults

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

ExecutionContextMockInitChildWithPostInitResults contains results of the ExecutionContext.InitChildWithPostInit

type ExecutionContextMockInitiateLongRunExpectation

type ExecutionContextMockInitiateLongRunExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockInitiateLongRunExpectation specifies expectation struct of the ExecutionContext.InitiateLongRun

type ExecutionContextMockInitiateLongRunParams

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

ExecutionContextMockInitiateLongRunParams contains parameters of the ExecutionContext.InitiateLongRun

type ExecutionContextMockJumpExpectation

type ExecutionContextMockJumpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockJumpExpectation specifies expectation struct of the ExecutionContext.Jump

func (*ExecutionContextMockJumpExpectation) Then

Then sets up ExecutionContext.Jump return parameters for the expectation previously defined by the When method

type ExecutionContextMockJumpExtExpectation

type ExecutionContextMockJumpExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockJumpExtExpectation specifies expectation struct of the ExecutionContext.JumpExt

func (*ExecutionContextMockJumpExtExpectation) Then

Then sets up ExecutionContext.JumpExt return parameters for the expectation previously defined by the When method

type ExecutionContextMockJumpExtParams

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

ExecutionContextMockJumpExtParams contains parameters of the ExecutionContext.JumpExt

type ExecutionContextMockJumpExtResults

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

ExecutionContextMockJumpExtResults contains results of the ExecutionContext.JumpExt

type ExecutionContextMockJumpParams

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

ExecutionContextMockJumpParams contains parameters of the ExecutionContext.Jump

type ExecutionContextMockJumpResults

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

ExecutionContextMockJumpResults contains results of the ExecutionContext.Jump

type ExecutionContextMockLogAsyncExpectation

type ExecutionContextMockLogAsyncExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockLogAsyncExpectation specifies expectation struct of the ExecutionContext.LogAsync

type ExecutionContextMockLogAsyncResults

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

ExecutionContextMockLogAsyncResults contains results of the ExecutionContext.LogAsync

type ExecutionContextMockLogExpectation

type ExecutionContextMockLogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockLogExpectation specifies expectation struct of the ExecutionContext.Log

type ExecutionContextMockLogResults

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

ExecutionContextMockLogResults contains results of the ExecutionContext.Log

type ExecutionContextMockNewBargeInExpectation

type ExecutionContextMockNewBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockNewBargeInExpectation specifies expectation struct of the ExecutionContext.NewBargeIn

type ExecutionContextMockNewBargeInResults

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

ExecutionContextMockNewBargeInResults contains results of the ExecutionContext.NewBargeIn

type ExecutionContextMockNewBargeInThisStepOnlyExpectation

type ExecutionContextMockNewBargeInThisStepOnlyExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockNewBargeInThisStepOnlyExpectation specifies expectation struct of the ExecutionContext.NewBargeInThisStepOnly

type ExecutionContextMockNewBargeInThisStepOnlyResults

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

ExecutionContextMockNewBargeInThisStepOnlyResults contains results of the ExecutionContext.NewBargeInThisStepOnly

type ExecutionContextMockNewBargeInWithParamExpectation

type ExecutionContextMockNewBargeInWithParamExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockNewBargeInWithParamExpectation specifies expectation struct of the ExecutionContext.NewBargeInWithParam

func (*ExecutionContextMockNewBargeInWithParamExpectation) Then

Then sets up ExecutionContext.NewBargeInWithParam return parameters for the expectation previously defined by the When method

type ExecutionContextMockNewBargeInWithParamParams

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

ExecutionContextMockNewBargeInWithParamParams contains parameters of the ExecutionContext.NewBargeInWithParam

type ExecutionContextMockNewBargeInWithParamResults

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

ExecutionContextMockNewBargeInWithParamResults contains results of the ExecutionContext.NewBargeInWithParam

type ExecutionContextMockNewChildExpectation

type ExecutionContextMockNewChildExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockNewChildExpectation specifies expectation struct of the ExecutionContext.NewChild

func (*ExecutionContextMockNewChildExpectation) Then

Then sets up ExecutionContext.NewChild return parameters for the expectation previously defined by the When method

type ExecutionContextMockNewChildExtExpectation

type ExecutionContextMockNewChildExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockNewChildExtExpectation specifies expectation struct of the ExecutionContext.NewChildExt

func (*ExecutionContextMockNewChildExtExpectation) Then

Then sets up ExecutionContext.NewChildExt return parameters for the expectation previously defined by the When method

type ExecutionContextMockNewChildExtParams

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

ExecutionContextMockNewChildExtParams contains parameters of the ExecutionContext.NewChildExt

type ExecutionContextMockNewChildExtResults

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

ExecutionContextMockNewChildExtResults contains results of the ExecutionContext.NewChildExt

type ExecutionContextMockNewChildParams

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

ExecutionContextMockNewChildParams contains parameters of the ExecutionContext.NewChild

type ExecutionContextMockNewChildResults

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

ExecutionContextMockNewChildResults contains results of the ExecutionContext.NewChild

type ExecutionContextMockOverrideDynamicBoostExpectation

type ExecutionContextMockOverrideDynamicBoostExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockOverrideDynamicBoostExpectation specifies expectation struct of the ExecutionContext.OverrideDynamicBoost

type ExecutionContextMockOverrideDynamicBoostParams

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

ExecutionContextMockOverrideDynamicBoostParams contains parameters of the ExecutionContext.OverrideDynamicBoost

type ExecutionContextMockParentLinkExpectation

type ExecutionContextMockParentLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockParentLinkExpectation specifies expectation struct of the ExecutionContext.ParentLink

type ExecutionContextMockParentLinkResults

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

ExecutionContextMockParentLinkResults contains results of the ExecutionContext.ParentLink

type ExecutionContextMockPollExpectation

type ExecutionContextMockPollExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockPollExpectation specifies expectation struct of the ExecutionContext.Poll

type ExecutionContextMockPollResults

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

ExecutionContextMockPollResults contains results of the ExecutionContext.Poll

type ExecutionContextMockPublishExpectation

type ExecutionContextMockPublishExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockPublishExpectation specifies expectation struct of the ExecutionContext.Publish

func (*ExecutionContextMockPublishExpectation) Then

Then sets up ExecutionContext.Publish return parameters for the expectation previously defined by the When method

type ExecutionContextMockPublishGlobalAliasAndBargeInExpectation

type ExecutionContextMockPublishGlobalAliasAndBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockPublishGlobalAliasAndBargeInExpectation specifies expectation struct of the ExecutionContext.PublishGlobalAliasAndBargeIn

func (*ExecutionContextMockPublishGlobalAliasAndBargeInExpectation) Then

Then sets up ExecutionContext.PublishGlobalAliasAndBargeIn return parameters for the expectation previously defined by the When method

type ExecutionContextMockPublishGlobalAliasAndBargeInParams

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

ExecutionContextMockPublishGlobalAliasAndBargeInParams contains parameters of the ExecutionContext.PublishGlobalAliasAndBargeIn

type ExecutionContextMockPublishGlobalAliasAndBargeInResults

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

ExecutionContextMockPublishGlobalAliasAndBargeInResults contains results of the ExecutionContext.PublishGlobalAliasAndBargeIn

type ExecutionContextMockPublishGlobalAliasExpectation

type ExecutionContextMockPublishGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockPublishGlobalAliasExpectation specifies expectation struct of the ExecutionContext.PublishGlobalAlias

func (*ExecutionContextMockPublishGlobalAliasExpectation) Then

Then sets up ExecutionContext.PublishGlobalAlias return parameters for the expectation previously defined by the When method

type ExecutionContextMockPublishGlobalAliasParams

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

ExecutionContextMockPublishGlobalAliasParams contains parameters of the ExecutionContext.PublishGlobalAlias

type ExecutionContextMockPublishGlobalAliasResults

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

ExecutionContextMockPublishGlobalAliasResults contains results of the ExecutionContext.PublishGlobalAlias

type ExecutionContextMockPublishParams

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

ExecutionContextMockPublishParams contains parameters of the ExecutionContext.Publish

type ExecutionContextMockPublishReplacementExpectation

type ExecutionContextMockPublishReplacementExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockPublishReplacementExpectation specifies expectation struct of the ExecutionContext.PublishReplacement

func (*ExecutionContextMockPublishReplacementExpectation) Then

Then sets up ExecutionContext.PublishReplacement return parameters for the expectation previously defined by the When method

type ExecutionContextMockPublishReplacementParams

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

ExecutionContextMockPublishReplacementParams contains parameters of the ExecutionContext.PublishReplacement

type ExecutionContextMockPublishReplacementResults

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

ExecutionContextMockPublishReplacementResults contains results of the ExecutionContext.PublishReplacement

type ExecutionContextMockPublishResults

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

ExecutionContextMockPublishResults contains results of the ExecutionContext.Publish

type ExecutionContextMockReleaseAllExpectation

type ExecutionContextMockReleaseAllExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockReleaseAllExpectation specifies expectation struct of the ExecutionContext.ReleaseAll

type ExecutionContextMockReleaseAllResults

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

ExecutionContextMockReleaseAllResults contains results of the ExecutionContext.ReleaseAll

type ExecutionContextMockReleaseExpectation

type ExecutionContextMockReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockReleaseExpectation specifies expectation struct of the ExecutionContext.Release

func (*ExecutionContextMockReleaseExpectation) Then

Then sets up ExecutionContext.Release return parameters for the expectation previously defined by the When method

type ExecutionContextMockReleaseParams

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

ExecutionContextMockReleaseParams contains parameters of the ExecutionContext.Release

type ExecutionContextMockReleaseResults

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

ExecutionContextMockReleaseResults contains results of the ExecutionContext.Release

type ExecutionContextMockRepeatExpectation

type ExecutionContextMockRepeatExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockRepeatExpectation specifies expectation struct of the ExecutionContext.Repeat

func (*ExecutionContextMockRepeatExpectation) Then

Then sets up ExecutionContext.Repeat return parameters for the expectation previously defined by the When method

type ExecutionContextMockRepeatParams

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

ExecutionContextMockRepeatParams contains parameters of the ExecutionContext.Repeat

type ExecutionContextMockRepeatResults

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

ExecutionContextMockRepeatResults contains results of the ExecutionContext.Repeat

type ExecutionContextMockReplaceExpectation

type ExecutionContextMockReplaceExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockReplaceExpectation specifies expectation struct of the ExecutionContext.Replace

func (*ExecutionContextMockReplaceExpectation) Then

Then sets up ExecutionContext.Replace return parameters for the expectation previously defined by the When method

type ExecutionContextMockReplaceExtExpectation

type ExecutionContextMockReplaceExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockReplaceExtExpectation specifies expectation struct of the ExecutionContext.ReplaceExt

func (*ExecutionContextMockReplaceExtExpectation) Then

Then sets up ExecutionContext.ReplaceExt return parameters for the expectation previously defined by the When method

type ExecutionContextMockReplaceExtParams

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

ExecutionContextMockReplaceExtParams contains parameters of the ExecutionContext.ReplaceExt

type ExecutionContextMockReplaceExtResults

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

ExecutionContextMockReplaceExtResults contains results of the ExecutionContext.ReplaceExt

type ExecutionContextMockReplaceParams

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

ExecutionContextMockReplaceParams contains parameters of the ExecutionContext.Replace

type ExecutionContextMockReplaceResults

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

ExecutionContextMockReplaceResults contains results of the ExecutionContext.Replace

type ExecutionContextMockReplaceWithExpectation

type ExecutionContextMockReplaceWithExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockReplaceWithExpectation specifies expectation struct of the ExecutionContext.ReplaceWith

func (*ExecutionContextMockReplaceWithExpectation) Then

Then sets up ExecutionContext.ReplaceWith return parameters for the expectation previously defined by the When method

type ExecutionContextMockReplaceWithParams

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

ExecutionContextMockReplaceWithParams contains parameters of the ExecutionContext.ReplaceWith

type ExecutionContextMockReplaceWithResults

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

ExecutionContextMockReplaceWithResults contains results of the ExecutionContext.ReplaceWith

type ExecutionContextMockRestoreStepExpectation

type ExecutionContextMockRestoreStepExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockRestoreStepExpectation specifies expectation struct of the ExecutionContext.RestoreStep

func (*ExecutionContextMockRestoreStepExpectation) Then

Then sets up ExecutionContext.RestoreStep return parameters for the expectation previously defined by the When method

type ExecutionContextMockRestoreStepParams

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

ExecutionContextMockRestoreStepParams contains parameters of the ExecutionContext.RestoreStep

type ExecutionContextMockRestoreStepResults

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

ExecutionContextMockRestoreStepResults contains results of the ExecutionContext.RestoreStep

type ExecutionContextMockSetDefaultErrorHandlerExpectation

type ExecutionContextMockSetDefaultErrorHandlerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockSetDefaultErrorHandlerExpectation specifies expectation struct of the ExecutionContext.SetDefaultErrorHandler

type ExecutionContextMockSetDefaultErrorHandlerParams

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

ExecutionContextMockSetDefaultErrorHandlerParams contains parameters of the ExecutionContext.SetDefaultErrorHandler

type ExecutionContextMockSetDefaultFlagsExpectation

type ExecutionContextMockSetDefaultFlagsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockSetDefaultFlagsExpectation specifies expectation struct of the ExecutionContext.SetDefaultFlags

type ExecutionContextMockSetDefaultFlagsParams

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

ExecutionContextMockSetDefaultFlagsParams contains parameters of the ExecutionContext.SetDefaultFlags

type ExecutionContextMockSetDefaultMigrationExpectation

type ExecutionContextMockSetDefaultMigrationExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockSetDefaultMigrationExpectation specifies expectation struct of the ExecutionContext.SetDefaultMigration

type ExecutionContextMockSetDefaultMigrationParams

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

ExecutionContextMockSetDefaultMigrationParams contains parameters of the ExecutionContext.SetDefaultMigration

type ExecutionContextMockSetFinalizerExpectation

type ExecutionContextMockSetFinalizerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockSetFinalizerExpectation specifies expectation struct of the ExecutionContext.SetFinalizer

type ExecutionContextMockSetFinalizerParams

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

ExecutionContextMockSetFinalizerParams contains parameters of the ExecutionContext.SetFinalizer

type ExecutionContextMockSetLogTracingExpectation

type ExecutionContextMockSetLogTracingExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockSetLogTracingExpectation specifies expectation struct of the ExecutionContext.SetLogTracing

type ExecutionContextMockSetLogTracingParams

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

ExecutionContextMockSetLogTracingParams contains parameters of the ExecutionContext.SetLogTracing

type ExecutionContextMockSetTerminationResultExpectation

type ExecutionContextMockSetTerminationResultExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockSetTerminationResultExpectation specifies expectation struct of the ExecutionContext.SetTerminationResult

type ExecutionContextMockSetTerminationResultParams

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

ExecutionContextMockSetTerminationResultParams contains parameters of the ExecutionContext.SetTerminationResult

type ExecutionContextMockShareExpectation

type ExecutionContextMockShareExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockShareExpectation specifies expectation struct of the ExecutionContext.Share

func (*ExecutionContextMockShareExpectation) Then

Then sets up ExecutionContext.Share return parameters for the expectation previously defined by the When method

type ExecutionContextMockShareParams

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

ExecutionContextMockShareParams contains parameters of the ExecutionContext.Share

type ExecutionContextMockShareResults

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

ExecutionContextMockShareResults contains results of the ExecutionContext.Share

type ExecutionContextMockSleepExpectation

type ExecutionContextMockSleepExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockSleepExpectation specifies expectation struct of the ExecutionContext.Sleep

type ExecutionContextMockSleepResults

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

ExecutionContextMockSleepResults contains results of the ExecutionContext.Sleep

type ExecutionContextMockSlotLinkExpectation

type ExecutionContextMockSlotLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockSlotLinkExpectation specifies expectation struct of the ExecutionContext.SlotLink

type ExecutionContextMockSlotLinkResults

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

ExecutionContextMockSlotLinkResults contains results of the ExecutionContext.SlotLink

type ExecutionContextMockStepLinkExpectation

type ExecutionContextMockStepLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockStepLinkExpectation specifies expectation struct of the ExecutionContext.StepLink

type ExecutionContextMockStepLinkResults

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

ExecutionContextMockStepLinkResults contains results of the ExecutionContext.StepLink

type ExecutionContextMockStopExpectation

type ExecutionContextMockStopExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockStopExpectation specifies expectation struct of the ExecutionContext.Stop

type ExecutionContextMockStopResults

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

ExecutionContextMockStopResults contains results of the ExecutionContext.Stop

type ExecutionContextMockUnpublishAllExpectation

type ExecutionContextMockUnpublishAllExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockUnpublishAllExpectation specifies expectation struct of the ExecutionContext.UnpublishAll

type ExecutionContextMockUnpublishExpectation

type ExecutionContextMockUnpublishExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockUnpublishExpectation specifies expectation struct of the ExecutionContext.Unpublish

func (*ExecutionContextMockUnpublishExpectation) Then

Then sets up ExecutionContext.Unpublish return parameters for the expectation previously defined by the When method

type ExecutionContextMockUnpublishGlobalAliasExpectation

type ExecutionContextMockUnpublishGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockUnpublishGlobalAliasExpectation specifies expectation struct of the ExecutionContext.UnpublishGlobalAlias

func (*ExecutionContextMockUnpublishGlobalAliasExpectation) Then

Then sets up ExecutionContext.UnpublishGlobalAlias return parameters for the expectation previously defined by the When method

type ExecutionContextMockUnpublishGlobalAliasParams

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

ExecutionContextMockUnpublishGlobalAliasParams contains parameters of the ExecutionContext.UnpublishGlobalAlias

type ExecutionContextMockUnpublishGlobalAliasResults

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

ExecutionContextMockUnpublishGlobalAliasResults contains results of the ExecutionContext.UnpublishGlobalAlias

type ExecutionContextMockUnpublishParams

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

ExecutionContextMockUnpublishParams contains parameters of the ExecutionContext.Unpublish

type ExecutionContextMockUnpublishResults

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

ExecutionContextMockUnpublishResults contains results of the ExecutionContext.Unpublish

type ExecutionContextMockUnshareExpectation

type ExecutionContextMockUnshareExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockUnshareExpectation specifies expectation struct of the ExecutionContext.Unshare

func (*ExecutionContextMockUnshareExpectation) Then

Then sets up ExecutionContext.Unshare return parameters for the expectation previously defined by the When method

type ExecutionContextMockUnshareParams

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

ExecutionContextMockUnshareParams contains parameters of the ExecutionContext.Unshare

type ExecutionContextMockUnshareResults

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

ExecutionContextMockUnshareResults contains results of the ExecutionContext.Unshare

type ExecutionContextMockUpdateDefaultStepLoggerExpectation

type ExecutionContextMockUpdateDefaultStepLoggerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockUpdateDefaultStepLoggerExpectation specifies expectation struct of the ExecutionContext.UpdateDefaultStepLogger

type ExecutionContextMockUpdateDefaultStepLoggerParams

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

ExecutionContextMockUpdateDefaultStepLoggerParams contains parameters of the ExecutionContext.UpdateDefaultStepLogger

type ExecutionContextMockUseSharedExpectation

type ExecutionContextMockUseSharedExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockUseSharedExpectation specifies expectation struct of the ExecutionContext.UseShared

func (*ExecutionContextMockUseSharedExpectation) Then

Then sets up ExecutionContext.UseShared return parameters for the expectation previously defined by the When method

type ExecutionContextMockUseSharedParams

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

ExecutionContextMockUseSharedParams contains parameters of the ExecutionContext.UseShared

type ExecutionContextMockUseSharedResults

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

ExecutionContextMockUseSharedResults contains results of the ExecutionContext.UseShared

type ExecutionContextMockWaitAnyExpectation

type ExecutionContextMockWaitAnyExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockWaitAnyExpectation specifies expectation struct of the ExecutionContext.WaitAny

type ExecutionContextMockWaitAnyResults

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

ExecutionContextMockWaitAnyResults contains results of the ExecutionContext.WaitAny

type ExecutionContextMockWaitAnyUntilExpectation

type ExecutionContextMockWaitAnyUntilExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockWaitAnyUntilExpectation specifies expectation struct of the ExecutionContext.WaitAnyUntil

func (*ExecutionContextMockWaitAnyUntilExpectation) Then

Then sets up ExecutionContext.WaitAnyUntil return parameters for the expectation previously defined by the When method

type ExecutionContextMockWaitAnyUntilParams

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

ExecutionContextMockWaitAnyUntilParams contains parameters of the ExecutionContext.WaitAnyUntil

type ExecutionContextMockWaitAnyUntilResults

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

ExecutionContextMockWaitAnyUntilResults contains results of the ExecutionContext.WaitAnyUntil

type ExecutionContextMockWaitSharedExpectation

type ExecutionContextMockWaitSharedExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockWaitSharedExpectation specifies expectation struct of the ExecutionContext.WaitShared

func (*ExecutionContextMockWaitSharedExpectation) Then

Then sets up ExecutionContext.WaitShared return parameters for the expectation previously defined by the When method

type ExecutionContextMockWaitSharedParams

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

ExecutionContextMockWaitSharedParams contains parameters of the ExecutionContext.WaitShared

type ExecutionContextMockWaitSharedResults

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

ExecutionContextMockWaitSharedResults contains results of the ExecutionContext.WaitShared

type ExecutionContextMockYieldExpectation

type ExecutionContextMockYieldExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ExecutionContextMockYieldExpectation specifies expectation struct of the ExecutionContext.Yield

type ExecutionContextMockYieldResults

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

ExecutionContextMockYieldResults contains results of the ExecutionContext.Yield

type FailureContext

type FailureContext interface {
	FinalizationContext

	// UnsafeAffectedStep is a step the slot is at. Returns (_, false) when the step belongs to a subroutine, not to this SM.
	// ATTENTION! A subroutine's step should only be used for diagnostic purpose.
	UnsafeAffectedStep() (SlotStep, bool)

	// IsPanic is false when the error was initiated by ctx.Error(). When true, then GetError() should be SlotPanicError
	IsPanic() bool

	// GetArea provides information about area type where the error/panic has appeared
	GetArea() SlotPanicArea

	// CanRecover is true when this error can be recovered by SetAction(ErrorHandlerRecover).
	// A panic inside async call / callback can be recovered.
	CanRecover() bool

	// SetAction chooses an action to be applied.
	// Recovery actions will be ignored when CanRecover() is false.
	SetAction(ErrorHandlerAction)

	// UnsetFinalizer is an equivalent InOrderStepContext.SetFinalizer(nil).
	UnsetFinalizer()
}

type FinalizationContext

type FinalizationContext interface {
	LimitedExecutionContext

	// GetTerminationResult returns a last value set by SetTerminationResult()
	GetTerminationResult() interface{}

	// SetTerminationResult sets a value to be passed to TerminationHandlerFunc.
	SetTerminationResult(interface{})

	// GetError returns an error when finalization was caused by an error.
	GetError() error
}

type FinalizeFunc

type FinalizeFunc func(ctx FinalizationContext)

type FixedSlotWorker

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

func NewFixedSlotWorker

func NewFixedSlotWorker(worker SlotWorkerSupport) FixedSlotWorker

func (FixedSlotWorker) CanLoopOrHasSignal

func (v FixedSlotWorker) CanLoopOrHasSignal(loopCount int) (canLoop, hasSignal bool)

func (FixedSlotWorker) GetSignalMark

func (v FixedSlotWorker) GetSignalMark() *synckit.SignalVersion

func (FixedSlotWorker) HasSignal

func (v FixedSlotWorker) HasSignal() bool

func (FixedSlotWorker) IsDetached

func (v FixedSlotWorker) IsDetached() bool

func (FixedSlotWorker) IsZero

func (v FixedSlotWorker) IsZero() bool

func (FixedSlotWorker) OuterCall

func (v FixedSlotWorker) OuterCall(*SlotMachine, NonDetachableFunc) (wasExecuted bool)

type InOrderStepContext

type InOrderStepContext interface {
	SharedStateContext
	SynchronizationContext

	// SetDefaultMigration sets a handler for migrations. Is applied when current SlotStep has no migration handler.
	// MUST be fast as it blocks whole SlotMachine and can't be detached.
	SetDefaultMigration(MigrateFunc)
	// SetDefaultErrorHandler sets a handler for errors and panics. Is applied when current SlotStep has no error handler.
	// MUST be fast as it blocks whole SlotMachine and can't be detached.
	SetDefaultErrorHandler(ErrorHandlerFunc)
	// SetDefaultFlags sets default flags that are merged when SlotStep is set.
	SetDefaultFlags(StepFlags)
	// SetTerminationResult sets a default value to be passed to TerminationHandlerFunc when the slot stops.
	SetTerminationResult(interface{})
	// GetTerminationResult returns a value from the last SetDefaultTerminationResult().
	GetTerminationResult() interface{}

	// SetFinalizer sets a finalization handler. It will be applied on regular stop or on errors, but it won't be called on SlotMachine stop.
	// NB! ErrorHandler is not applied to FinalizeFunc. FinalizeFunc is applied after ErrorHandler.
	SetFinalizer(FinalizeFunc)

	// OverrideDynamicBoost sets boost mark that provides higher priority on scheduling and sync queues. Overrides automatic boost.
	OverrideDynamicBoost(bool)

	// Log returns a slot logger for this context. It is only valid while this context is valid.
	Log() Logger
	// SetLogTracing sets tracing mode for the slot. Actual impact depends on implementation of a logger.
	SetLogTracing(bool)
	// UpdateDefaultStepLogger overrides default step logger. Current logger is provided as argument. Update func can return nil.
	UpdateDefaultStepLogger(StepLoggerUpdateFunc)

	// Jump creates an update to go to the next step. Flags, migrate and error handlers are provided by SetDefaultXXX()
	Jump(StateFunc) StateUpdate
	// JumpExt creates an update to the next step with flags, migrate and error handlers.
	// Flags are merged with SetDefaultFlags() unless StepResetAllFlags is included.
	// Transition must not be nil, other handlers will use SetDefaultXXX() when nil
	JumpExt(SlotStep) StateUpdate
	// RestoreStep is similar to JumpExt, but also can apply sleep state when SlotStep was received from AffectedStep.
	RestoreStep(SlotStep) StateUpdate

	// Error stops SM by calling an error handler.
	Error(error) StateUpdate
	// Stop creates an update to stop the current SM.
	Stop() StateUpdate

	// NewBargeInWithParam creates a barge-in function that can be used to signal or interrupt SM from outside.
	//
	// Provided NewBargeInWithParam sends an async signal to the SM and will be ignored when SM has stopped.
	// When the signal is received by SM the BargeInApplyFunc is invoked. BargeInApplyFunc is safe to access SM.
	// NewBargeInWithParam returns false when SM was stopped at the moment of the call.
	NewBargeInWithParam(BargeInApplyFunc) BargeInWithParam

	// NewBargeIn provides a builder for a simple barge-in.
	NewBargeIn() BargeInBuilder
}

A context parent for all regular step contexts

type InitFunc

type InitFunc func(ctx InitializationContext) StateUpdate

type InitializationContext

type InitializationContext interface {
	InOrderStepContext

	CallBargeInWithParam(b BargeInWithParam, param interface{}) bool
	CallBargeIn(b BargeIn) bool
}

type InitializationContextMock

type InitializationContextMock struct {
	AcquireMock mInitializationContextMockAcquire

	AcquireAndReleaseMock mInitializationContextMockAcquireAndRelease

	AcquireExtMock mInitializationContextMockAcquireExt

	AcquireForThisStepMock mInitializationContextMockAcquireForThisStep

	AcquireForThisStepAndReleaseMock mInitializationContextMockAcquireForThisStepAndRelease

	ApplyAdjustmentMock mInitializationContextMockApplyAdjustment

	CallBargeInMock mInitializationContextMockCallBargeIn

	CallBargeInWithParamMock mInitializationContextMockCallBargeInWithParam

	CheckMock mInitializationContextMockCheck

	ErrorMock mInitializationContextMockError

	GetContextMock mInitializationContextMockGetContext

	GetPublishedMock mInitializationContextMockGetPublished

	GetPublishedGlobalAliasMock mInitializationContextMockGetPublishedGlobalAlias

	GetPublishedGlobalAliasAndBargeInMock mInitializationContextMockGetPublishedGlobalAliasAndBargeIn

	GetPublishedLinkMock mInitializationContextMockGetPublishedLink

	GetTerminationResultMock mInitializationContextMockGetTerminationResult

	JumpMock mInitializationContextMockJump

	JumpExtMock mInitializationContextMockJumpExt

	LogMock mInitializationContextMockLog

	NewBargeInMock mInitializationContextMockNewBargeIn

	NewBargeInWithParamMock mInitializationContextMockNewBargeInWithParam

	OverrideDynamicBoostMock mInitializationContextMockOverrideDynamicBoost

	ParentLinkMock mInitializationContextMockParentLink

	PublishMock mInitializationContextMockPublish

	PublishGlobalAliasMock mInitializationContextMockPublishGlobalAlias

	PublishGlobalAliasAndBargeInMock mInitializationContextMockPublishGlobalAliasAndBargeIn

	PublishReplacementMock mInitializationContextMockPublishReplacement

	ReleaseMock mInitializationContextMockRelease

	ReleaseAllMock mInitializationContextMockReleaseAll

	RestoreStepMock mInitializationContextMockRestoreStep

	SetDefaultErrorHandlerMock mInitializationContextMockSetDefaultErrorHandler

	SetDefaultFlagsMock mInitializationContextMockSetDefaultFlags

	SetDefaultMigrationMock mInitializationContextMockSetDefaultMigration

	SetFinalizerMock mInitializationContextMockSetFinalizer

	SetLogTracingMock mInitializationContextMockSetLogTracing

	SetTerminationResultMock mInitializationContextMockSetTerminationResult

	ShareMock mInitializationContextMockShare

	SlotLinkMock mInitializationContextMockSlotLink

	StopMock mInitializationContextMockStop

	UnpublishMock mInitializationContextMockUnpublish

	UnpublishAllMock mInitializationContextMockUnpublishAll

	UnpublishGlobalAliasMock mInitializationContextMockUnpublishGlobalAlias

	UnshareMock mInitializationContextMockUnshare

	UpdateDefaultStepLoggerMock mInitializationContextMockUpdateDefaultStepLogger
	// contains filtered or unexported fields
}

InitializationContextMock implements InitializationContext

func NewInitializationContextMock

func NewInitializationContextMock(t minimock.Tester) *InitializationContextMock

NewInitializationContextMock returns a mock for InitializationContext

func (*InitializationContextMock) Acquire

func (mmAcquire *InitializationContextMock) Acquire(s1 SyncLink) (b1 BoolDecision)

Acquire implements InitializationContext

func (*InitializationContextMock) AcquireAfterCounter

func (mmAcquire *InitializationContextMock) AcquireAfterCounter() uint64

AcquireAfterCounter returns a count of finished InitializationContextMock.Acquire invocations

func (*InitializationContextMock) AcquireAndRelease

func (mmAcquireAndRelease *InitializationContextMock) AcquireAndRelease(s1 SyncLink) (b1 BoolDecision)

AcquireAndRelease implements InitializationContext

func (*InitializationContextMock) AcquireAndReleaseAfterCounter

func (mmAcquireAndRelease *InitializationContextMock) AcquireAndReleaseAfterCounter() uint64

AcquireAndReleaseAfterCounter returns a count of finished InitializationContextMock.AcquireAndRelease invocations

func (*InitializationContextMock) AcquireAndReleaseBeforeCounter

func (mmAcquireAndRelease *InitializationContextMock) AcquireAndReleaseBeforeCounter() uint64

AcquireAndReleaseBeforeCounter returns a count of InitializationContextMock.AcquireAndRelease invocations

func (*InitializationContextMock) AcquireBeforeCounter

func (mmAcquire *InitializationContextMock) AcquireBeforeCounter() uint64

AcquireBeforeCounter returns a count of InitializationContextMock.Acquire invocations

func (*InitializationContextMock) AcquireExt

func (mmAcquireExt *InitializationContextMock) AcquireExt(s1 SyncLink, a1 AcquireFlags) (b1 BoolDecision)

AcquireExt implements InitializationContext

func (*InitializationContextMock) AcquireExtAfterCounter

func (mmAcquireExt *InitializationContextMock) AcquireExtAfterCounter() uint64

AcquireExtAfterCounter returns a count of finished InitializationContextMock.AcquireExt invocations

func (*InitializationContextMock) AcquireExtBeforeCounter

func (mmAcquireExt *InitializationContextMock) AcquireExtBeforeCounter() uint64

AcquireExtBeforeCounter returns a count of InitializationContextMock.AcquireExt invocations

func (*InitializationContextMock) AcquireForThisStep

func (mmAcquireForThisStep *InitializationContextMock) AcquireForThisStep(s1 SyncLink) (b1 BoolDecision)

AcquireForThisStep implements InitializationContext

func (*InitializationContextMock) AcquireForThisStepAfterCounter

func (mmAcquireForThisStep *InitializationContextMock) AcquireForThisStepAfterCounter() uint64

AcquireForThisStepAfterCounter returns a count of finished InitializationContextMock.AcquireForThisStep invocations

func (*InitializationContextMock) AcquireForThisStepAndRelease

func (mmAcquireForThisStepAndRelease *InitializationContextMock) AcquireForThisStepAndRelease(s1 SyncLink) (b1 BoolDecision)

AcquireForThisStepAndRelease implements InitializationContext

func (*InitializationContextMock) AcquireForThisStepAndReleaseAfterCounter

func (mmAcquireForThisStepAndRelease *InitializationContextMock) AcquireForThisStepAndReleaseAfterCounter() uint64

AcquireForThisStepAndReleaseAfterCounter returns a count of finished InitializationContextMock.AcquireForThisStepAndRelease invocations

func (*InitializationContextMock) AcquireForThisStepAndReleaseBeforeCounter

func (mmAcquireForThisStepAndRelease *InitializationContextMock) AcquireForThisStepAndReleaseBeforeCounter() uint64

AcquireForThisStepAndReleaseBeforeCounter returns a count of InitializationContextMock.AcquireForThisStepAndRelease invocations

func (*InitializationContextMock) AcquireForThisStepBeforeCounter

func (mmAcquireForThisStep *InitializationContextMock) AcquireForThisStepBeforeCounter() uint64

AcquireForThisStepBeforeCounter returns a count of InitializationContextMock.AcquireForThisStep invocations

func (*InitializationContextMock) ApplyAdjustment

func (mmApplyAdjustment *InitializationContextMock) ApplyAdjustment(s1 SyncAdjustment) (b1 bool)

ApplyAdjustment implements InitializationContext

func (*InitializationContextMock) ApplyAdjustmentAfterCounter

func (mmApplyAdjustment *InitializationContextMock) ApplyAdjustmentAfterCounter() uint64

ApplyAdjustmentAfterCounter returns a count of finished InitializationContextMock.ApplyAdjustment invocations

func (*InitializationContextMock) ApplyAdjustmentBeforeCounter

func (mmApplyAdjustment *InitializationContextMock) ApplyAdjustmentBeforeCounter() uint64

ApplyAdjustmentBeforeCounter returns a count of InitializationContextMock.ApplyAdjustment invocations

func (*InitializationContextMock) CallBargeIn

func (mmCallBargeIn *InitializationContextMock) CallBargeIn(b BargeIn) (b1 bool)

CallBargeIn implements InitializationContext

func (*InitializationContextMock) CallBargeInAfterCounter

func (mmCallBargeIn *InitializationContextMock) CallBargeInAfterCounter() uint64

CallBargeInAfterCounter returns a count of finished InitializationContextMock.CallBargeIn invocations

func (*InitializationContextMock) CallBargeInBeforeCounter

func (mmCallBargeIn *InitializationContextMock) CallBargeInBeforeCounter() uint64

CallBargeInBeforeCounter returns a count of InitializationContextMock.CallBargeIn invocations

func (*InitializationContextMock) CallBargeInWithParam

func (mmCallBargeInWithParam *InitializationContextMock) CallBargeInWithParam(b BargeInWithParam, param interface{}) (b1 bool)

CallBargeInWithParam implements InitializationContext

func (*InitializationContextMock) CallBargeInWithParamAfterCounter

func (mmCallBargeInWithParam *InitializationContextMock) CallBargeInWithParamAfterCounter() uint64

CallBargeInWithParamAfterCounter returns a count of finished InitializationContextMock.CallBargeInWithParam invocations

func (*InitializationContextMock) CallBargeInWithParamBeforeCounter

func (mmCallBargeInWithParam *InitializationContextMock) CallBargeInWithParamBeforeCounter() uint64

CallBargeInWithParamBeforeCounter returns a count of InitializationContextMock.CallBargeInWithParam invocations

func (*InitializationContextMock) Check

func (mmCheck *InitializationContextMock) Check(s1 SyncLink) (b1 BoolDecision)

Check implements InitializationContext

func (*InitializationContextMock) CheckAfterCounter

func (mmCheck *InitializationContextMock) CheckAfterCounter() uint64

CheckAfterCounter returns a count of finished InitializationContextMock.Check invocations

func (*InitializationContextMock) CheckBeforeCounter

func (mmCheck *InitializationContextMock) CheckBeforeCounter() uint64

CheckBeforeCounter returns a count of InitializationContextMock.Check invocations

func (*InitializationContextMock) Error

func (mmError *InitializationContextMock) Error(e1 error) (s1 StateUpdate)

Error implements InitializationContext

func (*InitializationContextMock) ErrorAfterCounter

func (mmError *InitializationContextMock) ErrorAfterCounter() uint64

ErrorAfterCounter returns a count of finished InitializationContextMock.Error invocations

func (*InitializationContextMock) ErrorBeforeCounter

func (mmError *InitializationContextMock) ErrorBeforeCounter() uint64

ErrorBeforeCounter returns a count of InitializationContextMock.Error invocations

func (*InitializationContextMock) GetContext

func (mmGetContext *InitializationContextMock) GetContext() (c1 context.Context)

GetContext implements InitializationContext

func (*InitializationContextMock) GetContextAfterCounter

func (mmGetContext *InitializationContextMock) GetContextAfterCounter() uint64

GetContextAfterCounter returns a count of finished InitializationContextMock.GetContext invocations

func (*InitializationContextMock) GetContextBeforeCounter

func (mmGetContext *InitializationContextMock) GetContextBeforeCounter() uint64

GetContextBeforeCounter returns a count of InitializationContextMock.GetContext invocations

func (*InitializationContextMock) GetPublished

func (mmGetPublished *InitializationContextMock) GetPublished(key interface{}) (p1 interface{})

GetPublished implements InitializationContext

func (*InitializationContextMock) GetPublishedAfterCounter

func (mmGetPublished *InitializationContextMock) GetPublishedAfterCounter() uint64

GetPublishedAfterCounter returns a count of finished InitializationContextMock.GetPublished invocations

func (*InitializationContextMock) GetPublishedBeforeCounter

func (mmGetPublished *InitializationContextMock) GetPublishedBeforeCounter() uint64

GetPublishedBeforeCounter returns a count of InitializationContextMock.GetPublished invocations

func (*InitializationContextMock) GetPublishedGlobalAlias

func (mmGetPublishedGlobalAlias *InitializationContextMock) GetPublishedGlobalAlias(key interface{}) (s1 SlotLink)

GetPublishedGlobalAlias implements InitializationContext

func (*InitializationContextMock) GetPublishedGlobalAliasAfterCounter

func (mmGetPublishedGlobalAlias *InitializationContextMock) GetPublishedGlobalAliasAfterCounter() uint64

GetPublishedGlobalAliasAfterCounter returns a count of finished InitializationContextMock.GetPublishedGlobalAlias invocations

func (*InitializationContextMock) GetPublishedGlobalAliasAndBargeIn

func (mmGetPublishedGlobalAliasAndBargeIn *InitializationContextMock) GetPublishedGlobalAliasAndBargeIn(key interface{}) (s1 SlotLink, b1 BargeInHolder)

GetPublishedGlobalAliasAndBargeIn implements InitializationContext

func (*InitializationContextMock) GetPublishedGlobalAliasAndBargeInAfterCounter

func (mmGetPublishedGlobalAliasAndBargeIn *InitializationContextMock) GetPublishedGlobalAliasAndBargeInAfterCounter() uint64

GetPublishedGlobalAliasAndBargeInAfterCounter returns a count of finished InitializationContextMock.GetPublishedGlobalAliasAndBargeIn invocations

func (*InitializationContextMock) GetPublishedGlobalAliasAndBargeInBeforeCounter

func (mmGetPublishedGlobalAliasAndBargeIn *InitializationContextMock) GetPublishedGlobalAliasAndBargeInBeforeCounter() uint64

GetPublishedGlobalAliasAndBargeInBeforeCounter returns a count of InitializationContextMock.GetPublishedGlobalAliasAndBargeIn invocations

func (*InitializationContextMock) GetPublishedGlobalAliasBeforeCounter

func (mmGetPublishedGlobalAlias *InitializationContextMock) GetPublishedGlobalAliasBeforeCounter() uint64

GetPublishedGlobalAliasBeforeCounter returns a count of InitializationContextMock.GetPublishedGlobalAlias invocations

func (mmGetPublishedLink *InitializationContextMock) GetPublishedLink(key interface{}) (s1 SharedDataLink)

GetPublishedLink implements InitializationContext

func (*InitializationContextMock) GetPublishedLinkAfterCounter

func (mmGetPublishedLink *InitializationContextMock) GetPublishedLinkAfterCounter() uint64

GetPublishedLinkAfterCounter returns a count of finished InitializationContextMock.GetPublishedLink invocations

func (*InitializationContextMock) GetPublishedLinkBeforeCounter

func (mmGetPublishedLink *InitializationContextMock) GetPublishedLinkBeforeCounter() uint64

GetPublishedLinkBeforeCounter returns a count of InitializationContextMock.GetPublishedLink invocations

func (*InitializationContextMock) GetTerminationResult

func (mmGetTerminationResult *InitializationContextMock) GetTerminationResult() (p1 interface{})

GetTerminationResult implements InitializationContext

func (*InitializationContextMock) GetTerminationResultAfterCounter

func (mmGetTerminationResult *InitializationContextMock) GetTerminationResultAfterCounter() uint64

GetTerminationResultAfterCounter returns a count of finished InitializationContextMock.GetTerminationResult invocations

func (*InitializationContextMock) GetTerminationResultBeforeCounter

func (mmGetTerminationResult *InitializationContextMock) GetTerminationResultBeforeCounter() uint64

GetTerminationResultBeforeCounter returns a count of InitializationContextMock.GetTerminationResult invocations

func (*InitializationContextMock) Jump

func (mmJump *InitializationContextMock) Jump(s1 StateFunc) (s2 StateUpdate)

Jump implements InitializationContext

func (*InitializationContextMock) JumpAfterCounter

func (mmJump *InitializationContextMock) JumpAfterCounter() uint64

JumpAfterCounter returns a count of finished InitializationContextMock.Jump invocations

func (*InitializationContextMock) JumpBeforeCounter

func (mmJump *InitializationContextMock) JumpBeforeCounter() uint64

JumpBeforeCounter returns a count of InitializationContextMock.Jump invocations

func (*InitializationContextMock) JumpExt

func (mmJumpExt *InitializationContextMock) JumpExt(s1 SlotStep) (s2 StateUpdate)

JumpExt implements InitializationContext

func (*InitializationContextMock) JumpExtAfterCounter

func (mmJumpExt *InitializationContextMock) JumpExtAfterCounter() uint64

JumpExtAfterCounter returns a count of finished InitializationContextMock.JumpExt invocations

func (*InitializationContextMock) JumpExtBeforeCounter

func (mmJumpExt *InitializationContextMock) JumpExtBeforeCounter() uint64

JumpExtBeforeCounter returns a count of InitializationContextMock.JumpExt invocations

func (*InitializationContextMock) Log

func (mmLog *InitializationContextMock) Log() (l1 Logger)

Log implements InitializationContext

func (*InitializationContextMock) LogAfterCounter

func (mmLog *InitializationContextMock) LogAfterCounter() uint64

LogAfterCounter returns a count of finished InitializationContextMock.Log invocations

func (*InitializationContextMock) LogBeforeCounter

func (mmLog *InitializationContextMock) LogBeforeCounter() uint64

LogBeforeCounter returns a count of InitializationContextMock.Log invocations

func (*InitializationContextMock) MinimockAcquireAndReleaseDone

func (m *InitializationContextMock) MinimockAcquireAndReleaseDone() bool

MinimockAcquireAndReleaseDone returns true if the count of the AcquireAndRelease invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockAcquireAndReleaseInspect

func (m *InitializationContextMock) MinimockAcquireAndReleaseInspect()

MinimockAcquireAndReleaseInspect logs each unmet expectation

func (*InitializationContextMock) MinimockAcquireDone

func (m *InitializationContextMock) MinimockAcquireDone() bool

MinimockAcquireDone returns true if the count of the Acquire invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockAcquireExtDone

func (m *InitializationContextMock) MinimockAcquireExtDone() bool

MinimockAcquireExtDone returns true if the count of the AcquireExt invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockAcquireExtInspect

func (m *InitializationContextMock) MinimockAcquireExtInspect()

MinimockAcquireExtInspect logs each unmet expectation

func (*InitializationContextMock) MinimockAcquireForThisStepAndReleaseDone

func (m *InitializationContextMock) MinimockAcquireForThisStepAndReleaseDone() bool

MinimockAcquireForThisStepAndReleaseDone returns true if the count of the AcquireForThisStepAndRelease invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockAcquireForThisStepAndReleaseInspect

func (m *InitializationContextMock) MinimockAcquireForThisStepAndReleaseInspect()

MinimockAcquireForThisStepAndReleaseInspect logs each unmet expectation

func (*InitializationContextMock) MinimockAcquireForThisStepDone

func (m *InitializationContextMock) MinimockAcquireForThisStepDone() bool

MinimockAcquireForThisStepDone returns true if the count of the AcquireForThisStep invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockAcquireForThisStepInspect

func (m *InitializationContextMock) MinimockAcquireForThisStepInspect()

MinimockAcquireForThisStepInspect logs each unmet expectation

func (*InitializationContextMock) MinimockAcquireInspect

func (m *InitializationContextMock) MinimockAcquireInspect()

MinimockAcquireInspect logs each unmet expectation

func (*InitializationContextMock) MinimockApplyAdjustmentDone

func (m *InitializationContextMock) MinimockApplyAdjustmentDone() bool

MinimockApplyAdjustmentDone returns true if the count of the ApplyAdjustment invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockApplyAdjustmentInspect

func (m *InitializationContextMock) MinimockApplyAdjustmentInspect()

MinimockApplyAdjustmentInspect logs each unmet expectation

func (*InitializationContextMock) MinimockCallBargeInDone

func (m *InitializationContextMock) MinimockCallBargeInDone() bool

MinimockCallBargeInDone returns true if the count of the CallBargeIn invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockCallBargeInInspect

func (m *InitializationContextMock) MinimockCallBargeInInspect()

MinimockCallBargeInInspect logs each unmet expectation

func (*InitializationContextMock) MinimockCallBargeInWithParamDone

func (m *InitializationContextMock) MinimockCallBargeInWithParamDone() bool

MinimockCallBargeInWithParamDone returns true if the count of the CallBargeInWithParam invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockCallBargeInWithParamInspect

func (m *InitializationContextMock) MinimockCallBargeInWithParamInspect()

MinimockCallBargeInWithParamInspect logs each unmet expectation

func (*InitializationContextMock) MinimockCheckDone

func (m *InitializationContextMock) MinimockCheckDone() bool

MinimockCheckDone returns true if the count of the Check invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockCheckInspect

func (m *InitializationContextMock) MinimockCheckInspect()

MinimockCheckInspect logs each unmet expectation

func (*InitializationContextMock) MinimockErrorDone

func (m *InitializationContextMock) MinimockErrorDone() bool

MinimockErrorDone returns true if the count of the Error invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockErrorInspect

func (m *InitializationContextMock) MinimockErrorInspect()

MinimockErrorInspect logs each unmet expectation

func (*InitializationContextMock) MinimockFinish

func (m *InitializationContextMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*InitializationContextMock) MinimockGetContextDone

func (m *InitializationContextMock) MinimockGetContextDone() bool

MinimockGetContextDone returns true if the count of the GetContext invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockGetContextInspect

func (m *InitializationContextMock) MinimockGetContextInspect()

MinimockGetContextInspect logs each unmet expectation

func (*InitializationContextMock) MinimockGetPublishedDone

func (m *InitializationContextMock) MinimockGetPublishedDone() bool

MinimockGetPublishedDone returns true if the count of the GetPublished invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockGetPublishedGlobalAliasAndBargeInDone

func (m *InitializationContextMock) MinimockGetPublishedGlobalAliasAndBargeInDone() bool

MinimockGetPublishedGlobalAliasAndBargeInDone returns true if the count of the GetPublishedGlobalAliasAndBargeIn invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockGetPublishedGlobalAliasAndBargeInInspect

func (m *InitializationContextMock) MinimockGetPublishedGlobalAliasAndBargeInInspect()

MinimockGetPublishedGlobalAliasAndBargeInInspect logs each unmet expectation

func (*InitializationContextMock) MinimockGetPublishedGlobalAliasDone

func (m *InitializationContextMock) MinimockGetPublishedGlobalAliasDone() bool

MinimockGetPublishedGlobalAliasDone returns true if the count of the GetPublishedGlobalAlias invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockGetPublishedGlobalAliasInspect

func (m *InitializationContextMock) MinimockGetPublishedGlobalAliasInspect()

MinimockGetPublishedGlobalAliasInspect logs each unmet expectation

func (*InitializationContextMock) MinimockGetPublishedInspect

func (m *InitializationContextMock) MinimockGetPublishedInspect()

MinimockGetPublishedInspect logs each unmet expectation

func (*InitializationContextMock) MinimockGetPublishedLinkDone

func (m *InitializationContextMock) MinimockGetPublishedLinkDone() bool

MinimockGetPublishedLinkDone returns true if the count of the GetPublishedLink invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockGetPublishedLinkInspect

func (m *InitializationContextMock) MinimockGetPublishedLinkInspect()

MinimockGetPublishedLinkInspect logs each unmet expectation

func (*InitializationContextMock) MinimockGetTerminationResultDone

func (m *InitializationContextMock) MinimockGetTerminationResultDone() bool

MinimockGetTerminationResultDone returns true if the count of the GetTerminationResult invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockGetTerminationResultInspect

func (m *InitializationContextMock) MinimockGetTerminationResultInspect()

MinimockGetTerminationResultInspect logs each unmet expectation

func (*InitializationContextMock) MinimockJumpDone

func (m *InitializationContextMock) MinimockJumpDone() bool

MinimockJumpDone returns true if the count of the Jump invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockJumpExtDone

func (m *InitializationContextMock) MinimockJumpExtDone() bool

MinimockJumpExtDone returns true if the count of the JumpExt invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockJumpExtInspect

func (m *InitializationContextMock) MinimockJumpExtInspect()

MinimockJumpExtInspect logs each unmet expectation

func (*InitializationContextMock) MinimockJumpInspect

func (m *InitializationContextMock) MinimockJumpInspect()

MinimockJumpInspect logs each unmet expectation

func (*InitializationContextMock) MinimockLogDone

func (m *InitializationContextMock) MinimockLogDone() bool

MinimockLogDone returns true if the count of the Log invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockLogInspect

func (m *InitializationContextMock) MinimockLogInspect()

MinimockLogInspect logs each unmet expectation

func (*InitializationContextMock) MinimockNewBargeInDone

func (m *InitializationContextMock) MinimockNewBargeInDone() bool

MinimockNewBargeInDone returns true if the count of the NewBargeIn invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockNewBargeInInspect

func (m *InitializationContextMock) MinimockNewBargeInInspect()

MinimockNewBargeInInspect logs each unmet expectation

func (*InitializationContextMock) MinimockNewBargeInWithParamDone

func (m *InitializationContextMock) MinimockNewBargeInWithParamDone() bool

MinimockNewBargeInWithParamDone returns true if the count of the NewBargeInWithParam invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockNewBargeInWithParamInspect

func (m *InitializationContextMock) MinimockNewBargeInWithParamInspect()

MinimockNewBargeInWithParamInspect logs each unmet expectation

func (*InitializationContextMock) MinimockOverrideDynamicBoostDone

func (m *InitializationContextMock) MinimockOverrideDynamicBoostDone() bool

MinimockOverrideDynamicBoostDone returns true if the count of the OverrideDynamicBoost invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockOverrideDynamicBoostInspect

func (m *InitializationContextMock) MinimockOverrideDynamicBoostInspect()

MinimockOverrideDynamicBoostInspect logs each unmet expectation

func (*InitializationContextMock) MinimockParentLinkDone

func (m *InitializationContextMock) MinimockParentLinkDone() bool

MinimockParentLinkDone returns true if the count of the ParentLink invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockParentLinkInspect

func (m *InitializationContextMock) MinimockParentLinkInspect()

MinimockParentLinkInspect logs each unmet expectation

func (*InitializationContextMock) MinimockPublishDone

func (m *InitializationContextMock) MinimockPublishDone() bool

MinimockPublishDone returns true if the count of the Publish invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockPublishGlobalAliasAndBargeInDone

func (m *InitializationContextMock) MinimockPublishGlobalAliasAndBargeInDone() bool

MinimockPublishGlobalAliasAndBargeInDone returns true if the count of the PublishGlobalAliasAndBargeIn invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockPublishGlobalAliasAndBargeInInspect

func (m *InitializationContextMock) MinimockPublishGlobalAliasAndBargeInInspect()

MinimockPublishGlobalAliasAndBargeInInspect logs each unmet expectation

func (*InitializationContextMock) MinimockPublishGlobalAliasDone

func (m *InitializationContextMock) MinimockPublishGlobalAliasDone() bool

MinimockPublishGlobalAliasDone returns true if the count of the PublishGlobalAlias invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockPublishGlobalAliasInspect

func (m *InitializationContextMock) MinimockPublishGlobalAliasInspect()

MinimockPublishGlobalAliasInspect logs each unmet expectation

func (*InitializationContextMock) MinimockPublishInspect

func (m *InitializationContextMock) MinimockPublishInspect()

MinimockPublishInspect logs each unmet expectation

func (*InitializationContextMock) MinimockPublishReplacementDone

func (m *InitializationContextMock) MinimockPublishReplacementDone() bool

MinimockPublishReplacementDone returns true if the count of the PublishReplacement invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockPublishReplacementInspect

func (m *InitializationContextMock) MinimockPublishReplacementInspect()

MinimockPublishReplacementInspect logs each unmet expectation

func (*InitializationContextMock) MinimockReleaseAllDone

func (m *InitializationContextMock) MinimockReleaseAllDone() bool

MinimockReleaseAllDone returns true if the count of the ReleaseAll invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockReleaseAllInspect

func (m *InitializationContextMock) MinimockReleaseAllInspect()

MinimockReleaseAllInspect logs each unmet expectation

func (*InitializationContextMock) MinimockReleaseDone

func (m *InitializationContextMock) MinimockReleaseDone() bool

MinimockReleaseDone returns true if the count of the Release invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockReleaseInspect

func (m *InitializationContextMock) MinimockReleaseInspect()

MinimockReleaseInspect logs each unmet expectation

func (*InitializationContextMock) MinimockRestoreStepDone

func (m *InitializationContextMock) MinimockRestoreStepDone() bool

MinimockRestoreStepDone returns true if the count of the RestoreStep invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockRestoreStepInspect

func (m *InitializationContextMock) MinimockRestoreStepInspect()

MinimockRestoreStepInspect logs each unmet expectation

func (*InitializationContextMock) MinimockSetDefaultErrorHandlerDone

func (m *InitializationContextMock) MinimockSetDefaultErrorHandlerDone() bool

MinimockSetDefaultErrorHandlerDone returns true if the count of the SetDefaultErrorHandler invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockSetDefaultErrorHandlerInspect

func (m *InitializationContextMock) MinimockSetDefaultErrorHandlerInspect()

MinimockSetDefaultErrorHandlerInspect logs each unmet expectation

func (*InitializationContextMock) MinimockSetDefaultFlagsDone

func (m *InitializationContextMock) MinimockSetDefaultFlagsDone() bool

MinimockSetDefaultFlagsDone returns true if the count of the SetDefaultFlags invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockSetDefaultFlagsInspect

func (m *InitializationContextMock) MinimockSetDefaultFlagsInspect()

MinimockSetDefaultFlagsInspect logs each unmet expectation

func (*InitializationContextMock) MinimockSetDefaultMigrationDone

func (m *InitializationContextMock) MinimockSetDefaultMigrationDone() bool

MinimockSetDefaultMigrationDone returns true if the count of the SetDefaultMigration invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockSetDefaultMigrationInspect

func (m *InitializationContextMock) MinimockSetDefaultMigrationInspect()

MinimockSetDefaultMigrationInspect logs each unmet expectation

func (*InitializationContextMock) MinimockSetFinalizerDone

func (m *InitializationContextMock) MinimockSetFinalizerDone() bool

MinimockSetFinalizerDone returns true if the count of the SetFinalizer invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockSetFinalizerInspect

func (m *InitializationContextMock) MinimockSetFinalizerInspect()

MinimockSetFinalizerInspect logs each unmet expectation

func (*InitializationContextMock) MinimockSetLogTracingDone

func (m *InitializationContextMock) MinimockSetLogTracingDone() bool

MinimockSetLogTracingDone returns true if the count of the SetLogTracing invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockSetLogTracingInspect

func (m *InitializationContextMock) MinimockSetLogTracingInspect()

MinimockSetLogTracingInspect logs each unmet expectation

func (*InitializationContextMock) MinimockSetTerminationResultDone

func (m *InitializationContextMock) MinimockSetTerminationResultDone() bool

MinimockSetTerminationResultDone returns true if the count of the SetTerminationResult invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockSetTerminationResultInspect

func (m *InitializationContextMock) MinimockSetTerminationResultInspect()

MinimockSetTerminationResultInspect logs each unmet expectation

func (*InitializationContextMock) MinimockShareDone

func (m *InitializationContextMock) MinimockShareDone() bool

MinimockShareDone returns true if the count of the Share invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockShareInspect

func (m *InitializationContextMock) MinimockShareInspect()

MinimockShareInspect logs each unmet expectation

func (*InitializationContextMock) MinimockSlotLinkDone

func (m *InitializationContextMock) MinimockSlotLinkDone() bool

MinimockSlotLinkDone returns true if the count of the SlotLink invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockSlotLinkInspect

func (m *InitializationContextMock) MinimockSlotLinkInspect()

MinimockSlotLinkInspect logs each unmet expectation

func (*InitializationContextMock) MinimockStopDone

func (m *InitializationContextMock) MinimockStopDone() bool

MinimockStopDone returns true if the count of the Stop invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockStopInspect

func (m *InitializationContextMock) MinimockStopInspect()

MinimockStopInspect logs each unmet expectation

func (*InitializationContextMock) MinimockUnpublishAllDone

func (m *InitializationContextMock) MinimockUnpublishAllDone() bool

MinimockUnpublishAllDone returns true if the count of the UnpublishAll invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockUnpublishAllInspect

func (m *InitializationContextMock) MinimockUnpublishAllInspect()

MinimockUnpublishAllInspect logs each unmet expectation

func (*InitializationContextMock) MinimockUnpublishDone

func (m *InitializationContextMock) MinimockUnpublishDone() bool

MinimockUnpublishDone returns true if the count of the Unpublish invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockUnpublishGlobalAliasDone

func (m *InitializationContextMock) MinimockUnpublishGlobalAliasDone() bool

MinimockUnpublishGlobalAliasDone returns true if the count of the UnpublishGlobalAlias invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockUnpublishGlobalAliasInspect

func (m *InitializationContextMock) MinimockUnpublishGlobalAliasInspect()

MinimockUnpublishGlobalAliasInspect logs each unmet expectation

func (*InitializationContextMock) MinimockUnpublishInspect

func (m *InitializationContextMock) MinimockUnpublishInspect()

MinimockUnpublishInspect logs each unmet expectation

func (*InitializationContextMock) MinimockUnshareDone

func (m *InitializationContextMock) MinimockUnshareDone() bool

MinimockUnshareDone returns true if the count of the Unshare invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockUnshareInspect

func (m *InitializationContextMock) MinimockUnshareInspect()

MinimockUnshareInspect logs each unmet expectation

func (*InitializationContextMock) MinimockUpdateDefaultStepLoggerDone

func (m *InitializationContextMock) MinimockUpdateDefaultStepLoggerDone() bool

MinimockUpdateDefaultStepLoggerDone returns true if the count of the UpdateDefaultStepLogger invocations corresponds the number of defined expectations

func (*InitializationContextMock) MinimockUpdateDefaultStepLoggerInspect

func (m *InitializationContextMock) MinimockUpdateDefaultStepLoggerInspect()

MinimockUpdateDefaultStepLoggerInspect logs each unmet expectation

func (*InitializationContextMock) MinimockWait

func (m *InitializationContextMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*InitializationContextMock) NewBargeIn

func (mmNewBargeIn *InitializationContextMock) NewBargeIn() (b1 BargeInBuilder)

NewBargeIn implements InitializationContext

func (*InitializationContextMock) NewBargeInAfterCounter

func (mmNewBargeIn *InitializationContextMock) NewBargeInAfterCounter() uint64

NewBargeInAfterCounter returns a count of finished InitializationContextMock.NewBargeIn invocations

func (*InitializationContextMock) NewBargeInBeforeCounter

func (mmNewBargeIn *InitializationContextMock) NewBargeInBeforeCounter() uint64

NewBargeInBeforeCounter returns a count of InitializationContextMock.NewBargeIn invocations

func (*InitializationContextMock) NewBargeInWithParam

func (mmNewBargeInWithParam *InitializationContextMock) NewBargeInWithParam(b1 BargeInApplyFunc) (b2 BargeInWithParam)

NewBargeInWithParam implements InitializationContext

func (*InitializationContextMock) NewBargeInWithParamAfterCounter

func (mmNewBargeInWithParam *InitializationContextMock) NewBargeInWithParamAfterCounter() uint64

NewBargeInWithParamAfterCounter returns a count of finished InitializationContextMock.NewBargeInWithParam invocations

func (*InitializationContextMock) NewBargeInWithParamBeforeCounter

func (mmNewBargeInWithParam *InitializationContextMock) NewBargeInWithParamBeforeCounter() uint64

NewBargeInWithParamBeforeCounter returns a count of InitializationContextMock.NewBargeInWithParam invocations

func (*InitializationContextMock) OverrideDynamicBoost

func (mmOverrideDynamicBoost *InitializationContextMock) OverrideDynamicBoost(b1 bool)

OverrideDynamicBoost implements InitializationContext

func (*InitializationContextMock) OverrideDynamicBoostAfterCounter

func (mmOverrideDynamicBoost *InitializationContextMock) OverrideDynamicBoostAfterCounter() uint64

OverrideDynamicBoostAfterCounter returns a count of finished InitializationContextMock.OverrideDynamicBoost invocations

func (*InitializationContextMock) OverrideDynamicBoostBeforeCounter

func (mmOverrideDynamicBoost *InitializationContextMock) OverrideDynamicBoostBeforeCounter() uint64

OverrideDynamicBoostBeforeCounter returns a count of InitializationContextMock.OverrideDynamicBoost invocations

func (mmParentLink *InitializationContextMock) ParentLink() (s1 SlotLink)

ParentLink implements InitializationContext

func (*InitializationContextMock) ParentLinkAfterCounter

func (mmParentLink *InitializationContextMock) ParentLinkAfterCounter() uint64

ParentLinkAfterCounter returns a count of finished InitializationContextMock.ParentLink invocations

func (*InitializationContextMock) ParentLinkBeforeCounter

func (mmParentLink *InitializationContextMock) ParentLinkBeforeCounter() uint64

ParentLinkBeforeCounter returns a count of InitializationContextMock.ParentLink invocations

func (*InitializationContextMock) Publish

func (mmPublish *InitializationContextMock) Publish(key interface{}, data interface{}) (b1 bool)

Publish implements InitializationContext

func (*InitializationContextMock) PublishAfterCounter

func (mmPublish *InitializationContextMock) PublishAfterCounter() uint64

PublishAfterCounter returns a count of finished InitializationContextMock.Publish invocations

func (*InitializationContextMock) PublishBeforeCounter

func (mmPublish *InitializationContextMock) PublishBeforeCounter() uint64

PublishBeforeCounter returns a count of InitializationContextMock.Publish invocations

func (*InitializationContextMock) PublishGlobalAlias

func (mmPublishGlobalAlias *InitializationContextMock) PublishGlobalAlias(key interface{}) (b1 bool)

PublishGlobalAlias implements InitializationContext

func (*InitializationContextMock) PublishGlobalAliasAfterCounter

func (mmPublishGlobalAlias *InitializationContextMock) PublishGlobalAliasAfterCounter() uint64

PublishGlobalAliasAfterCounter returns a count of finished InitializationContextMock.PublishGlobalAlias invocations

func (*InitializationContextMock) PublishGlobalAliasAndBargeIn

func (mmPublishGlobalAliasAndBargeIn *InitializationContextMock) PublishGlobalAliasAndBargeIn(key interface{}, handler BargeInHolder) (b1 bool)

PublishGlobalAliasAndBargeIn implements InitializationContext

func (*InitializationContextMock) PublishGlobalAliasAndBargeInAfterCounter

func (mmPublishGlobalAliasAndBargeIn *InitializationContextMock) PublishGlobalAliasAndBargeInAfterCounter() uint64

PublishGlobalAliasAndBargeInAfterCounter returns a count of finished InitializationContextMock.PublishGlobalAliasAndBargeIn invocations

func (*InitializationContextMock) PublishGlobalAliasAndBargeInBeforeCounter

func (mmPublishGlobalAliasAndBargeIn *InitializationContextMock) PublishGlobalAliasAndBargeInBeforeCounter() uint64

PublishGlobalAliasAndBargeInBeforeCounter returns a count of InitializationContextMock.PublishGlobalAliasAndBargeIn invocations

func (*InitializationContextMock) PublishGlobalAliasBeforeCounter

func (mmPublishGlobalAlias *InitializationContextMock) PublishGlobalAliasBeforeCounter() uint64

PublishGlobalAliasBeforeCounter returns a count of InitializationContextMock.PublishGlobalAlias invocations

func (*InitializationContextMock) PublishReplacement

func (mmPublishReplacement *InitializationContextMock) PublishReplacement(key interface{}, data interface{}) (b1 bool)

PublishReplacement implements InitializationContext

func (*InitializationContextMock) PublishReplacementAfterCounter

func (mmPublishReplacement *InitializationContextMock) PublishReplacementAfterCounter() uint64

PublishReplacementAfterCounter returns a count of finished InitializationContextMock.PublishReplacement invocations

func (*InitializationContextMock) PublishReplacementBeforeCounter

func (mmPublishReplacement *InitializationContextMock) PublishReplacementBeforeCounter() uint64

PublishReplacementBeforeCounter returns a count of InitializationContextMock.PublishReplacement invocations

func (*InitializationContextMock) Release

func (mmRelease *InitializationContextMock) Release(s1 SyncLink) (b1 bool)

Release implements InitializationContext

func (*InitializationContextMock) ReleaseAfterCounter

func (mmRelease *InitializationContextMock) ReleaseAfterCounter() uint64

ReleaseAfterCounter returns a count of finished InitializationContextMock.Release invocations

func (*InitializationContextMock) ReleaseAll

func (mmReleaseAll *InitializationContextMock) ReleaseAll() (b1 bool)

ReleaseAll implements InitializationContext

func (*InitializationContextMock) ReleaseAllAfterCounter

func (mmReleaseAll *InitializationContextMock) ReleaseAllAfterCounter() uint64

ReleaseAllAfterCounter returns a count of finished InitializationContextMock.ReleaseAll invocations

func (*InitializationContextMock) ReleaseAllBeforeCounter

func (mmReleaseAll *InitializationContextMock) ReleaseAllBeforeCounter() uint64

ReleaseAllBeforeCounter returns a count of InitializationContextMock.ReleaseAll invocations

func (*InitializationContextMock) ReleaseBeforeCounter

func (mmRelease *InitializationContextMock) ReleaseBeforeCounter() uint64

ReleaseBeforeCounter returns a count of InitializationContextMock.Release invocations

func (*InitializationContextMock) RestoreStep

func (mmRestoreStep *InitializationContextMock) RestoreStep(s1 SlotStep) (s2 StateUpdate)

RestoreStep implements InitializationContext

func (*InitializationContextMock) RestoreStepAfterCounter

func (mmRestoreStep *InitializationContextMock) RestoreStepAfterCounter() uint64

RestoreStepAfterCounter returns a count of finished InitializationContextMock.RestoreStep invocations

func (*InitializationContextMock) RestoreStepBeforeCounter

func (mmRestoreStep *InitializationContextMock) RestoreStepBeforeCounter() uint64

RestoreStepBeforeCounter returns a count of InitializationContextMock.RestoreStep invocations

func (*InitializationContextMock) SetDefaultErrorHandler

func (mmSetDefaultErrorHandler *InitializationContextMock) SetDefaultErrorHandler(e1 ErrorHandlerFunc)

SetDefaultErrorHandler implements InitializationContext

func (*InitializationContextMock) SetDefaultErrorHandlerAfterCounter

func (mmSetDefaultErrorHandler *InitializationContextMock) SetDefaultErrorHandlerAfterCounter() uint64

SetDefaultErrorHandlerAfterCounter returns a count of finished InitializationContextMock.SetDefaultErrorHandler invocations

func (*InitializationContextMock) SetDefaultErrorHandlerBeforeCounter

func (mmSetDefaultErrorHandler *InitializationContextMock) SetDefaultErrorHandlerBeforeCounter() uint64

SetDefaultErrorHandlerBeforeCounter returns a count of InitializationContextMock.SetDefaultErrorHandler invocations

func (*InitializationContextMock) SetDefaultFlags

func (mmSetDefaultFlags *InitializationContextMock) SetDefaultFlags(s1 StepFlags)

SetDefaultFlags implements InitializationContext

func (*InitializationContextMock) SetDefaultFlagsAfterCounter

func (mmSetDefaultFlags *InitializationContextMock) SetDefaultFlagsAfterCounter() uint64

SetDefaultFlagsAfterCounter returns a count of finished InitializationContextMock.SetDefaultFlags invocations

func (*InitializationContextMock) SetDefaultFlagsBeforeCounter

func (mmSetDefaultFlags *InitializationContextMock) SetDefaultFlagsBeforeCounter() uint64

SetDefaultFlagsBeforeCounter returns a count of InitializationContextMock.SetDefaultFlags invocations

func (*InitializationContextMock) SetDefaultMigration

func (mmSetDefaultMigration *InitializationContextMock) SetDefaultMigration(m1 MigrateFunc)

SetDefaultMigration implements InitializationContext

func (*InitializationContextMock) SetDefaultMigrationAfterCounter

func (mmSetDefaultMigration *InitializationContextMock) SetDefaultMigrationAfterCounter() uint64

SetDefaultMigrationAfterCounter returns a count of finished InitializationContextMock.SetDefaultMigration invocations

func (*InitializationContextMock) SetDefaultMigrationBeforeCounter

func (mmSetDefaultMigration *InitializationContextMock) SetDefaultMigrationBeforeCounter() uint64

SetDefaultMigrationBeforeCounter returns a count of InitializationContextMock.SetDefaultMigration invocations

func (*InitializationContextMock) SetFinalizer

func (mmSetFinalizer *InitializationContextMock) SetFinalizer(f1 FinalizeFunc)

SetFinalizer implements InitializationContext

func (*InitializationContextMock) SetFinalizerAfterCounter

func (mmSetFinalizer *InitializationContextMock) SetFinalizerAfterCounter() uint64

SetFinalizerAfterCounter returns a count of finished InitializationContextMock.SetFinalizer invocations

func (*InitializationContextMock) SetFinalizerBeforeCounter

func (mmSetFinalizer *InitializationContextMock) SetFinalizerBeforeCounter() uint64

SetFinalizerBeforeCounter returns a count of InitializationContextMock.SetFinalizer invocations

func (*InitializationContextMock) SetLogTracing

func (mmSetLogTracing *InitializationContextMock) SetLogTracing(b1 bool)

SetLogTracing implements InitializationContext

func (*InitializationContextMock) SetLogTracingAfterCounter

func (mmSetLogTracing *InitializationContextMock) SetLogTracingAfterCounter() uint64

SetLogTracingAfterCounter returns a count of finished InitializationContextMock.SetLogTracing invocations

func (*InitializationContextMock) SetLogTracingBeforeCounter

func (mmSetLogTracing *InitializationContextMock) SetLogTracingBeforeCounter() uint64

SetLogTracingBeforeCounter returns a count of InitializationContextMock.SetLogTracing invocations

func (*InitializationContextMock) SetTerminationResult

func (mmSetTerminationResult *InitializationContextMock) SetTerminationResult(p1 interface{})

SetTerminationResult implements InitializationContext

func (*InitializationContextMock) SetTerminationResultAfterCounter

func (mmSetTerminationResult *InitializationContextMock) SetTerminationResultAfterCounter() uint64

SetTerminationResultAfterCounter returns a count of finished InitializationContextMock.SetTerminationResult invocations

func (*InitializationContextMock) SetTerminationResultBeforeCounter

func (mmSetTerminationResult *InitializationContextMock) SetTerminationResultBeforeCounter() uint64

SetTerminationResultBeforeCounter returns a count of InitializationContextMock.SetTerminationResult invocations

func (*InitializationContextMock) Share

func (mmShare *InitializationContextMock) Share(data interface{}, flags ShareDataFlags) (s1 SharedDataLink)

Share implements InitializationContext

func (*InitializationContextMock) ShareAfterCounter

func (mmShare *InitializationContextMock) ShareAfterCounter() uint64

ShareAfterCounter returns a count of finished InitializationContextMock.Share invocations

func (*InitializationContextMock) ShareBeforeCounter

func (mmShare *InitializationContextMock) ShareBeforeCounter() uint64

ShareBeforeCounter returns a count of InitializationContextMock.Share invocations

func (mmSlotLink *InitializationContextMock) SlotLink() (s1 SlotLink)

SlotLink implements InitializationContext

func (*InitializationContextMock) SlotLinkAfterCounter

func (mmSlotLink *InitializationContextMock) SlotLinkAfterCounter() uint64

SlotLinkAfterCounter returns a count of finished InitializationContextMock.SlotLink invocations

func (*InitializationContextMock) SlotLinkBeforeCounter

func (mmSlotLink *InitializationContextMock) SlotLinkBeforeCounter() uint64

SlotLinkBeforeCounter returns a count of InitializationContextMock.SlotLink invocations

func (*InitializationContextMock) Stop

func (mmStop *InitializationContextMock) Stop() (s1 StateUpdate)

Stop implements InitializationContext

func (*InitializationContextMock) StopAfterCounter

func (mmStop *InitializationContextMock) StopAfterCounter() uint64

StopAfterCounter returns a count of finished InitializationContextMock.Stop invocations

func (*InitializationContextMock) StopBeforeCounter

func (mmStop *InitializationContextMock) StopBeforeCounter() uint64

StopBeforeCounter returns a count of InitializationContextMock.Stop invocations

func (*InitializationContextMock) Unpublish

func (mmUnpublish *InitializationContextMock) Unpublish(key interface{}) (b1 bool)

Unpublish implements InitializationContext

func (*InitializationContextMock) UnpublishAfterCounter

func (mmUnpublish *InitializationContextMock) UnpublishAfterCounter() uint64

UnpublishAfterCounter returns a count of finished InitializationContextMock.Unpublish invocations

func (*InitializationContextMock) UnpublishAll

func (mmUnpublishAll *InitializationContextMock) UnpublishAll()

UnpublishAll implements InitializationContext

func (*InitializationContextMock) UnpublishAllAfterCounter

func (mmUnpublishAll *InitializationContextMock) UnpublishAllAfterCounter() uint64

UnpublishAllAfterCounter returns a count of finished InitializationContextMock.UnpublishAll invocations

func (*InitializationContextMock) UnpublishAllBeforeCounter

func (mmUnpublishAll *InitializationContextMock) UnpublishAllBeforeCounter() uint64

UnpublishAllBeforeCounter returns a count of InitializationContextMock.UnpublishAll invocations

func (*InitializationContextMock) UnpublishBeforeCounter

func (mmUnpublish *InitializationContextMock) UnpublishBeforeCounter() uint64

UnpublishBeforeCounter returns a count of InitializationContextMock.Unpublish invocations

func (*InitializationContextMock) UnpublishGlobalAlias

func (mmUnpublishGlobalAlias *InitializationContextMock) UnpublishGlobalAlias(key interface{}) (b1 bool)

UnpublishGlobalAlias implements InitializationContext

func (*InitializationContextMock) UnpublishGlobalAliasAfterCounter

func (mmUnpublishGlobalAlias *InitializationContextMock) UnpublishGlobalAliasAfterCounter() uint64

UnpublishGlobalAliasAfterCounter returns a count of finished InitializationContextMock.UnpublishGlobalAlias invocations

func (*InitializationContextMock) UnpublishGlobalAliasBeforeCounter

func (mmUnpublishGlobalAlias *InitializationContextMock) UnpublishGlobalAliasBeforeCounter() uint64

UnpublishGlobalAliasBeforeCounter returns a count of InitializationContextMock.UnpublishGlobalAlias invocations

func (*InitializationContextMock) Unshare

func (mmUnshare *InitializationContextMock) Unshare(s1 SharedDataLink) (b1 bool)

Unshare implements InitializationContext

func (*InitializationContextMock) UnshareAfterCounter

func (mmUnshare *InitializationContextMock) UnshareAfterCounter() uint64

UnshareAfterCounter returns a count of finished InitializationContextMock.Unshare invocations

func (*InitializationContextMock) UnshareBeforeCounter

func (mmUnshare *InitializationContextMock) UnshareBeforeCounter() uint64

UnshareBeforeCounter returns a count of InitializationContextMock.Unshare invocations

func (*InitializationContextMock) UpdateDefaultStepLogger

func (mmUpdateDefaultStepLogger *InitializationContextMock) UpdateDefaultStepLogger(s1 StepLoggerUpdateFunc)

UpdateDefaultStepLogger implements InitializationContext

func (*InitializationContextMock) UpdateDefaultStepLoggerAfterCounter

func (mmUpdateDefaultStepLogger *InitializationContextMock) UpdateDefaultStepLoggerAfterCounter() uint64

UpdateDefaultStepLoggerAfterCounter returns a count of finished InitializationContextMock.UpdateDefaultStepLogger invocations

func (*InitializationContextMock) UpdateDefaultStepLoggerBeforeCounter

func (mmUpdateDefaultStepLogger *InitializationContextMock) UpdateDefaultStepLoggerBeforeCounter() uint64

UpdateDefaultStepLoggerBeforeCounter returns a count of InitializationContextMock.UpdateDefaultStepLogger invocations

type InitializationContextMockAcquireAndReleaseExpectation

type InitializationContextMockAcquireAndReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockAcquireAndReleaseExpectation specifies expectation struct of the InitializationContext.AcquireAndRelease

func (*InitializationContextMockAcquireAndReleaseExpectation) Then

Then sets up InitializationContext.AcquireAndRelease return parameters for the expectation previously defined by the When method

type InitializationContextMockAcquireAndReleaseParams

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

InitializationContextMockAcquireAndReleaseParams contains parameters of the InitializationContext.AcquireAndRelease

type InitializationContextMockAcquireAndReleaseResults

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

InitializationContextMockAcquireAndReleaseResults contains results of the InitializationContext.AcquireAndRelease

type InitializationContextMockAcquireExpectation

type InitializationContextMockAcquireExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockAcquireExpectation specifies expectation struct of the InitializationContext.Acquire

func (*InitializationContextMockAcquireExpectation) Then

Then sets up InitializationContext.Acquire return parameters for the expectation previously defined by the When method

type InitializationContextMockAcquireExtExpectation

type InitializationContextMockAcquireExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockAcquireExtExpectation specifies expectation struct of the InitializationContext.AcquireExt

func (*InitializationContextMockAcquireExtExpectation) Then

Then sets up InitializationContext.AcquireExt return parameters for the expectation previously defined by the When method

type InitializationContextMockAcquireExtParams

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

InitializationContextMockAcquireExtParams contains parameters of the InitializationContext.AcquireExt

type InitializationContextMockAcquireExtResults

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

InitializationContextMockAcquireExtResults contains results of the InitializationContext.AcquireExt

type InitializationContextMockAcquireForThisStepAndReleaseExpectation

type InitializationContextMockAcquireForThisStepAndReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockAcquireForThisStepAndReleaseExpectation specifies expectation struct of the InitializationContext.AcquireForThisStepAndRelease

func (*InitializationContextMockAcquireForThisStepAndReleaseExpectation) Then

Then sets up InitializationContext.AcquireForThisStepAndRelease return parameters for the expectation previously defined by the When method

type InitializationContextMockAcquireForThisStepAndReleaseParams

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

InitializationContextMockAcquireForThisStepAndReleaseParams contains parameters of the InitializationContext.AcquireForThisStepAndRelease

type InitializationContextMockAcquireForThisStepAndReleaseResults

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

InitializationContextMockAcquireForThisStepAndReleaseResults contains results of the InitializationContext.AcquireForThisStepAndRelease

type InitializationContextMockAcquireForThisStepExpectation

type InitializationContextMockAcquireForThisStepExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockAcquireForThisStepExpectation specifies expectation struct of the InitializationContext.AcquireForThisStep

func (*InitializationContextMockAcquireForThisStepExpectation) Then

Then sets up InitializationContext.AcquireForThisStep return parameters for the expectation previously defined by the When method

type InitializationContextMockAcquireForThisStepParams

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

InitializationContextMockAcquireForThisStepParams contains parameters of the InitializationContext.AcquireForThisStep

type InitializationContextMockAcquireForThisStepResults

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

InitializationContextMockAcquireForThisStepResults contains results of the InitializationContext.AcquireForThisStep

type InitializationContextMockAcquireParams

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

InitializationContextMockAcquireParams contains parameters of the InitializationContext.Acquire

type InitializationContextMockAcquireResults

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

InitializationContextMockAcquireResults contains results of the InitializationContext.Acquire

type InitializationContextMockApplyAdjustmentExpectation

type InitializationContextMockApplyAdjustmentExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockApplyAdjustmentExpectation specifies expectation struct of the InitializationContext.ApplyAdjustment

func (*InitializationContextMockApplyAdjustmentExpectation) Then

Then sets up InitializationContext.ApplyAdjustment return parameters for the expectation previously defined by the When method

type InitializationContextMockApplyAdjustmentParams

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

InitializationContextMockApplyAdjustmentParams contains parameters of the InitializationContext.ApplyAdjustment

type InitializationContextMockApplyAdjustmentResults

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

InitializationContextMockApplyAdjustmentResults contains results of the InitializationContext.ApplyAdjustment

type InitializationContextMockCallBargeInExpectation

type InitializationContextMockCallBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockCallBargeInExpectation specifies expectation struct of the InitializationContext.CallBargeIn

func (*InitializationContextMockCallBargeInExpectation) Then

Then sets up InitializationContext.CallBargeIn return parameters for the expectation previously defined by the When method

type InitializationContextMockCallBargeInParams

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

InitializationContextMockCallBargeInParams contains parameters of the InitializationContext.CallBargeIn

type InitializationContextMockCallBargeInResults

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

InitializationContextMockCallBargeInResults contains results of the InitializationContext.CallBargeIn

type InitializationContextMockCallBargeInWithParamExpectation

type InitializationContextMockCallBargeInWithParamExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockCallBargeInWithParamExpectation specifies expectation struct of the InitializationContext.CallBargeInWithParam

func (*InitializationContextMockCallBargeInWithParamExpectation) Then

Then sets up InitializationContext.CallBargeInWithParam return parameters for the expectation previously defined by the When method

type InitializationContextMockCallBargeInWithParamParams

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

InitializationContextMockCallBargeInWithParamParams contains parameters of the InitializationContext.CallBargeInWithParam

type InitializationContextMockCallBargeInWithParamResults

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

InitializationContextMockCallBargeInWithParamResults contains results of the InitializationContext.CallBargeInWithParam

type InitializationContextMockCheckExpectation

type InitializationContextMockCheckExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockCheckExpectation specifies expectation struct of the InitializationContext.Check

func (*InitializationContextMockCheckExpectation) Then

Then sets up InitializationContext.Check return parameters for the expectation previously defined by the When method

type InitializationContextMockCheckParams

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

InitializationContextMockCheckParams contains parameters of the InitializationContext.Check

type InitializationContextMockCheckResults

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

InitializationContextMockCheckResults contains results of the InitializationContext.Check

type InitializationContextMockErrorExpectation

type InitializationContextMockErrorExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockErrorExpectation specifies expectation struct of the InitializationContext.Error

func (*InitializationContextMockErrorExpectation) Then

Then sets up InitializationContext.Error return parameters for the expectation previously defined by the When method

type InitializationContextMockErrorParams

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

InitializationContextMockErrorParams contains parameters of the InitializationContext.Error

type InitializationContextMockErrorResults

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

InitializationContextMockErrorResults contains results of the InitializationContext.Error

type InitializationContextMockGetContextExpectation

type InitializationContextMockGetContextExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockGetContextExpectation specifies expectation struct of the InitializationContext.GetContext

type InitializationContextMockGetContextResults

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

InitializationContextMockGetContextResults contains results of the InitializationContext.GetContext

type InitializationContextMockGetPublishedExpectation

type InitializationContextMockGetPublishedExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockGetPublishedExpectation specifies expectation struct of the InitializationContext.GetPublished

func (*InitializationContextMockGetPublishedExpectation) Then

Then sets up InitializationContext.GetPublished return parameters for the expectation previously defined by the When method

type InitializationContextMockGetPublishedGlobalAliasAndBargeInExpectation

type InitializationContextMockGetPublishedGlobalAliasAndBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockGetPublishedGlobalAliasAndBargeInExpectation specifies expectation struct of the InitializationContext.GetPublishedGlobalAliasAndBargeIn

func (*InitializationContextMockGetPublishedGlobalAliasAndBargeInExpectation) Then

Then sets up InitializationContext.GetPublishedGlobalAliasAndBargeIn return parameters for the expectation previously defined by the When method

type InitializationContextMockGetPublishedGlobalAliasAndBargeInParams

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

InitializationContextMockGetPublishedGlobalAliasAndBargeInParams contains parameters of the InitializationContext.GetPublishedGlobalAliasAndBargeIn

type InitializationContextMockGetPublishedGlobalAliasAndBargeInResults

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

InitializationContextMockGetPublishedGlobalAliasAndBargeInResults contains results of the InitializationContext.GetPublishedGlobalAliasAndBargeIn

type InitializationContextMockGetPublishedGlobalAliasExpectation

type InitializationContextMockGetPublishedGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockGetPublishedGlobalAliasExpectation specifies expectation struct of the InitializationContext.GetPublishedGlobalAlias

func (*InitializationContextMockGetPublishedGlobalAliasExpectation) Then

Then sets up InitializationContext.GetPublishedGlobalAlias return parameters for the expectation previously defined by the When method

type InitializationContextMockGetPublishedGlobalAliasParams

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

InitializationContextMockGetPublishedGlobalAliasParams contains parameters of the InitializationContext.GetPublishedGlobalAlias

type InitializationContextMockGetPublishedGlobalAliasResults

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

InitializationContextMockGetPublishedGlobalAliasResults contains results of the InitializationContext.GetPublishedGlobalAlias

type InitializationContextMockGetPublishedLinkExpectation

type InitializationContextMockGetPublishedLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockGetPublishedLinkExpectation specifies expectation struct of the InitializationContext.GetPublishedLink

func (*InitializationContextMockGetPublishedLinkExpectation) Then

Then sets up InitializationContext.GetPublishedLink return parameters for the expectation previously defined by the When method

type InitializationContextMockGetPublishedLinkParams

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

InitializationContextMockGetPublishedLinkParams contains parameters of the InitializationContext.GetPublishedLink

type InitializationContextMockGetPublishedLinkResults

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

InitializationContextMockGetPublishedLinkResults contains results of the InitializationContext.GetPublishedLink

type InitializationContextMockGetPublishedParams

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

InitializationContextMockGetPublishedParams contains parameters of the InitializationContext.GetPublished

type InitializationContextMockGetPublishedResults

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

InitializationContextMockGetPublishedResults contains results of the InitializationContext.GetPublished

type InitializationContextMockGetTerminationResultExpectation

type InitializationContextMockGetTerminationResultExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockGetTerminationResultExpectation specifies expectation struct of the InitializationContext.GetTerminationResult

type InitializationContextMockGetTerminationResultResults

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

InitializationContextMockGetTerminationResultResults contains results of the InitializationContext.GetTerminationResult

type InitializationContextMockJumpExpectation

type InitializationContextMockJumpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockJumpExpectation specifies expectation struct of the InitializationContext.Jump

func (*InitializationContextMockJumpExpectation) Then

Then sets up InitializationContext.Jump return parameters for the expectation previously defined by the When method

type InitializationContextMockJumpExtExpectation

type InitializationContextMockJumpExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockJumpExtExpectation specifies expectation struct of the InitializationContext.JumpExt

func (*InitializationContextMockJumpExtExpectation) Then

Then sets up InitializationContext.JumpExt return parameters for the expectation previously defined by the When method

type InitializationContextMockJumpExtParams

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

InitializationContextMockJumpExtParams contains parameters of the InitializationContext.JumpExt

type InitializationContextMockJumpExtResults

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

InitializationContextMockJumpExtResults contains results of the InitializationContext.JumpExt

type InitializationContextMockJumpParams

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

InitializationContextMockJumpParams contains parameters of the InitializationContext.Jump

type InitializationContextMockJumpResults

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

InitializationContextMockJumpResults contains results of the InitializationContext.Jump

type InitializationContextMockLogExpectation

type InitializationContextMockLogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockLogExpectation specifies expectation struct of the InitializationContext.Log

type InitializationContextMockLogResults

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

InitializationContextMockLogResults contains results of the InitializationContext.Log

type InitializationContextMockNewBargeInExpectation

type InitializationContextMockNewBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockNewBargeInExpectation specifies expectation struct of the InitializationContext.NewBargeIn

type InitializationContextMockNewBargeInResults

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

InitializationContextMockNewBargeInResults contains results of the InitializationContext.NewBargeIn

type InitializationContextMockNewBargeInWithParamExpectation

type InitializationContextMockNewBargeInWithParamExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockNewBargeInWithParamExpectation specifies expectation struct of the InitializationContext.NewBargeInWithParam

func (*InitializationContextMockNewBargeInWithParamExpectation) Then

Then sets up InitializationContext.NewBargeInWithParam return parameters for the expectation previously defined by the When method

type InitializationContextMockNewBargeInWithParamParams

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

InitializationContextMockNewBargeInWithParamParams contains parameters of the InitializationContext.NewBargeInWithParam

type InitializationContextMockNewBargeInWithParamResults

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

InitializationContextMockNewBargeInWithParamResults contains results of the InitializationContext.NewBargeInWithParam

type InitializationContextMockOverrideDynamicBoostExpectation

type InitializationContextMockOverrideDynamicBoostExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockOverrideDynamicBoostExpectation specifies expectation struct of the InitializationContext.OverrideDynamicBoost

type InitializationContextMockOverrideDynamicBoostParams

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

InitializationContextMockOverrideDynamicBoostParams contains parameters of the InitializationContext.OverrideDynamicBoost

type InitializationContextMockParentLinkExpectation

type InitializationContextMockParentLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockParentLinkExpectation specifies expectation struct of the InitializationContext.ParentLink

type InitializationContextMockParentLinkResults

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

InitializationContextMockParentLinkResults contains results of the InitializationContext.ParentLink

type InitializationContextMockPublishExpectation

type InitializationContextMockPublishExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockPublishExpectation specifies expectation struct of the InitializationContext.Publish

func (*InitializationContextMockPublishExpectation) Then

Then sets up InitializationContext.Publish return parameters for the expectation previously defined by the When method

type InitializationContextMockPublishGlobalAliasAndBargeInExpectation

type InitializationContextMockPublishGlobalAliasAndBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockPublishGlobalAliasAndBargeInExpectation specifies expectation struct of the InitializationContext.PublishGlobalAliasAndBargeIn

func (*InitializationContextMockPublishGlobalAliasAndBargeInExpectation) Then

Then sets up InitializationContext.PublishGlobalAliasAndBargeIn return parameters for the expectation previously defined by the When method

type InitializationContextMockPublishGlobalAliasAndBargeInParams

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

InitializationContextMockPublishGlobalAliasAndBargeInParams contains parameters of the InitializationContext.PublishGlobalAliasAndBargeIn

type InitializationContextMockPublishGlobalAliasAndBargeInResults

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

InitializationContextMockPublishGlobalAliasAndBargeInResults contains results of the InitializationContext.PublishGlobalAliasAndBargeIn

type InitializationContextMockPublishGlobalAliasExpectation

type InitializationContextMockPublishGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockPublishGlobalAliasExpectation specifies expectation struct of the InitializationContext.PublishGlobalAlias

func (*InitializationContextMockPublishGlobalAliasExpectation) Then

Then sets up InitializationContext.PublishGlobalAlias return parameters for the expectation previously defined by the When method

type InitializationContextMockPublishGlobalAliasParams

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

InitializationContextMockPublishGlobalAliasParams contains parameters of the InitializationContext.PublishGlobalAlias

type InitializationContextMockPublishGlobalAliasResults

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

InitializationContextMockPublishGlobalAliasResults contains results of the InitializationContext.PublishGlobalAlias

type InitializationContextMockPublishParams

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

InitializationContextMockPublishParams contains parameters of the InitializationContext.Publish

type InitializationContextMockPublishReplacementExpectation

type InitializationContextMockPublishReplacementExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockPublishReplacementExpectation specifies expectation struct of the InitializationContext.PublishReplacement

func (*InitializationContextMockPublishReplacementExpectation) Then

Then sets up InitializationContext.PublishReplacement return parameters for the expectation previously defined by the When method

type InitializationContextMockPublishReplacementParams

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

InitializationContextMockPublishReplacementParams contains parameters of the InitializationContext.PublishReplacement

type InitializationContextMockPublishReplacementResults

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

InitializationContextMockPublishReplacementResults contains results of the InitializationContext.PublishReplacement

type InitializationContextMockPublishResults

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

InitializationContextMockPublishResults contains results of the InitializationContext.Publish

type InitializationContextMockReleaseAllExpectation

type InitializationContextMockReleaseAllExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockReleaseAllExpectation specifies expectation struct of the InitializationContext.ReleaseAll

type InitializationContextMockReleaseAllResults

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

InitializationContextMockReleaseAllResults contains results of the InitializationContext.ReleaseAll

type InitializationContextMockReleaseExpectation

type InitializationContextMockReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockReleaseExpectation specifies expectation struct of the InitializationContext.Release

func (*InitializationContextMockReleaseExpectation) Then

Then sets up InitializationContext.Release return parameters for the expectation previously defined by the When method

type InitializationContextMockReleaseParams

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

InitializationContextMockReleaseParams contains parameters of the InitializationContext.Release

type InitializationContextMockReleaseResults

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

InitializationContextMockReleaseResults contains results of the InitializationContext.Release

type InitializationContextMockRestoreStepExpectation

type InitializationContextMockRestoreStepExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockRestoreStepExpectation specifies expectation struct of the InitializationContext.RestoreStep

func (*InitializationContextMockRestoreStepExpectation) Then

Then sets up InitializationContext.RestoreStep return parameters for the expectation previously defined by the When method

type InitializationContextMockRestoreStepParams

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

InitializationContextMockRestoreStepParams contains parameters of the InitializationContext.RestoreStep

type InitializationContextMockRestoreStepResults

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

InitializationContextMockRestoreStepResults contains results of the InitializationContext.RestoreStep

type InitializationContextMockSetDefaultErrorHandlerExpectation

type InitializationContextMockSetDefaultErrorHandlerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockSetDefaultErrorHandlerExpectation specifies expectation struct of the InitializationContext.SetDefaultErrorHandler

type InitializationContextMockSetDefaultErrorHandlerParams

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

InitializationContextMockSetDefaultErrorHandlerParams contains parameters of the InitializationContext.SetDefaultErrorHandler

type InitializationContextMockSetDefaultFlagsExpectation

type InitializationContextMockSetDefaultFlagsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockSetDefaultFlagsExpectation specifies expectation struct of the InitializationContext.SetDefaultFlags

type InitializationContextMockSetDefaultFlagsParams

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

InitializationContextMockSetDefaultFlagsParams contains parameters of the InitializationContext.SetDefaultFlags

type InitializationContextMockSetDefaultMigrationExpectation

type InitializationContextMockSetDefaultMigrationExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockSetDefaultMigrationExpectation specifies expectation struct of the InitializationContext.SetDefaultMigration

type InitializationContextMockSetDefaultMigrationParams

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

InitializationContextMockSetDefaultMigrationParams contains parameters of the InitializationContext.SetDefaultMigration

type InitializationContextMockSetFinalizerExpectation

type InitializationContextMockSetFinalizerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockSetFinalizerExpectation specifies expectation struct of the InitializationContext.SetFinalizer

type InitializationContextMockSetFinalizerParams

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

InitializationContextMockSetFinalizerParams contains parameters of the InitializationContext.SetFinalizer

type InitializationContextMockSetLogTracingExpectation

type InitializationContextMockSetLogTracingExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockSetLogTracingExpectation specifies expectation struct of the InitializationContext.SetLogTracing

type InitializationContextMockSetLogTracingParams

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

InitializationContextMockSetLogTracingParams contains parameters of the InitializationContext.SetLogTracing

type InitializationContextMockSetTerminationResultExpectation

type InitializationContextMockSetTerminationResultExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockSetTerminationResultExpectation specifies expectation struct of the InitializationContext.SetTerminationResult

type InitializationContextMockSetTerminationResultParams

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

InitializationContextMockSetTerminationResultParams contains parameters of the InitializationContext.SetTerminationResult

type InitializationContextMockShareExpectation

type InitializationContextMockShareExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockShareExpectation specifies expectation struct of the InitializationContext.Share

func (*InitializationContextMockShareExpectation) Then

Then sets up InitializationContext.Share return parameters for the expectation previously defined by the When method

type InitializationContextMockShareParams

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

InitializationContextMockShareParams contains parameters of the InitializationContext.Share

type InitializationContextMockShareResults

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

InitializationContextMockShareResults contains results of the InitializationContext.Share

type InitializationContextMockSlotLinkExpectation

type InitializationContextMockSlotLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockSlotLinkExpectation specifies expectation struct of the InitializationContext.SlotLink

type InitializationContextMockSlotLinkResults

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

InitializationContextMockSlotLinkResults contains results of the InitializationContext.SlotLink

type InitializationContextMockStopExpectation

type InitializationContextMockStopExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockStopExpectation specifies expectation struct of the InitializationContext.Stop

type InitializationContextMockStopResults

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

InitializationContextMockStopResults contains results of the InitializationContext.Stop

type InitializationContextMockUnpublishAllExpectation

type InitializationContextMockUnpublishAllExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockUnpublishAllExpectation specifies expectation struct of the InitializationContext.UnpublishAll

type InitializationContextMockUnpublishExpectation

type InitializationContextMockUnpublishExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockUnpublishExpectation specifies expectation struct of the InitializationContext.Unpublish

func (*InitializationContextMockUnpublishExpectation) Then

Then sets up InitializationContext.Unpublish return parameters for the expectation previously defined by the When method

type InitializationContextMockUnpublishGlobalAliasExpectation

type InitializationContextMockUnpublishGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockUnpublishGlobalAliasExpectation specifies expectation struct of the InitializationContext.UnpublishGlobalAlias

func (*InitializationContextMockUnpublishGlobalAliasExpectation) Then

Then sets up InitializationContext.UnpublishGlobalAlias return parameters for the expectation previously defined by the When method

type InitializationContextMockUnpublishGlobalAliasParams

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

InitializationContextMockUnpublishGlobalAliasParams contains parameters of the InitializationContext.UnpublishGlobalAlias

type InitializationContextMockUnpublishGlobalAliasResults

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

InitializationContextMockUnpublishGlobalAliasResults contains results of the InitializationContext.UnpublishGlobalAlias

type InitializationContextMockUnpublishParams

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

InitializationContextMockUnpublishParams contains parameters of the InitializationContext.Unpublish

type InitializationContextMockUnpublishResults

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

InitializationContextMockUnpublishResults contains results of the InitializationContext.Unpublish

type InitializationContextMockUnshareExpectation

type InitializationContextMockUnshareExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockUnshareExpectation specifies expectation struct of the InitializationContext.Unshare

func (*InitializationContextMockUnshareExpectation) Then

Then sets up InitializationContext.Unshare return parameters for the expectation previously defined by the When method

type InitializationContextMockUnshareParams

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

InitializationContextMockUnshareParams contains parameters of the InitializationContext.Unshare

type InitializationContextMockUnshareResults

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

InitializationContextMockUnshareResults contains results of the InitializationContext.Unshare

type InitializationContextMockUpdateDefaultStepLoggerExpectation

type InitializationContextMockUpdateDefaultStepLoggerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InitializationContextMockUpdateDefaultStepLoggerExpectation specifies expectation struct of the InitializationContext.UpdateDefaultStepLogger

type InitializationContextMockUpdateDefaultStepLoggerParams

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

InitializationContextMockUpdateDefaultStepLoggerParams contains parameters of the InitializationContext.UpdateDefaultStepLogger

type LimitedExecutionContext

type LimitedExecutionContext interface {
	SharedStateContext

	// Log returns a slot logger for this context. It is only valid while this context is valid.
	Log() Logger

	// NewChild - See ExecutionContext.NewChild
	NewChild(CreateFunc) SlotLink
	// InitChild - See ExecutionContext.InitChild
	InitChild(CreateFunc) SlotLink
	// contains filtered or unexported methods
}

type Logger

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

func (Logger) Error

func (p Logger) Error(msg interface{}, err error, fields ...logfmt.LogFieldMarshaller)

NB! keep method simple to ensure inlining

func (Logger) Fatal

func (p Logger) Fatal(msg interface{}, fields ...logfmt.LogFieldMarshaller)

NB! keep method simple to ensure inlining

func (Logger) GetContext

func (p Logger) GetContext() context.Context

func (Logger) GetTracerID

func (p Logger) GetTracerID() TracerID

func (Logger) Test

func (p Logger) Test(msg interface{})

Test will only send the given event when SM runs under step debugger. This method shall never report into a log. NB! keep method simple to ensure inlining

func (Logger) Trace

func (p Logger) Trace(msg interface{}, fields ...logfmt.LogFieldMarshaller)

NB! keep method simple to ensure inlining

func (Logger) Warn

func (p Logger) Warn(msg interface{}, fields ...logfmt.LogFieldMarshaller)

NB! keep method simple to ensure inlining

type LongRunFlags

type LongRunFlags uint8
const (
	IgnoreSignal LongRunFlags
)

type LoopLimiterFunc

type LoopLimiterFunc func(loopCount int) (canLoop, hasSignal bool)

type MachineCallContext

type MachineCallContext interface {
	SlotMachine() *SlotMachine
	GetMachineID() string

	AddNew(context.Context, StateMachine, CreateDefaultValues) (SlotLink, bool)
	AddNewByFunc(context.Context, CreateFunc, CreateDefaultValues) (SlotLink, bool)

	// CallDirectBargeIn executes (fn) like it was provided by the given slot (link).
	// WARNING! USE with extreme caution, as it WILL interfere with normal SM behavior, including initialization.
	CallDirectBargeIn(link StepLink, fn BargeInCallbackFunc) bool

	CallBargeInWithParam(b BargeInWithParam, param interface{}) bool
	CallBargeIn(b BargeIn) bool

	GetPublished(key interface{}) interface{}
	GetPublishedLink(key interface{}) SharedDataLink

	GetPublishedGlobalAliasAndBargeIn(key interface{}) (SlotLink, BargeInHolder)

	Migrate(beforeFn func())
	Cleanup()
	Stop()

	// See SynchronizationContext
	ApplyAdjustment(SyncAdjustment) bool
	Check(SyncLink) BoolDecision
}

Provides easy-to-use access to functions of the SlotMachine that require a proper worker / concurrency control

type MachineCallFunc

type MachineCallFunc func(MachineCallContext)

type MigrateFunc

type MigrateFunc func(ctx MigrationContext) StateUpdate

type MigrationContext

type MigrationContext interface {
	PostInitStepContext

	// AffectedStep is a step this SM is at during this migration. Will return zero value when the step belongs to a subroutine, not to this SM.
	AffectedStep() SlotStep

	// SkipMultipleMigrations indicates that multiple pending migrations can be skipped / do not need to be applied individually
	SkipMultipleMigrations()

	/* Stay keeps the last state */
	Stay() StateUpdate
	/* WakeUp makes SM active if it was waiting or polling */
	WakeUp() StateUpdate
}

type MigrationContextMock

type MigrationContextMock struct {
	AcquireMock mMigrationContextMockAcquire

	AcquireAndReleaseMock mMigrationContextMockAcquireAndRelease

	AcquireExtMock mMigrationContextMockAcquireExt

	AcquireForThisStepMock mMigrationContextMockAcquireForThisStep

	AcquireForThisStepAndReleaseMock mMigrationContextMockAcquireForThisStepAndRelease

	AffectedStepMock mMigrationContextMockAffectedStep

	ApplyAdjustmentMock mMigrationContextMockApplyAdjustment

	CallSubroutineMock mMigrationContextMockCallSubroutine

	CheckMock mMigrationContextMockCheck

	ErrorMock mMigrationContextMockError

	GetContextMock mMigrationContextMockGetContext

	GetPublishedMock mMigrationContextMockGetPublished

	GetPublishedGlobalAliasMock mMigrationContextMockGetPublishedGlobalAlias

	GetPublishedGlobalAliasAndBargeInMock mMigrationContextMockGetPublishedGlobalAliasAndBargeIn

	GetPublishedLinkMock mMigrationContextMockGetPublishedLink

	GetTerminationResultMock mMigrationContextMockGetTerminationResult

	JumpMock mMigrationContextMockJump

	JumpExtMock mMigrationContextMockJumpExt

	LogMock mMigrationContextMockLog

	NewBargeInMock mMigrationContextMockNewBargeIn

	NewBargeInWithParamMock mMigrationContextMockNewBargeInWithParam

	OverrideDynamicBoostMock mMigrationContextMockOverrideDynamicBoost

	ParentLinkMock mMigrationContextMockParentLink

	PublishMock mMigrationContextMockPublish

	PublishGlobalAliasMock mMigrationContextMockPublishGlobalAlias

	PublishGlobalAliasAndBargeInMock mMigrationContextMockPublishGlobalAliasAndBargeIn

	PublishReplacementMock mMigrationContextMockPublishReplacement

	ReleaseMock mMigrationContextMockRelease

	ReleaseAllMock mMigrationContextMockReleaseAll

	RestoreStepMock mMigrationContextMockRestoreStep

	SetDefaultErrorHandlerMock mMigrationContextMockSetDefaultErrorHandler

	SetDefaultFlagsMock mMigrationContextMockSetDefaultFlags

	SetDefaultMigrationMock mMigrationContextMockSetDefaultMigration

	SetFinalizerMock mMigrationContextMockSetFinalizer

	SetLogTracingMock mMigrationContextMockSetLogTracing

	SetTerminationResultMock mMigrationContextMockSetTerminationResult

	ShareMock mMigrationContextMockShare

	SkipMultipleMigrationsMock mMigrationContextMockSkipMultipleMigrations

	SlotLinkMock mMigrationContextMockSlotLink

	StayMock mMigrationContextMockStay

	StopMock mMigrationContextMockStop

	UnpublishMock mMigrationContextMockUnpublish

	UnpublishAllMock mMigrationContextMockUnpublishAll

	UnpublishGlobalAliasMock mMigrationContextMockUnpublishGlobalAlias

	UnshareMock mMigrationContextMockUnshare

	UpdateDefaultStepLoggerMock mMigrationContextMockUpdateDefaultStepLogger

	WakeUpMock mMigrationContextMockWakeUp
	// contains filtered or unexported fields
}

MigrationContextMock implements MigrationContext

func NewMigrationContextMock

func NewMigrationContextMock(t minimock.Tester) *MigrationContextMock

NewMigrationContextMock returns a mock for MigrationContext

func (*MigrationContextMock) Acquire

func (mmAcquire *MigrationContextMock) Acquire(s1 SyncLink) (b1 BoolDecision)

Acquire implements MigrationContext

func (*MigrationContextMock) AcquireAfterCounter

func (mmAcquire *MigrationContextMock) AcquireAfterCounter() uint64

AcquireAfterCounter returns a count of finished MigrationContextMock.Acquire invocations

func (*MigrationContextMock) AcquireAndRelease

func (mmAcquireAndRelease *MigrationContextMock) AcquireAndRelease(s1 SyncLink) (b1 BoolDecision)

AcquireAndRelease implements MigrationContext

func (*MigrationContextMock) AcquireAndReleaseAfterCounter

func (mmAcquireAndRelease *MigrationContextMock) AcquireAndReleaseAfterCounter() uint64

AcquireAndReleaseAfterCounter returns a count of finished MigrationContextMock.AcquireAndRelease invocations

func (*MigrationContextMock) AcquireAndReleaseBeforeCounter

func (mmAcquireAndRelease *MigrationContextMock) AcquireAndReleaseBeforeCounter() uint64

AcquireAndReleaseBeforeCounter returns a count of MigrationContextMock.AcquireAndRelease invocations

func (*MigrationContextMock) AcquireBeforeCounter

func (mmAcquire *MigrationContextMock) AcquireBeforeCounter() uint64

AcquireBeforeCounter returns a count of MigrationContextMock.Acquire invocations

func (*MigrationContextMock) AcquireExt

func (mmAcquireExt *MigrationContextMock) AcquireExt(s1 SyncLink, a1 AcquireFlags) (b1 BoolDecision)

AcquireExt implements MigrationContext

func (*MigrationContextMock) AcquireExtAfterCounter

func (mmAcquireExt *MigrationContextMock) AcquireExtAfterCounter() uint64

AcquireExtAfterCounter returns a count of finished MigrationContextMock.AcquireExt invocations

func (*MigrationContextMock) AcquireExtBeforeCounter

func (mmAcquireExt *MigrationContextMock) AcquireExtBeforeCounter() uint64

AcquireExtBeforeCounter returns a count of MigrationContextMock.AcquireExt invocations

func (*MigrationContextMock) AcquireForThisStep

func (mmAcquireForThisStep *MigrationContextMock) AcquireForThisStep(s1 SyncLink) (b1 BoolDecision)

AcquireForThisStep implements MigrationContext

func (*MigrationContextMock) AcquireForThisStepAfterCounter

func (mmAcquireForThisStep *MigrationContextMock) AcquireForThisStepAfterCounter() uint64

AcquireForThisStepAfterCounter returns a count of finished MigrationContextMock.AcquireForThisStep invocations

func (*MigrationContextMock) AcquireForThisStepAndRelease

func (mmAcquireForThisStepAndRelease *MigrationContextMock) AcquireForThisStepAndRelease(s1 SyncLink) (b1 BoolDecision)

AcquireForThisStepAndRelease implements MigrationContext

func (*MigrationContextMock) AcquireForThisStepAndReleaseAfterCounter

func (mmAcquireForThisStepAndRelease *MigrationContextMock) AcquireForThisStepAndReleaseAfterCounter() uint64

AcquireForThisStepAndReleaseAfterCounter returns a count of finished MigrationContextMock.AcquireForThisStepAndRelease invocations

func (*MigrationContextMock) AcquireForThisStepAndReleaseBeforeCounter

func (mmAcquireForThisStepAndRelease *MigrationContextMock) AcquireForThisStepAndReleaseBeforeCounter() uint64

AcquireForThisStepAndReleaseBeforeCounter returns a count of MigrationContextMock.AcquireForThisStepAndRelease invocations

func (*MigrationContextMock) AcquireForThisStepBeforeCounter

func (mmAcquireForThisStep *MigrationContextMock) AcquireForThisStepBeforeCounter() uint64

AcquireForThisStepBeforeCounter returns a count of MigrationContextMock.AcquireForThisStep invocations

func (*MigrationContextMock) AffectedStep

func (mmAffectedStep *MigrationContextMock) AffectedStep() (s1 SlotStep)

AffectedStep implements MigrationContext

func (*MigrationContextMock) AffectedStepAfterCounter

func (mmAffectedStep *MigrationContextMock) AffectedStepAfterCounter() uint64

AffectedStepAfterCounter returns a count of finished MigrationContextMock.AffectedStep invocations

func (*MigrationContextMock) AffectedStepBeforeCounter

func (mmAffectedStep *MigrationContextMock) AffectedStepBeforeCounter() uint64

AffectedStepBeforeCounter returns a count of MigrationContextMock.AffectedStep invocations

func (*MigrationContextMock) ApplyAdjustment

func (mmApplyAdjustment *MigrationContextMock) ApplyAdjustment(s1 SyncAdjustment) (b1 bool)

ApplyAdjustment implements MigrationContext

func (*MigrationContextMock) ApplyAdjustmentAfterCounter

func (mmApplyAdjustment *MigrationContextMock) ApplyAdjustmentAfterCounter() uint64

ApplyAdjustmentAfterCounter returns a count of finished MigrationContextMock.ApplyAdjustment invocations

func (*MigrationContextMock) ApplyAdjustmentBeforeCounter

func (mmApplyAdjustment *MigrationContextMock) ApplyAdjustmentBeforeCounter() uint64

ApplyAdjustmentBeforeCounter returns a count of MigrationContextMock.ApplyAdjustment invocations

func (*MigrationContextMock) CallSubroutine

func (mmCallSubroutine *MigrationContextMock) CallSubroutine(s1 SubroutineStateMachine, m1 MigrateFunc, s2 SubroutineExitFunc) (s3 StateUpdate)

CallSubroutine implements MigrationContext

func (*MigrationContextMock) CallSubroutineAfterCounter

func (mmCallSubroutine *MigrationContextMock) CallSubroutineAfterCounter() uint64

CallSubroutineAfterCounter returns a count of finished MigrationContextMock.CallSubroutine invocations

func (*MigrationContextMock) CallSubroutineBeforeCounter

func (mmCallSubroutine *MigrationContextMock) CallSubroutineBeforeCounter() uint64

CallSubroutineBeforeCounter returns a count of MigrationContextMock.CallSubroutine invocations

func (*MigrationContextMock) Check

func (mmCheck *MigrationContextMock) Check(s1 SyncLink) (b1 BoolDecision)

Check implements MigrationContext

func (*MigrationContextMock) CheckAfterCounter

func (mmCheck *MigrationContextMock) CheckAfterCounter() uint64

CheckAfterCounter returns a count of finished MigrationContextMock.Check invocations

func (*MigrationContextMock) CheckBeforeCounter

func (mmCheck *MigrationContextMock) CheckBeforeCounter() uint64

CheckBeforeCounter returns a count of MigrationContextMock.Check invocations

func (*MigrationContextMock) Error

func (mmError *MigrationContextMock) Error(e1 error) (s1 StateUpdate)

Error implements MigrationContext

func (*MigrationContextMock) ErrorAfterCounter

func (mmError *MigrationContextMock) ErrorAfterCounter() uint64

ErrorAfterCounter returns a count of finished MigrationContextMock.Error invocations

func (*MigrationContextMock) ErrorBeforeCounter

func (mmError *MigrationContextMock) ErrorBeforeCounter() uint64

ErrorBeforeCounter returns a count of MigrationContextMock.Error invocations

func (*MigrationContextMock) GetContext

func (mmGetContext *MigrationContextMock) GetContext() (c1 context.Context)

GetContext implements MigrationContext

func (*MigrationContextMock) GetContextAfterCounter

func (mmGetContext *MigrationContextMock) GetContextAfterCounter() uint64

GetContextAfterCounter returns a count of finished MigrationContextMock.GetContext invocations

func (*MigrationContextMock) GetContextBeforeCounter

func (mmGetContext *MigrationContextMock) GetContextBeforeCounter() uint64

GetContextBeforeCounter returns a count of MigrationContextMock.GetContext invocations

func (*MigrationContextMock) GetPublished

func (mmGetPublished *MigrationContextMock) GetPublished(key interface{}) (p1 interface{})

GetPublished implements MigrationContext

func (*MigrationContextMock) GetPublishedAfterCounter

func (mmGetPublished *MigrationContextMock) GetPublishedAfterCounter() uint64

GetPublishedAfterCounter returns a count of finished MigrationContextMock.GetPublished invocations

func (*MigrationContextMock) GetPublishedBeforeCounter

func (mmGetPublished *MigrationContextMock) GetPublishedBeforeCounter() uint64

GetPublishedBeforeCounter returns a count of MigrationContextMock.GetPublished invocations

func (*MigrationContextMock) GetPublishedGlobalAlias

func (mmGetPublishedGlobalAlias *MigrationContextMock) GetPublishedGlobalAlias(key interface{}) (s1 SlotLink)

GetPublishedGlobalAlias implements MigrationContext

func (*MigrationContextMock) GetPublishedGlobalAliasAfterCounter

func (mmGetPublishedGlobalAlias *MigrationContextMock) GetPublishedGlobalAliasAfterCounter() uint64

GetPublishedGlobalAliasAfterCounter returns a count of finished MigrationContextMock.GetPublishedGlobalAlias invocations

func (*MigrationContextMock) GetPublishedGlobalAliasAndBargeIn

func (mmGetPublishedGlobalAliasAndBargeIn *MigrationContextMock) GetPublishedGlobalAliasAndBargeIn(key interface{}) (s1 SlotLink, b1 BargeInHolder)

GetPublishedGlobalAliasAndBargeIn implements MigrationContext

func (*MigrationContextMock) GetPublishedGlobalAliasAndBargeInAfterCounter

func (mmGetPublishedGlobalAliasAndBargeIn *MigrationContextMock) GetPublishedGlobalAliasAndBargeInAfterCounter() uint64

GetPublishedGlobalAliasAndBargeInAfterCounter returns a count of finished MigrationContextMock.GetPublishedGlobalAliasAndBargeIn invocations

func (*MigrationContextMock) GetPublishedGlobalAliasAndBargeInBeforeCounter

func (mmGetPublishedGlobalAliasAndBargeIn *MigrationContextMock) GetPublishedGlobalAliasAndBargeInBeforeCounter() uint64

GetPublishedGlobalAliasAndBargeInBeforeCounter returns a count of MigrationContextMock.GetPublishedGlobalAliasAndBargeIn invocations

func (*MigrationContextMock) GetPublishedGlobalAliasBeforeCounter

func (mmGetPublishedGlobalAlias *MigrationContextMock) GetPublishedGlobalAliasBeforeCounter() uint64

GetPublishedGlobalAliasBeforeCounter returns a count of MigrationContextMock.GetPublishedGlobalAlias invocations

func (mmGetPublishedLink *MigrationContextMock) GetPublishedLink(key interface{}) (s1 SharedDataLink)

GetPublishedLink implements MigrationContext

func (*MigrationContextMock) GetPublishedLinkAfterCounter

func (mmGetPublishedLink *MigrationContextMock) GetPublishedLinkAfterCounter() uint64

GetPublishedLinkAfterCounter returns a count of finished MigrationContextMock.GetPublishedLink invocations

func (*MigrationContextMock) GetPublishedLinkBeforeCounter

func (mmGetPublishedLink *MigrationContextMock) GetPublishedLinkBeforeCounter() uint64

GetPublishedLinkBeforeCounter returns a count of MigrationContextMock.GetPublishedLink invocations

func (*MigrationContextMock) GetTerminationResult

func (mmGetTerminationResult *MigrationContextMock) GetTerminationResult() (p1 interface{})

GetTerminationResult implements MigrationContext

func (*MigrationContextMock) GetTerminationResultAfterCounter

func (mmGetTerminationResult *MigrationContextMock) GetTerminationResultAfterCounter() uint64

GetTerminationResultAfterCounter returns a count of finished MigrationContextMock.GetTerminationResult invocations

func (*MigrationContextMock) GetTerminationResultBeforeCounter

func (mmGetTerminationResult *MigrationContextMock) GetTerminationResultBeforeCounter() uint64

GetTerminationResultBeforeCounter returns a count of MigrationContextMock.GetTerminationResult invocations

func (*MigrationContextMock) Jump

func (mmJump *MigrationContextMock) Jump(s1 StateFunc) (s2 StateUpdate)

Jump implements MigrationContext

func (*MigrationContextMock) JumpAfterCounter

func (mmJump *MigrationContextMock) JumpAfterCounter() uint64

JumpAfterCounter returns a count of finished MigrationContextMock.Jump invocations

func (*MigrationContextMock) JumpBeforeCounter

func (mmJump *MigrationContextMock) JumpBeforeCounter() uint64

JumpBeforeCounter returns a count of MigrationContextMock.Jump invocations

func (*MigrationContextMock) JumpExt

func (mmJumpExt *MigrationContextMock) JumpExt(s1 SlotStep) (s2 StateUpdate)

JumpExt implements MigrationContext

func (*MigrationContextMock) JumpExtAfterCounter

func (mmJumpExt *MigrationContextMock) JumpExtAfterCounter() uint64

JumpExtAfterCounter returns a count of finished MigrationContextMock.JumpExt invocations

func (*MigrationContextMock) JumpExtBeforeCounter

func (mmJumpExt *MigrationContextMock) JumpExtBeforeCounter() uint64

JumpExtBeforeCounter returns a count of MigrationContextMock.JumpExt invocations

func (*MigrationContextMock) Log

func (mmLog *MigrationContextMock) Log() (l1 Logger)

Log implements MigrationContext

func (*MigrationContextMock) LogAfterCounter

func (mmLog *MigrationContextMock) LogAfterCounter() uint64

LogAfterCounter returns a count of finished MigrationContextMock.Log invocations

func (*MigrationContextMock) LogBeforeCounter

func (mmLog *MigrationContextMock) LogBeforeCounter() uint64

LogBeforeCounter returns a count of MigrationContextMock.Log invocations

func (*MigrationContextMock) MinimockAcquireAndReleaseDone

func (m *MigrationContextMock) MinimockAcquireAndReleaseDone() bool

MinimockAcquireAndReleaseDone returns true if the count of the AcquireAndRelease invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockAcquireAndReleaseInspect

func (m *MigrationContextMock) MinimockAcquireAndReleaseInspect()

MinimockAcquireAndReleaseInspect logs each unmet expectation

func (*MigrationContextMock) MinimockAcquireDone

func (m *MigrationContextMock) MinimockAcquireDone() bool

MinimockAcquireDone returns true if the count of the Acquire invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockAcquireExtDone

func (m *MigrationContextMock) MinimockAcquireExtDone() bool

MinimockAcquireExtDone returns true if the count of the AcquireExt invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockAcquireExtInspect

func (m *MigrationContextMock) MinimockAcquireExtInspect()

MinimockAcquireExtInspect logs each unmet expectation

func (*MigrationContextMock) MinimockAcquireForThisStepAndReleaseDone

func (m *MigrationContextMock) MinimockAcquireForThisStepAndReleaseDone() bool

MinimockAcquireForThisStepAndReleaseDone returns true if the count of the AcquireForThisStepAndRelease invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockAcquireForThisStepAndReleaseInspect

func (m *MigrationContextMock) MinimockAcquireForThisStepAndReleaseInspect()

MinimockAcquireForThisStepAndReleaseInspect logs each unmet expectation

func (*MigrationContextMock) MinimockAcquireForThisStepDone

func (m *MigrationContextMock) MinimockAcquireForThisStepDone() bool

MinimockAcquireForThisStepDone returns true if the count of the AcquireForThisStep invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockAcquireForThisStepInspect

func (m *MigrationContextMock) MinimockAcquireForThisStepInspect()

MinimockAcquireForThisStepInspect logs each unmet expectation

func (*MigrationContextMock) MinimockAcquireInspect

func (m *MigrationContextMock) MinimockAcquireInspect()

MinimockAcquireInspect logs each unmet expectation

func (*MigrationContextMock) MinimockAffectedStepDone

func (m *MigrationContextMock) MinimockAffectedStepDone() bool

MinimockAffectedStepDone returns true if the count of the AffectedStep invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockAffectedStepInspect

func (m *MigrationContextMock) MinimockAffectedStepInspect()

MinimockAffectedStepInspect logs each unmet expectation

func (*MigrationContextMock) MinimockApplyAdjustmentDone

func (m *MigrationContextMock) MinimockApplyAdjustmentDone() bool

MinimockApplyAdjustmentDone returns true if the count of the ApplyAdjustment invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockApplyAdjustmentInspect

func (m *MigrationContextMock) MinimockApplyAdjustmentInspect()

MinimockApplyAdjustmentInspect logs each unmet expectation

func (*MigrationContextMock) MinimockCallSubroutineDone

func (m *MigrationContextMock) MinimockCallSubroutineDone() bool

MinimockCallSubroutineDone returns true if the count of the CallSubroutine invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockCallSubroutineInspect

func (m *MigrationContextMock) MinimockCallSubroutineInspect()

MinimockCallSubroutineInspect logs each unmet expectation

func (*MigrationContextMock) MinimockCheckDone

func (m *MigrationContextMock) MinimockCheckDone() bool

MinimockCheckDone returns true if the count of the Check invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockCheckInspect

func (m *MigrationContextMock) MinimockCheckInspect()

MinimockCheckInspect logs each unmet expectation

func (*MigrationContextMock) MinimockErrorDone

func (m *MigrationContextMock) MinimockErrorDone() bool

MinimockErrorDone returns true if the count of the Error invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockErrorInspect

func (m *MigrationContextMock) MinimockErrorInspect()

MinimockErrorInspect logs each unmet expectation

func (*MigrationContextMock) MinimockFinish

func (m *MigrationContextMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*MigrationContextMock) MinimockGetContextDone

func (m *MigrationContextMock) MinimockGetContextDone() bool

MinimockGetContextDone returns true if the count of the GetContext invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockGetContextInspect

func (m *MigrationContextMock) MinimockGetContextInspect()

MinimockGetContextInspect logs each unmet expectation

func (*MigrationContextMock) MinimockGetPublishedDone

func (m *MigrationContextMock) MinimockGetPublishedDone() bool

MinimockGetPublishedDone returns true if the count of the GetPublished invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockGetPublishedGlobalAliasAndBargeInDone

func (m *MigrationContextMock) MinimockGetPublishedGlobalAliasAndBargeInDone() bool

MinimockGetPublishedGlobalAliasAndBargeInDone returns true if the count of the GetPublishedGlobalAliasAndBargeIn invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockGetPublishedGlobalAliasAndBargeInInspect

func (m *MigrationContextMock) MinimockGetPublishedGlobalAliasAndBargeInInspect()

MinimockGetPublishedGlobalAliasAndBargeInInspect logs each unmet expectation

func (*MigrationContextMock) MinimockGetPublishedGlobalAliasDone

func (m *MigrationContextMock) MinimockGetPublishedGlobalAliasDone() bool

MinimockGetPublishedGlobalAliasDone returns true if the count of the GetPublishedGlobalAlias invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockGetPublishedGlobalAliasInspect

func (m *MigrationContextMock) MinimockGetPublishedGlobalAliasInspect()

MinimockGetPublishedGlobalAliasInspect logs each unmet expectation

func (*MigrationContextMock) MinimockGetPublishedInspect

func (m *MigrationContextMock) MinimockGetPublishedInspect()

MinimockGetPublishedInspect logs each unmet expectation

func (*MigrationContextMock) MinimockGetPublishedLinkDone

func (m *MigrationContextMock) MinimockGetPublishedLinkDone() bool

MinimockGetPublishedLinkDone returns true if the count of the GetPublishedLink invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockGetPublishedLinkInspect

func (m *MigrationContextMock) MinimockGetPublishedLinkInspect()

MinimockGetPublishedLinkInspect logs each unmet expectation

func (*MigrationContextMock) MinimockGetTerminationResultDone

func (m *MigrationContextMock) MinimockGetTerminationResultDone() bool

MinimockGetTerminationResultDone returns true if the count of the GetTerminationResult invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockGetTerminationResultInspect

func (m *MigrationContextMock) MinimockGetTerminationResultInspect()

MinimockGetTerminationResultInspect logs each unmet expectation

func (*MigrationContextMock) MinimockJumpDone

func (m *MigrationContextMock) MinimockJumpDone() bool

MinimockJumpDone returns true if the count of the Jump invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockJumpExtDone

func (m *MigrationContextMock) MinimockJumpExtDone() bool

MinimockJumpExtDone returns true if the count of the JumpExt invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockJumpExtInspect

func (m *MigrationContextMock) MinimockJumpExtInspect()

MinimockJumpExtInspect logs each unmet expectation

func (*MigrationContextMock) MinimockJumpInspect

func (m *MigrationContextMock) MinimockJumpInspect()

MinimockJumpInspect logs each unmet expectation

func (*MigrationContextMock) MinimockLogDone

func (m *MigrationContextMock) MinimockLogDone() bool

MinimockLogDone returns true if the count of the Log invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockLogInspect

func (m *MigrationContextMock) MinimockLogInspect()

MinimockLogInspect logs each unmet expectation

func (*MigrationContextMock) MinimockNewBargeInDone

func (m *MigrationContextMock) MinimockNewBargeInDone() bool

MinimockNewBargeInDone returns true if the count of the NewBargeIn invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockNewBargeInInspect

func (m *MigrationContextMock) MinimockNewBargeInInspect()

MinimockNewBargeInInspect logs each unmet expectation

func (*MigrationContextMock) MinimockNewBargeInWithParamDone

func (m *MigrationContextMock) MinimockNewBargeInWithParamDone() bool

MinimockNewBargeInWithParamDone returns true if the count of the NewBargeInWithParam invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockNewBargeInWithParamInspect

func (m *MigrationContextMock) MinimockNewBargeInWithParamInspect()

MinimockNewBargeInWithParamInspect logs each unmet expectation

func (*MigrationContextMock) MinimockOverrideDynamicBoostDone

func (m *MigrationContextMock) MinimockOverrideDynamicBoostDone() bool

MinimockOverrideDynamicBoostDone returns true if the count of the OverrideDynamicBoost invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockOverrideDynamicBoostInspect

func (m *MigrationContextMock) MinimockOverrideDynamicBoostInspect()

MinimockOverrideDynamicBoostInspect logs each unmet expectation

func (*MigrationContextMock) MinimockParentLinkDone

func (m *MigrationContextMock) MinimockParentLinkDone() bool

MinimockParentLinkDone returns true if the count of the ParentLink invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockParentLinkInspect

func (m *MigrationContextMock) MinimockParentLinkInspect()

MinimockParentLinkInspect logs each unmet expectation

func (*MigrationContextMock) MinimockPublishDone

func (m *MigrationContextMock) MinimockPublishDone() bool

MinimockPublishDone returns true if the count of the Publish invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockPublishGlobalAliasAndBargeInDone

func (m *MigrationContextMock) MinimockPublishGlobalAliasAndBargeInDone() bool

MinimockPublishGlobalAliasAndBargeInDone returns true if the count of the PublishGlobalAliasAndBargeIn invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockPublishGlobalAliasAndBargeInInspect

func (m *MigrationContextMock) MinimockPublishGlobalAliasAndBargeInInspect()

MinimockPublishGlobalAliasAndBargeInInspect logs each unmet expectation

func (*MigrationContextMock) MinimockPublishGlobalAliasDone

func (m *MigrationContextMock) MinimockPublishGlobalAliasDone() bool

MinimockPublishGlobalAliasDone returns true if the count of the PublishGlobalAlias invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockPublishGlobalAliasInspect

func (m *MigrationContextMock) MinimockPublishGlobalAliasInspect()

MinimockPublishGlobalAliasInspect logs each unmet expectation

func (*MigrationContextMock) MinimockPublishInspect

func (m *MigrationContextMock) MinimockPublishInspect()

MinimockPublishInspect logs each unmet expectation

func (*MigrationContextMock) MinimockPublishReplacementDone

func (m *MigrationContextMock) MinimockPublishReplacementDone() bool

MinimockPublishReplacementDone returns true if the count of the PublishReplacement invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockPublishReplacementInspect

func (m *MigrationContextMock) MinimockPublishReplacementInspect()

MinimockPublishReplacementInspect logs each unmet expectation

func (*MigrationContextMock) MinimockReleaseAllDone

func (m *MigrationContextMock) MinimockReleaseAllDone() bool

MinimockReleaseAllDone returns true if the count of the ReleaseAll invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockReleaseAllInspect

func (m *MigrationContextMock) MinimockReleaseAllInspect()

MinimockReleaseAllInspect logs each unmet expectation

func (*MigrationContextMock) MinimockReleaseDone

func (m *MigrationContextMock) MinimockReleaseDone() bool

MinimockReleaseDone returns true if the count of the Release invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockReleaseInspect

func (m *MigrationContextMock) MinimockReleaseInspect()

MinimockReleaseInspect logs each unmet expectation

func (*MigrationContextMock) MinimockRestoreStepDone

func (m *MigrationContextMock) MinimockRestoreStepDone() bool

MinimockRestoreStepDone returns true if the count of the RestoreStep invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockRestoreStepInspect

func (m *MigrationContextMock) MinimockRestoreStepInspect()

MinimockRestoreStepInspect logs each unmet expectation

func (*MigrationContextMock) MinimockSetDefaultErrorHandlerDone

func (m *MigrationContextMock) MinimockSetDefaultErrorHandlerDone() bool

MinimockSetDefaultErrorHandlerDone returns true if the count of the SetDefaultErrorHandler invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockSetDefaultErrorHandlerInspect

func (m *MigrationContextMock) MinimockSetDefaultErrorHandlerInspect()

MinimockSetDefaultErrorHandlerInspect logs each unmet expectation

func (*MigrationContextMock) MinimockSetDefaultFlagsDone

func (m *MigrationContextMock) MinimockSetDefaultFlagsDone() bool

MinimockSetDefaultFlagsDone returns true if the count of the SetDefaultFlags invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockSetDefaultFlagsInspect

func (m *MigrationContextMock) MinimockSetDefaultFlagsInspect()

MinimockSetDefaultFlagsInspect logs each unmet expectation

func (*MigrationContextMock) MinimockSetDefaultMigrationDone

func (m *MigrationContextMock) MinimockSetDefaultMigrationDone() bool

MinimockSetDefaultMigrationDone returns true if the count of the SetDefaultMigration invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockSetDefaultMigrationInspect

func (m *MigrationContextMock) MinimockSetDefaultMigrationInspect()

MinimockSetDefaultMigrationInspect logs each unmet expectation

func (*MigrationContextMock) MinimockSetFinalizerDone

func (m *MigrationContextMock) MinimockSetFinalizerDone() bool

MinimockSetFinalizerDone returns true if the count of the SetFinalizer invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockSetFinalizerInspect

func (m *MigrationContextMock) MinimockSetFinalizerInspect()

MinimockSetFinalizerInspect logs each unmet expectation

func (*MigrationContextMock) MinimockSetLogTracingDone

func (m *MigrationContextMock) MinimockSetLogTracingDone() bool

MinimockSetLogTracingDone returns true if the count of the SetLogTracing invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockSetLogTracingInspect

func (m *MigrationContextMock) MinimockSetLogTracingInspect()

MinimockSetLogTracingInspect logs each unmet expectation

func (*MigrationContextMock) MinimockSetTerminationResultDone

func (m *MigrationContextMock) MinimockSetTerminationResultDone() bool

MinimockSetTerminationResultDone returns true if the count of the SetTerminationResult invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockSetTerminationResultInspect

func (m *MigrationContextMock) MinimockSetTerminationResultInspect()

MinimockSetTerminationResultInspect logs each unmet expectation

func (*MigrationContextMock) MinimockShareDone

func (m *MigrationContextMock) MinimockShareDone() bool

MinimockShareDone returns true if the count of the Share invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockShareInspect

func (m *MigrationContextMock) MinimockShareInspect()

MinimockShareInspect logs each unmet expectation

func (*MigrationContextMock) MinimockSkipMultipleMigrationsDone

func (m *MigrationContextMock) MinimockSkipMultipleMigrationsDone() bool

MinimockSkipMultipleMigrationsDone returns true if the count of the SkipMultipleMigrations invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockSkipMultipleMigrationsInspect

func (m *MigrationContextMock) MinimockSkipMultipleMigrationsInspect()

MinimockSkipMultipleMigrationsInspect logs each unmet expectation

func (*MigrationContextMock) MinimockSlotLinkDone

func (m *MigrationContextMock) MinimockSlotLinkDone() bool

MinimockSlotLinkDone returns true if the count of the SlotLink invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockSlotLinkInspect

func (m *MigrationContextMock) MinimockSlotLinkInspect()

MinimockSlotLinkInspect logs each unmet expectation

func (*MigrationContextMock) MinimockStayDone

func (m *MigrationContextMock) MinimockStayDone() bool

MinimockStayDone returns true if the count of the Stay invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockStayInspect

func (m *MigrationContextMock) MinimockStayInspect()

MinimockStayInspect logs each unmet expectation

func (*MigrationContextMock) MinimockStopDone

func (m *MigrationContextMock) MinimockStopDone() bool

MinimockStopDone returns true if the count of the Stop invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockStopInspect

func (m *MigrationContextMock) MinimockStopInspect()

MinimockStopInspect logs each unmet expectation

func (*MigrationContextMock) MinimockUnpublishAllDone

func (m *MigrationContextMock) MinimockUnpublishAllDone() bool

MinimockUnpublishAllDone returns true if the count of the UnpublishAll invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockUnpublishAllInspect

func (m *MigrationContextMock) MinimockUnpublishAllInspect()

MinimockUnpublishAllInspect logs each unmet expectation

func (*MigrationContextMock) MinimockUnpublishDone

func (m *MigrationContextMock) MinimockUnpublishDone() bool

MinimockUnpublishDone returns true if the count of the Unpublish invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockUnpublishGlobalAliasDone

func (m *MigrationContextMock) MinimockUnpublishGlobalAliasDone() bool

MinimockUnpublishGlobalAliasDone returns true if the count of the UnpublishGlobalAlias invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockUnpublishGlobalAliasInspect

func (m *MigrationContextMock) MinimockUnpublishGlobalAliasInspect()

MinimockUnpublishGlobalAliasInspect logs each unmet expectation

func (*MigrationContextMock) MinimockUnpublishInspect

func (m *MigrationContextMock) MinimockUnpublishInspect()

MinimockUnpublishInspect logs each unmet expectation

func (*MigrationContextMock) MinimockUnshareDone

func (m *MigrationContextMock) MinimockUnshareDone() bool

MinimockUnshareDone returns true if the count of the Unshare invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockUnshareInspect

func (m *MigrationContextMock) MinimockUnshareInspect()

MinimockUnshareInspect logs each unmet expectation

func (*MigrationContextMock) MinimockUpdateDefaultStepLoggerDone

func (m *MigrationContextMock) MinimockUpdateDefaultStepLoggerDone() bool

MinimockUpdateDefaultStepLoggerDone returns true if the count of the UpdateDefaultStepLogger invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockUpdateDefaultStepLoggerInspect

func (m *MigrationContextMock) MinimockUpdateDefaultStepLoggerInspect()

MinimockUpdateDefaultStepLoggerInspect logs each unmet expectation

func (*MigrationContextMock) MinimockWait

func (m *MigrationContextMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*MigrationContextMock) MinimockWakeUpDone

func (m *MigrationContextMock) MinimockWakeUpDone() bool

MinimockWakeUpDone returns true if the count of the WakeUp invocations corresponds the number of defined expectations

func (*MigrationContextMock) MinimockWakeUpInspect

func (m *MigrationContextMock) MinimockWakeUpInspect()

MinimockWakeUpInspect logs each unmet expectation

func (*MigrationContextMock) NewBargeIn

func (mmNewBargeIn *MigrationContextMock) NewBargeIn() (b1 BargeInBuilder)

NewBargeIn implements MigrationContext

func (*MigrationContextMock) NewBargeInAfterCounter

func (mmNewBargeIn *MigrationContextMock) NewBargeInAfterCounter() uint64

NewBargeInAfterCounter returns a count of finished MigrationContextMock.NewBargeIn invocations

func (*MigrationContextMock) NewBargeInBeforeCounter

func (mmNewBargeIn *MigrationContextMock) NewBargeInBeforeCounter() uint64

NewBargeInBeforeCounter returns a count of MigrationContextMock.NewBargeIn invocations

func (*MigrationContextMock) NewBargeInWithParam

func (mmNewBargeInWithParam *MigrationContextMock) NewBargeInWithParam(b1 BargeInApplyFunc) (b2 BargeInWithParam)

NewBargeInWithParam implements MigrationContext

func (*MigrationContextMock) NewBargeInWithParamAfterCounter

func (mmNewBargeInWithParam *MigrationContextMock) NewBargeInWithParamAfterCounter() uint64

NewBargeInWithParamAfterCounter returns a count of finished MigrationContextMock.NewBargeInWithParam invocations

func (*MigrationContextMock) NewBargeInWithParamBeforeCounter

func (mmNewBargeInWithParam *MigrationContextMock) NewBargeInWithParamBeforeCounter() uint64

NewBargeInWithParamBeforeCounter returns a count of MigrationContextMock.NewBargeInWithParam invocations

func (*MigrationContextMock) OverrideDynamicBoost

func (mmOverrideDynamicBoost *MigrationContextMock) OverrideDynamicBoost(b1 bool)

OverrideDynamicBoost implements MigrationContext

func (*MigrationContextMock) OverrideDynamicBoostAfterCounter

func (mmOverrideDynamicBoost *MigrationContextMock) OverrideDynamicBoostAfterCounter() uint64

OverrideDynamicBoostAfterCounter returns a count of finished MigrationContextMock.OverrideDynamicBoost invocations

func (*MigrationContextMock) OverrideDynamicBoostBeforeCounter

func (mmOverrideDynamicBoost *MigrationContextMock) OverrideDynamicBoostBeforeCounter() uint64

OverrideDynamicBoostBeforeCounter returns a count of MigrationContextMock.OverrideDynamicBoost invocations

func (mmParentLink *MigrationContextMock) ParentLink() (s1 SlotLink)

ParentLink implements MigrationContext

func (*MigrationContextMock) ParentLinkAfterCounter

func (mmParentLink *MigrationContextMock) ParentLinkAfterCounter() uint64

ParentLinkAfterCounter returns a count of finished MigrationContextMock.ParentLink invocations

func (*MigrationContextMock) ParentLinkBeforeCounter

func (mmParentLink *MigrationContextMock) ParentLinkBeforeCounter() uint64

ParentLinkBeforeCounter returns a count of MigrationContextMock.ParentLink invocations

func (*MigrationContextMock) Publish

func (mmPublish *MigrationContextMock) Publish(key interface{}, data interface{}) (b1 bool)

Publish implements MigrationContext

func (*MigrationContextMock) PublishAfterCounter

func (mmPublish *MigrationContextMock) PublishAfterCounter() uint64

PublishAfterCounter returns a count of finished MigrationContextMock.Publish invocations

func (*MigrationContextMock) PublishBeforeCounter

func (mmPublish *MigrationContextMock) PublishBeforeCounter() uint64

PublishBeforeCounter returns a count of MigrationContextMock.Publish invocations

func (*MigrationContextMock) PublishGlobalAlias

func (mmPublishGlobalAlias *MigrationContextMock) PublishGlobalAlias(key interface{}) (b1 bool)

PublishGlobalAlias implements MigrationContext

func (*MigrationContextMock) PublishGlobalAliasAfterCounter

func (mmPublishGlobalAlias *MigrationContextMock) PublishGlobalAliasAfterCounter() uint64

PublishGlobalAliasAfterCounter returns a count of finished MigrationContextMock.PublishGlobalAlias invocations

func (*MigrationContextMock) PublishGlobalAliasAndBargeIn

func (mmPublishGlobalAliasAndBargeIn *MigrationContextMock) PublishGlobalAliasAndBargeIn(key interface{}, handler BargeInHolder) (b1 bool)

PublishGlobalAliasAndBargeIn implements MigrationContext

func (*MigrationContextMock) PublishGlobalAliasAndBargeInAfterCounter

func (mmPublishGlobalAliasAndBargeIn *MigrationContextMock) PublishGlobalAliasAndBargeInAfterCounter() uint64

PublishGlobalAliasAndBargeInAfterCounter returns a count of finished MigrationContextMock.PublishGlobalAliasAndBargeIn invocations

func (*MigrationContextMock) PublishGlobalAliasAndBargeInBeforeCounter

func (mmPublishGlobalAliasAndBargeIn *MigrationContextMock) PublishGlobalAliasAndBargeInBeforeCounter() uint64

PublishGlobalAliasAndBargeInBeforeCounter returns a count of MigrationContextMock.PublishGlobalAliasAndBargeIn invocations

func (*MigrationContextMock) PublishGlobalAliasBeforeCounter

func (mmPublishGlobalAlias *MigrationContextMock) PublishGlobalAliasBeforeCounter() uint64

PublishGlobalAliasBeforeCounter returns a count of MigrationContextMock.PublishGlobalAlias invocations

func (*MigrationContextMock) PublishReplacement

func (mmPublishReplacement *MigrationContextMock) PublishReplacement(key interface{}, data interface{}) (b1 bool)

PublishReplacement implements MigrationContext

func (*MigrationContextMock) PublishReplacementAfterCounter

func (mmPublishReplacement *MigrationContextMock) PublishReplacementAfterCounter() uint64

PublishReplacementAfterCounter returns a count of finished MigrationContextMock.PublishReplacement invocations

func (*MigrationContextMock) PublishReplacementBeforeCounter

func (mmPublishReplacement *MigrationContextMock) PublishReplacementBeforeCounter() uint64

PublishReplacementBeforeCounter returns a count of MigrationContextMock.PublishReplacement invocations

func (*MigrationContextMock) Release

func (mmRelease *MigrationContextMock) Release(s1 SyncLink) (b1 bool)

Release implements MigrationContext

func (*MigrationContextMock) ReleaseAfterCounter

func (mmRelease *MigrationContextMock) ReleaseAfterCounter() uint64

ReleaseAfterCounter returns a count of finished MigrationContextMock.Release invocations

func (*MigrationContextMock) ReleaseAll

func (mmReleaseAll *MigrationContextMock) ReleaseAll() (b1 bool)

ReleaseAll implements MigrationContext

func (*MigrationContextMock) ReleaseAllAfterCounter

func (mmReleaseAll *MigrationContextMock) ReleaseAllAfterCounter() uint64

ReleaseAllAfterCounter returns a count of finished MigrationContextMock.ReleaseAll invocations

func (*MigrationContextMock) ReleaseAllBeforeCounter

func (mmReleaseAll *MigrationContextMock) ReleaseAllBeforeCounter() uint64

ReleaseAllBeforeCounter returns a count of MigrationContextMock.ReleaseAll invocations

func (*MigrationContextMock) ReleaseBeforeCounter

func (mmRelease *MigrationContextMock) ReleaseBeforeCounter() uint64

ReleaseBeforeCounter returns a count of MigrationContextMock.Release invocations

func (*MigrationContextMock) RestoreStep

func (mmRestoreStep *MigrationContextMock) RestoreStep(s1 SlotStep) (s2 StateUpdate)

RestoreStep implements MigrationContext

func (*MigrationContextMock) RestoreStepAfterCounter

func (mmRestoreStep *MigrationContextMock) RestoreStepAfterCounter() uint64

RestoreStepAfterCounter returns a count of finished MigrationContextMock.RestoreStep invocations

func (*MigrationContextMock) RestoreStepBeforeCounter

func (mmRestoreStep *MigrationContextMock) RestoreStepBeforeCounter() uint64

RestoreStepBeforeCounter returns a count of MigrationContextMock.RestoreStep invocations

func (*MigrationContextMock) SetDefaultErrorHandler

func (mmSetDefaultErrorHandler *MigrationContextMock) SetDefaultErrorHandler(e1 ErrorHandlerFunc)

SetDefaultErrorHandler implements MigrationContext

func (*MigrationContextMock) SetDefaultErrorHandlerAfterCounter

func (mmSetDefaultErrorHandler *MigrationContextMock) SetDefaultErrorHandlerAfterCounter() uint64

SetDefaultErrorHandlerAfterCounter returns a count of finished MigrationContextMock.SetDefaultErrorHandler invocations

func (*MigrationContextMock) SetDefaultErrorHandlerBeforeCounter

func (mmSetDefaultErrorHandler *MigrationContextMock) SetDefaultErrorHandlerBeforeCounter() uint64

SetDefaultErrorHandlerBeforeCounter returns a count of MigrationContextMock.SetDefaultErrorHandler invocations

func (*MigrationContextMock) SetDefaultFlags

func (mmSetDefaultFlags *MigrationContextMock) SetDefaultFlags(s1 StepFlags)

SetDefaultFlags implements MigrationContext

func (*MigrationContextMock) SetDefaultFlagsAfterCounter

func (mmSetDefaultFlags *MigrationContextMock) SetDefaultFlagsAfterCounter() uint64

SetDefaultFlagsAfterCounter returns a count of finished MigrationContextMock.SetDefaultFlags invocations

func (*MigrationContextMock) SetDefaultFlagsBeforeCounter

func (mmSetDefaultFlags *MigrationContextMock) SetDefaultFlagsBeforeCounter() uint64

SetDefaultFlagsBeforeCounter returns a count of MigrationContextMock.SetDefaultFlags invocations

func (*MigrationContextMock) SetDefaultMigration

func (mmSetDefaultMigration *MigrationContextMock) SetDefaultMigration(m1 MigrateFunc)

SetDefaultMigration implements MigrationContext

func (*MigrationContextMock) SetDefaultMigrationAfterCounter

func (mmSetDefaultMigration *MigrationContextMock) SetDefaultMigrationAfterCounter() uint64

SetDefaultMigrationAfterCounter returns a count of finished MigrationContextMock.SetDefaultMigration invocations

func (*MigrationContextMock) SetDefaultMigrationBeforeCounter

func (mmSetDefaultMigration *MigrationContextMock) SetDefaultMigrationBeforeCounter() uint64

SetDefaultMigrationBeforeCounter returns a count of MigrationContextMock.SetDefaultMigration invocations

func (*MigrationContextMock) SetFinalizer

func (mmSetFinalizer *MigrationContextMock) SetFinalizer(f1 FinalizeFunc)

SetFinalizer implements MigrationContext

func (*MigrationContextMock) SetFinalizerAfterCounter

func (mmSetFinalizer *MigrationContextMock) SetFinalizerAfterCounter() uint64

SetFinalizerAfterCounter returns a count of finished MigrationContextMock.SetFinalizer invocations

func (*MigrationContextMock) SetFinalizerBeforeCounter

func (mmSetFinalizer *MigrationContextMock) SetFinalizerBeforeCounter() uint64

SetFinalizerBeforeCounter returns a count of MigrationContextMock.SetFinalizer invocations

func (*MigrationContextMock) SetLogTracing

func (mmSetLogTracing *MigrationContextMock) SetLogTracing(b1 bool)

SetLogTracing implements MigrationContext

func (*MigrationContextMock) SetLogTracingAfterCounter

func (mmSetLogTracing *MigrationContextMock) SetLogTracingAfterCounter() uint64

SetLogTracingAfterCounter returns a count of finished MigrationContextMock.SetLogTracing invocations

func (*MigrationContextMock) SetLogTracingBeforeCounter

func (mmSetLogTracing *MigrationContextMock) SetLogTracingBeforeCounter() uint64

SetLogTracingBeforeCounter returns a count of MigrationContextMock.SetLogTracing invocations

func (*MigrationContextMock) SetTerminationResult

func (mmSetTerminationResult *MigrationContextMock) SetTerminationResult(p1 interface{})

SetTerminationResult implements MigrationContext

func (*MigrationContextMock) SetTerminationResultAfterCounter

func (mmSetTerminationResult *MigrationContextMock) SetTerminationResultAfterCounter() uint64

SetTerminationResultAfterCounter returns a count of finished MigrationContextMock.SetTerminationResult invocations

func (*MigrationContextMock) SetTerminationResultBeforeCounter

func (mmSetTerminationResult *MigrationContextMock) SetTerminationResultBeforeCounter() uint64

SetTerminationResultBeforeCounter returns a count of MigrationContextMock.SetTerminationResult invocations

func (*MigrationContextMock) Share

func (mmShare *MigrationContextMock) Share(data interface{}, flags ShareDataFlags) (s1 SharedDataLink)

Share implements MigrationContext

func (*MigrationContextMock) ShareAfterCounter

func (mmShare *MigrationContextMock) ShareAfterCounter() uint64

ShareAfterCounter returns a count of finished MigrationContextMock.Share invocations

func (*MigrationContextMock) ShareBeforeCounter

func (mmShare *MigrationContextMock) ShareBeforeCounter() uint64

ShareBeforeCounter returns a count of MigrationContextMock.Share invocations

func (*MigrationContextMock) SkipMultipleMigrations

func (mmSkipMultipleMigrations *MigrationContextMock) SkipMultipleMigrations()

SkipMultipleMigrations implements MigrationContext

func (*MigrationContextMock) SkipMultipleMigrationsAfterCounter

func (mmSkipMultipleMigrations *MigrationContextMock) SkipMultipleMigrationsAfterCounter() uint64

SkipMultipleMigrationsAfterCounter returns a count of finished MigrationContextMock.SkipMultipleMigrations invocations

func (*MigrationContextMock) SkipMultipleMigrationsBeforeCounter

func (mmSkipMultipleMigrations *MigrationContextMock) SkipMultipleMigrationsBeforeCounter() uint64

SkipMultipleMigrationsBeforeCounter returns a count of MigrationContextMock.SkipMultipleMigrations invocations

func (mmSlotLink *MigrationContextMock) SlotLink() (s1 SlotLink)

SlotLink implements MigrationContext

func (*MigrationContextMock) SlotLinkAfterCounter

func (mmSlotLink *MigrationContextMock) SlotLinkAfterCounter() uint64

SlotLinkAfterCounter returns a count of finished MigrationContextMock.SlotLink invocations

func (*MigrationContextMock) SlotLinkBeforeCounter

func (mmSlotLink *MigrationContextMock) SlotLinkBeforeCounter() uint64

SlotLinkBeforeCounter returns a count of MigrationContextMock.SlotLink invocations

func (*MigrationContextMock) Stay

func (mmStay *MigrationContextMock) Stay() (s1 StateUpdate)

Stay implements MigrationContext

func (*MigrationContextMock) StayAfterCounter

func (mmStay *MigrationContextMock) StayAfterCounter() uint64

StayAfterCounter returns a count of finished MigrationContextMock.Stay invocations

func (*MigrationContextMock) StayBeforeCounter

func (mmStay *MigrationContextMock) StayBeforeCounter() uint64

StayBeforeCounter returns a count of MigrationContextMock.Stay invocations

func (*MigrationContextMock) Stop

func (mmStop *MigrationContextMock) Stop() (s1 StateUpdate)

Stop implements MigrationContext

func (*MigrationContextMock) StopAfterCounter

func (mmStop *MigrationContextMock) StopAfterCounter() uint64

StopAfterCounter returns a count of finished MigrationContextMock.Stop invocations

func (*MigrationContextMock) StopBeforeCounter

func (mmStop *MigrationContextMock) StopBeforeCounter() uint64

StopBeforeCounter returns a count of MigrationContextMock.Stop invocations

func (*MigrationContextMock) Unpublish

func (mmUnpublish *MigrationContextMock) Unpublish(key interface{}) (b1 bool)

Unpublish implements MigrationContext

func (*MigrationContextMock) UnpublishAfterCounter

func (mmUnpublish *MigrationContextMock) UnpublishAfterCounter() uint64

UnpublishAfterCounter returns a count of finished MigrationContextMock.Unpublish invocations

func (*MigrationContextMock) UnpublishAll

func (mmUnpublishAll *MigrationContextMock) UnpublishAll()

UnpublishAll implements MigrationContext

func (*MigrationContextMock) UnpublishAllAfterCounter

func (mmUnpublishAll *MigrationContextMock) UnpublishAllAfterCounter() uint64

UnpublishAllAfterCounter returns a count of finished MigrationContextMock.UnpublishAll invocations

func (*MigrationContextMock) UnpublishAllBeforeCounter

func (mmUnpublishAll *MigrationContextMock) UnpublishAllBeforeCounter() uint64

UnpublishAllBeforeCounter returns a count of MigrationContextMock.UnpublishAll invocations

func (*MigrationContextMock) UnpublishBeforeCounter

func (mmUnpublish *MigrationContextMock) UnpublishBeforeCounter() uint64

UnpublishBeforeCounter returns a count of MigrationContextMock.Unpublish invocations

func (*MigrationContextMock) UnpublishGlobalAlias

func (mmUnpublishGlobalAlias *MigrationContextMock) UnpublishGlobalAlias(key interface{}) (b1 bool)

UnpublishGlobalAlias implements MigrationContext

func (*MigrationContextMock) UnpublishGlobalAliasAfterCounter

func (mmUnpublishGlobalAlias *MigrationContextMock) UnpublishGlobalAliasAfterCounter() uint64

UnpublishGlobalAliasAfterCounter returns a count of finished MigrationContextMock.UnpublishGlobalAlias invocations

func (*MigrationContextMock) UnpublishGlobalAliasBeforeCounter

func (mmUnpublishGlobalAlias *MigrationContextMock) UnpublishGlobalAliasBeforeCounter() uint64

UnpublishGlobalAliasBeforeCounter returns a count of MigrationContextMock.UnpublishGlobalAlias invocations

func (*MigrationContextMock) Unshare

func (mmUnshare *MigrationContextMock) Unshare(s1 SharedDataLink) (b1 bool)

Unshare implements MigrationContext

func (*MigrationContextMock) UnshareAfterCounter

func (mmUnshare *MigrationContextMock) UnshareAfterCounter() uint64

UnshareAfterCounter returns a count of finished MigrationContextMock.Unshare invocations

func (*MigrationContextMock) UnshareBeforeCounter

func (mmUnshare *MigrationContextMock) UnshareBeforeCounter() uint64

UnshareBeforeCounter returns a count of MigrationContextMock.Unshare invocations

func (*MigrationContextMock) UpdateDefaultStepLogger

func (mmUpdateDefaultStepLogger *MigrationContextMock) UpdateDefaultStepLogger(s1 StepLoggerUpdateFunc)

UpdateDefaultStepLogger implements MigrationContext

func (*MigrationContextMock) UpdateDefaultStepLoggerAfterCounter

func (mmUpdateDefaultStepLogger *MigrationContextMock) UpdateDefaultStepLoggerAfterCounter() uint64

UpdateDefaultStepLoggerAfterCounter returns a count of finished MigrationContextMock.UpdateDefaultStepLogger invocations

func (*MigrationContextMock) UpdateDefaultStepLoggerBeforeCounter

func (mmUpdateDefaultStepLogger *MigrationContextMock) UpdateDefaultStepLoggerBeforeCounter() uint64

UpdateDefaultStepLoggerBeforeCounter returns a count of MigrationContextMock.UpdateDefaultStepLogger invocations

func (*MigrationContextMock) WakeUp

func (mmWakeUp *MigrationContextMock) WakeUp() (s1 StateUpdate)

WakeUp implements MigrationContext

func (*MigrationContextMock) WakeUpAfterCounter

func (mmWakeUp *MigrationContextMock) WakeUpAfterCounter() uint64

WakeUpAfterCounter returns a count of finished MigrationContextMock.WakeUp invocations

func (*MigrationContextMock) WakeUpBeforeCounter

func (mmWakeUp *MigrationContextMock) WakeUpBeforeCounter() uint64

WakeUpBeforeCounter returns a count of MigrationContextMock.WakeUp invocations

type MigrationContextMockAcquireAndReleaseExpectation

type MigrationContextMockAcquireAndReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockAcquireAndReleaseExpectation specifies expectation struct of the MigrationContext.AcquireAndRelease

func (*MigrationContextMockAcquireAndReleaseExpectation) Then

Then sets up MigrationContext.AcquireAndRelease return parameters for the expectation previously defined by the When method

type MigrationContextMockAcquireAndReleaseParams

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

MigrationContextMockAcquireAndReleaseParams contains parameters of the MigrationContext.AcquireAndRelease

type MigrationContextMockAcquireAndReleaseResults

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

MigrationContextMockAcquireAndReleaseResults contains results of the MigrationContext.AcquireAndRelease

type MigrationContextMockAcquireExpectation

type MigrationContextMockAcquireExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockAcquireExpectation specifies expectation struct of the MigrationContext.Acquire

func (*MigrationContextMockAcquireExpectation) Then

Then sets up MigrationContext.Acquire return parameters for the expectation previously defined by the When method

type MigrationContextMockAcquireExtExpectation

type MigrationContextMockAcquireExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockAcquireExtExpectation specifies expectation struct of the MigrationContext.AcquireExt

func (*MigrationContextMockAcquireExtExpectation) Then

Then sets up MigrationContext.AcquireExt return parameters for the expectation previously defined by the When method

type MigrationContextMockAcquireExtParams

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

MigrationContextMockAcquireExtParams contains parameters of the MigrationContext.AcquireExt

type MigrationContextMockAcquireExtResults

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

MigrationContextMockAcquireExtResults contains results of the MigrationContext.AcquireExt

type MigrationContextMockAcquireForThisStepAndReleaseExpectation

type MigrationContextMockAcquireForThisStepAndReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockAcquireForThisStepAndReleaseExpectation specifies expectation struct of the MigrationContext.AcquireForThisStepAndRelease

func (*MigrationContextMockAcquireForThisStepAndReleaseExpectation) Then

Then sets up MigrationContext.AcquireForThisStepAndRelease return parameters for the expectation previously defined by the When method

type MigrationContextMockAcquireForThisStepAndReleaseParams

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

MigrationContextMockAcquireForThisStepAndReleaseParams contains parameters of the MigrationContext.AcquireForThisStepAndRelease

type MigrationContextMockAcquireForThisStepAndReleaseResults

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

MigrationContextMockAcquireForThisStepAndReleaseResults contains results of the MigrationContext.AcquireForThisStepAndRelease

type MigrationContextMockAcquireForThisStepExpectation

type MigrationContextMockAcquireForThisStepExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockAcquireForThisStepExpectation specifies expectation struct of the MigrationContext.AcquireForThisStep

func (*MigrationContextMockAcquireForThisStepExpectation) Then

Then sets up MigrationContext.AcquireForThisStep return parameters for the expectation previously defined by the When method

type MigrationContextMockAcquireForThisStepParams

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

MigrationContextMockAcquireForThisStepParams contains parameters of the MigrationContext.AcquireForThisStep

type MigrationContextMockAcquireForThisStepResults

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

MigrationContextMockAcquireForThisStepResults contains results of the MigrationContext.AcquireForThisStep

type MigrationContextMockAcquireParams

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

MigrationContextMockAcquireParams contains parameters of the MigrationContext.Acquire

type MigrationContextMockAcquireResults

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

MigrationContextMockAcquireResults contains results of the MigrationContext.Acquire

type MigrationContextMockAffectedStepExpectation

type MigrationContextMockAffectedStepExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockAffectedStepExpectation specifies expectation struct of the MigrationContext.AffectedStep

type MigrationContextMockAffectedStepResults

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

MigrationContextMockAffectedStepResults contains results of the MigrationContext.AffectedStep

type MigrationContextMockApplyAdjustmentExpectation

type MigrationContextMockApplyAdjustmentExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockApplyAdjustmentExpectation specifies expectation struct of the MigrationContext.ApplyAdjustment

func (*MigrationContextMockApplyAdjustmentExpectation) Then

Then sets up MigrationContext.ApplyAdjustment return parameters for the expectation previously defined by the When method

type MigrationContextMockApplyAdjustmentParams

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

MigrationContextMockApplyAdjustmentParams contains parameters of the MigrationContext.ApplyAdjustment

type MigrationContextMockApplyAdjustmentResults

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

MigrationContextMockApplyAdjustmentResults contains results of the MigrationContext.ApplyAdjustment

type MigrationContextMockCallSubroutineExpectation

type MigrationContextMockCallSubroutineExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockCallSubroutineExpectation specifies expectation struct of the MigrationContext.CallSubroutine

func (*MigrationContextMockCallSubroutineExpectation) Then

Then sets up MigrationContext.CallSubroutine return parameters for the expectation previously defined by the When method

type MigrationContextMockCallSubroutineParams

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

MigrationContextMockCallSubroutineParams contains parameters of the MigrationContext.CallSubroutine

type MigrationContextMockCallSubroutineResults

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

MigrationContextMockCallSubroutineResults contains results of the MigrationContext.CallSubroutine

type MigrationContextMockCheckExpectation

type MigrationContextMockCheckExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockCheckExpectation specifies expectation struct of the MigrationContext.Check

func (*MigrationContextMockCheckExpectation) Then

Then sets up MigrationContext.Check return parameters for the expectation previously defined by the When method

type MigrationContextMockCheckParams

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

MigrationContextMockCheckParams contains parameters of the MigrationContext.Check

type MigrationContextMockCheckResults

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

MigrationContextMockCheckResults contains results of the MigrationContext.Check

type MigrationContextMockErrorExpectation

type MigrationContextMockErrorExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockErrorExpectation specifies expectation struct of the MigrationContext.Error

func (*MigrationContextMockErrorExpectation) Then

Then sets up MigrationContext.Error return parameters for the expectation previously defined by the When method

type MigrationContextMockErrorParams

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

MigrationContextMockErrorParams contains parameters of the MigrationContext.Error

type MigrationContextMockErrorResults

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

MigrationContextMockErrorResults contains results of the MigrationContext.Error

type MigrationContextMockGetContextExpectation

type MigrationContextMockGetContextExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockGetContextExpectation specifies expectation struct of the MigrationContext.GetContext

type MigrationContextMockGetContextResults

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

MigrationContextMockGetContextResults contains results of the MigrationContext.GetContext

type MigrationContextMockGetPublishedExpectation

type MigrationContextMockGetPublishedExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockGetPublishedExpectation specifies expectation struct of the MigrationContext.GetPublished

func (*MigrationContextMockGetPublishedExpectation) Then

Then sets up MigrationContext.GetPublished return parameters for the expectation previously defined by the When method

type MigrationContextMockGetPublishedGlobalAliasAndBargeInExpectation

type MigrationContextMockGetPublishedGlobalAliasAndBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockGetPublishedGlobalAliasAndBargeInExpectation specifies expectation struct of the MigrationContext.GetPublishedGlobalAliasAndBargeIn

func (*MigrationContextMockGetPublishedGlobalAliasAndBargeInExpectation) Then

Then sets up MigrationContext.GetPublishedGlobalAliasAndBargeIn return parameters for the expectation previously defined by the When method

type MigrationContextMockGetPublishedGlobalAliasAndBargeInParams

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

MigrationContextMockGetPublishedGlobalAliasAndBargeInParams contains parameters of the MigrationContext.GetPublishedGlobalAliasAndBargeIn

type MigrationContextMockGetPublishedGlobalAliasAndBargeInResults

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

MigrationContextMockGetPublishedGlobalAliasAndBargeInResults contains results of the MigrationContext.GetPublishedGlobalAliasAndBargeIn

type MigrationContextMockGetPublishedGlobalAliasExpectation

type MigrationContextMockGetPublishedGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockGetPublishedGlobalAliasExpectation specifies expectation struct of the MigrationContext.GetPublishedGlobalAlias

func (*MigrationContextMockGetPublishedGlobalAliasExpectation) Then

Then sets up MigrationContext.GetPublishedGlobalAlias return parameters for the expectation previously defined by the When method

type MigrationContextMockGetPublishedGlobalAliasParams

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

MigrationContextMockGetPublishedGlobalAliasParams contains parameters of the MigrationContext.GetPublishedGlobalAlias

type MigrationContextMockGetPublishedGlobalAliasResults

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

MigrationContextMockGetPublishedGlobalAliasResults contains results of the MigrationContext.GetPublishedGlobalAlias

type MigrationContextMockGetPublishedLinkExpectation

type MigrationContextMockGetPublishedLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockGetPublishedLinkExpectation specifies expectation struct of the MigrationContext.GetPublishedLink

func (*MigrationContextMockGetPublishedLinkExpectation) Then

Then sets up MigrationContext.GetPublishedLink return parameters for the expectation previously defined by the When method

type MigrationContextMockGetPublishedLinkParams

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

MigrationContextMockGetPublishedLinkParams contains parameters of the MigrationContext.GetPublishedLink

type MigrationContextMockGetPublishedLinkResults

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

MigrationContextMockGetPublishedLinkResults contains results of the MigrationContext.GetPublishedLink

type MigrationContextMockGetPublishedParams

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

MigrationContextMockGetPublishedParams contains parameters of the MigrationContext.GetPublished

type MigrationContextMockGetPublishedResults

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

MigrationContextMockGetPublishedResults contains results of the MigrationContext.GetPublished

type MigrationContextMockGetTerminationResultExpectation

type MigrationContextMockGetTerminationResultExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockGetTerminationResultExpectation specifies expectation struct of the MigrationContext.GetTerminationResult

type MigrationContextMockGetTerminationResultResults

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

MigrationContextMockGetTerminationResultResults contains results of the MigrationContext.GetTerminationResult

type MigrationContextMockJumpExpectation

type MigrationContextMockJumpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockJumpExpectation specifies expectation struct of the MigrationContext.Jump

func (*MigrationContextMockJumpExpectation) Then

Then sets up MigrationContext.Jump return parameters for the expectation previously defined by the When method

type MigrationContextMockJumpExtExpectation

type MigrationContextMockJumpExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockJumpExtExpectation specifies expectation struct of the MigrationContext.JumpExt

func (*MigrationContextMockJumpExtExpectation) Then

Then sets up MigrationContext.JumpExt return parameters for the expectation previously defined by the When method

type MigrationContextMockJumpExtParams

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

MigrationContextMockJumpExtParams contains parameters of the MigrationContext.JumpExt

type MigrationContextMockJumpExtResults

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

MigrationContextMockJumpExtResults contains results of the MigrationContext.JumpExt

type MigrationContextMockJumpParams

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

MigrationContextMockJumpParams contains parameters of the MigrationContext.Jump

type MigrationContextMockJumpResults

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

MigrationContextMockJumpResults contains results of the MigrationContext.Jump

type MigrationContextMockLogExpectation

type MigrationContextMockLogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockLogExpectation specifies expectation struct of the MigrationContext.Log

type MigrationContextMockLogResults

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

MigrationContextMockLogResults contains results of the MigrationContext.Log

type MigrationContextMockNewBargeInExpectation

type MigrationContextMockNewBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockNewBargeInExpectation specifies expectation struct of the MigrationContext.NewBargeIn

type MigrationContextMockNewBargeInResults

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

MigrationContextMockNewBargeInResults contains results of the MigrationContext.NewBargeIn

type MigrationContextMockNewBargeInWithParamExpectation

type MigrationContextMockNewBargeInWithParamExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockNewBargeInWithParamExpectation specifies expectation struct of the MigrationContext.NewBargeInWithParam

func (*MigrationContextMockNewBargeInWithParamExpectation) Then

Then sets up MigrationContext.NewBargeInWithParam return parameters for the expectation previously defined by the When method

type MigrationContextMockNewBargeInWithParamParams

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

MigrationContextMockNewBargeInWithParamParams contains parameters of the MigrationContext.NewBargeInWithParam

type MigrationContextMockNewBargeInWithParamResults

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

MigrationContextMockNewBargeInWithParamResults contains results of the MigrationContext.NewBargeInWithParam

type MigrationContextMockOverrideDynamicBoostExpectation

type MigrationContextMockOverrideDynamicBoostExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockOverrideDynamicBoostExpectation specifies expectation struct of the MigrationContext.OverrideDynamicBoost

type MigrationContextMockOverrideDynamicBoostParams

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

MigrationContextMockOverrideDynamicBoostParams contains parameters of the MigrationContext.OverrideDynamicBoost

type MigrationContextMockParentLinkExpectation

type MigrationContextMockParentLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockParentLinkExpectation specifies expectation struct of the MigrationContext.ParentLink

type MigrationContextMockParentLinkResults

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

MigrationContextMockParentLinkResults contains results of the MigrationContext.ParentLink

type MigrationContextMockPublishExpectation

type MigrationContextMockPublishExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockPublishExpectation specifies expectation struct of the MigrationContext.Publish

func (*MigrationContextMockPublishExpectation) Then

Then sets up MigrationContext.Publish return parameters for the expectation previously defined by the When method

type MigrationContextMockPublishGlobalAliasAndBargeInExpectation

type MigrationContextMockPublishGlobalAliasAndBargeInExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockPublishGlobalAliasAndBargeInExpectation specifies expectation struct of the MigrationContext.PublishGlobalAliasAndBargeIn

func (*MigrationContextMockPublishGlobalAliasAndBargeInExpectation) Then

Then sets up MigrationContext.PublishGlobalAliasAndBargeIn return parameters for the expectation previously defined by the When method

type MigrationContextMockPublishGlobalAliasAndBargeInParams

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

MigrationContextMockPublishGlobalAliasAndBargeInParams contains parameters of the MigrationContext.PublishGlobalAliasAndBargeIn

type MigrationContextMockPublishGlobalAliasAndBargeInResults

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

MigrationContextMockPublishGlobalAliasAndBargeInResults contains results of the MigrationContext.PublishGlobalAliasAndBargeIn

type MigrationContextMockPublishGlobalAliasExpectation

type MigrationContextMockPublishGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockPublishGlobalAliasExpectation specifies expectation struct of the MigrationContext.PublishGlobalAlias

func (*MigrationContextMockPublishGlobalAliasExpectation) Then

Then sets up MigrationContext.PublishGlobalAlias return parameters for the expectation previously defined by the When method

type MigrationContextMockPublishGlobalAliasParams

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

MigrationContextMockPublishGlobalAliasParams contains parameters of the MigrationContext.PublishGlobalAlias

type MigrationContextMockPublishGlobalAliasResults

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

MigrationContextMockPublishGlobalAliasResults contains results of the MigrationContext.PublishGlobalAlias

type MigrationContextMockPublishParams

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

MigrationContextMockPublishParams contains parameters of the MigrationContext.Publish

type MigrationContextMockPublishReplacementExpectation

type MigrationContextMockPublishReplacementExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockPublishReplacementExpectation specifies expectation struct of the MigrationContext.PublishReplacement

func (*MigrationContextMockPublishReplacementExpectation) Then

Then sets up MigrationContext.PublishReplacement return parameters for the expectation previously defined by the When method

type MigrationContextMockPublishReplacementParams

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

MigrationContextMockPublishReplacementParams contains parameters of the MigrationContext.PublishReplacement

type MigrationContextMockPublishReplacementResults

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

MigrationContextMockPublishReplacementResults contains results of the MigrationContext.PublishReplacement

type MigrationContextMockPublishResults

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

MigrationContextMockPublishResults contains results of the MigrationContext.Publish

type MigrationContextMockReleaseAllExpectation

type MigrationContextMockReleaseAllExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockReleaseAllExpectation specifies expectation struct of the MigrationContext.ReleaseAll

type MigrationContextMockReleaseAllResults

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

MigrationContextMockReleaseAllResults contains results of the MigrationContext.ReleaseAll

type MigrationContextMockReleaseExpectation

type MigrationContextMockReleaseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockReleaseExpectation specifies expectation struct of the MigrationContext.Release

func (*MigrationContextMockReleaseExpectation) Then

Then sets up MigrationContext.Release return parameters for the expectation previously defined by the When method

type MigrationContextMockReleaseParams

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

MigrationContextMockReleaseParams contains parameters of the MigrationContext.Release

type MigrationContextMockReleaseResults

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

MigrationContextMockReleaseResults contains results of the MigrationContext.Release

type MigrationContextMockRestoreStepExpectation

type MigrationContextMockRestoreStepExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockRestoreStepExpectation specifies expectation struct of the MigrationContext.RestoreStep

func (*MigrationContextMockRestoreStepExpectation) Then

Then sets up MigrationContext.RestoreStep return parameters for the expectation previously defined by the When method

type MigrationContextMockRestoreStepParams

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

MigrationContextMockRestoreStepParams contains parameters of the MigrationContext.RestoreStep

type MigrationContextMockRestoreStepResults

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

MigrationContextMockRestoreStepResults contains results of the MigrationContext.RestoreStep

type MigrationContextMockSetDefaultErrorHandlerExpectation

type MigrationContextMockSetDefaultErrorHandlerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockSetDefaultErrorHandlerExpectation specifies expectation struct of the MigrationContext.SetDefaultErrorHandler

type MigrationContextMockSetDefaultErrorHandlerParams

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

MigrationContextMockSetDefaultErrorHandlerParams contains parameters of the MigrationContext.SetDefaultErrorHandler

type MigrationContextMockSetDefaultFlagsExpectation

type MigrationContextMockSetDefaultFlagsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockSetDefaultFlagsExpectation specifies expectation struct of the MigrationContext.SetDefaultFlags

type MigrationContextMockSetDefaultFlagsParams

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

MigrationContextMockSetDefaultFlagsParams contains parameters of the MigrationContext.SetDefaultFlags

type MigrationContextMockSetDefaultMigrationExpectation

type MigrationContextMockSetDefaultMigrationExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockSetDefaultMigrationExpectation specifies expectation struct of the MigrationContext.SetDefaultMigration

type MigrationContextMockSetDefaultMigrationParams

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

MigrationContextMockSetDefaultMigrationParams contains parameters of the MigrationContext.SetDefaultMigration

type MigrationContextMockSetFinalizerExpectation

type MigrationContextMockSetFinalizerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockSetFinalizerExpectation specifies expectation struct of the MigrationContext.SetFinalizer

type MigrationContextMockSetFinalizerParams

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

MigrationContextMockSetFinalizerParams contains parameters of the MigrationContext.SetFinalizer

type MigrationContextMockSetLogTracingExpectation

type MigrationContextMockSetLogTracingExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockSetLogTracingExpectation specifies expectation struct of the MigrationContext.SetLogTracing

type MigrationContextMockSetLogTracingParams

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

MigrationContextMockSetLogTracingParams contains parameters of the MigrationContext.SetLogTracing

type MigrationContextMockSetTerminationResultExpectation

type MigrationContextMockSetTerminationResultExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockSetTerminationResultExpectation specifies expectation struct of the MigrationContext.SetTerminationResult

type MigrationContextMockSetTerminationResultParams

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

MigrationContextMockSetTerminationResultParams contains parameters of the MigrationContext.SetTerminationResult

type MigrationContextMockShareExpectation

type MigrationContextMockShareExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockShareExpectation specifies expectation struct of the MigrationContext.Share

func (*MigrationContextMockShareExpectation) Then

Then sets up MigrationContext.Share return parameters for the expectation previously defined by the When method

type MigrationContextMockShareParams

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

MigrationContextMockShareParams contains parameters of the MigrationContext.Share

type MigrationContextMockShareResults

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

MigrationContextMockShareResults contains results of the MigrationContext.Share

type MigrationContextMockSkipMultipleMigrationsExpectation

type MigrationContextMockSkipMultipleMigrationsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockSkipMultipleMigrationsExpectation specifies expectation struct of the MigrationContext.SkipMultipleMigrations

type MigrationContextMockSlotLinkExpectation

type MigrationContextMockSlotLinkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockSlotLinkExpectation specifies expectation struct of the MigrationContext.SlotLink

type MigrationContextMockSlotLinkResults

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

MigrationContextMockSlotLinkResults contains results of the MigrationContext.SlotLink

type MigrationContextMockStayExpectation

type MigrationContextMockStayExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockStayExpectation specifies expectation struct of the MigrationContext.Stay

type MigrationContextMockStayResults

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

MigrationContextMockStayResults contains results of the MigrationContext.Stay

type MigrationContextMockStopExpectation

type MigrationContextMockStopExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockStopExpectation specifies expectation struct of the MigrationContext.Stop

type MigrationContextMockStopResults

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

MigrationContextMockStopResults contains results of the MigrationContext.Stop

type MigrationContextMockUnpublishAllExpectation

type MigrationContextMockUnpublishAllExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockUnpublishAllExpectation specifies expectation struct of the MigrationContext.UnpublishAll

type MigrationContextMockUnpublishExpectation

type MigrationContextMockUnpublishExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockUnpublishExpectation specifies expectation struct of the MigrationContext.Unpublish

func (*MigrationContextMockUnpublishExpectation) Then

Then sets up MigrationContext.Unpublish return parameters for the expectation previously defined by the When method

type MigrationContextMockUnpublishGlobalAliasExpectation

type MigrationContextMockUnpublishGlobalAliasExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockUnpublishGlobalAliasExpectation specifies expectation struct of the MigrationContext.UnpublishGlobalAlias

func (*MigrationContextMockUnpublishGlobalAliasExpectation) Then

Then sets up MigrationContext.UnpublishGlobalAlias return parameters for the expectation previously defined by the When method

type MigrationContextMockUnpublishGlobalAliasParams

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

MigrationContextMockUnpublishGlobalAliasParams contains parameters of the MigrationContext.UnpublishGlobalAlias

type MigrationContextMockUnpublishGlobalAliasResults

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

MigrationContextMockUnpublishGlobalAliasResults contains results of the MigrationContext.UnpublishGlobalAlias

type MigrationContextMockUnpublishParams

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

MigrationContextMockUnpublishParams contains parameters of the MigrationContext.Unpublish

type MigrationContextMockUnpublishResults

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

MigrationContextMockUnpublishResults contains results of the MigrationContext.Unpublish

type MigrationContextMockUnshareExpectation

type MigrationContextMockUnshareExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockUnshareExpectation specifies expectation struct of the MigrationContext.Unshare

func (*MigrationContextMockUnshareExpectation) Then

Then sets up MigrationContext.Unshare return parameters for the expectation previously defined by the When method

type MigrationContextMockUnshareParams

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

MigrationContextMockUnshareParams contains parameters of the MigrationContext.Unshare

type MigrationContextMockUnshareResults

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

MigrationContextMockUnshareResults contains results of the MigrationContext.Unshare

type MigrationContextMockUpdateDefaultStepLoggerExpectation

type MigrationContextMockUpdateDefaultStepLoggerExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockUpdateDefaultStepLoggerExpectation specifies expectation struct of the MigrationContext.UpdateDefaultStepLogger

type MigrationContextMockUpdateDefaultStepLoggerParams

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

MigrationContextMockUpdateDefaultStepLoggerParams contains parameters of the MigrationContext.UpdateDefaultStepLogger

type MigrationContextMockWakeUpExpectation

type MigrationContextMockWakeUpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

MigrationContextMockWakeUpExpectation specifies expectation struct of the MigrationContext.WakeUp

type MigrationContextMockWakeUpResults

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

MigrationContextMockWakeUpResults contains results of the MigrationContext.WakeUp

type MigrationFunc

type MigrationFunc func(migrationCount uint32)

type NestedCallFunc

type NestedCallFunc func(interface{}) error

type NonDetachableFunc

type NonDetachableFunc func(FixedSlotWorker)

type NotifyRequester

type NotifyRequester interface {
	// WithLog sets internal logging for the call. This mode is set automatically when tracing is active or StepElevatedLog is set.
	WithLog(isLogging bool) NotifyRequester
	// Send immediately sends notification
	Send()
	// DelayedSend creates an update that can be returned as a new state and will ONLY be executed if returned as a new state
	DelayedSend() CallConditionalBuilder
	// DelegationFunc returns a function that can be called outside of SM to send a notification.
	SendFunc() func()
}

type NotifyRequesterMock

type NotifyRequesterMock struct {
	DelayedSendMock mNotifyRequesterMockDelayedSend

	SendMock mNotifyRequesterMockSend

	SendFuncMock mNotifyRequesterMockSendFunc

	WithLogMock mNotifyRequesterMockWithLog
	// contains filtered or unexported fields
}

NotifyRequesterMock implements NotifyRequester

func NewNotifyRequesterMock

func NewNotifyRequesterMock(t minimock.Tester) *NotifyRequesterMock

NewNotifyRequesterMock returns a mock for NotifyRequester

func (*NotifyRequesterMock) DelayedSend

func (mmDelayedSend *NotifyRequesterMock) DelayedSend() (c1 CallConditionalBuilder)

DelayedSend implements NotifyRequester

func (*NotifyRequesterMock) DelayedSendAfterCounter

func (mmDelayedSend *NotifyRequesterMock) DelayedSendAfterCounter() uint64

DelayedSendAfterCounter returns a count of finished NotifyRequesterMock.DelayedSend invocations

func (*NotifyRequesterMock) DelayedSendBeforeCounter

func (mmDelayedSend *NotifyRequesterMock) DelayedSendBeforeCounter() uint64

DelayedSendBeforeCounter returns a count of NotifyRequesterMock.DelayedSend invocations

func (*NotifyRequesterMock) MinimockDelayedSendDone

func (m *NotifyRequesterMock) MinimockDelayedSendDone() bool

MinimockDelayedSendDone returns true if the count of the DelayedSend invocations corresponds the number of defined expectations

func (*NotifyRequesterMock) MinimockDelayedSendInspect

func (m *NotifyRequesterMock) MinimockDelayedSendInspect()

MinimockDelayedSendInspect logs each unmet expectation

func (*NotifyRequesterMock) MinimockFinish

func (m *NotifyRequesterMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*NotifyRequesterMock) MinimockSendDone

func (m *NotifyRequesterMock) MinimockSendDone() bool

MinimockSendDone returns true if the count of the Send invocations corresponds the number of defined expectations

func (*NotifyRequesterMock) MinimockSendFuncDone

func (m *NotifyRequesterMock) MinimockSendFuncDone() bool

MinimockSendFuncDone returns true if the count of the SendFunc invocations corresponds the number of defined expectations

func (*NotifyRequesterMock) MinimockSendFuncInspect

func (m *NotifyRequesterMock) MinimockSendFuncInspect()

MinimockSendFuncInspect logs each unmet expectation

func (*NotifyRequesterMock) MinimockSendInspect

func (m *NotifyRequesterMock) MinimockSendInspect()

MinimockSendInspect logs each unmet expectation

func (*NotifyRequesterMock) MinimockWait

func (m *NotifyRequesterMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*NotifyRequesterMock) MinimockWithLogDone

func (m *NotifyRequesterMock) MinimockWithLogDone() bool

MinimockWithLogDone returns true if the count of the WithLog invocations corresponds the number of defined expectations

func (*NotifyRequesterMock) MinimockWithLogInspect

func (m *NotifyRequesterMock) MinimockWithLogInspect()

MinimockWithLogInspect logs each unmet expectation

func (*NotifyRequesterMock) Send

func (mmSend *NotifyRequesterMock) Send()

Send implements NotifyRequester

func (*NotifyRequesterMock) SendAfterCounter

func (mmSend *NotifyRequesterMock) SendAfterCounter() uint64

SendAfterCounter returns a count of finished NotifyRequesterMock.Send invocations

func (*NotifyRequesterMock) SendBeforeCounter

func (mmSend *NotifyRequesterMock) SendBeforeCounter() uint64

SendBeforeCounter returns a count of NotifyRequesterMock.Send invocations

func (*NotifyRequesterMock) SendFunc

func (mmSendFunc *NotifyRequesterMock) SendFunc() (f1 func())

SendFunc implements NotifyRequester

func (*NotifyRequesterMock) SendFuncAfterCounter

func (mmSendFunc *NotifyRequesterMock) SendFuncAfterCounter() uint64

SendFuncAfterCounter returns a count of finished NotifyRequesterMock.SendFunc invocations

func (*NotifyRequesterMock) SendFuncBeforeCounter

func (mmSendFunc *NotifyRequesterMock) SendFuncBeforeCounter() uint64

SendFuncBeforeCounter returns a count of NotifyRequesterMock.SendFunc invocations

func (*NotifyRequesterMock) WithLog

func (mmWithLog *NotifyRequesterMock) WithLog(isLogging bool) (n1 NotifyRequester)

WithLog implements NotifyRequester

func (*NotifyRequesterMock) WithLogAfterCounter

func (mmWithLog *NotifyRequesterMock) WithLogAfterCounter() uint64

WithLogAfterCounter returns a count of finished NotifyRequesterMock.WithLog invocations

func (*NotifyRequesterMock) WithLogBeforeCounter

func (mmWithLog *NotifyRequesterMock) WithLogBeforeCounter() uint64

WithLogBeforeCounter returns a count of NotifyRequesterMock.WithLog invocations

type NotifyRequesterMockDelayedSendExpectation

type NotifyRequesterMockDelayedSendExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

NotifyRequesterMockDelayedSendExpectation specifies expectation struct of the NotifyRequester.DelayedSend

type NotifyRequesterMockDelayedSendResults

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

NotifyRequesterMockDelayedSendResults contains results of the NotifyRequester.DelayedSend

type NotifyRequesterMockSendExpectation

type NotifyRequesterMockSendExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

NotifyRequesterMockSendExpectation specifies expectation struct of the NotifyRequester.Send

type NotifyRequesterMockSendFuncExpectation

type NotifyRequesterMockSendFuncExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

NotifyRequesterMockSendFuncExpectation specifies expectation struct of the NotifyRequester.SendFunc

type NotifyRequesterMockSendFuncResults

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

NotifyRequesterMockSendFuncResults contains results of the NotifyRequester.SendFunc

type NotifyRequesterMockWithLogExpectation

type NotifyRequesterMockWithLogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

NotifyRequesterMockWithLogExpectation specifies expectation struct of the NotifyRequester.WithLog

func (*NotifyRequesterMockWithLogExpectation) Then

Then sets up NotifyRequester.WithLog return parameters for the expectation previously defined by the When method

type NotifyRequesterMockWithLogParams

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

NotifyRequesterMockWithLogParams contains parameters of the NotifyRequester.WithLog

type NotifyRequesterMockWithLogResults

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

NotifyRequesterMockWithLogResults contains results of the NotifyRequester.WithLog

type PollingQueue

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

func (*PollingQueue) AddToLatest

func (p *PollingQueue) AddToLatest(slot *Slot)

func (*PollingQueue) AddToLatestBefore

func (p *PollingQueue) AddToLatestBefore(waitUntil time.Time, slot *Slot) bool

func (*PollingQueue) FilterOut

func (p *PollingQueue) FilterOut(scanTime time.Time, addSlots func(*SlotQueue))

func (*PollingQueue) GetNearestPollTime

func (p *PollingQueue) GetNearestPollTime() time.Time

func (*PollingQueue) GetPreparedPollTime

func (p *PollingQueue) GetPreparedPollTime() time.Time

func (*PollingQueue) PrepareFor

func (p *PollingQueue) PrepareFor(pollTime time.Time)

type PostInitFunc

type PostInitFunc func()

type PostInitStepContext

type PostInitStepContext interface {
	InOrderStepContext

	CallSubroutine(SubroutineStateMachine, MigrateFunc, SubroutineExitFunc) StateUpdate
}

type PostponedDependency

type PostponedDependency interface {
	PostponedActivate(appendTo []StepLink) []StepLink
}

type PostponedList

type PostponedList []PostponedDependency

func (PostponedList) PostponedActivate

func (p PostponedList) PostponedActivate(appendTo []StepLink) []StepLink

type PreInitHandlerFunc

type PreInitHandlerFunc = func(InitializationContext, StateMachine) (postInitError error)

type QueueHead

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

func (*QueueHead) AddFirst

func (p *QueueHead) AddFirst(slot *Slot)

func (*QueueHead) AddLast

func (p *QueueHead) AddLast(slot *Slot)

func (*QueueHead) AppendAll

func (p *QueueHead) AppendAll(anotherQueue *QueueHead)

func (*QueueHead) Count

func (p *QueueHead) Count() int

func (*QueueHead) First

func (p *QueueHead) First() *Slot

func (*QueueHead) IsEmpty

func (p *QueueHead) IsEmpty() bool

func (*QueueHead) IsZero

func (p *QueueHead) IsZero() bool

func (*QueueHead) Last

func (p *QueueHead) Last() *Slot

func (*QueueHead) PrependAll

func (p *QueueHead) PrependAll(anotherQueue *QueueHead)

func (*QueueHead) QueueType

func (p *QueueHead) QueueType() QueueType

func (*QueueHead) RemoveAll

func (p *QueueHead) RemoveAll()

type QueueType

type QueueType int8
const (
	InvalidQueue QueueType = iota

	ActivationOfSlot

	UnusedSlots

	PollingSlots

	ActiveSlots
	WorkingSlots
)
const NoQueue QueueType = -1

func (QueueType) IsActive

func (v QueueType) IsActive() bool

func (QueueType) IsActiveOrPolling

func (v QueueType) IsActiveOrPolling() bool

type ScanMode

type ScanMode uint8
const (
	ScanDefault ScanMode = iota
	ScanPriorityOnly
	ScanEventsOnly
)

type ShadowMigrateFunc

type ShadowMigrateFunc func(migrationCount, migrationDelta uint32)

See ShadowMigrator

type ShadowMigrator

type ShadowMigrator interface {
	// Called on migration of a related slot BEFORE every call to a normal migration handler with migrationDelta=1.
	// When there is no migration handler is present or SkipMultipleMigrations() was used, then an additional call is made
	// with migrationDelta > 0 to indicate how many migration steps were skipped.
	ShadowMigrate(migrationCount, migrationDelta uint32)
}

Provides assistance to injected and other objects handle migration events.

type ShareDataFlags

type ShareDataFlags uint32
const (
	// ShareDataWakesUpAfterUse requires that SM called Share() to be woken up after each use of the shared data.
	ShareDataWakesUpAfterUse ShareDataFlags = 1 << iota

	// ShareDataUnbound marks the shared data as immediately accessible and unbound.
	// WARNING! Can ONLY be used for concurrency-safe data. Must NOT keep references to SM or its fields.
	// Data is not bound to SM and will never be invalidated.
	// Keeping such SharedDataLink will retain the data in memory.
	ShareDataUnbound

	// ShareDataDirect marks the shared data as immediately accessible.
	// WARNING! Must NOT keep references to SM or its fields.
	// Data is bound to SM and will be invalidated after stop.
	// But keeping such SharedDataLink will retain the data in memory even when invalidated.
	// ShareDataDirect is overridden by ShareDataUnbound.
	ShareDataDirect

	// ShareDataWithOtherSlotMachines allows access to it form SM's under different SlotMachine(s).
	// By default, access only is allowed to SM's of owner's SlotMachine.
	// This flag is ignored when either ShareDataUnbound or ShareDataDirect is set.
	ShareDataWithOtherSlotMachines
)

type SharedAccessReport

type SharedAccessReport uint8

Describes a result of shared data access

const (
	// SharedSlotAbsent indicates that a link was invalidated or is inaccessible and can't be accessed anytime further.
	SharedSlotAbsent SharedAccessReport = iota
	// SharedSlotLocalBusy indicates that the link is valid, but data is in use by someone else. Data is from the same SlotMachine.
	SharedSlotLocalBusy
	// SharedSlotRemoteBusy indicates that the link is valid, but data is in use by someone else. Data is from a different SlotMachine.
	SharedSlotRemoteBusy
	// SharedSlotAvailableAlways indicates that the data is accessible or was accessed. Data is always available: is unbound, direct or belongs to this slot.
	SharedSlotAvailableAlways
	// SharedSlotLocalAvailable indicates that the data is accessible or was accessed. Data is from the same SlotMachine.
	SharedSlotLocalAvailable
	// SharedSlotRemoteAvailable indicates that the data is accessible or was accessed. Data is from a different SlotMachine.
	SharedSlotRemoteAvailable
)

func (SharedAccessReport) GetDecision

func (v SharedAccessReport) GetDecision() Decision

func (SharedAccessReport) IsAbsent

func (v SharedAccessReport) IsAbsent() bool

func (SharedAccessReport) IsAvailable

func (v SharedAccessReport) IsAvailable() bool

func (SharedAccessReport) IsBusy

func (v SharedAccessReport) IsBusy() bool

func (SharedAccessReport) IsRemote

func (v SharedAccessReport) IsRemote() bool

type SharedDataAccessor

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

SharedDataAccessor represents SharedDataLink with an accessor function attached.

func (SharedDataAccessor) IsZero

func (v SharedDataAccessor) IsZero() bool

func (SharedDataAccessor) TryUse

TryUse is a convenience wrapper of ExecutionContext.UseShared()

func (SharedDataAccessor) TryUseDirectAccess

func (v SharedDataAccessor) TryUseDirectAccess() SharedAccessReport

TryUseDirectAccess is a convenience equivalent of TryUse, but it can access unbound or direct values.

type SharedDataFunc

type SharedDataFunc func(interface{}) (wakeup bool)
type SharedDataLink struct {
	// contains filtered or unexported fields
}

SharedDataLink enables data sharing between different slots.

func NewUnboundSharedData

func NewUnboundSharedData(data interface{}) SharedDataLink

func (SharedDataLink) EnsureType

func (v SharedDataLink) EnsureType(t reflect.Type)

EnsureType panics when the underlying data is of a different type

func (SharedDataLink) IsAssignableTo

func (v SharedDataLink) IsAssignableTo(t interface{}) bool

IsAssignableTo returns true when the underlying data can be assigned to the given value

func (SharedDataLink) IsAssignableToType

func (v SharedDataLink) IsAssignableToType(t reflect.Type) bool

IsAssignableToType returns true when the underlying data can be assigned to the given type

func (SharedDataLink) IsDirectAccess

func (v SharedDataLink) IsDirectAccess() bool

IsDirectAccess returns true when data is either unbound, or shared as direct.

func (SharedDataLink) IsOfType

func (v SharedDataLink) IsOfType(t reflect.Type) bool

IsOfType returns true when the underlying data is of the given type

func (SharedDataLink) IsUnbound

func (v SharedDataLink) IsUnbound() bool

IsUnbound is true when this link points to an unbound data. Such data is always available, but must be safe for concurrent use.

func (SharedDataLink) IsValid

func (v SharedDataLink) IsValid() bool

IsValid is ture when SharedDataLink is initialized and the data is valid at the moment of this call.

func (SharedDataLink) IsZero

func (v SharedDataLink) IsZero() bool

func (SharedDataLink) PrepareAccess

func (v SharedDataLink) PrepareAccess(fn SharedDataFunc) SharedDataAccessor

PrepareAccess creates an accessor that will apply the given function to the shared data. SharedDataAccessor gets same data retention rules as the original SharedDataLink.

func (SharedDataLink) TryDirectAccess

func (v SharedDataLink) TryDirectAccess() interface{}

TryDirectAccess returns related data from an unbound or from a valid direct link. Returns nil otherwise.

type SharedStateContext

type SharedStateContext interface {
	BasicContext

	// Share creates a lazy link to the provided data. Link is invalidated when this SM is stopped.
	// This SM is always has a safe access when active. The shared data is guaranteed to be accessed by only one SM.
	// Access to the data is via ExecutionContext.UseShared().
	// Can be used across different SlotMachines.
	//
	// Do NOT share a reference to a field of SM with ShareDataDirect flag to avoid accidental memory leak.
	// It is recommended to use typed wrappers to access the data.
	Share(data interface{}, flags ShareDataFlags) SharedDataLink
	// Unshare invalidates the given link. Returns true when succeeded.
	// Links created by another slot and links shared with ShareDataUnbound or ShareDataDirect can't be invalidated.
	Unshare(SharedDataLink) bool

	// Publish makes the data to be directly accessible via GetPublished().
	// Data is unpublished when this SM is stopped, except for SharedDataLink with ShareDataUnbound flag.
	// Visibility of key/data is limited by the SlotMachine running this SM.
	//
	// WARNING! There are NO safety guarantees. Publish only immutable data, e.g. publish SharedDataLink.
	// Returns false when key is in use.
	// It is recommended to use typed wrappers to access the data.
	Publish(key, data interface{}) bool
	// Unpublish returns false when key is not in use or the key was published by a different SM.
	// Can always unpublish a key that maps to SharedDataLink with ShareDataUnbound flag.
	Unpublish(key interface{}) bool
	// UnpublishAll removes all keys published by this SM, except for SharedDataLink with ShareDataUnbound.
	UnpublishAll()

	// PublishReplacement updates value for the given key ONLY if key exists and is bound to this slot.
	// When the replacement data is unbound, then the key will also be unbound from this slot.
	// Returns true when key was present and was bound to this slot.
	PublishReplacement(key, data interface{}) bool

	// GetPublished reads data shared by Publish().
	// Visibility of key/data is limited by the SlotMachine running this SM.
	// Returns nil when key is unknown or data is invalidated.
	// It is recommended to use typed wrappers to access the data.
	GetPublished(key interface{}) interface{}
	// GetPublishedLink is a convenience wrapper for GetPublished(). Use SharedDataLink.IsXXX() to check availability.
	// It is recommended to use typed wrappers to access the data.
	GetPublishedLink(key interface{}) SharedDataLink

	// PublishGlobalAlias publishes this Slot globally under the given (key).
	// Published aliases will be unpublished on terminations of SM.
	// Returns false when key is in use.
	PublishGlobalAlias(key interface{}) bool
	// PublishGlobalAliasAndBargeIn publishes this Slot and its barge-in globally under the given (key).
	// Published aliases will be unpublished on terminations of SM.
	// Returns false when key is in use.
	// (handler) can be nil.
	PublishGlobalAliasAndBargeIn(key interface{}, handler BargeInHolder) bool

	// UnpublishGlobalAlias unpublishes the given (key)
	// Returns false when (key) is not published or is published by another slot.
	UnpublishGlobalAlias(key interface{}) bool

	// GetPublishedGlobalAlias reads SlotLink for the given alias (key).
	// When (key) is unknown, then zero/empty SlotLink is returned.
	// Doesn't return handler provided by PublishGlobalAliasAndBargeIn,
	// see GetPublishedGlobalAliasAndBargeIn.
	GetPublishedGlobalAlias(key interface{}) SlotLink

	// GetPublishedGlobalAliasAndBargeIn reads SlotLink and its barge-in for the given alias (key).
	// When (key) is unknown, then zero/empty SlotLink is returned.
	// When barge-in was not set for the (key), then nil holder is returned.
	GetPublishedGlobalAliasAndBargeIn(key interface{}) (SlotLink, BargeInHolder)
}

type Slot

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

func (*Slot) GetSlotID

func (s *Slot) GetSlotID() SlotID

func (*Slot) GetState

func (s *Slot) GetState() (id SlotID, step uint32, isBusy bool)
func (s *Slot) NewLink() SlotLink
func (s *Slot) NewStepLink() StepLink

func (*Slot) QueueNext

func (s *Slot) QueueNext() *Slot

func (*Slot) QueuePrev

func (s *Slot) QueuePrev() *Slot

func (*Slot) QueueType

func (s *Slot) QueueType() QueueType

type SlotAliasRegistry

type SlotAliasRegistry interface {
	PublishAlias(key interface{}, slot SlotAliasValue) bool
	ReplaceAlias(key interface{}, slot SlotAliasValue)
	UnpublishAlias(key interface{})
	GetPublishedAlias(key interface{}) SlotAliasValue
}

type SlotAliasValue

type SlotAliasValue struct {
	Link    SlotLink
	BargeIn BargeInHolder
}

type SlotDependency

type SlotDependency interface {
	IsReleaseOnWorking() bool
	IsReleaseOnStepping() bool
	ReleaseAll() ([]PostponedDependency, []StepLink)
}

type SlotDependencyFlags

type SlotDependencyFlags uint8
const (
	SyncPriorityBoosted SlotDependencyFlags = 1 << iota
	SyncPriorityHigh
	SyncForOneStep
	SyncIgnoreFlags
)

func (SlotDependencyFlags) HasLessPriorityThan

func (v SlotDependencyFlags) HasLessPriorityThan(o SlotDependencyFlags) bool

func (SlotDependencyFlags) IsCompatibleWith

func (v SlotDependencyFlags) IsCompatibleWith(requiredFlags SlotDependencyFlags) bool

type SlotDisposeFunc

type SlotDisposeFunc func(*Slot)

type SlotID

type SlotID uint32
const UnknownSlotID SlotID = 0

func (SlotID) IsUnknown

func (id SlotID) IsUnknown() bool
type SlotLink struct {
	// contains filtered or unexported fields
}

A lazy-like link to a slot, that can detect if a slot is dead */

func DeadSlotLink() SlotLink
func NoLink() SlotLink
func (p SlotLink) GetAnyStepLink() StepLink
func (p SlotLink) GetStepLink() (stepLink StepLink, isValid bool)

Returns a link to a step the slot is at. For an invalid valid slot returns an unbound StepLink (zero step) to the the same slot.

func (SlotLink) IsValid

func (p SlotLink) IsValid() bool

Returns true when the slot is valid/alive at the given moment

func (SlotLink) IsZero

func (p SlotLink) IsZero() bool

func (SlotLink) MachineID

func (p SlotLink) MachineID() string

func (SlotLink) SlotID

func (p SlotLink) SlotID() SlotID

func (SlotLink) String

func (p SlotLink) String() string

type SlotMachine

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

func NewSlotMachine

func NewSlotMachine(config SlotMachineConfig,
	eventCallback, signalCallback func(),
	parentRegistry injector.DependencyRegistry,
) *SlotMachine

func (*SlotMachine) AddDependency

func (m *SlotMachine) AddDependency(v interface{})

func (*SlotMachine) AddInterfaceDependency

func (m *SlotMachine) AddInterfaceDependency(v interface{})

func (*SlotMachine) AddMigrationCallback

func (m *SlotMachine) AddMigrationCallback(fn MigrationFunc)

func (*SlotMachine) AddNested

func (m *SlotMachine) AddNested(_ AdapterID, parent SlotLink, cf CreateFunc) (SlotLink, bool)

func (*SlotMachine) AddNew

func (m *SlotMachine) AddNew(ctx context.Context, sm StateMachine, defValues CreateDefaultValues) (SlotLink, bool)

func (*SlotMachine) AddNewByFunc

func (m *SlotMachine) AddNewByFunc(ctx context.Context, cf CreateFunc, defValues CreateDefaultValues) (SlotLink, bool)

func (*SlotMachine) AllocatedSlotCount

func (m *SlotMachine) AllocatedSlotCount() int

func (*SlotMachine) AsHolder

func (m *SlotMachine) AsHolder() SlotMachineHolder

func (*SlotMachine) Cleanup

func (m *SlotMachine) Cleanup(worker FixedSlotWorker)

func (*SlotMachine) CopyConfig

func (m *SlotMachine) CopyConfig() SlotMachineConfig

func (*SlotMachine) FindDependency

func (m *SlotMachine) FindDependency(id string) (interface{}, bool)

func (*SlotMachine) GetMachineID

func (m *SlotMachine) GetMachineID() string

Must support nil receiver

func (*SlotMachine) GetPublished

func (m *SlotMachine) GetPublished(key interface{}) (interface{}, bool)

Provides external access to published data. But SharedDataLink can only be accessed when is unbound. The bool value indicates presence of a valid key, but value can be nil when access is not allowed.

func (*SlotMachine) GetPublishedGlobalAliasAndBargeIn

func (m *SlotMachine) GetPublishedGlobalAliasAndBargeIn(key interface{}) (SlotLink, BargeInHolder)

func (*SlotMachine) GetStoppingSignal

func (m *SlotMachine) GetStoppingSignal() <-chan struct{}

func (*SlotMachine) HasPriorityWork

func (m *SlotMachine) HasPriorityWork() bool

UNSAFE!

func (*SlotMachine) IsActive

func (m *SlotMachine) IsActive() bool

func (*SlotMachine) IsEmpty

func (m *SlotMachine) IsEmpty() bool

func (*SlotMachine) IsZero

func (m *SlotMachine) IsZero() bool

func (*SlotMachine) MigrateNested

func (m *SlotMachine) MigrateNested(outerCtx MigrationContext)

func (*SlotMachine) OccupiedSlotCount

func (m *SlotMachine) OccupiedSlotCount() int

func (*SlotMachine) PutDependency

func (m *SlotMachine) PutDependency(id string, v interface{})

func (*SlotMachine) RunToStop

func (m *SlotMachine) RunToStop(worker AttachableSlotWorker, signal *synckit.SignalVersion)

func (*SlotMachine) ScanNested

func (m *SlotMachine) ScanNested(outerCtx ExecutionContext, scanMode ScanMode,
	loopLimit uint32, worker AttachableSlotWorker,
) (repeatNow bool, nextPollTime time.Time)

func (*SlotMachine) ScanOnce

func (m *SlotMachine) ScanOnce(scanMode ScanMode, worker AttachedSlotWorker) (repeatNow bool, nextPollTime time.Time)

func (*SlotMachine) ScheduleCall

func (m *SlotMachine) ScheduleCall(fn MachineCallFunc, isSignal bool) bool

func (*SlotMachine) Stop

func (m *SlotMachine) Stop() bool

func (*SlotMachine) StopIfEmpty

func (m *SlotMachine) StopIfEmpty() bool

func (*SlotMachine) TryMigrateNested

func (m *SlotMachine) TryMigrateNested(outerCtx ExecutionContext) bool

func (*SlotMachine) TryPublish

func (m *SlotMachine) TryPublish(key, data interface{}) (interface{}, bool)

func (*SlotMachine) TryPutDependency

func (m *SlotMachine) TryPutDependency(id string, v interface{}) bool

func (*SlotMachine) TryUnsafeUnpublish

func (m *SlotMachine) TryUnsafeUnpublish(key interface{}) (keyExists, wasUnpublished bool)

WARNING! USE WITH CAUTION. Interfering with published names may be unexpected by SM. This method can unpublish keys published by SMs, but it is not able to always do it in a right ways. As a result - a hidden registry of names published by SM can become inconsistent and will cause an SM to remove key(s) if they were later published by another SM.

type SlotMachineConfig

type SlotMachineConfig struct {
	PollingPeriod        time.Duration
	PollingTruncate      time.Duration
	BoostNewSlotDuration time.Duration
	SlotPageSize         uint16
	ScanCountLimit       int
	CleanupWeakOnMigrate bool

	LogAdapterCalls   bool
	SlotMachineLogger SlotMachineLogger

	SlotIDGenerateFn func() SlotID

	SlotAliasRegistry SlotAliasRegistry
}

type SlotMachineData

type SlotMachineData struct {
	// CycleNo is a cycle number of a SlotMachine when this event has happened
	CycleNo uint32
	// StepNo is an link to SM and step, the issue was related to. This SM is dead. Can be zero, when was not related to an SM.
	StepNo StepLink
	Error  error
}

SlotMachineData describes an event that is not connected to a specific SM, or when the related SM is already dead.

type SlotMachineHolder

type SlotMachineHolder interface {
	GetMachineID() string

	injector.DependencyContainer
	AddDependency(v interface{})
	AddInterfaceDependency(v interface{})
	GetPublishedGlobalAliasAndBargeIn(key interface{}) (SlotLink, BargeInHolder)

	AddNew(context.Context, StateMachine, CreateDefaultValues) (SlotLink, bool)
	AddNewByFunc(context.Context, CreateFunc, CreateDefaultValues) (SlotLink, bool)

	OccupiedSlotCount() int
	AllocatedSlotCount() int

	ScheduleCall(fn MachineCallFunc, isSignal bool) bool

	Stop() bool
	GetStoppingSignal() <-chan struct{}
}

SlotMachineHolder is a set of safe for async call methods of SlotMachine

type SlotMachineLogger

type SlotMachineLogger interface {
	// CreateStepLogger is invoked for every new Slot. Can return nil to disable any logging.
	CreateStepLogger(context.Context, StateMachine, TracerID) StepLogger
	// LogMachineInternal is invoked on non critical events, that aren't related to any active SM.
	LogMachineInternal(data SlotMachineData, msg string)
	// LogMachineCritical is invoked on critical events, that SlotMachine may not be able to handle properly.
	LogMachineCritical(data SlotMachineData, msg string)
	// LogStopping is invoked before SlotMachine will starts stopping operations. Can be cal
	LogStopping(*SlotMachine)
}

SlotMachineLogger is a helper to facilitate reporting of SlotMachine operations into a log or console.

type SlotMachineStatus

type SlotMachineStatus uint8
const (
	SlotMachineInactive SlotMachineStatus = iota
	SlotMachineStopping
	SlotMachineActive
)

type SlotMachineSync

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

func (*SlotMachineSync) AddAsyncCallback

func (m *SlotMachineSync) AddAsyncCallback(link SlotLink, fn AsyncCallbackFunc) bool

func (*SlotMachineSync) AddAsyncSignal

func (m *SlotMachineSync) AddAsyncSignal(link SlotLink, fn func(link SlotLink, worker FixedSlotWorker)) bool

This method MUST ONLY be used for own operations of SlotMachine, no StateMachine handlers are allowed

func (*SlotMachineSync) AddAsyncUpdate

func (m *SlotMachineSync) AddAsyncUpdate(link SlotLink, fn func(link SlotLink, worker FixedSlotWorker)) bool

This method MUST ONLY be used for own operations of SlotMachine, no StateMachine handlers are allowed

func (*SlotMachineSync) CanProcessCallbacks

func (m *SlotMachineSync) CanProcessCallbacks() bool

func (*SlotMachineSync) CleanupDetachQueues

func (m *SlotMachineSync) CleanupDetachQueues() bool

func (*SlotMachineSync) FlushAll

func (m *SlotMachineSync) FlushAll()

func (*SlotMachineSync) FlushSlotDetachQueue

func (m *SlotMachineSync) FlushSlotDetachQueue(link SlotLink)

func (*SlotMachineSync) GetStatus

func (m *SlotMachineSync) GetStatus() SlotMachineStatus

func (*SlotMachineSync) GetStoppingSignal

func (m *SlotMachineSync) GetStoppingSignal() <-chan struct{}

func (*SlotMachineSync) IsActive

func (m *SlotMachineSync) IsActive() bool

func (*SlotMachineSync) IsInactive

func (m *SlotMachineSync) IsInactive() bool

func (*SlotMachineSync) IsZero

func (m *SlotMachineSync) IsZero() bool

func (*SlotMachineSync) ProcessCallbacks

func (m *SlotMachineSync) ProcessCallbacks(worker AttachedSlotWorker) (hasUpdates, hasSignal, wasDetached bool)

func (*SlotMachineSync) ProcessDetachQueue

func (m *SlotMachineSync) ProcessDetachQueue(link SlotLink, worker DetachableSlotWorker) (hasSignal bool)

func (*SlotMachineSync) ProcessSlotCallbacksByDetachable

func (m *SlotMachineSync) ProcessSlotCallbacksByDetachable(link SlotLink, worker DetachableSlotWorker) (hasUpdates, hasSignal bool)

func (*SlotMachineSync) ProcessUpdates

func (m *SlotMachineSync) ProcessUpdates(worker FixedSlotWorker) (hasUpdates bool)

func (*SlotMachineSync) SetInactive

func (m *SlotMachineSync) SetInactive() bool

func (*SlotMachineSync) SetStopping

func (m *SlotMachineSync) SetStopping() bool

type SlotPageScanFunc

type SlotPageScanFunc func([]Slot) (isPageEmptyOrWeak, hasWeakSlots bool)

type SlotPanicArea

type SlotPanicArea uint8
const (
	InternalArea SlotPanicArea
	ErrorHandlerArea
	FinalizerArea
	StepArea
	SubroutineArea
	BargeInArea
	AsyncCallArea
)

func (SlotPanicArea) CanRecoverByHandler

func (v SlotPanicArea) CanRecoverByHandler() bool

func (SlotPanicArea) CanRecoverBySubroutineExit

func (v SlotPanicArea) CanRecoverBySubroutineExit() bool

func (SlotPanicArea) IsDetached

func (v SlotPanicArea) IsDetached() bool

type SlotPanicError

type SlotPanicError struct {
	Msg       string
	Recovered interface{}
	Prev      error
	Area      SlotPanicArea
}

func (SlotPanicError) Error

func (e SlotPanicError) Error() string

func (SlotPanicError) String

func (e SlotPanicError) String() string

type SlotPool

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

func (*SlotPool) AllocateSlot

func (p *SlotPool) AllocateSlot(m *SlotMachine, id SlotID) (slot *Slot)

AllocateSlot creates or reuses a slot. The returned slot is marked BUSY and is at step 0. Work of AllocateSlot is not blocked during ScanAndCleanup

func (*SlotPool) BlockIfEmpty

func (p *SlotPool) BlockIfEmpty(stopFn func() bool) bool

func (*SlotPool) Capacity

func (p *SlotPool) Capacity() int

func (*SlotPool) Count

func (p *SlotPool) Count() int

func (*SlotPool) IsEmpty

func (p *SlotPool) IsEmpty() bool

func (*SlotPool) RecycleSlot

func (p *SlotPool) RecycleSlot(slot *Slot)

RecycleSlot adds a slot to unused slot queue. Work of RecycleSlot is not blocked during ScanAndCleanup

func (*SlotPool) ScanAndCleanup

func (p *SlotPool) ScanAndCleanup(cleanupWeak bool, disposeWeakFn SlotDisposeFunc, scanPageFn SlotPageScanFunc) bool

ScanAndCleanup is safe and non-blocking for parallel calls of AllocateSlot(), but ScanAndCleanup can't be called multiple times in parallel

type SlotQueue

type SlotQueue struct {
	QueueHead
	// contains filtered or unexported fields
}

func (*SlotQueue) AppendAll

func (p *SlotQueue) AppendAll(anotherQueue *SlotQueue)

func (*SlotQueue) PrependAll

func (p *SlotQueue) PrependAll(anotherQueue *SlotQueue)

type SlotStep

type SlotStep struct {
	// Function to be called when the step is executed. MUST NOT be nil
	Transition StateFunc

	// Function to be called for migration of this step. Overrides SetDefaultMigration() when not nil.
	Migration MigrateFunc

	// Function to be called to handler errors of this step. Overrides SetDefaultErrorHandler() when not nil.
	Handler ErrorHandlerFunc

	// Step will be executed with the given flags. When StepResetAllFlags is specified, then SetDefaultFlags() is ignored, otherwise ORed.
	Flags StepFlags
}

Describes a step of a SM

func (SlotStep) IsZero

func (s SlotStep) IsZero() bool

func (SlotStep) NoSleep

func (s SlotStep) NoSleep() SlotStep

type SlotUpdateFunc

type SlotUpdateFunc func(slot *Slot, stateUpdate StateUpdate, worker FixedSlotWorker, sd *StepDeclaration) (isAvailable bool, err error)

type SlotUpdatePrepareFunc

type SlotUpdatePrepareFunc func(slot *Slot, stateUpdate *StateUpdate)

type SlotUpdateShortLoopFunc

type SlotUpdateShortLoopFunc func(slot *Slot, stateUpdate StateUpdate, loopCount uint32, sd *StepDeclaration) bool

type SlotWorker

type SlotWorker interface {
	HasSignal() bool
	IsDetached() bool
	GetSignalMark() *synckit.SignalVersion
	CanLoopOrHasSignal(loopCount int) (canLoop, hasSignal bool)
}

type SlotWorkerSupport

type SlotWorkerSupport interface {
	SlotWorker
	AddNestedCallCount(uint)
	TryDetach(LongRunFlags)

	TryStartDetachableCall() bool
	EndDetachableCall() (wasDetached bool)

	TryStartNonDetachableCall() bool
	EndNonDetachableCall()
}

type StateConditionalBuilder

type StateConditionalBuilder interface {
	ConditionalBuilder
	// Returns information about the condition being already satisfied
	Decider
	// ThenRepeatOrJump - when the conditional requires wait, then returns Repeat(), otherwise Jump()
	ThenRepeatOrJump(StateFunc) StateUpdate
	// ThenRepeatOrJumpExt - when the conditional requires wait, then returns Repeat(), otherwise JumpExt()
	ThenRepeatOrJumpExt(SlotStep) StateUpdate
}

type StateConditionalBuilderMock

type StateConditionalBuilderMock struct {
	GetDecisionMock mStateConditionalBuilderMockGetDecision

	ThenJumpMock mStateConditionalBuilderMockThenJump

	ThenJumpExtMock mStateConditionalBuilderMockThenJumpExt

	ThenRepeatMock mStateConditionalBuilderMockThenRepeat

	ThenRepeatOrJumpMock mStateConditionalBuilderMockThenRepeatOrJump

	ThenRepeatOrJumpExtMock mStateConditionalBuilderMockThenRepeatOrJumpExt
	// contains filtered or unexported fields
}

StateConditionalBuilderMock implements StateConditionalBuilder

func NewStateConditionalBuilderMock

func NewStateConditionalBuilderMock(t minimock.Tester) *StateConditionalBuilderMock

NewStateConditionalBuilderMock returns a mock for StateConditionalBuilder

func (*StateConditionalBuilderMock) GetDecision

func (mmGetDecision *StateConditionalBuilderMock) GetDecision() (d1 Decision)

GetDecision implements StateConditionalBuilder

func (*StateConditionalBuilderMock) GetDecisionAfterCounter

func (mmGetDecision *StateConditionalBuilderMock) GetDecisionAfterCounter() uint64

GetDecisionAfterCounter returns a count of finished StateConditionalBuilderMock.GetDecision invocations

func (*StateConditionalBuilderMock) GetDecisionBeforeCounter

func (mmGetDecision *StateConditionalBuilderMock) GetDecisionBeforeCounter() uint64

GetDecisionBeforeCounter returns a count of StateConditionalBuilderMock.GetDecision invocations

func (*StateConditionalBuilderMock) MinimockFinish

func (m *StateConditionalBuilderMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*StateConditionalBuilderMock) MinimockGetDecisionDone

func (m *StateConditionalBuilderMock) MinimockGetDecisionDone() bool

MinimockGetDecisionDone returns true if the count of the GetDecision invocations corresponds the number of defined expectations

func (*StateConditionalBuilderMock) MinimockGetDecisionInspect

func (m *StateConditionalBuilderMock) MinimockGetDecisionInspect()

MinimockGetDecisionInspect logs each unmet expectation

func (*StateConditionalBuilderMock) MinimockThenJumpDone

func (m *StateConditionalBuilderMock) MinimockThenJumpDone() bool

MinimockThenJumpDone returns true if the count of the ThenJump invocations corresponds the number of defined expectations

func (*StateConditionalBuilderMock) MinimockThenJumpExtDone

func (m *StateConditionalBuilderMock) MinimockThenJumpExtDone() bool

MinimockThenJumpExtDone returns true if the count of the ThenJumpExt invocations corresponds the number of defined expectations

func (*StateConditionalBuilderMock) MinimockThenJumpExtInspect

func (m *StateConditionalBuilderMock) MinimockThenJumpExtInspect()

MinimockThenJumpExtInspect logs each unmet expectation

func (*StateConditionalBuilderMock) MinimockThenJumpInspect

func (m *StateConditionalBuilderMock) MinimockThenJumpInspect()

MinimockThenJumpInspect logs each unmet expectation

func (*StateConditionalBuilderMock) MinimockThenRepeatDone

func (m *StateConditionalBuilderMock) MinimockThenRepeatDone() bool

MinimockThenRepeatDone returns true if the count of the ThenRepeat invocations corresponds the number of defined expectations

func (*StateConditionalBuilderMock) MinimockThenRepeatInspect

func (m *StateConditionalBuilderMock) MinimockThenRepeatInspect()

MinimockThenRepeatInspect logs each unmet expectation

func (*StateConditionalBuilderMock) MinimockThenRepeatOrJumpDone

func (m *StateConditionalBuilderMock) MinimockThenRepeatOrJumpDone() bool

MinimockThenRepeatOrJumpDone returns true if the count of the ThenRepeatOrJump invocations corresponds the number of defined expectations

func (*StateConditionalBuilderMock) MinimockThenRepeatOrJumpExtDone

func (m *StateConditionalBuilderMock) MinimockThenRepeatOrJumpExtDone() bool

MinimockThenRepeatOrJumpExtDone returns true if the count of the ThenRepeatOrJumpExt invocations corresponds the number of defined expectations

func (*StateConditionalBuilderMock) MinimockThenRepeatOrJumpExtInspect

func (m *StateConditionalBuilderMock) MinimockThenRepeatOrJumpExtInspect()

MinimockThenRepeatOrJumpExtInspect logs each unmet expectation

func (*StateConditionalBuilderMock) MinimockThenRepeatOrJumpInspect

func (m *StateConditionalBuilderMock) MinimockThenRepeatOrJumpInspect()

MinimockThenRepeatOrJumpInspect logs each unmet expectation

func (*StateConditionalBuilderMock) MinimockWait

func (m *StateConditionalBuilderMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*StateConditionalBuilderMock) ThenJump

func (mmThenJump *StateConditionalBuilderMock) ThenJump(s1 StateFunc) (s2 StateUpdate)

ThenJump implements StateConditionalBuilder

func (*StateConditionalBuilderMock) ThenJumpAfterCounter

func (mmThenJump *StateConditionalBuilderMock) ThenJumpAfterCounter() uint64

ThenJumpAfterCounter returns a count of finished StateConditionalBuilderMock.ThenJump invocations

func (*StateConditionalBuilderMock) ThenJumpBeforeCounter

func (mmThenJump *StateConditionalBuilderMock) ThenJumpBeforeCounter() uint64

ThenJumpBeforeCounter returns a count of StateConditionalBuilderMock.ThenJump invocations

func (*StateConditionalBuilderMock) ThenJumpExt

func (mmThenJumpExt *StateConditionalBuilderMock) ThenJumpExt(s1 SlotStep) (s2 StateUpdate)

ThenJumpExt implements StateConditionalBuilder

func (*StateConditionalBuilderMock) ThenJumpExtAfterCounter

func (mmThenJumpExt *StateConditionalBuilderMock) ThenJumpExtAfterCounter() uint64

ThenJumpExtAfterCounter returns a count of finished StateConditionalBuilderMock.ThenJumpExt invocations

func (*StateConditionalBuilderMock) ThenJumpExtBeforeCounter

func (mmThenJumpExt *StateConditionalBuilderMock) ThenJumpExtBeforeCounter() uint64

ThenJumpExtBeforeCounter returns a count of StateConditionalBuilderMock.ThenJumpExt invocations

func (*StateConditionalBuilderMock) ThenRepeat

func (mmThenRepeat *StateConditionalBuilderMock) ThenRepeat() (s1 StateUpdate)

ThenRepeat implements StateConditionalBuilder

func (*StateConditionalBuilderMock) ThenRepeatAfterCounter

func (mmThenRepeat *StateConditionalBuilderMock) ThenRepeatAfterCounter() uint64

ThenRepeatAfterCounter returns a count of finished StateConditionalBuilderMock.ThenRepeat invocations

func (*StateConditionalBuilderMock) ThenRepeatBeforeCounter

func (mmThenRepeat *StateConditionalBuilderMock) ThenRepeatBeforeCounter() uint64

ThenRepeatBeforeCounter returns a count of StateConditionalBuilderMock.ThenRepeat invocations

func (*StateConditionalBuilderMock) ThenRepeatOrJump

func (mmThenRepeatOrJump *StateConditionalBuilderMock) ThenRepeatOrJump(s1 StateFunc) (s2 StateUpdate)

ThenRepeatOrJump implements StateConditionalBuilder

func (*StateConditionalBuilderMock) ThenRepeatOrJumpAfterCounter

func (mmThenRepeatOrJump *StateConditionalBuilderMock) ThenRepeatOrJumpAfterCounter() uint64

ThenRepeatOrJumpAfterCounter returns a count of finished StateConditionalBuilderMock.ThenRepeatOrJump invocations

func (*StateConditionalBuilderMock) ThenRepeatOrJumpBeforeCounter

func (mmThenRepeatOrJump *StateConditionalBuilderMock) ThenRepeatOrJumpBeforeCounter() uint64

ThenRepeatOrJumpBeforeCounter returns a count of StateConditionalBuilderMock.ThenRepeatOrJump invocations

func (*StateConditionalBuilderMock) ThenRepeatOrJumpExt

func (mmThenRepeatOrJumpExt *StateConditionalBuilderMock) ThenRepeatOrJumpExt(s1 SlotStep) (s2 StateUpdate)

ThenRepeatOrJumpExt implements StateConditionalBuilder

func (*StateConditionalBuilderMock) ThenRepeatOrJumpExtAfterCounter

func (mmThenRepeatOrJumpExt *StateConditionalBuilderMock) ThenRepeatOrJumpExtAfterCounter() uint64

ThenRepeatOrJumpExtAfterCounter returns a count of finished StateConditionalBuilderMock.ThenRepeatOrJumpExt invocations

func (*StateConditionalBuilderMock) ThenRepeatOrJumpExtBeforeCounter

func (mmThenRepeatOrJumpExt *StateConditionalBuilderMock) ThenRepeatOrJumpExtBeforeCounter() uint64

ThenRepeatOrJumpExtBeforeCounter returns a count of StateConditionalBuilderMock.ThenRepeatOrJumpExt invocations

type StateConditionalBuilderMockGetDecisionExpectation

type StateConditionalBuilderMockGetDecisionExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StateConditionalBuilderMockGetDecisionExpectation specifies expectation struct of the StateConditionalBuilder.GetDecision

type StateConditionalBuilderMockGetDecisionResults

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

StateConditionalBuilderMockGetDecisionResults contains results of the StateConditionalBuilder.GetDecision

type StateConditionalBuilderMockThenJumpExpectation

type StateConditionalBuilderMockThenJumpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StateConditionalBuilderMockThenJumpExpectation specifies expectation struct of the StateConditionalBuilder.ThenJump

func (*StateConditionalBuilderMockThenJumpExpectation) Then

Then sets up StateConditionalBuilder.ThenJump return parameters for the expectation previously defined by the When method

type StateConditionalBuilderMockThenJumpExtExpectation

type StateConditionalBuilderMockThenJumpExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StateConditionalBuilderMockThenJumpExtExpectation specifies expectation struct of the StateConditionalBuilder.ThenJumpExt

func (*StateConditionalBuilderMockThenJumpExtExpectation) Then

Then sets up StateConditionalBuilder.ThenJumpExt return parameters for the expectation previously defined by the When method

type StateConditionalBuilderMockThenJumpExtParams

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

StateConditionalBuilderMockThenJumpExtParams contains parameters of the StateConditionalBuilder.ThenJumpExt

type StateConditionalBuilderMockThenJumpExtResults

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

StateConditionalBuilderMockThenJumpExtResults contains results of the StateConditionalBuilder.ThenJumpExt

type StateConditionalBuilderMockThenJumpParams

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

StateConditionalBuilderMockThenJumpParams contains parameters of the StateConditionalBuilder.ThenJump

type StateConditionalBuilderMockThenJumpResults

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

StateConditionalBuilderMockThenJumpResults contains results of the StateConditionalBuilder.ThenJump

type StateConditionalBuilderMockThenRepeatExpectation

type StateConditionalBuilderMockThenRepeatExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StateConditionalBuilderMockThenRepeatExpectation specifies expectation struct of the StateConditionalBuilder.ThenRepeat

type StateConditionalBuilderMockThenRepeatOrJumpExpectation

type StateConditionalBuilderMockThenRepeatOrJumpExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StateConditionalBuilderMockThenRepeatOrJumpExpectation specifies expectation struct of the StateConditionalBuilder.ThenRepeatOrJump

func (*StateConditionalBuilderMockThenRepeatOrJumpExpectation) Then

Then sets up StateConditionalBuilder.ThenRepeatOrJump return parameters for the expectation previously defined by the When method

type StateConditionalBuilderMockThenRepeatOrJumpExtExpectation

type StateConditionalBuilderMockThenRepeatOrJumpExtExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StateConditionalBuilderMockThenRepeatOrJumpExtExpectation specifies expectation struct of the StateConditionalBuilder.ThenRepeatOrJumpExt

func (*StateConditionalBuilderMockThenRepeatOrJumpExtExpectation) Then

Then sets up StateConditionalBuilder.ThenRepeatOrJumpExt return parameters for the expectation previously defined by the When method

type StateConditionalBuilderMockThenRepeatOrJumpExtParams

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

StateConditionalBuilderMockThenRepeatOrJumpExtParams contains parameters of the StateConditionalBuilder.ThenRepeatOrJumpExt

type StateConditionalBuilderMockThenRepeatOrJumpExtResults

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

StateConditionalBuilderMockThenRepeatOrJumpExtResults contains results of the StateConditionalBuilder.ThenRepeatOrJumpExt

type StateConditionalBuilderMockThenRepeatOrJumpParams

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

StateConditionalBuilderMockThenRepeatOrJumpParams contains parameters of the StateConditionalBuilder.ThenRepeatOrJump

type StateConditionalBuilderMockThenRepeatOrJumpResults

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

StateConditionalBuilderMockThenRepeatOrJumpResults contains results of the StateConditionalBuilder.ThenRepeatOrJump

type StateConditionalBuilderMockThenRepeatResults

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

StateConditionalBuilderMockThenRepeatResults contains results of the StateConditionalBuilder.ThenRepeat

type StateFunc

type StateFunc func(ctx ExecutionContext) StateUpdate

type StateMachine

type StateMachine interface {
	// GetStateMachineDeclaration returns a meta-type / declaration of a SM.
	// Must be non-nil.
	GetStateMachineDeclaration() StateMachineDeclaration
}

type StateMachineDeclTemplate

type StateMachineDeclTemplate struct {
}

A template to include into SM to avoid hassle of creation of any methods but GetInitStateFor()

func (*StateMachineDeclTemplate) GetShadowMigrateFor

func (*StateMachineDeclTemplate) GetStepDeclaration

func (s *StateMachineDeclTemplate) GetStepDeclaration(StateFunc) *StepDeclaration

func (*StateMachineDeclTemplate) GetStepLogger

func (*StateMachineDeclTemplate) InjectDependencies

func (*StateMachineDeclTemplate) IsConsecutive

func (s *StateMachineDeclTemplate) IsConsecutive(cur, next StateFunc) bool

type StateMachineDeclaration

type StateMachineDeclaration interface {
	StateMachineHelper
	// GetInitStateFor an initialization function for the given SM.
	// Is called once per SM after InjectDependencies().
	GetInitStateFor(StateMachine) InitFunc
}

type StateMachineHelper

type StateMachineHelper interface {
	// InjectDependencies runs initialization code that SM doesn't need to know.
	// Is called once per SM right after GetStateMachineDeclaration().
	// Dependencies injected through DependencyInjector and implementing ShadowMigrator will be invoked during migration.
	InjectDependencies(StateMachine, SlotLink, injector.DependencyInjector)

	// GetStepLogger provides per-SM logger. Zero implementation must return (nil, false).
	// Is called once per SM after InjectDependencies().
	// When result is (_, false) then StepLoggerFactory will be used.
	// When result is (nil, true) then any logging will be disabled.
	GetStepLogger(context.Context, StateMachine, TracerID, StepLoggerFactoryFunc) (StepLogger, bool)

	// GetShadowMigrateFor returns a shadow migration handler for the given stateMachine, that will be invoked on every migration. SM has no control over it.
	// Is called once per SM after InjectDependencies().
	// See ShadowMigrator
	GetShadowMigrateFor(StateMachine) ShadowMigrateFunc

	// GetStepDeclaration returns a StepDeclaration for the given step. Return nil when implementation is not available.
	GetStepDeclaration(StateFunc) *StepDeclaration

	// IsConsecutive is only invoked when GetStepDeclaration() is not available for the current step.
	// WARNING! DO NOT EVER return "true" here without CLEAR understanding of internal mechanics.
	// Returning "true" blindly will LIKELY lead to infinite loops.
	IsConsecutive(cur, next StateFunc) bool
}

type StateUpdate

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

Represents an update to be applied to SM. Content of this object is used internally. DO NOT interfere.

func ChooseUpdate

func ChooseUpdate(d Decider, valid, invalid, other StateUpdate) StateUpdate

func RepeatOrJump

func RepeatOrJump(ctx ExecutionContext, d Decider, next StateFunc) StateUpdate

func RepeatOrJumpElse

func RepeatOrJumpElse(ctx ExecutionContext, d Decider, valid, invalid StateFunc) StateUpdate

func (StateUpdate) IsEmpty

func (u StateUpdate) IsEmpty() bool

IsEmpty returns true when StateUpdate has "no-op" action

func (StateUpdate) IsZero

func (u StateUpdate) IsZero() bool

type StateUpdateTemplate

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

type StateUpdateType

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

func (StateUpdateType) Apply

func (v StateUpdateType) Apply(slot *Slot, stateUpdate StateUpdate, worker FixedSlotWorker) (isAvailable bool, err error)

func (StateUpdateType) GetStepDeclaration

func (v StateUpdateType) GetStepDeclaration() *StepDeclaration

func (StateUpdateType) IsSubroutineSafe

func (v StateUpdateType) IsSubroutineSafe() bool

func (StateUpdateType) Prepare

func (v StateUpdateType) Prepare(slot *Slot, stateUpdate *StateUpdate)

func (StateUpdateType) ShortLoop

func (v StateUpdateType) ShortLoop(slot *Slot, stateUpdate StateUpdate, loopCount uint32) bool

type StepDeclaration

type StepDeclaration struct {
	SlotStep
	// contains filtered or unexported fields
}

func (StepDeclaration) GetStepName

func (v StepDeclaration) GetStepName() string

func (StepDeclaration) IsNameless

func (v StepDeclaration) IsNameless() bool

type StepFlags

type StepFlags uint16
const (
	// StepResetAllFlags indicates that Slot's default flags (set by SetDefaultFlags()) will be ignored, otherwise ORed.
	StepResetAllFlags StepFlags = 1 << iota

	// StepWeak marks a "weak" step - SlotMachine can be stopped automatically when all SMs are at "weak" steps.
	StepWeak

	// StepPriority makes SM's step to be executed before other steps in a cycle. Implies StepSyncPriority.
	StepPriority

	// StepSyncBoost makes SM's step to be handled as boosted for sync queues, but doesn't prioritise step in SlotMachine.
	StepSyncBoost

	// StepElevatedLog informs logger to provide alternative (e.g. higher levels) for output of this step.
	StepElevatedLog
)
type StepLink struct {
	SlotLink
	// contains filtered or unexported fields
}
func DeadStepLink() StepLink
func NoStepLink() StepLink

func (StepLink) AnyStep

func (p StepLink) AnyStep() StepLink

Makes the step link unbound - IsAtStep()/IsNearStep() will return true for any step of a valid slot

func (StepLink) IsAtStep

func (p StepLink) IsAtStep() bool

Returns true when the slot is valid and either the slot stays at the same step or this StepLink is unbound

func (StepLink) IsNearStep

func (p StepLink) IsNearStep(forwardDelta uint32) bool

Same as IsAtStep(), but return true when the slot's step is [link.step .. link.step+forwardDelta], safe for step wrapping

func (StepLink) StepNo

func (p StepLink) StepNo() uint32

func (StepLink) String

func (p StepLink) String() string

type StepLogLevel

type StepLogLevel uint8
const (
	StepLogLevelDefault StepLogLevel = iota
	// StepLogLevelElevated indicates that this step was marked for detailed logging
	StepLogLevelElevated
	// StepLogLevelElevated indicates that this SM was marked for detailed logging
	StepLogLevelTracing
	StepLogLevelError
)

type StepLogger

type StepLogger interface {
	// CanLogEvent returns true when the given type of the event should be logged. Followed by LogXXX() call
	CanLogEvent(eventType StepLoggerEvent, stepLevel StepLogLevel) bool
	// TODO LogMetric()
	// LogUpdate is invoked after each step of the Slot
	LogUpdate(StepLoggerData, StepLoggerUpdateData)
	// LogInternal is invoked on internal events related to the Slot
	LogInternal(data StepLoggerData, updateType string)
	// LogEvent is invoked on user calls to ctx.Log() methods
	LogEvent(data StepLoggerData, customEvent interface{}, fields []logfmt.LogFieldMarshaller)

	CanLogTestEvent() bool
	LogTestEvent(data StepLoggerData, customEvent interface{})

	// LogAdapter is invoked on user calls to ctx.LogAsync() methods
	// Value of (callId) is guaranteed to be unique per Slot per async call. For notify and sync calls there is no guarantees on (callId).
	// Type of call can be identified by (data.Flags).
	LogAdapter(data StepLoggerData, adapterID AdapterID, callID uint64, fields []logfmt.LogFieldMarshaller)

	// GetTracerID returns TracerID assigned to this Slot during construction
	GetTracerID() TracerID
	// GetLoggerContext returns context for adapter calls etc, that must contain relevant TracerID
	// Implementation must reuse context, as this method can be called intensively.
	GetLoggerContext() context.Context

	// CreateAsyncLogger returns a logger for async operations attached to the given (StepLoggerData).
	// It received context of Slot, but can return any context.
	// Better reuse context, e.g. from GetLoggerContext(), as this method can be called intensively.
	CreateAsyncLogger(context.Context, *StepLoggerData) (context.Context, StepLogger)
}

StepLogger is a per-Slot helper to facilitate reporting of Slot operations into a log or console.

type StepLoggerData

type StepLoggerData struct {
	// CycleNo is a cycle number of a SlotMachine when this event has happened.
	CycleNo uint32
	// StepNo is an link to SM and step, the issue was related to.
	StepNo StepLink
	// CurrentStep is a step and its declaration data the SM is currently at.
	CurrentStep StepDeclaration
	// Declaration is a declaration of SM
	Declaration StateMachineHelper
	Error       error
	// EventType is a type of this event
	EventType StepLoggerEvent
	// Flags provide additional details about the event. Flags depend on (EventType)
	Flags StepLoggerFlags
}

StepLoggerData describes an event that is connected to a specific SM.

func (StepLoggerData) FormatForLog

func (v StepLoggerData) FormatForLog(msg string) string

func (StepLoggerData) IsElevated

func (v StepLoggerData) IsElevated() bool

type StepLoggerEvent

type StepLoggerEvent uint8
const (
	StepLoggerUpdate StepLoggerEvent = iota
	StepLoggerMigrate
	StepLoggerInternal
	StepLoggerAdapterCall

	StepLoggerTrace
	StepLoggerActiveTrace
	StepLoggerWarn
	StepLoggerError
	StepLoggerFatal
)

func (StepLoggerEvent) IsEvent

func (v StepLoggerEvent) IsEvent() bool

type StepLoggerFactoryFunc

type StepLoggerFactoryFunc func(context.Context, StateMachine, TracerID) StepLogger

type StepLoggerFlags

type StepLoggerFlags uint32
const (
	StepLoggerDetached StepLoggerFlags
	StepLoggerInline
	StepLoggerShortLoop
	StepLoggerElevated
)

func (StepLoggerFlags) AdapterFlags

func (v StepLoggerFlags) AdapterFlags() StepLoggerFlags

func (StepLoggerFlags) ErrorFlags

func (v StepLoggerFlags) ErrorFlags() StepLoggerFlags

func (StepLoggerFlags) FormatAdapterForLog

func (v StepLoggerFlags) FormatAdapterForLog() string

func (StepLoggerFlags) FormatErrorForLog

func (v StepLoggerFlags) FormatErrorForLog() string

func (StepLoggerFlags) WithAdapterFlags

func (v StepLoggerFlags) WithAdapterFlags(flags StepLoggerFlags) StepLoggerFlags

type StepLoggerFunc

type StepLoggerFunc func(*StepLoggerData, *StepLoggerUpdateData)

type StepLoggerStub

type StepLoggerStub struct {
	TracerID TracerID
}

func (StepLoggerStub) CanLogEvent

func (StepLoggerStub) CanLogTestEvent

func (StepLoggerStub) CanLogTestEvent() bool

func (StepLoggerStub) CreateAsyncLogger

func (StepLoggerStub) CreateAsyncLogger(ctx context.Context, data *StepLoggerData) (context.Context, StepLogger)

func (StepLoggerStub) GetLoggerContext

func (v StepLoggerStub) GetLoggerContext() context.Context

func (StepLoggerStub) GetTracerID

func (v StepLoggerStub) GetTracerID() TracerID

func (StepLoggerStub) LogAdapter

func (StepLoggerStub) LogEvent

func (StepLoggerStub) LogEvent(StepLoggerData, interface{}, []logfmt.LogFieldMarshaller)

func (StepLoggerStub) LogInternal

func (StepLoggerStub) LogInternal(StepLoggerData, string)

func (StepLoggerStub) LogTestEvent

func (StepLoggerStub) LogTestEvent(StepLoggerData, interface{})

func (StepLoggerStub) LogUpdate

type StepLoggerUpdateData

type StepLoggerUpdateData struct {
	// UpdateType is a symbolic name of the update type, e.g. jump, sleep etc
	UpdateType string
	// NextStep is a step and its declaration data to be applied to SM.
	NextStep StepDeclaration

	// AppliedMigrate is set on migration update
	AppliedMigrate MigrateFunc

	// InactivityNano is a duration since the previous update, a time for which SM did not run any step.
	// Zero or negative value means that duration is not applicable / not valid.
	InactivityNano time.Duration
	// ActivityNano is a duration spent during inside the last (current) step.
	// Zero or negative value means that duration is not applicable / not valid.
	ActivityNano time.Duration
}

StepLoggerUpdateData describes an StateUpdate event applied to a specific SM. Invoked after each step.

type StepLoggerUpdateFunc

type StepLoggerUpdateFunc func(StepLogger, StepLoggerFactoryFunc) StepLogger

type StepPrepareFunc

type StepPrepareFunc func()

type SubroutineCleanupMode

type SubroutineCleanupMode uint8
const (
	// All shares and publishes made by this SM will be handed over to the calling SM
	SubroutineCleanupNone SubroutineCleanupMode = 0
	// Shares and non-global aliases made by this SM will be handed over to the calling SM
	SubroutineCleanupGlobalsOnly SubroutineCleanupMode = 1
	// Only shares made by this SM will be handed over to the calling SM
	SubroutineCleanupAnyAliases SubroutineCleanupMode = 2
	// Neither shares nor publishes nor global aliases made by this SM will be handed over to the calling SM
	SubroutineCleanupAliasesAndShares SubroutineCleanupMode = 3
)

type SubroutineExitContext

type SubroutineExitContext interface {
	EventParam() interface{}

	// GetError returns an error when subroutine was stopped by an error
	GetError() error
	// contains filtered or unexported methods
}

type SubroutineExitFunc

type SubroutineExitFunc func(ctx SubroutineExitContext) StateUpdate

type SubroutineStartContext

type SubroutineStartContext interface {
	BasicContext

	// Log returns a slot logger for this context. It is only valid while this context is valid.
	Log() Logger

	SetSubroutineCleanupMode(SubroutineCleanupMode)
}

type SubroutineStartFunc

type SubroutineStartFunc func(ctx SubroutineStartContext) InitFunc

type SubroutineStateMachine

type SubroutineStateMachine interface {
	StateMachine
	GetSubroutineInitState(SubroutineStartContext) InitFunc
}

type SyncAdjustment

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

func NewSyncAdjustment

func NewSyncAdjustment(controller DependencyController, adjustment int, isAbsolute bool) SyncAdjustment

func (SyncAdjustment) IsEmpty

func (v SyncAdjustment) IsEmpty() bool

func (SyncAdjustment) IsZero

func (v SyncAdjustment) IsZero() bool

func (SyncAdjustment) MergeWith

func (v SyncAdjustment) MergeWith(u ...SyncAdjustment) SyncAdjustment

func (SyncAdjustment) String

func (v SyncAdjustment) String() string

type SyncCallRequester

type SyncCallRequester interface {
	// WithNested sets a handler to map nested calls from the target adapter to new SMs.
	// See AsyncCallRequester.WithNested() for details.
	WithNested(CreateFactoryFunc) SyncCallRequester
	// WithLog sets internal logging for the call. This mode is set automatically when tracing is active or StepElevatedLog is set.
	WithLog(isLogging bool) SyncCallRequester

	// TryCall returns true when the call was successful, or false if cancelled. May return false on a signal - depends on context mode.
	TryCall() bool
	// Call may panic on migrate - depends on context mode
	Call()
}
type SyncLink struct {
	// contains filtered or unexported fields
}

Represents a sync object.

func NewSyncLink(controller DependencyController) SyncLink

func (SyncLink) DebugPrint

func (v SyncLink) DebugPrint(maxCount int)

func (SyncLink) GetCounts

func (v SyncLink) GetCounts() (active, inactive int)

Provides an implementation depended state of the sync object. Safe for concurrent use.

func (SyncLink) GetLimit

func (v SyncLink) GetLimit() (limit int, isAdjustable bool)

Provides an implementation depended state of the sync object Safe for concurrent use.

func (SyncLink) IsZero

func (v SyncLink) IsZero() bool

func (SyncLink) String

func (v SyncLink) String() string

type SynchronizationContext

type SynchronizationContext interface {
	// Check provides current state of a sync object.
	// When the sync was previously acquired, then this function returns SM's status of a sync object.
	// When the sync was not previously acquired, then this function returns a general status of a sync object
	// Panics on zero or incorrectly initialized value.
	Check(SyncLink) BoolDecision

	// Acquire acquires a holder of the sync object and returns status of the acquired holder:
	//
	// 1) Passed/true - SM can proceed to access resources controlled by this sync object.
	//    Passed holder MUST be released to ensure that other SM can also pass.
	//
	// 2) NotPassed/false - SM can't proceed to access resources controlled by this sync object.
	//    NotPassed holder remains valid and ensures that SM retains location an a queue of the sync object.
	//    NotPassed holder will at some moment be converted into Passed holder and the relevant SM will be be woken up.
	//    NotPassed holder MUST be released.
	//
	// Acquired holder will be released when SM is stopped.
	// Panics on zero or incorrectly initialized value.
	// Panics when another sync was acquired, but was not released. This also applies then holder was previously acquired with different methods/flags/priority.
	Acquire(SyncLink) BoolDecision
	// AcquireAndRelease releases any previously acquired sync object AFTER acquiring a new one.
	AcquireAndRelease(SyncLink) BoolDecision

	// AcquireForThisStep is similar to Acquire(), but the acquired holder will also be released when step is changed.
	// To avoid doubt - Repeat(), WakeUp() and Stay() operations will not release.
	// Other operations, including Jump() to the same step will do RELEASE even if they combined with Sleep() or similar predicates.
	// Panics on zero or incorrectly initialized value.
	AcquireForThisStep(SyncLink) BoolDecision
	// AcquireForThisStepAndRelease combines features of both AcquireForThisStep() and AcquireAndRelease()
	AcquireForThisStepAndRelease(SyncLink) BoolDecision

	// AcquireExt acquires a holder of the sync object with additional features/properties defined by AcquireFlags. See also Acquire* methods.
	AcquireExt(SyncLink, AcquireFlags) BoolDecision

	// Release releases a holder of this SM for the given sync object.
	// When there is no holder or the current holder belongs to a different sync object then operation is ignored and false is returned.
	// NB! Some sync objects (e.g. conditionals) may release a passed holder automatically, hence this function will return false as well.
	// Panics on zero or incorrectly initialized value.
	Release(SyncLink) bool
	// contains filtered or unexported methods
}

type TerminationCallbackFunc

type TerminationCallbackFunc func(result interface{}, err error) AsyncResultFunc

type TerminationData

type TerminationData struct {
	Slot    StepLink
	Parent  SlotLink
	Context context.Context
	Result  interface{}
	Error   error
}

type TerminationHandlerFunc

type TerminationHandlerFunc func(TerminationData)

type TracerID

type TracerID = string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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