jsonpath

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter(value, template string) (string, error)

Filter renders the given template with the given value. Filter returns an error if the value is not valid JSON or if the template is invalid. This function uses Kubernetes' JSONPath syntax as documented here: https://kubernetes.io/docs/reference/kubectl/jsonpath/.

Types

This section is empty.

Jump to

Keyboard shortcuts

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