You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, I'd be eliminating number 2 & 3. However, it looks like k8s.io/apimachinery/pkg/util/yaml actually doesn't know how to serialize yaml (no marshal method).
Looks like we ended up with 3 different yaml parses in this repo (oops).
k8s.io/apimachinery/pkg/util/yaml
(originally used) used inpkg/index/indexscanner
to parse plugin manifest filesgopkg.in/yaml.v2
used bycmd/validate-krew-manifest
github.com/ghodss/yaml
used in pkg/receipt and pkg/info (added in Save install receipt #195)Ideally, I'd be eliminating number 2 & 3. However, it looks like
k8s.io/apimachinery/pkg/util/yaml
actually doesn't know how to serialize yaml (no marshal method).Looks like (https://godoc.org/k8s.io/apimachinery/pkg/util/yaml?import-graph&hide=1) that package is depending on
sigs.k8s.io/yaml
which depends ongopkg.in/yaml.v2
. So I'll probably just depend onsigs.k8s.io/yaml
instead./kind cleanup
The text was updated successfully, but these errors were encountered: