Skip to content
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

Go V2 Controller #64

Merged
merged 1 commit into from
Feb 6, 2025
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
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-05T20:05:54Z"
build_hash: 509a9991d926c6e13b5f02566443e79ebe994e17
go_version: go1.23.5
version: v0.41.0-18-g509a999
api_directory_checksum: 88b2165f4492d336f46f359046ec7a213a8e9169
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: f835af6f8d5aa6338537ce41dc53804c04d30a33
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.

36 changes: 23 additions & 13 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ ignore:
- StartJobRunInput.ClientToken
- JobRun.ConfigurationOverrides
- StartJobRunInput.ConfigurationOverrides
- StartJobRunInput.JobDriver.SparkSqlJobDriver
- StartJobRunInput.JobTemplateId
- StartJobRunInput.RetryPolicyConfiguration
- StartJobRunInput.JobTemplateParameters
- CreateVirtualClusterInput.SecurityConfigurationId
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 +34,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 +61,7 @@ resources:
name: STATE
from:
operation: DescribeJobRun
path: JobRun.State
path: JobRun.State
Id:
is_read_only: true
print:
Expand All @@ -61,10 +71,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 +85,4 @@ resources:
template_path: hooks/configuration_overrides/sdk_read_one_pre_set_output.go.tpl
exceptions:
terminal_codes:
- ValidationException
- ValidationException
9 changes: 3 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.

119 changes: 99 additions & 20 deletions apis/v1alpha1/types.go

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

6 changes: 3 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