StateVerification

private object StateVerification

Namespace containing methods verifying the state of DockerDaemonDispatcher.

Types

Link copied to clipboard
private class DaemonHostAllocationSnapshot(val daemon: DaemonHost, val managedRunners: List<Runner>, val maxCpuAlloc: Double, val maxMemAlloc: Long, val cpuFree: Double, val memFree: Long, val gpuCapabilities: Map<GpuDevice, Runner?>)

Properties

Link copied to clipboard
private val verifyLevel: Int

Functions

Link copied to clipboard

Checks whether queued jobs are not dispatched (i.e. deadlocked) even if a daemon is available for dispatch.

Link copied to clipboard

Checks whether any dispatched runners have already transitioned into the CloseableState.CLOSED state.

Link copied to clipboard

Performs checks for the state of DockerDaemonDispatcher after performing a multi-daemon dispatch..

Link copied to clipboard

Performs checks for the state of DockerDaemonDispatcher after performing a single-daemon dispatch.

Link copied to clipboard

Performs a subset of checks for when a Runner has been unbound from a LocallyTrackedDaemonHost.

Link copied to clipboard

Checks whether the resource tracking of LocallyTrackedDaemonHost is correctly calculated.

Link copied to clipboard

Checks whether the dispatched runner tracking functionality is consistent between LocallyTrackedDaemonHost and DockerDaemonDispatcher.MANAGED_RUNNERS.