Skip to content

Commit

Permalink
Go V2 Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
rushmash91 committed Feb 1, 2025
1 parent e454637 commit d5479df
Show file tree
Hide file tree
Showing 32 changed files with 1,021 additions and 290 deletions.
14 changes: 7 additions & 7 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: "2024-12-09T17:29:02Z"
build_hash: 631aeb190e332addb8379672df6367a0875dce88
go_version: go1.23.3
version: v0.40.0
api_directory_checksum: 8c038bde341a2f28283e47ad34e7fd7e1e5c64ba
build_date: "2025-02-01T02:25:45Z"
build_hash: 18b54d92e915795d8dc9785318cc2ebae3faa118
go_version: go1.22.5
version: v0.40.0-15-g18b54d9-dirty
api_directory_checksum: 4bf0745bcb22a674ebd697542274b16cba2888e9
api_version: v1alpha1
aws_sdk_go_version: v1.44.93
aws_sdk_go_version: v1.32.6
generator_config_info:
file_checksum: 20d49de859809a74502b2e823cfa52f6507d6636
file_checksum: 944cff429570115eb3d6050d869d696bb6e334aa
original_file_name: generator.yaml
last_modification:
reason: API generation
33 changes: 23 additions & 10 deletions apis/v1alpha1/enums.go

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

31 changes: 18 additions & 13 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ ignore:
- StartJobRunInput.ConfigurationOverrides
operations: null
resource_names:
# - VirtualCluster
# - JobRun
- ManagedEndpoint
shape_names: null
model_name: emr-containers
# - VirtualCluster
# - JobRun
- ManagedEndpoint
- JobTemplate
- SecurityConfiguration
sdk_names:
model_name: emr-containers
operations:
DescribeVirtualCluster:
output_wrapper_field_path: VirtualCluster
Expand All @@ -27,9 +29,12 @@ resources:
VirtualCluster:
exceptions:
terminal_codes:
- ValidationException
- ResourceNotFoundException
- InternalServerException
- ValidationException
- ResourceNotFoundException
- InternalServerException
hooks:
sdk_create_post_build_request:
template_path: hooks/virtual_cluster/sdk_create_post_build_request.go.tpl
JobRun:
fields:
Name:
Expand All @@ -51,7 +56,7 @@ resources:
name: STATE
from:
operation: DescribeJobRun
path: JobRun.State
path: JobRun.State
Id:
is_read_only: true
print:
Expand All @@ -61,10 +66,10 @@ resources:
type: "string"
is_immutable: true
is_required: False
compare:
compare:
is_ignored: true
# requeue_on_success_seconds is using 15 seconds for ACK to make describe-job-run API call so that it can update fields (ex: State). This is used as default values for now until ACK enables users to configure this value using Helm charts.
reconcile:
# requeue_on_success_seconds is using 15 seconds for ACK to make describe-job-run API call so that it can update fields (ex: State). This is used as default values for now until ACK enables users to configure this value using Helm charts.
reconcile:
requeue_on_success_seconds: 15
hooks:
delta_pre_compare:
Expand All @@ -75,4 +80,4 @@ resources:
template_path: hooks/configuration_overrides/sdk_read_one_pre_set_output.go.tpl
exceptions:
terminal_codes:
- ValidationException
- ValidationException
15 changes: 9 additions & 6 deletions apis/v1alpha1/job_run.go

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

122 changes: 102 additions & 20 deletions apis/v1alpha1/types.go

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

8 changes: 5 additions & 3 deletions apis/v1alpha1/virtual_cluster.go

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

Loading

0 comments on commit d5479df

Please sign in to comment.