Documentation ¶
Index ¶
- func CopyMap(m map[string]interface{}) map[string]interface{}
- func CopySlice(s []interface{}) []interface{}
- func CopySliceOfMaps(s []map[string]interface{}) []interface{}
- func GetRawKeyIfWrappedWithAttributes(str string) string
- func ToMap(data interface{}) (map[string]interface{}, error)
- func TransformConditions(original apiextensions.JSON) (interface{}, error)
- func ValidateValueWithPattern(log logr.Logger, value, pattern interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopySlice ¶ added in v1.3.5
func CopySlice(s []interface{}) []interface{}
CopySlice creates a full copy of the target slice
func CopySliceOfMaps ¶ added in v1.5.0
func CopySliceOfMaps(s []map[string]interface{}) []interface{}
CopySliceOfMaps creates a full copy of the target slice
func GetRawKeyIfWrappedWithAttributes ¶ added in v1.6.0
func TransformConditions ¶ added in v1.6.0
func TransformConditions(original apiextensions.JSON) (interface{}, error)
func ValidateValueWithPattern ¶ added in v1.6.0
ValidateValueWithPattern validates value with operators and wildcards
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.