Add v3 support

This does a major refactor on the compose.go functions as well as brings
in a new era of v3 support to Kompose.

Similar to how we utilize libcompose, we utilize docker/cli's "stack
deploy" code which has a built-in v3 parser. We convert the parsed
structure to our own and then convert it to Kubernetes/OpenShift
artifacts.
This commit is contained in:
Charlie Drage
2017-06-13 09:44:48 -04:00
parent 683ae91823
commit 2b58307191
18 changed files with 2875 additions and 264 deletions
+6
View File
@@ -0,0 +1,6 @@
version: '3'
services:
foo:
image: foo/bar:latest
environment:
FOO: foo