--provider global flag for kompose

Now a user can select a provider using global flag
--provider=openshift to select openshift provider
or --provider-kubernetes to select kubernetes provider
if nothing is provided kubernetes is the default provider.

Fixes #179
This commit is contained in:
Suraj Deshmukh committed 2016-10-06 09:37:54 +05:30
1 parent 9cb74ed023
commit b969f7aa44
5 files changed
+236 -167

No files matched your search

+1
View File
@@ -125,6 +125,7 @@ type ConvertOptions struct {
Replicas int
InputFile string
OutFile string
Provider string
}
// ServiceConfig holds the basic struct of a container