Skip to content

Commit 1cf07ed

Browse files
authored
enhance output with additionalPrinterColumns (#110)
* enhance output with additionalPrinterColumns Signed-off-by: smcavallo <[email protected]> * add helm crds Signed-off-by: smcavallo <[email protected]> * add id to other resource types Signed-off-by: smcavallo <[email protected]> * add more types Signed-off-by: smcavallo <[email protected]> * update ack-generate-metadata version Signed-off-by: smcavallo <[email protected]>
1 parent 5414fc2 commit 1cf07ed

33 files changed

+275
-24
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-10-05T16:31:59Z"
2+
build_date: "2022-10-12T21:27:52Z"
33
build_hash: 5ee0ac052c54f008dff50f6f5ebb73f2cf3a0bd7
4-
go_version: go1.18.1
4+
go_version: go1.18.2
55
version: v0.20.1-4-g5ee0ac0
6-
api_directory_checksum: 1c3549b0567c7f33a4a331c980a5c460154c32e0
6+
api_directory_checksum: 3638dfc2a8e94a1ea91486172874d0b0b4e039f7
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.93
99
generator_config_info:
10-
file_checksum: 8797fe03195c58e4386f043a7a3d76d0c33c69e6
10+
file_checksum: b50a20e57aaf81d2a636ebf9a74d9693a82eeeb7
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/dhcp_options.go

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

apis/v1alpha1/generator.yaml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ resources:
176176
DHCPConfigurations.Values:
177177
set:
178178
- from: AttributeValue.Value
179+
DhcpOptionsID:
180+
print:
181+
path: Status.dhcpOptionsID
182+
name: ID
179183
Tags:
180184
from:
181185
operation: CreateTags
@@ -191,6 +195,10 @@ resources:
191195
fields:
192196
HibernationOptions:
193197
late_initialize: {}
198+
InstanceID:
199+
print:
200+
path: Status.instanceID
201+
name: ID
194202
MaxCount:
195203
is_required: false
196204
MinCount:
@@ -261,6 +269,10 @@ resources:
261269
references:
262270
resource: VPC
263271
path: Status.VPCID
272+
InternetGatewayID:
273+
print:
274+
path: Status.internetGatewayID
275+
name: ID
264276
hooks:
265277
sdk_create_post_build_request:
266278
template_path: hooks/internet_gateway/sdk_create_post_build_request.go.tpl
@@ -289,6 +301,14 @@ resources:
289301
references:
290302
resource: Subnet
291303
path: Status.SubnetID
304+
NatGatewayID:
305+
print:
306+
path: Status.natGatewayID
307+
name: ID
308+
State:
309+
print:
310+
path: Status.state
311+
name: state
292312
Tags:
293313
from:
294314
operation: CreateTags
@@ -320,6 +340,14 @@ resources:
320340
Routes:
321341
custom_field:
322342
list_of: CreateRouteInput
343+
RouteTableID:
344+
print:
345+
path: Status.RouteTableID
346+
name: ID
347+
State:
348+
print:
349+
path: Status.state
350+
name: state
323351
Tags:
324352
from:
325353
operation: CreateTags
@@ -362,6 +390,9 @@ resources:
362390
# support EC2-VPC only
363391
Id:
364392
is_primary_key: true
393+
print:
394+
path: Status.id
395+
name: ID
365396
IngressRules:
366397
custom_field:
367398
list_of: IpPermission
@@ -436,6 +467,14 @@ resources:
436467
references:
437468
resource: RouteTable
438469
path: Status.RouteTableID
470+
State:
471+
print:
472+
path: Status.state
473+
name: state
474+
SubnetId:
475+
print:
476+
path: Status.subnetID
477+
name: ID
439478
Tags:
440479
from:
441480
operation: CreateTags
@@ -465,6 +504,14 @@ resources:
465504
from:
466505
operation: CreateTags
467506
path: Tags
507+
State:
508+
print:
509+
path: Status.state
510+
name: state
511+
TransitGatewayID:
512+
print:
513+
path: Status.transitGatewayID
514+
name: ID
468515
hooks:
469516
sdk_create_post_build_request:
470517
template_path: hooks/transit_gateway/sdk_create_post_build_request.go.tpl
@@ -494,10 +541,18 @@ resources:
494541
from:
495542
operation: ModifyVpcAttribute
496543
path: EnableDnsHostnames.Value
544+
State:
545+
print:
546+
path: Status.state
547+
name: state
497548
Tags:
498549
from:
499550
operation: CreateTags
500551
path: Tags
552+
VpcID:
553+
print:
554+
path: Status.vpcID
555+
name: ID
501556
hooks:
502557
sdk_create_post_build_request:
503558
template_path: hooks/vpc/sdk_create_post_build_request.go.tpl
@@ -527,10 +582,18 @@ resources:
527582
references:
528583
resource: SecurityGroup
529584
path: Status.ID
585+
State:
586+
print:
587+
path: Status.state
588+
name: state
530589
SubnetIds:
531590
references:
532591
resource: Subnet
533592
path: Status.SubnetID
593+
VpcEndpointID:
594+
print:
595+
path: Status.vpcEndpointID
596+
name: ID
534597
exceptions:
535598
terminal_codes:
536599
- InvalidVpcId.Malformed

apis/v1alpha1/instance.go

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

apis/v1alpha1/internet_gateway.go

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

apis/v1alpha1/nat_gateway.go

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

apis/v1alpha1/route_table.go

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

apis/v1alpha1/security_group.go

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

apis/v1alpha1/subnet.go

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

apis/v1alpha1/transit_gateway.go

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

0 commit comments

Comments
 (0)