remove decoder interface since it is only used inside k8sdeps

This commit is contained in:
Jingfang Liu
2018-10-10 11:08:23 -07:00
parent cf4a1ba083
commit 96091dfcf5
22 changed files with 35 additions and 92 deletions

View File

@@ -29,9 +29,8 @@ func main() {
defer glog.Flush()
if err := commands.NewDefaultCommand(
k8sdeps.NewKunstructuredFactoryImpl(k8sdeps.NewKustDecoder()),
k8sdeps.NewKunstructuredFactoryImpl(),
patch.NewPatchTransformerFactory(),
k8sdeps.NewKustDecoder(),
k8sdeps.NewKustValidator(),
k8sdeps.NewKustHash()).Execute(); err != nil {
os.Exit(1)