Skip to content

Commit f551a86

Browse files
committed
Integrate CR feedback - code cleanup
1 parent b470b10 commit f551a86

File tree

7 files changed

+1
-174
lines changed

7 files changed

+1
-174
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ api_directory_checksum: b558bf9c1a38a2d20a3521ab1048281ad80d5b29
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: 83bbeb617d20e3e6602696600c7ba61cf253c958
10+
file_checksum: 32b9b52f3a9103c18e42ef8de5494bd046da56eb
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ resources:
624624
path: Status.prefixListID
625625
name: ID
626626
PrefixListName:
627-
is_required: true
628627
print:
629628
path: Spec.prefixListName
630629
name: NAME
@@ -638,10 +637,6 @@ resources:
638637
print:
639638
path: Status.version
640639
name: VERSION
641-
MaxEntries:
642-
is_required: true
643-
AddressFamily:
644-
is_required: true
645640
Entries:
646641
custom_field:
647642
list_of: AddPrefixListEntry
@@ -660,16 +655,10 @@ resources:
660655
hooks:
661656
sdk_create_post_build_request:
662657
template_path: hooks/managed_prefix_list/sdk_create_post_build_request.go.tpl
663-
sdk_create_post_set_output:
664-
template_path: hooks/managed_prefix_list/sdk_create_post_set_output.go.tpl
665658
sdk_read_many_post_build_request:
666659
template_path: hooks/managed_prefix_list/sdk_read_many_post_build_request.go.tpl
667660
sdk_read_many_post_set_output:
668661
template_path: hooks/managed_prefix_list/sdk_read_many_post_set_output.go.tpl
669-
sdk_update_pre_build_request:
670-
template_path: hooks/managed_prefix_list/sdk_update_pre_build_request.go.tpl
671-
sdk_file_end:
672-
template_path: hooks/managed_prefix_list/sdk_file_end.go.tpl
673662
update_operation:
674663
custom_method_name: customUpdateManagedPrefixList
675664
RouteTable:

generator.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ resources:
624624
path: Status.prefixListID
625625
name: ID
626626
PrefixListName:
627-
is_required: true
628627
print:
629628
path: Spec.prefixListName
630629
name: NAME
@@ -638,10 +637,6 @@ resources:
638637
print:
639638
path: Status.version
640639
name: VERSION
641-
MaxEntries:
642-
is_required: true
643-
AddressFamily:
644-
is_required: true
645640
Entries:
646641
custom_field:
647642
list_of: AddPrefixListEntry
@@ -660,16 +655,10 @@ resources:
660655
hooks:
661656
sdk_create_post_build_request:
662657
template_path: hooks/managed_prefix_list/sdk_create_post_build_request.go.tpl
663-
sdk_create_post_set_output:
664-
template_path: hooks/managed_prefix_list/sdk_create_post_set_output.go.tpl
665658
sdk_read_many_post_build_request:
666659
template_path: hooks/managed_prefix_list/sdk_read_many_post_build_request.go.tpl
667660
sdk_read_many_post_set_output:
668661
template_path: hooks/managed_prefix_list/sdk_read_many_post_set_output.go.tpl
669-
sdk_update_pre_build_request:
670-
template_path: hooks/managed_prefix_list/sdk_update_pre_build_request.go.tpl
671-
sdk_file_end:
672-
template_path: hooks/managed_prefix_list/sdk_file_end.go.tpl
673662
update_operation:
674663
custom_method_name: customUpdateManagedPrefixList
675664
RouteTable:

pkg/resource/managed_prefix_list/sdk.go

Lines changed: 0 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/hooks/managed_prefix_list/sdk_create_post_set_output.go.tpl

Lines changed: 0 additions & 23 deletions
This file was deleted.

templates/hooks/managed_prefix_list/sdk_file_end.go.tpl

Lines changed: 0 additions & 60 deletions
This file was deleted.

templates/hooks/managed_prefix_list/sdk_update_pre_build_request.go.tpl

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)