Skip to content

Commit cdd33c9

Browse files
authored
Add Alias resource (#7)
Issue aws-controllers-k8s/community#238 Description of changes: - Adds create, delete and update operations for `Alias` resource in the AWS Lambda API. - Adds end2end tests to deploy lambda aliases using ACK controller. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent de405c4 commit cdd33c9

26 files changed

+2156
-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: "2021-11-08T15:45:27Z"
2+
build_date: "2021-11-15T20:14:43Z"
33
build_hash: 6ce1a672eabd3908bdaa4ace356e1b58ee3e80ba
44
go_version: go1.16.4
55
version: v0.15.2
6-
api_directory_checksum: f6e7f2f06bc2cb9ab97c9e3839c73a2c995af16d
6+
api_directory_checksum: 4428fa4b4df55d74a03fdf9a07175103b343fb05
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.40.28
99
generator_config_info:
10-
file_checksum: bc2d40d81838763eb9a73e7107eb3dd2ff089ee6
10+
file_checksum: b38e2f54cb069b91ac92cc95ff8945903ce1e1f2
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/alias.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/generator.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ignore:
22
resource_names:
33
# Function
4-
- Alias
4+
# Alias
55
- CodeSigningConfig
66
- EventSourceMapping
77
shape_names:
@@ -22,4 +22,13 @@ resources:
2222
FunctionName: Name
2323
GetFunction:
2424
input_fields:
25-
FunctionName: Name
25+
FunctionName: Name
26+
Alias:
27+
fields:
28+
Name:
29+
is_required: true
30+
is_primary_key: true
31+
FunctionName:
32+
is_required: true
33+
FunctionVersion:
34+
is_required: true

apis/v1alpha1/types.go

Lines changed: 18 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: 210 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/controller/main.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.

0 commit comments

Comments
 (0)