states

package
v0.265.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAgentStateMachine

type FakeAgentStateMachine struct {
	CanTransitionStub func(*states.AgentContext, states.AgentExecutionState) bool

	GetCurrentStateStub func() states.AgentExecutionState

	ResetStub func()

	TransitionStub func(*states.AgentContext, states.AgentExecutionState) error
	// contains filtered or unexported fields
}

func (*FakeAgentStateMachine) CallOrder added in v0.246.1

func (fake *FakeAgentStateMachine) CallOrder() []string

func (*FakeAgentStateMachine) CanTransition

func (fake *FakeAgentStateMachine) CanTransition(arg1 *states.AgentContext, arg2 states.AgentExecutionState) bool

func (*FakeAgentStateMachine) CanTransitionArgs added in v0.246.1

func (*FakeAgentStateMachine) CanTransitionArgsForCall

func (fake *FakeAgentStateMachine) CanTransitionArgsForCall(i int) (*states.AgentContext, states.AgentExecutionState)

func (*FakeAgentStateMachine) CanTransitionCallCount

func (fake *FakeAgentStateMachine) CanTransitionCallCount() int

func (*FakeAgentStateMachine) CanTransitionCalls

func (fake *FakeAgentStateMachine) CanTransitionCalls(stub func(*states.AgentContext, states.AgentExecutionState) bool)

func (*FakeAgentStateMachine) CanTransitionReturns

func (fake *FakeAgentStateMachine) CanTransitionReturns(result1 bool)

func (*FakeAgentStateMachine) CanTransitionReturnsOnCall

func (fake *FakeAgentStateMachine) CanTransitionReturnsOnCall(i int, result1 bool)

func (*FakeAgentStateMachine) GetCurrentState

func (fake *FakeAgentStateMachine) GetCurrentState() states.AgentExecutionState

func (*FakeAgentStateMachine) GetCurrentStateCallCount

func (fake *FakeAgentStateMachine) GetCurrentStateCallCount() int

func (*FakeAgentStateMachine) GetCurrentStateCalls

func (fake *FakeAgentStateMachine) GetCurrentStateCalls(stub func() states.AgentExecutionState)

func (*FakeAgentStateMachine) GetCurrentStateReturns

func (fake *FakeAgentStateMachine) GetCurrentStateReturns(result1 states.AgentExecutionState)

func (*FakeAgentStateMachine) GetCurrentStateReturnsOnCall

func (fake *FakeAgentStateMachine) GetCurrentStateReturnsOnCall(i int, result1 states.AgentExecutionState)

func (*FakeAgentStateMachine) Invocations

func (fake *FakeAgentStateMachine) Invocations() map[string][][]interface{}

func (*FakeAgentStateMachine) Reset

func (fake *FakeAgentStateMachine) Reset()

func (*FakeAgentStateMachine) ResetCallCount

func (fake *FakeAgentStateMachine) ResetCallCount() int

func (*FakeAgentStateMachine) ResetCalls

func (fake *FakeAgentStateMachine) ResetCalls(stub func())

func (*FakeAgentStateMachine) Transition

func (*FakeAgentStateMachine) TransitionArgs added in v0.246.1

func (*FakeAgentStateMachine) TransitionArgsForCall

func (fake *FakeAgentStateMachine) TransitionArgsForCall(i int) (*states.AgentContext, states.AgentExecutionState)

func (*FakeAgentStateMachine) TransitionCallCount

func (fake *FakeAgentStateMachine) TransitionCallCount() int

func (*FakeAgentStateMachine) TransitionCalls

func (fake *FakeAgentStateMachine) TransitionCalls(stub func(*states.AgentContext, states.AgentExecutionState) error)

func (*FakeAgentStateMachine) TransitionReturns

func (fake *FakeAgentStateMachine) TransitionReturns(result1 error)

func (*FakeAgentStateMachine) TransitionReturnsOnCall

func (fake *FakeAgentStateMachine) TransitionReturnsOnCall(i int, result1 error)

type FakeAgentStateMachineCanTransitionArgs added in v0.246.1

type FakeAgentStateMachineCanTransitionArgs struct {
	Arg1 *states.AgentContext
	Arg2 states.AgentExecutionState
}

FakeAgentStateMachineCanTransitionArgs holds the arguments of one call to CanTransition.

type FakeAgentStateMachineTransitionArgs added in v0.246.1

type FakeAgentStateMachineTransitionArgs struct {
	Arg1 *states.AgentContext
	Arg2 states.AgentExecutionState
}

FakeAgentStateMachineTransitionArgs holds the arguments of one call to Transition.

type FakeStateHandler

type FakeStateHandler struct {
	HandleStub func(states.AgentEvent) error

	NameStub func() states.AgentExecutionState
	// contains filtered or unexported fields
}

func (*FakeStateHandler) CallOrder added in v0.246.1

func (fake *FakeStateHandler) CallOrder() []string

func (*FakeStateHandler) Handle

func (fake *FakeStateHandler) Handle(arg1 states.AgentEvent) error

func (*FakeStateHandler) HandleArgs added in v0.246.1

func (fake *FakeStateHandler) HandleArgs() []FakeStateHandlerHandleArgs

func (*FakeStateHandler) HandleArgsForCall

func (fake *FakeStateHandler) HandleArgsForCall(i int) states.AgentEvent

func (*FakeStateHandler) HandleCallCount

func (fake *FakeStateHandler) HandleCallCount() int

func (*FakeStateHandler) HandleCalls

func (fake *FakeStateHandler) HandleCalls(stub func(states.AgentEvent) error)

func (*FakeStateHandler) HandleReturns

func (fake *FakeStateHandler) HandleReturns(result1 error)

func (*FakeStateHandler) HandleReturnsOnCall

func (fake *FakeStateHandler) HandleReturnsOnCall(i int, result1 error)

func (*FakeStateHandler) Invocations

func (fake *FakeStateHandler) Invocations() map[string][][]interface{}

func (*FakeStateHandler) Name

func (*FakeStateHandler) NameCallCount

func (fake *FakeStateHandler) NameCallCount() int

func (*FakeStateHandler) NameCalls

func (fake *FakeStateHandler) NameCalls(stub func() states.AgentExecutionState)

func (*FakeStateHandler) NameReturns

func (fake *FakeStateHandler) NameReturns(result1 states.AgentExecutionState)

func (*FakeStateHandler) NameReturnsOnCall

func (fake *FakeStateHandler) NameReturnsOnCall(i int, result1 states.AgentExecutionState)

type FakeStateHandlerHandleArgs added in v0.246.1

type FakeStateHandlerHandleArgs struct {
	Arg1 states.AgentEvent
}

FakeStateHandlerHandleArgs holds the arguments of one call to Handle.

Jump to

Keyboard shortcuts

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