Skip to content

Commit de405c4

Browse files
authored
Add Function resource (#6)
aws-controllers-k8s/community#238 - Adds basic create and delete operations for `Function` resource in the AWS Lambda API. - Adds end2end tests to deploy lambda functions 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 4055944 commit de405c4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4365
-42
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.zip

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ any 'help wanted' issues is a great place to start.
6464

6565
[See the documentation][dev-docs] for detailed development information.
6666

67-
[dev-docs]: https://aws.github.io/aws-controllers-k8s/dev-docs/overview/
67+
[dev-docs]: https://aws-controllers-k8s.github.io/community/docs/contributor-docs/overview/
6868

6969
## Code of Conduct
7070

NOTICE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+6-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
ack_generate_info:
2-
build_date: "2021-08-24T16:58:51Z"
3-
build_hash: 970b729263d026b85c214cc13330684c06f5860b
4-
go_version: go1.14.4 darwin/amd64
5-
version: v0.12.0
6-
api_directory_checksum: c4f13dee9338e87111cd1c92b69a20000a4a4bc8
2+
build_date: "2021-11-08T15:45:27Z"
3+
build_hash: 6ce1a672eabd3908bdaa4ace356e1b58ee3e80ba
4+
go_version: go1.16.4
5+
version: v0.15.2
6+
api_directory_checksum: f6e7f2f06bc2cb9ab97c9e3839c73a2c995af16d
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.40.28
99
generator_config_info:
10-
file_checksum: d060250e47ee8076ab88b9e54aa4f91972eef67c
10+
file_checksum: bc2d40d81838763eb9a73e7107eb3dd2ff089ee6
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation
14-
timestamp: 2021-08-24 16:59:07.024892 +0000 UTC

apis/v1alpha1/function.go

+186
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
ignore:
22
resource_names:
3-
- Function
3+
# Function
44
- Alias
55
- CodeSigningConfig
66
- EventSourceMapping
7+
shape_names:
8+
- LayerList
9+
resources:
10+
Function:
11+
fields:
12+
Name:
13+
is_primary_key: true
14+
is_required: true
15+
renames:
16+
operations:
17+
CreateFunction:
18+
input_fields:
19+
FunctionName: Name
20+
DeleteFunction:
21+
input_fields:
22+
FunctionName: Name
23+
GetFunction:
24+
input_fields:
25+
FunctionName: Name

0 commit comments

Comments
 (0)