add MakeHashTransformer in TransformerFactory; remove hash interface

This commit is contained in:
Jingfang Liu
2018-10-10 13:09:01 -07:00
parent 681e2bf213
commit 2953dad221
16 changed files with 88 additions and 66 deletions

View File

@@ -42,11 +42,6 @@ type Loader interface {
Cleanup() error
}
// Hash interface provides function to compute hash of objects
type Hash interface {
Hash(m map[string]interface{}) (string, error)
}
// Kunstructured allows manipulation of k8s objects
// that do not have Golang structs.
type Kunstructured interface {