Skip to content

Commit

Permalink
fix: remove duplicates and prioritize methods over functions
Browse files Browse the repository at this point in the history
* namespace aws and k8s
  • Loading branch information
adityathebe authored and moshloop committed Dec 17, 2023
1 parent 9b68dee commit 6b6061f
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 229 deletions.
4 changes: 2 additions & 2 deletions funcs/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

var mapStringString = cel.MapType(cel.StringType, cel.StringType)

var arnToMap = cel.Function("arnToMap",
var arnToMap = cel.Function("aws.arnToMap",
cel.Overload("arnToMap",
[]*cel.Type{
cel.StringType,
Expand All @@ -31,7 +31,7 @@ var arnToMap = cel.Function("arnToMap",
),
)

var fromAwsMap = cel.Function("fromAWSMap",
var fromAwsMap = cel.Function("aws.fromAWSMap",
cel.Overload("fromAWSMap_list_map",
[]*cel.Type{
cel.ListType(cel.MapType(cel.StringType, cel.StringType)),
Expand Down
12 changes: 5 additions & 7 deletions funcs/cel_exports.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 3 additions & 53 deletions funcs/data_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6b6061f

Please sign in to comment.