package
0.0.0-20241101034334-ca1fa88ca09a
Repository: https://github.com/openhpi/poseidon.git
Documentation: pkg.go.dev

# Functions

FromContext returns a runner from a context.
MonitorEnvironmentID adds the passed environment id to the monitoring Point p.
MonitorRunnersEnvironmentID passes the id of the environment e into the monitoring Point p.
NewAbstractManager creates a new abstract runner manager that keeps track of all runners of one kind.
NewAWSFunctionWorkload creates a new AWSFunctionWorkload with the provided id.
NewAWSRunnerManager creates a new runner manager that keeps track of all runners at AWS.
NewContext creates a context containing a runner.
NewExecutionEnvironmentMock creates a new instance of ExecutionEnvironmentMock.
No description provided by the author
NewNomadJob creates a new NomadJob with the provided id.
NewNomadRunnerManager creates a new runner manager that keeps track of all runners.
NewRunnerMock creates a new instance of RunnerMock.

# Constants

SIGQUIT is the character that causes a tty to send the SIGQUIT signal to the controlled process.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AbstractManager is used to have a fallback runner manager in the chain of responsibility following the null object pattern.
AWSFunctionWorkload is an abstraction to build a request to an AWS Lambda Function.
No description provided by the author
ExecutionEnvironmentMock is an autogenerated mock type for the ExecutionEnvironment type.
No description provided by the author
No description provided by the author
InactivityTimerMock is an autogenerated mock type for the InactivityTimer type.
ManagerMock is an autogenerated mock type for the Manager type.
NomadJob is an abstraction to communicate with Nomad environments.
No description provided by the author
RunnerMock is an autogenerated mock type for the Runner type.

# Interfaces

Accessor manages the lifecycle of Runner.
AccessorHandler is one handler in the chain of responsibility of runner accessors.
EnvironmentAccessor provides access to the stored environments.
ExecutionEnvironment are groups of runner that share the configuration stored in the environment.
ExternalExecutionEnvironment defines the functionalities with impact on external executors.
InactivityTimer is a wrapper around a timer that is used to delete a Runner after some time of inactivity.
Manager keeps track of the used and unused runners of all execution environments in order to provide unused runners to new clients and ensure no runner is used twice.
ReadableExecutionEnvironment defines structs that can return the attributes of an Execution Environment.
No description provided by the author
WriteableExecutionEnvironment defines structs that can update the attributes of an Execution Environment.

# Type aliases

DestroyReason specifies errors that are expected as reason for destroying a runner.
No description provided by the author
No description provided by the author