Skip to content

Commit

Permalink
Implement resource ReceiptFilter
Browse files Browse the repository at this point in the history
Signed-off-by: cpu1 <[email protected]>
  • Loading branch information
cPu1 committed Nov 15, 2024
1 parent f6b4aca commit 1ffdda8
Show file tree
Hide file tree
Showing 30 changed files with 2,097 additions and 5 deletions.
6 changes: 3 additions & 3 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2024-11-15T11:47:38Z"
build_date: "2024-11-15T11:53:24Z"
build_hash: 9715a2a715317a76ae83825294ca50cde9afd97b
go_version: go1.22.5
version: v0.39.1-4-g9715a2a
api_directory_checksum: 67d89a73243311741c0e2212ee7d58a873740194
api_directory_checksum: eea2a8ce2ee9e115647cc1f0f5862d1aa83647a7
api_version: v1alpha1
aws_sdk_go_version: v1.55.5
generator_config_info:
file_checksum: 83acbeaf92972bb59e3dd0b095cdc200cfc6c184
file_checksum: b2080b6edb35b5f8a82a9da8cef308bfbc25e7ce
original_file_name: generator.yaml
last_modification:
reason: API generation
42 changes: 41 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ignore:
# - ConfigurationSet
- ConfigurationSetEventDestination
- CustomVerificationEmailTemplate
- ReceiptFilter
# - ReceiptFilter
# - ReceiptRule
# - ReceiptRuleSet
# - Template
Expand Down Expand Up @@ -125,3 +125,43 @@ resources:
template_path: hooks/template/sdk_read_one_post_request.go.tpl
sdk_update_post_build_request:
template_path: hooks/template/sdk_update_post_build_request.go.tpl

ReceiptFilter:
list_operation:
match_fields:
- Name
find_operation:
custom_method_name: customFind
update_operation:
custom_method_name: customUpdate
fields:
Name:
is_primary_key: true
is_immutable: true
is_required: true
type: string
Filter.IPFilter.CIDR:
is_immutable: true
Filter.IPFilter.Policy:
is_immutable: true
tags:
ignore: true
exceptions:
terminal_codes:
- AlreadyExists
renames:
operations:
CreateReceiptFilter:
input_fields:
Filter.Name: Name
Name: Filter.Name
DeleteReceiptFilter:
input_fields:
FilterName: Name
hooks:
sdk_file_end:
template_path: hooks/receipt_filter/sdk_file_end.go.tpl
sdk_create_post_build_request:
template_path: hooks/receipt_filter/sdk_create_post_build_request.go.tpl
sdk_read_many_post_request:
template_path: hooks/receipt_filter/sdk_read_many_post_request.go.tpl
75 changes: 75 additions & 0 deletions apis/v1alpha1/receipt_filter.go

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

25 changes: 25 additions & 0 deletions apis/v1alpha1/types.go

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

165 changes: 165 additions & 0 deletions apis/v1alpha1/zz_generated.deepcopy.go

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

1 change: 1 addition & 0 deletions cmd/controller/main.go

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

Loading

0 comments on commit 1ffdda8

Please sign in to comment.