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

scaffolding for conversions #8

Closed wlan0 closed 6 years ago

wlan0 commented 6 years ago

@ublubu

With this commit, you can implement your new type conversion for service by

  1. Create the go type in types/service.go
  2. Write the conversion in converter/converters/kube_v1_service_to_koki.go

The converters work with native types. It should be a straighforward conversion.