Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DependenciesAreResolved ¶
DependenciesAreResolved validates that the `target` container can be transitioned given the current known state of the containers in `by`. If this function returns true, `target` should be technically able to launch without issues. Transitions are between known statuses (whether the container can move to the next known status), not desired statuses; the desired status typically is either RUNNING or STOPPED.
func ValidDependencies ¶
ValidDependencies takes a task and verifies that it is possible to allow all containers within it to reach the desired status by proceeding in some order. ValidDependencies is called during DockerTaskEngine.AddTask to verify that a startup order can exist.
Types ¶
This section is empty.