spiegel_podman/libpod
Matthew Heon 98b19aeb0c Refactor dependency checks from init() into public API
Instead of checking during init(), which could result in major
locking issues when used with pods, make our dependency checks in
the public API instead. This avoids doing them when we start pods
(where, because of the dependency graph, we can reasonably say
all dependencies are up before we start a container).

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #577
Approved by: rhatdan
2018-04-03 14:57:16 +00:00
..
common Change un/pwd handling to match Buildah's 2018-02-06 09:29:23 -05:00
driver Migrate Create|Commit to ginkgo 2018-02-02 22:44:40 +00:00
image Allow sha256: prefix for input 2018-03-29 16:31:43 +00:00
layers Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
boltdb_state.go Check for duplicate names when generating new container and pod names. 2018-03-29 01:55:20 +00:00
boltdb_state_internal.go Ensure container dependencies are part of the same pod 2018-03-29 01:27:40 +00:00
common_test.go Add tests for container graphs 2018-03-29 02:18:45 +00:00
container.go Add backend code for generic dependencies 2018-04-03 14:57:16 +00:00
container_api.go Refactor dependency checks from init() into public API 2018-04-03 14:57:16 +00:00
container_attach.go Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
container_graph.go Remove a loop in container graph 2018-03-29 02:18:45 +00:00
container_graph_test.go Fix tests 2018-03-29 02:18:45 +00:00
container_inspect.go Add container dependencies to Inspect output 2018-04-03 14:57:16 +00:00
container_internal.go Refactor dependency checks from init() into public API 2018-04-03 14:57:16 +00:00
container_top.go Stage3 Image Library 2018-03-14 20:21:31 +00:00
diff.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
errors.go Add schema validation to DB 2017-11-30 18:05:56 +00:00
finished_32.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
finished_64.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
in_memory_state.go Prevent ctrs not in pods from depending on pod ctrs 2018-03-29 01:27:40 +00:00
info.go Tweak info time format 2018-02-28 18:06:50 +00:00
networking.go networking.go tweak iptables functions 2018-03-03 19:45:24 +00:00
oci.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
options.go Add backend code for generic dependencies 2018-04-03 14:57:16 +00:00
pod.go Refactor dependency checks from init() into public API 2018-04-03 14:57:16 +00:00
runtime.go Check for duplicate names when generating new container and pod names. 2018-03-29 01:55:20 +00:00
runtime_ctr.go Error is already wrapped properly. 2018-03-29 01:55:20 +00:00
runtime_img.go Fix some minor issues lint has been picking up 2018-03-27 14:46:17 +00:00
runtime_img_test.go libpod/runtime_img_test.go Unit Tests 2017-11-04 11:12:14 -05:00
runtime_pod.go Check for duplicate names when generating new container and pod names. 2018-03-29 01:55:20 +00:00
state.go Containers in a pod can only join namespaces in that pod 2018-02-12 14:28:07 +00:00
state_test.go Add backend code for generic dependencies 2018-04-03 14:57:16 +00:00
stats.go podman stats add networking 2018-02-28 16:46:29 +00:00
storage.go Don't return an ImageConfig when creating storage 2018-04-02 14:22:57 +00:00
util.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
util_test.go Stage3 Image Library 2018-03-14 20:21:31 +00:00