koki / short

Manageable Kubernetes manifests through a composable, reusable syntax
https://docs.koki.io/short
Apache License 2.0
122 stars 14 forks source link

Deployment converter returns interface{} #224

Open rrati opened 6 years ago

rrati commented 6 years ago

The Convert_Koki_Deployment_to_Kube_Deployment method returns an interface{}. Should it return a v1apps.Deployment? Should there be a converter to return v1apps version of the Deployment if Convert_Koki_Deployment_to_Kube_Deployment wouldn't do it?