Skip to content

Commit f400e03

Browse files
authored
Generate PackageGroup resource (#4)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent a5b8f1f commit f400e03

31 files changed

+3017
-8
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2024-11-26T00:33:52Z"
2+
build_date: "2024-11-26T21:14:50Z"
33
build_hash: 9715a2a715317a76ae83825294ca50cde9afd97b
44
go_version: go1.22.4
55
version: v0.39.1-4-g9715a2a
6-
api_directory_checksum: 569f73d50572af0272559f961fadfb9b14824884
6+
api_directory_checksum: 242bf7b5e9738fbbffafb652a69894b251126d80
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.55.5
99
generator_config_info:
10-
file_checksum: 2a6fd3482e56b1548f45f130896e92f8fb76feb9
10+
file_checksum: e574c2aa2fc04c3a8510fa92333c5f8f9e0daaa9
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
ignore:
22
resource_names:
33
# - Domain
4-
- PackageGroup
4+
# - PackageGroup
55
- Repository
66
operations:
77
DescribeDomain:
88
operation_type:
99
- ReadOne
1010
resource:
1111
- Domain
12+
DescribePackageGroup:
13+
operation_type:
14+
- ReadOne
15+
resource:
16+
- PackageGroup
1217
resources:
1318
Domain:
1419
renames:
@@ -22,14 +27,42 @@ resources:
2227
CreateDomain:
2328
input_fields:
2429
Domain: Name
30+
fields:
31+
Tags:
32+
compare:
33+
is_ignored: True
34+
hooks:
35+
delta_pre_compare:
36+
code: compareTags(delta, a, b)
37+
sdk_read_one_post_set_output:
38+
template_path: hooks/domain/sdk_read_one_post_set_output.go.tpl
2539
update_operation:
2640
custom_method_name: customUpdateDomain
41+
PackageGroup:
42+
renames:
43+
operations:
44+
DescribePackageGroup:
45+
input_fields:
46+
PackageGroup: Pattern
47+
DeletePackageGroup:
48+
input_fields:
49+
PackageGroup: Pattern
50+
CreatePackageGroup:
51+
input_fields:
52+
PackageGroup: Pattern
53+
UpdatePackageGroup:
54+
input_fields:
55+
PackageGroup: Pattern
2756
fields:
2857
Tags:
2958
compare:
3059
is_ignored: True
60+
Pattern:
61+
is_primary_key: true
3162
hooks:
3263
delta_pre_compare:
3364
code: compareTags(delta, a, b)
3465
sdk_read_one_post_set_output:
3566
template_path: hooks/domain/sdk_read_one_post_set_output.go.tpl
67+
sdk_update_pre_build_request:
68+
template_path: hooks/package_group/sdk_update_pre_build_request.go.tpl

apis/v1alpha1/package_group.go

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

apis/v1alpha1/types.go

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

0 commit comments

Comments
 (0)