Skip to content

Commit

Permalink
chore: bump jp lib (#2052)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
  • Loading branch information
eddycharly authored Sep 30, 2024
1 parent e70c040 commit 0637503
Show file tree
Hide file tree
Showing 60 changed files with 181 additions and 174 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ codegen-crds: codegen-conversion
codegen-cli-docs: ## Generate CLI docs
codegen-cli-docs: build
@echo Generate cli docs... >&2
@rm -rf website/docs/reference/commands && mkdir -p website/reference/docs/commands
@rm -rf website/docs/reference/commands && mkdir -p website/docs/reference/commands
@./$(CLI_BIN) docs -o website/docs/reference/commands --autogenTag=false

.PHONY: codegen-api-docs
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ require (
github.com/go-logr/logr v1.4.2
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/hashicorp/go-getter v1.7.6
github.com/jmespath-community/go-jmespath v1.1.2-0.20240919193755-5e4e8ae73c8a
github.com/jmespath-community/go-jmespath v1.1.2-0.20240930152130-6eb5a346873f
github.com/jstemmer/go-junit-report/v2 v2.1.0
github.com/kudobuilder/kuttl v0.19.0
github.com/kyverno/kyverno-json v0.0.4-0.20240927170902-0e22204b6718
github.com/kyverno/kyverno-json v0.0.4-0.20240930153201-bab63edcc39f
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/prometheus/common v0.59.1
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4=
github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/jmespath-community/go-jmespath v1.1.2-0.20240919193755-5e4e8ae73c8a h1:baQnVszUF+wENqBnqJDlgmSIBpJLMqQE0i+hICMZ9sI=
github.com/jmespath-community/go-jmespath v1.1.2-0.20240919193755-5e4e8ae73c8a/go.mod h1:VL6C6nwf/wRivvXAjziX9yFRVmvOC1qzERc8RTQ0tv4=
github.com/jmespath-community/go-jmespath v1.1.2-0.20240930152130-6eb5a346873f h1:odDspPS6qzM68hfqzW5U/nADXItki7GdRSPJbMM1phY=
github.com/jmespath-community/go-jmespath v1.1.2-0.20240930152130-6eb5a346873f/go.mod h1:VL6C6nwf/wRivvXAjziX9yFRVmvOC1qzERc8RTQ0tv4=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
Expand Down Expand Up @@ -483,8 +483,8 @@ github.com/kudobuilder/kuttl v0.19.0 h1:6fJ20R5lqCtY1c5K2UkCZH50kEHMoyuzpz+8+Mob
github.com/kudobuilder/kuttl v0.19.0/go.mod h1:LgyzxMNqEpxev3N7Lu1T6mbo5E1ABiTzpXiekkhxx64=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/kyverno/kyverno-json v0.0.4-0.20240927170902-0e22204b6718 h1:+pwh7CjMQygWKYPppA3JZbC/CrRlBUKw5br4fIzdKfA=
github.com/kyverno/kyverno-json v0.0.4-0.20240927170902-0e22204b6718/go.mod h1:VTWmJihVuZcuBBWIuzMZebEDdpe0kX+wXz3PS9/p35Y=
github.com/kyverno/kyverno-json v0.0.4-0.20240930153201-bab63edcc39f h1:hlCU+XbKNoqkrlyKid7VdHA3NGp0CRi53AfsEg26+Fw=
github.com/kyverno/kyverno-json v0.0.4-0.20240930153201-bab63edcc39f/go.mod h1:Jp02iiWHohF4jzgkytd+EobGuaHBpfPfx7Trd7G2zrk=
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c h1:lAolpR9H8BwM5lRRvgCQ8JowswyxZRH+fgtIQzHFVCk=
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c/go.mod h1:02vxM0GNXz9+B/i6+rMfWAIwibUuAH+qFsd73IFskgQ=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

does arithmetic addition of two specified values of numbers, quantities, and durations
Does arithmetic addition of two specified values of numbers, quantities, and durations.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/base64_decode.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

decodes a base 64 string
Decodes a base 64 string.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/base64_encode.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

encodes a regular, plaintext and unencoded string to base64
Encodes a regular, plaintext and unencoded string to base64.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/compare.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

compares two strings lexicographically
Compares two strings lexicographically.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/divide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

divisor must be non zero
Divisor must be non zero.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/equal_fold.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

allows comparing two strings for equivalency where the only differences are letter cases
Allows comparing two strings for equivalency where the only differences are letter cases.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/find_first.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description


Returns the zero-based index of the first occurence where the substring appears in a string or null if it does not appear.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/find_last.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description


Returns the zero-based index of the last occurence where the substring appears in a string or null if it does not appear.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/from_items.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description


Returns an object from the provided array of key value pairs. This function is the inversed of the `items()` function.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/group_by.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description


Groups an array of objects using an expression as the group key.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

converts a map or array to an array of objects where each key:value is an item in the array
Converts a map or array to an array of objects where each key:value is an item in the array.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/label_match.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

object arguments must be enclosed in backticks; ex. `{{request.object.spec.template.metadata.labels}}`
Object arguments must be enclosed in backticks; ex. `{{request.object.spec.template.metadata.labels}}`.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/lookup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

returns the value corresponding to the given key/index in the given object/array
Returns the value corresponding to the given key/index in the given object/array.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/modulo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

divisor must be non-zero, arguments must be integers
Divisor must be non-zero, arguments must be integers.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/multiply.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

does arithmetic multiplication of two specified values of numbers, quantities, and durations
Does arithmetic multiplication of two specified values of numbers, quantities, and durations.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/object_from_lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

converts a pair of lists containing keys and values to an object
Converts a pair of lists containing keys and values to an object.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/pad_left.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description


Adds characters to the beginning of a string.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/pad_right.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description


Adds characters to the end of a string.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/parse_json.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

decodes a valid JSON encoded string to the appropriate type. Opposite of `to_string` function
Decodes a valid JSON encoded string to the appropriate type. Opposite of `to_string` function.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/parse_yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

decodes a valid YAML encoded string to the appropriate type provided it can be represented as JSON
Decodes a valid YAML encoded string to the appropriate type provided it can be represented as JSON.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/path_canonicalize.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

normalizes or canonicalizes a given path by removing excess slashes
Normalizes or canonicalizes a given path by removing excess slashes.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/pattern_match.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

'*' matches zero or more alphanumeric characters, '?' matches a single alphanumeric character
'*' matches zero or more alphanumeric characters, '?' matches a single alphanumeric character.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/random.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

Generates a random sequence of characters
Generates a random sequence of characters.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/regex_match.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

first string is the regular exression which is compared with second input which can be a number or string
First string is the regular exression which is compared with second input which can be a number or string.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/regex_replace_all.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

converts all parameters to string
Converts all parameters to string.

## Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

converts all parameters to string
Converts all parameters to string.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/replace.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

replaces a specified number of instances of the source string with the replacement string in a parent
Replaces a specified number of instances of the source string with the replacement string in a parent.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/replace_all.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

replace all instances of one string with another in an overall parent string
Replace all instances of one string with another in an overall parent string.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/round.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

does roundoff to upto the given decimal places
Does roundoff to upto the given decimal places.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/semver_compare.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

compares two strings which comply with the semantic versioning schema and outputs a boolean response as to the position of the second relative to the first
Compares two strings which comply with the semantic versioning schema and outputs a boolean response as to the position of the second relative to the first.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/split.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

splits the first string when the second string is found and converts it into an array
Splits the first string when the second string is found and converts it into an array.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/subtract.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

does arithmetic subtraction of two specified values of numbers, quantities, and durations
Does arithmetic subtraction of two specified values of numbers, quantities, and durations.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/sum.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

does arithmetic addition of specified array of values of numbers, quantities, and durations
Does arithmetic addition of specified array of values of numbers, quantities, and durations.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/time_add.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

adds duration (second string) to a time value (first string)
Adds duration (second string) to a time value (first string).

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/time_after.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

checks if a time is after another time, both in RFC3339 format
Checks if a time is after another time, both in RFC3339 format.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/time_before.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

checks if a time is before another time, both in RFC3339 format
Checks if a time is before another time, both in RFC3339 format.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/time_between.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

checks if a time is between a start and end time, all in RFC3339 format
Checks if a time is between a start and end time, all in RFC3339 format.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/time_diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

calculate the difference between a start and end date in RFC3339 format
Calculate the difference between a start and end date in RFC3339 format.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/jp/examples/time_now.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

returns current time in RFC 3339 format
Returns current time in RFC 3339 format.

## Examples

Expand Down
Loading

0 comments on commit 0637503

Please sign in to comment.