Skip to content

Commit c0c94e0

Browse files
committed
Add Pipes Resource
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
1 parent 60872ee commit c0c94e0

36 files changed

+9835
-31
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-02-27T12:50:40Z"
2+
build_date: "2023-03-02T13:12:02Z"
33
build_hash: d0f3d78cbea8061f822cbceac3786128f091efe6
44
go_version: go1.19.5
55
version: v0.24.2
6-
api_directory_checksum: bf5e3c94a538d590a95720e9e8c5b4e4e2c87f09
6+
api_directory_checksum: 250ef3b6dc7fa8085b7860435872a33aa3e19743
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.209
99
generator_config_info:
10-
file_checksum: 3b91126bef17cf526b211afb355f82584e1c026c
10+
file_checksum: df2ffe666f7aefe6cb9c5a59508afc037cd00667
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,62 @@
11
ignore:
22
resource_names:
3-
- Pipe
3+
# - Pipe
4+
resources:
5+
Pipe:
6+
fields:
7+
DesiredState:
8+
compare:
9+
is_ignored: true
10+
SourceParameters:
11+
compare:
12+
is_ignored: true
13+
TargetParameters:
14+
compare:
15+
is_ignored: true
16+
EnrichmentParameters:
17+
compare:
18+
is_ignored: true
19+
StateReason:
20+
is_read_only: true
21+
from:
22+
operation: DescribePipe
23+
path: StateReason
24+
hooks:
25+
delta_pre_compare:
26+
code: customPreCompare(delta, a, b)
27+
sdk_create_post_set_output:
28+
template_path: hooks/pipe/sdk_create_post_set_output.go.tpl
29+
sdk_update_pre_build_request:
30+
template_path: hooks/pipe/sdk_update_pre_build_request.go.tpl
31+
sdk_update_pre_set_output:
32+
template_path: hooks/pipe/sdk_update_pre_set_output.go.tpl
33+
sdk_update_post_build_request:
34+
template_path: hooks/pipe/sdk_update_post_build_request.go.tpl
35+
sdk_delete_post_request:
36+
template_path: hooks/pipe/sdk_delete_post_request.go.tpl
37+
print:
38+
add_age_column: true
39+
add_synced_column: true
40+
additional_columns:
41+
- name: ARN
42+
json_path: .status.ackResourceMetadata.arn
43+
type: string
44+
priority: 1
45+
- name: SOURCE
46+
json_path: .spec.source
47+
type: string
48+
priority: 1
49+
- name: TARGET
50+
json_path: .spec.target
51+
type: string
52+
priority: 1
53+
- name: STATE
54+
json_path: .status.currentState
55+
type: string
56+
exceptions:
57+
errors:
58+
404:
59+
code: ""
60+
message_suffix: "does not exist."
61+
terminal_codes:
62+
- ValidationException

apis/v1alpha1/pipe.go

Lines changed: 112 additions & 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)