mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Add documentation
This commit is contained in:
@@ -546,6 +546,8 @@ func (rn *RNode) GetBinaryDataMap() map[string]string {
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetValidatedDataMap retrieves the data map and returns an error if the data
|
||||||
|
// map contains entries which are not included in the expected set
|
||||||
func (rn *RNode) GetValidatedDataMap(expected []string) (map[string]string, error) {
|
func (rn *RNode) GetValidatedDataMap(expected []string) (map[string]string, error) {
|
||||||
dataMap := rn.GetDataMap()
|
dataMap := rn.GetDataMap()
|
||||||
err := rn.validateDataMap(dataMap, expected)
|
err := rn.validateDataMap(dataMap, expected)
|
||||||
|
|||||||
Reference in New Issue
Block a user