Skip to content

Commit fff2005

Browse files
committed
Delete functionality
1 parent 1939560 commit fff2005

File tree

9 files changed

+74
-29
lines changed

9 files changed

+74
-29
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: "2023-09-27T17:42:07Z"
2+
build_date: "2023-09-28T23:17:36Z"
33
build_hash: 892f29d00a4c4ad21a2fa32919921de18190979d
44
go_version: go1.19
55
version: v0.27.1
6-
api_directory_checksum: 6c1bbf6fa74171e761b846efeaacfca4f6c3c869
6+
api_directory_checksum: 68e2b0e4051f2fc3afb4fb66c8f870692986fd0e
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.181
99
generator_config_info:
10-
file_checksum: 0bd7629017644b4a02523a4fa8fe66330ce4b706
10+
file_checksum: 9e3d35a88705d1548679928f0c10315b14f78027
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ operations:
1717
- Create
1818
- ReadOne
1919
resource_name: Version
20+
DeleteFunction:
21+
operation_type:
22+
- Delete
23+
resource_name: Version
2024
resources:
2125
Function:
2226
synced:
@@ -206,5 +210,15 @@ resources:
206210
FunctionName:
207211
is_required: true
208212
is_primary_key: true
213+
Qualifier:
214+
is_read_only: true
215+
from:
216+
operation: GetFunction
217+
path: Configuration.Version
209218
tags:
210-
ignore: true
219+
ignore: true
220+
renames:
221+
operations:
222+
DeleteFunction:
223+
input_fields:
224+
Qualifier: Version

apis/v1alpha1/version.go

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

apis/v1alpha1/zz_generated.deepcopy.go

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

config/crd/bases/lambda.services.k8s.aws_versions.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ spec:
265265
description: The type of deployment package. Set to Image for container
266266
image and set Zip for .zip file archive.
267267
type: string
268+
qualifier:
269+
description: The version of the Lambda function.
270+
type: string
268271
role:
269272
description: The function's execution role.
270273
type: string

generator.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ operations:
1717
- Create
1818
- ReadOne
1919
resource_name: Version
20+
DeleteFunction:
21+
operation_type:
22+
- Delete
23+
resource_name: Version
2024
resources:
2125
Function:
2226
synced:
@@ -206,5 +210,15 @@ resources:
206210
FunctionName:
207211
is_required: true
208212
is_primary_key: true
213+
Qualifier:
214+
is_read_only: true
215+
from:
216+
operation: GetFunction
217+
path: Configuration.Version
209218
tags:
210-
ignore: true
219+
ignore: true
220+
renames:
221+
operations:
222+
DeleteFunction:
223+
input_fields:
224+
Qualifier: Version

helm/crds/lambda.services.k8s.aws_versions.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ spec:
265265
description: The type of deployment package. Set to Image for container
266266
image and set Zip for .zip file archive.
267267
type: string
268+
qualifier:
269+
description: The version of the Lambda function.
270+
type: string
268271
role:
269272
description: The function's execution role.
270273
type: string

pkg/resource/function/sdk.go

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

pkg/resource/version/sdk.go

Lines changed: 25 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)