{"modulePath":"github.com/dockerstack/amazon-ecs-agent","version":"v1.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dependencygraph\n\n## Functions\n\n```go\nfunc DependenciesAreResolved(target *api.Container, by []*api.Container) bool\n```\nDependenciesAreResolved validates that the \\`target\\` container can be started given the current known state of the containers in \\`by\\`. If this function returns true, \\`target\\` should be technically able to launch with on issues\n\n```go\nfunc ValidDependencies(task *api.Task) bool\n```\nValidDependencies 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\n\n","path":"github.com/dockerstack/amazon-ecs-agent/agent/engine/dependencygraph","name":"dependencygraph","synopsis":"","isRedistributable":true}
