rancher / wharfie

Pulls and unpacks a container image to the local filesystem. Usable both as a standalone CLI tool, and as a go module.
Apache License 2.0
25 stars 14 forks source link

change: add json struct tags to registry types #17

Closed iwilltry42 closed 1 year ago

iwilltry42 commented 1 year ago

This makes it work with Un-/Marshalling via sigs.k8s.io/yaml which goes the extra mile via JSON.

We only use sigs.k8s.io/yaml in k3d for consistency, i.e. not mixing up sigs.k8s.io/yaml and gopkg.in/yaml.v2, etc.