Skip to content

Adding support for Function version #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2023-12-22T06:14:56Z"
build_hash: 1f16813c807af6889060b4ce7ded2a69dc027d8c
go_version: go1.21.5
version: v0.28.0
api_directory_checksum: 1c73101b17769d9e1165fbb915bdeeb3dcd8b075
build_date: "2024-01-10T21:05:33Z"
build_hash: 1563ceb2b15ff29ee692b4178d4de5f2cbe0b0f0
go_version: go1.19
version: v0.28.0-12-g1563ceb
api_directory_checksum: 6d988b03425fad3e88d887c1cd4510a07e4be281
api_version: v1alpha1
aws_sdk_go_version: v1.44.181
generator_config_info:
file_checksum: 8b0c7bd625c74c9a471db45bbf8697069d35b218
file_checksum: 5101c7f40235cfe24d7916bc0cbc95498e1d5e6c
original_file_name: generator.yaml
last_modification:
reason: API generation
46 changes: 45 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,24 @@ operations:
operation_type:
- Create
- Update
resource_name: LayerVersion
resource_name:
- LayerVersion
PublishVersion:
operation_type:
- Create
resource_name:
- Version
GetFunctionConfiguration:
operation_type:
- ReadOne
resource_name:
- Version
DeleteFunction:
operation_type:
- Delete
resource_name:
- Version
- Function
resources:
Function:
synced:
Expand Down Expand Up @@ -196,3 +213,30 @@ resources:
ListLayerVersions:
input_fields:
Version: VersionNumber
Version:
fields:
FunctionName:
is_required: true
is_primary_key: true
Qualifier:
is_read_only: true
from:
operation: GetFunctionConfiguration
path: Version
tags:
ignore: true
hooks:
sdk_read_one_pre_build_request:
template_path: hooks/version/sdk_read_one_pre_build_request.go.tpl
sdk_create_pre_build_request:
template_path: hooks/version/sdk_create_pre_build_request.go.tpl
sdk_create_pre_set_output:
template_path: hooks/version/sdk_create_pre_set_output.go.tpl
renames:
operations:
DeleteFunction:
input_fields:
Qualifier: Version
GetFunctionConfiguration:
input_fields:
Qualifier: Version
197 changes: 197 additions & 0 deletions apis/v1alpha1/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading