Merge of base and Kubernetes goal container interfaces.
Merge of base and Kubernetes goal container volume interfaces.
Deterministic name for Kubernetes container goal fulfiller.
Clean up resources used to watch running container.
If running as isolated goal, use executeK8sJob to execute the goal. Otherwise, schedule the goal execution as a Kubernetes job using scheduleK8sJob.
Wait for container in pod to start, return when it does.
Information about container to check
Maximum number of attempts, waiting 500 ms between
Watch pod until container container.name
exits and its log stream
is done being written to. Resolve promise with status if container
container.name
exits with status 0. If container exits with
non-zero status, reject promise and includ pod status in the
podStatus
property of the error. If any other error occurs,
e.g., a watch or log error or timeout exceeded, reject immediately
upon receipt of error.
Information about container to watch
Milliseconds to allow container to run
Status of pod after container terminates
Wait for first container to exit and stream its logs to the progress log.
Goal that fulfills requested container goals by scheduling them as Kubernetes jobs.
Container scheduler to use when running in Kubernetes.
Add Kubernetes job scheduling information to SDM goal event data for use by the KubernetesGoalScheduler.
Container scheduler to use when running in Google Cloud Functions.
Get container registration from goal event data, use [[k8sFulfillmentcallback]] to get a goal event schedulable by a KubernetesGoalScheduler, then schedule the goal using that scheduler.
Restore cache input entries before fulfilling goal.
Generated using TypeDoc
Function signature for callback that can modify and return the ContainerRegistration object.