Skip to content

Adding code for Layer_version resource #67

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 1 commit into from
Dec 5, 2022
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
10 changes: 5 additions & 5 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: "2022-11-17T22:06:28Z"
build_hash: 7cd74c3a855e38ea3fb5e1cf40b26fbe96283870
build_date: "2022-12-05T18:19:52Z"
build_hash: 20e82a5acd263bcd13d8278e7efe54cea2b5b084
go_version: go1.19
version: v0.19.3-15-g7cd74c3-dirty
api_directory_checksum: f01a03847a7bb58e935fdca90ecfb910f645ea61
version: v0.20.1-12-g20e82a5
api_directory_checksum: 90c9337a64415662f698cf6cd270706cd560bd16
api_version: v1alpha1
aws_sdk_go_version: v1.44.93
generator_config_info:
file_checksum: ea74be1ffb53a2cc383f2a741d46c8facad26df0
file_checksum: e007d88ecf6ad1c45cb6451f5fda9401af9d7305
original_file_name: generator.yaml
last_modification:
reason: API generation
37 changes: 36 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ ignore:
# CodeSigningConfig
# EventSourceMapping
# FunctionUrlConfig
# LayerVersion
operations:
PublishLayerVersion:
operation_type:
- Create
- Update
resource_name: LayerVersion
resources:
Function:
synced:
Expand Down Expand Up @@ -131,4 +138,32 @@ resources:
references:
resource: Function
path: Spec.Name
is_primary_key: true
is_primary_key: true
LayerVersion:
fields:
LayerName:
is_required: true
is_primary_key: true
Content:
is_required: true
compare:
is_ignored: true
set:
- ignore: true
operation: ReadOne
tags:
ignore: true
renames:
operations:
GetLayerVersion:
input_fields:
Version: VersionNumber
PublishLayerVersion:
input_fields:
Version: VersionNumber
DeleteLayerVersion:
input_fields:
Version: VersionNumber
ListLayerVersions:
input_fields:
Version: VersionNumber
94 changes: 94 additions & 0 deletions apis/v1alpha1/layer_version.go

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

18 changes: 15 additions & 3 deletions apis/v1alpha1/types.go

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

Loading