celmap

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFailIfExistsFunc

func AddFailIfExistsFunc() celexp.ExtFunction

AddFailIfExistsFunc adds a key-value pair to a map but fails if the key already exists.

func AddFunc

func AddFunc() celexp.ExtFunction

AddFunc adds a key-value pair to a map and returns a new map.

func AddIfMissingFunc

func AddIfMissingFunc() celexp.ExtFunction

AddIfMissingFunc adds a key-value pair to a map only if the key doesn't exist.

func FromEntriesFunc added in v0.17.0

func FromEntriesFunc() celexp.ExtFunction

FromEntriesFunc converts a list of maps into a single map keyed by a specified field.

func MergeFunc

func MergeFunc() celexp.ExtFunction

MergeFunc merges two maps together with the second map's values taking precedence.

func OmitFunc

func OmitFunc() celexp.ExtFunction

OmitFunc returns a new map with the specified keys removed.

func RecurseFunc

func RecurseFunc() celexp.ExtFunction

RecurseFunc recursively resolves dependencies between objects.

func SelectFunc

func SelectFunc() celexp.ExtFunction

SelectFunc returns a new map containing only the specified keys.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL