Skip to content

Commit a093148

Browse files
committed
Integrate CR feedback - code cleanup
1 parent 3763994 commit a093148

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
@@ -628,7 +628,6 @@ resources:
628628
path: Status.prefixListID
629629
name: ID
630630
PrefixListName:
631-
is_required: true
632631
print:
633632
path: Spec.prefixListName
634633
name: NAME
@@ -642,10 +641,6 @@ resources:
642641
print:
643642
path: Status.version
644643
name: VERSION
645-
MaxEntries:
646-
is_required: true
647-
AddressFamily:
648-
is_required: true
649644
Entries:
650645
custom_field:
651646
list_of: AddPrefixListEntry
@@ -664,16 +659,10 @@ resources:
664659
hooks:
665660
sdk_create_post_build_request:
666661
template_path: hooks/managed_prefix_list/sdk_create_post_build_request.go.tpl
667-
sdk_create_post_set_output:
668-
template_path: hooks/managed_prefix_list/sdk_create_post_set_output.go.tpl
669662
sdk_read_many_post_build_request:
670663
template_path: hooks/managed_prefix_list/sdk_read_many_post_build_request.go.tpl
671664
sdk_read_many_post_set_output:
672665
template_path: hooks/managed_prefix_list/sdk_read_many_post_set_output.go.tpl
673-
sdk_update_pre_build_request:
674-
template_path: hooks/managed_prefix_list/sdk_update_pre_build_request.go.tpl
675-
sdk_file_end:
676-
template_path: hooks/managed_prefix_list/sdk_file_end.go.tpl
677666
update_operation:
678667
custom_method_name: customUpdateManagedPrefixList
679668
RouteTable:

generator.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,6 @@ resources:
628628
path: Status.prefixListID
629629
name: ID
630630
PrefixListName:
631-
is_required: true
632631
print:
633632
path: Spec.prefixListName
634633
name: NAME
@@ -642,10 +641,6 @@ resources:
642641
print:
643642
path: Status.version
644643
name: VERSION
645-
MaxEntries:
646-
is_required: true
647-
AddressFamily:
648-
is_required: true
649644
Entries:
650645
custom_field:
651646
list_of: AddPrefixListEntry
@@ -664,16 +659,10 @@ resources:
664659
hooks:
665660
sdk_create_post_build_request:
666661
template_path: hooks/managed_prefix_list/sdk_create_post_build_request.go.tpl
667-
sdk_create_post_set_output:
668-
template_path: hooks/managed_prefix_list/sdk_create_post_set_output.go.tpl
669662
sdk_read_many_post_build_request:
670663
template_path: hooks/managed_prefix_list/sdk_read_many_post_build_request.go.tpl
671664
sdk_read_many_post_set_output:
672665
template_path: hooks/managed_prefix_list/sdk_read_many_post_set_output.go.tpl
673-
sdk_update_pre_build_request:
674-
template_path: hooks/managed_prefix_list/sdk_update_pre_build_request.go.tpl
675-
sdk_file_end:
676-
template_path: hooks/managed_prefix_list/sdk_file_end.go.tpl
677666
update_operation:
678667
custom_method_name: customUpdateManagedPrefixList
679668
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)