--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
2016-10-06 09:37:54 +05:30
parent 9cb74ed023
commit b969f7aa44
5 changed files with 236 additions and 167 deletions
+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