Add support for CRDs

This commit is contained in:
Jingfang Liu
2018-06-11 14:12:48 -07:00
parent 9459665c96
commit 4f05482e00
8 changed files with 114 additions and 1 deletions

View File

@@ -733,3 +733,8 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
},
},
}
// AddNameReferencePathConfigs adds extra reference path configs to the default one
func AddNameReferencePathConfigs(r []referencePathConfig) {
defaultNameReferencePathConfigs = append(defaultNameReferencePathConfigs, r...)
}