Documentation ¶
Overview ¶
Package util implements various utility functions used in both testing and implementation of OpenShift. Package util may not depend on any other package in the OpenShift package tree.
Index ¶
Constants ¶
View Source
const ( OverwriteExistingDstKey = 1 << iota ErrorOnExistingDstKey ErrorOnDifferentDstKeyValue )
MergeInto flags
Variables ¶
This section is empty.
Functions ¶
func MergeInto ¶
MergeInto merges items from a src map into a dst map. Returns an error when the maps are not of the same type. Flags:
- ErrorOnExistingDstKey When set: Return an error if any of the dst keys is already set.
- ErrorOnDifferentDstKeyValue When set: Return an error if any of the dst keys is already set to a different value than src key.
- OverwriteDstKey When set: Overwrite existing dst key value with src key value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.