Ian Campbell
Ian Campbell
`libvirtxml.Domain` is from the [libvirt xml go bindings](https://godoc.org/github.com/libvirt/libvirt-go-xml#Domain) and is simply a Go structure reflecting the standard libvirt [Domain XML](https://libvirt.org/formatdomain.html). The Go struct doesn't yet cover all the defined fields...
I'm afraid I have no special knowledge on that one or magic ways to shrink things.
The code is now at https://github.com/docker/app/blob/master/render/render.go#L135...L157 (and the key is `x-enabled`). By my reading it still has the same behaviour which @silvin-lubecki proposed changing.
I think your option 1/ is by far the better option, despite the need to handling templating of parameters in attachments which as you say is going to be harder...
Looks like this is mostly done? ```console $ cat > test.dockerapp
Well, `validate` is done, but @silvin-lubecki's request for `inspect` to more clearly express it remains, I guess #425 is related.
Isn't this by design since when the image was pushed we make all the refs into concrete digested ones so when we pull it back that's what we get and...
Behaviour today is a little different from reported, but still not working: ```console $ curl -LOJ "https://github.com/qnib/service-orchestration/raw/master/Analytics/data-pipeline/kafka/kafka.dockerapp" % Total % Received % Xferd Average Speed Time Time Time Current Dload...
Thanks. Your `kafka.dockerapp` seems to go one further than just deferring the evaluation of some placeholders like the hostname since it uses e.g. `{{if eq .kafka.deploy.mode "replicated"}}` to make entire...
Using some sort of `type octalMode int` and then `func (o octalMode) SomeInterfaceMethodToRenderIt` is usually enough. If `app` is using the `gopkg.in/yaml.v2` parser then [`MarshalYAML`](https://godoc.org/gopkg.in/yaml.v2#Marshaler) is the `SomeInterfaceMethodToRenderIt` you need....