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

# Functions

EnvironmentIDFromRunnerID returns the environment id that is part of the passed runner job id.
EnvironmentIDFromTemplateJobID returns the environment id that is part of the passed environment job id.
FindAndValidateConfigTask returns the config task and ensures that a dummy task is in the task group so that the group is accepted by Nomad.
No description provided by the author
FindAndValidateDefaultTask returns the default task and ensures that a default task is in the task group in that the executions are made.
No description provided by the author
No description provided by the author
IsEnvironmentTemplateID checks if the passed job id belongs to a template job.
NewExecutorAPI creates a new api client.
NewExecutorAPIMock creates a new instance of ExecutorAPIMock.
No description provided by the author
RunnerJobID returns the nomad job id of the runner with the given environmentID and id.
SetForcePullFlag sets the flag of a job if the image should be pulled again.
TemplateJobID returns the id of the nomad job for the environment with the given id.

# Constants

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
PrivilegedExecution is to indicate the privileged execution of the passed command.
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
UnprivilegedExecution is to indicate the unprivileged execution of the passed command.

# Variables

ErrAllocationCompleted is for reporting the reason for the stopped allocation.
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
No description provided by the author

# Structs

AllocationProcessing includes the callbacks to interact with allocation events.
APIClient implements the ExecutorAPI interface and can be used to perform different operations on the real Executor API and its return values.
ExecutorAPIMock is an autogenerated mock type for the ExecutorAPI type.
SentryDebugWriter is scanning the input for the debug message pattern.

# Interfaces

ExecutorAPI provides access to a container orchestration solution.

# Type aliases

DeletedAllocationProcessor is a handler that will be called for each deleted allocation.
DeletedAllocationProcessor is a handler that will be called for each deleted allocation.
No description provided by the author