From 4ee73f583d39fb878d1c487b3e92c61e7abab329 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:31:57 -0700 Subject: [PATCH] [Monorepo] Fix flyteidl generated code and scripts (#4173) * Remove update_boilerplate and fix references to flytestdlib Signed-off-by: Eduardo Apolinario * make -C flyteidl generate Signed-off-by: Eduardo Apolinario * Add Flyteidl verification tests Signed-off-by: Eduardo Apolinario * Only run flyteidl checks in flyteidl-checks.yml Signed-off-by: Eduardo Apolinario * Use flytestdlib pflags binary directly Signed-off-by: Eduardo Apolinario * Fix tests to work with newer grpc library Signed-off-by: Eduardo Apolinario * Remove unused gh workflow steps Signed-off-by: Eduardo Apolinario * A test Signed-off-by: Eduardo Apolinario * Revert "A test" This reverts commit e46f6cc955297bec4fac8da46f7043038a5bedaa. Signed-off-by: Eduardo Apolinario * Build component images if flyteidl changes on pushes to master Signed-off-by: Eduardo Apolinario --------- Signed-off-by: Eduardo Apolinario Co-authored-by: Eduardo Apolinario --- .github/workflows/checks.yml | 3 - .github/workflows/flyteidl-checks.yml | 52 + flyteidl/Makefile | 7 +- .../flyte/golang_support_tools/go.mod | 50 +- .../flyte/golang_support_tools/go.sum | 216 +- .../flyte/golang_support_tools/tools.go | 1 - .../flyte/golang_test_targets/Makefile | 2 +- .../golang_test_targets/download_tooling.sh | 21 +- .../clients/go/admin/client_builder_test.go | 7 +- flyteidl/clients/go/admin/client_test.go | 7 +- flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go | 3 +- .../flyteidl/admin/cluster_assignment.pb.go | 3 +- .../gen/pb-go/flyteidl/admin/common.pb.go | 3 +- .../flyteidl/admin/description_entity.pb.go | 3 +- flyteidl/gen/pb-go/flyteidl/admin/event.pb.go | 3 +- .../gen/pb-go/flyteidl/admin/execution.pb.go | 3 +- .../pb-go/flyteidl/admin/launch_plan.pb.go | 3 +- .../flyteidl/admin/matchable_resource.pb.go | 3 +- .../pb-go/flyteidl/admin/node_execution.pb.go | 3 +- .../pb-go/flyteidl/admin/notification.pb.go | 3 +- .../gen/pb-go/flyteidl/admin/project.pb.go | 3 +- .../flyteidl/admin/project_attributes.pb.go | 3 +- .../admin/project_domain_attributes.pb.go | 3 +- .../gen/pb-go/flyteidl/admin/schedule.pb.go | 3 +- .../gen/pb-go/flyteidl/admin/signal.pb.go | 3 +- flyteidl/gen/pb-go/flyteidl/admin/task.pb.go | 3 +- .../pb-go/flyteidl/admin/task_execution.pb.go | 3 +- .../gen/pb-go/flyteidl/admin/version.pb.go | 3 +- .../gen/pb-go/flyteidl/admin/workflow.pb.go | 3 +- .../flyteidl/admin/workflow_attributes.pb.go | 3 +- .../gen/pb-go/flyteidl/core/catalog.pb.go | 3 +- .../gen/pb-go/flyteidl/core/compiler.pb.go | 3 +- .../gen/pb-go/flyteidl/core/condition.pb.go | 3 +- .../gen/pb-go/flyteidl/core/dynamic_job.pb.go | 3 +- flyteidl/gen/pb-go/flyteidl/core/errors.pb.go | 3 +- .../gen/pb-go/flyteidl/core/execution.pb.go | 3 +- .../gen/pb-go/flyteidl/core/identifier.pb.go | 3 +- .../gen/pb-go/flyteidl/core/interface.pb.go | 3 +- .../gen/pb-go/flyteidl/core/literals.pb.go | 3 +- .../gen/pb-go/flyteidl/core/metrics.pb.go | 3 +- .../gen/pb-go/flyteidl/core/security.pb.go | 3 +- flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go | 3 +- flyteidl/gen/pb-go/flyteidl/core/types.pb.go | 3 +- .../gen/pb-go/flyteidl/core/workflow.pb.go | 3 +- .../flyteidl/core/workflow_closure.pb.go | 3 +- .../flyteidl/datacatalog/datacatalog.pb.go | 23 +- flyteidl/gen/pb-go/flyteidl/event/event.pb.go | 3 +- .../pb-go/flyteidl/plugins/array_job.pb.go | 3 +- .../gen/pb-go/flyteidl/plugins/dask.pb.go | 3 +- .../flyteidl/plugins/kubeflow/common.pb.go | 3 +- .../pb-go/flyteidl/plugins/kubeflow/mpi.pb.go | 3 +- .../flyteidl/plugins/kubeflow/pytorch.pb.go | 3 +- .../plugins/kubeflow/tensorflow.pb.go | 3 +- flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go | 3 +- .../gen/pb-go/flyteidl/plugins/presto.pb.go | 3 +- .../gen/pb-go/flyteidl/plugins/pytorch.pb.go | 3 +- .../gen/pb-go/flyteidl/plugins/qubole.pb.go | 3 +- flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go | 3 +- .../sagemaker/hyperparameter_tuning_job.pb.go | 3 +- .../plugins/sagemaker/parameter_ranges.pb.go | 3 +- .../plugins/sagemaker/training_job.pb.go | 3 +- .../gen/pb-go/flyteidl/plugins/spark.pb.go | 3 +- .../pb-go/flyteidl/plugins/tensorflow.pb.go | 3 +- .../gen/pb-go/flyteidl/plugins/waitable.pb.go | 3 +- .../gen/pb-go/flyteidl/service/admin.pb.go | 3 +- .../gen/pb-go/flyteidl/service/agent.pb.go | 3 +- .../gen/pb-go/flyteidl/service/auth.pb.go | 3 +- .../pb-go/flyteidl/service/dataproxy.pb.go | 3 +- .../service/external_plugin_service.pb.go | 3 +- .../service/flyteadmin/api_admin_service.go | 2247 ++++++++--------- .../flyteidl/service/flyteadmin/client.go | 22 +- .../flyteadmin/model_admin_abort_metadata.go | 2 +- .../flyteadmin/model_admin_cron_schedule.go | 2 +- .../flyteadmin/model_admin_description.go | 8 +- .../model_admin_description_format.go | 7 +- .../model_admin_execution_closure.go | 4 +- .../model_admin_execution_create_request.go | 10 +- .../model_admin_execution_metadata.go | 2 +- .../model_admin_execution_recover_request.go | 4 +- .../model_admin_execution_relaunch_request.go | 4 +- .../flyteadmin/model_admin_execution_spec.go | 8 +- .../flyteadmin/model_admin_execution_state.go | 3 +- ...el_admin_execution_state_change_details.go | 2 +- .../model_admin_execution_update_request.go | 4 +- .../flyteadmin/model_admin_fixed_rate.go | 4 +- .../flyteadmin/model_admin_fixed_rate_unit.go | 5 +- .../flyteadmin/model_admin_flyte_ur_ls.go | 4 +- .../model_admin_launch_plan_closure.go | 6 +- .../model_admin_launch_plan_metadata.go | 2 +- .../model_admin_launch_plan_spec.go | 8 +- .../model_admin_launch_plan_state.go | 3 +- .../model_admin_literal_map_blob.go | 2 +- ...dmin_matchable_attributes_configuration.go | 8 +- .../model_admin_matchable_resource.go | 15 +- .../model_admin_matching_attributes.go | 14 +- .../flyteadmin/model_admin_named_entity.go | 4 +- .../model_admin_named_entity_identifier.go | 2 +- .../model_admin_named_entity_state.go | 5 +- ...model_admin_named_entity_update_request.go | 6 +- .../model_admin_node_execution_closure.go | 10 +- ..._admin_node_execution_get_data_response.go | 2 +- .../model_admin_node_execution_meta_data.go | 4 +- .../flyteadmin/model_admin_notification.go | 8 +- .../service/flyteadmin/model_admin_project.go | 10 +- .../model_admin_project_attributes.go | 2 +- ...admin_project_attributes_delete_request.go | 2 +- .../model_admin_project_domain_attributes.go | 2 +- ...roject_domain_attributes_delete_request.go | 4 +- .../flyteadmin/model_admin_schedule.go | 6 +- .../service/flyteadmin/model_admin_sort.go | 2 +- ..._admin_task_execution_get_data_response.go | 2 +- .../model_admin_task_resource_attributes.go | 2 +- .../model_admin_task_resource_spec.go | 8 +- .../service/flyteadmin/model_admin_version.go | 4 +- .../model_admin_workflow_attributes.go | 2 +- ...dmin_workflow_attributes_delete_request.go | 6 +- .../model_admin_workflow_create_request.go | 2 +- .../model_blob_type_blob_dimensionality.go | 2 +- .../model_catalog_reservation_status.go | 5 +- .../model_comparison_expression_operator.go | 7 +- ...conjunction_expression_logical_operator.go | 3 +- .../model_container_architecture.go | 9 +- .../service/flyteadmin/model_core_binary.go | 2 +- .../flyteadmin/model_core_binding_data.go | 4 +- .../service/flyteadmin/model_core_blob.go | 2 +- .../flyteadmin/model_core_blob_type.go | 2 +- .../model_core_boolean_expression.go | 2 +- .../model_core_catalog_artifact_tag.go | 2 +- .../model_core_catalog_cache_status.go | 13 +- .../flyteadmin/model_core_catalog_metadata.go | 4 +- .../model_core_comparison_expression.go | 6 +- .../model_core_compiled_workflow_closure.go | 4 +- .../model_core_conjunction_expression.go | 6 +- .../flyteadmin/model_core_connection_set.go | 2 +- .../flyteadmin/model_core_container.go | 6 +- .../model_core_data_loading_config.go | 10 +- .../flyteadmin/model_core_execution_error.go | 6 +- .../service/flyteadmin/model_core_identity.go | 4 +- .../service/flyteadmin/model_core_if_block.go | 2 +- .../flyteadmin/model_core_io_strategy.go | 2 +- .../service/flyteadmin/model_core_k8s_pod.go | 4 +- .../service/flyteadmin/model_core_literal.go | 2 +- .../flyteadmin/model_core_literal_type.go | 2 +- .../model_core_node_execution_identifier.go | 2 +- .../model_core_node_execution_phase.go | 20 +- .../flyteadmin/model_core_node_metadata.go | 4 +- .../flyteadmin/model_core_o_auth2_client.go | 2 +- .../model_core_o_auth2_token_request.go | 10 +- .../model_core_o_auth2_token_request_type.go | 1 - .../service/flyteadmin/model_core_operand.go | 4 +- .../flyteadmin/model_core_output_reference.go | 2 +- .../flyteadmin/model_core_primitive.go | 12 +- .../model_core_promise_attribute.go | 2 +- .../model_core_quality_of_service.go | 2 +- .../flyteadmin/model_core_resource_type.go | 7 +- .../service/flyteadmin/model_core_scalar.go | 16 +- .../service/flyteadmin/model_core_schema.go | 2 +- .../service/flyteadmin/model_core_secret.go | 6 +- .../flyteadmin/model_core_simple_type.go | 17 +- .../service/flyteadmin/model_core_sql.go | 4 +- .../model_core_structured_dataset.go | 2 +- .../model_core_task_execution_identifier.go | 4 +- .../model_core_task_execution_phase.go | 14 +- .../service/flyteadmin/model_core_task_log.go | 6 +- .../flyteadmin/model_core_task_metadata.go | 8 +- .../flyteadmin/model_core_task_template.go | 10 +- .../flyteadmin/model_core_typed_interface.go | 2 +- .../service/flyteadmin/model_core_union.go | 2 +- .../service/flyteadmin/model_core_variable.go | 4 +- .../model_core_workflow_execution_phase.go | 18 +- .../model_core_workflow_metadata.go | 2 +- .../flyteadmin/model_core_workflow_node.go | 2 +- .../model_core_workflow_template.go | 2 +- ..._data_loading_config_literal_map_format.go | 5 +- .../flyteadmin/model_event_event_reason.go | 2 +- .../model_event_external_resource_info.go | 8 +- .../model_event_node_execution_event.go | 28 +- .../model_event_task_execution_event.go | 14 +- .../model_event_workflow_execution_event.go | 8 +- .../model_execution_error_error_kind.go | 4 +- ...model_execution_metadata_execution_mode.go | 11 +- .../model_flyteidladmin_node_execution.go | 2 +- ...model_flyteidladmin_task_create_request.go | 4 +- .../model_flyteidladmin_task_node_metadata.go | 6 +- ...l_flyteidlevent_task_execution_metadata.go | 4 +- .../model_flyteidlevent_task_node_metadata.go | 4 +- .../model_io_strategy_download_mode.go | 3 +- .../model_io_strategy_upload_mode.go | 5 +- ...plugin_override_missing_plugin_behavior.go | 3 +- .../flyteadmin/model_project_project_state.go | 5 +- .../flyteadmin/model_protobuf_null_value.go | 1 - .../model_quality_of_service_tier.go | 7 +- .../model_resources_resource_entry.go | 4 +- .../model_resources_resource_name.go | 11 +- .../model_runtime_metadata_runtime_type.go | 2 +- .../model_schema_column_schema_column_type.go | 8 +- .../flyteadmin/model_secret_mount_type.go | 5 +- .../flyteadmin/model_sort_direction.go | 3 +- .../service/flyteadmin/model_sql_dialect.go | 7 +- ..._task_execution_metadata_instance_class.go | 3 +- .../model_task_log_message_format.go | 4 +- ...del_workflow_metadata_on_failure_policy.go | 3 +- .../gen/pb-go/flyteidl/service/identity.pb.go | 3 +- .../gen/pb-go/flyteidl/service/openapi.go | 14 +- .../gen/pb-go/flyteidl/service/signal.pb.go | 3 +- 205 files changed, 1646 insertions(+), 1908 deletions(-) create mode 100644 .github/workflows/flyteidl-checks.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 66e2bf3c0e..89f427f274 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -6,7 +6,6 @@ on: - 'datacatalog/**' - 'flyteadmin/**' - 'flytecopilot/**' - - 'flyteidl/**' - 'flyteplugins/**' - 'flytepropeller/**' - 'flytestdlib/**' @@ -65,8 +64,6 @@ jobs: - datacatalog - flyteadmin - flytecopilot - # TODO(monorepo): Enable flyteidl unit tests - # - flyteidl - flyteplugins - flytepropeller - flytestdlib diff --git a/.github/workflows/flyteidl-checks.yml b/.github/workflows/flyteidl-checks.yml new file mode 100644 index 0000000000..d59031f280 --- /dev/null +++ b/.github/workflows/flyteidl-checks.yml @@ -0,0 +1,52 @@ +name: Flyteidl Verification Tests + +on: + pull_request: + paths: + - 'flyteidl/**' + push: + branches: + - master + paths: + - 'flyteidl/**' +env: + GO_VERSION: "1.19" +jobs: + unpack-envvars: + runs-on: ubuntu-latest + outputs: + go-version: ${{ steps.step.outputs.go-version }} + steps: + - id: step + run: | + echo "go-version=${{ env.GO_VERSION }}" >> $GITHUB_OUTPUT + lint: + name: Lint + needs: + - unpack-envvars + strategy: + fail-fast: false + uses: ./.github/workflows/lint.yml + with: + component: flyteidl + go-version: ${{ needs.unpack-envvars.outputs.go-version }} + unit-tests: + name: Unit Tests + needs: + - unpack-envvars + uses: ./.github/workflows/unit-tests.yml + with: + component: flyteidl + go-version: ${{ needs.unpack-envvars.outputs.go-version }} + secrets: + FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} + generate: + name: Check Go Generate + needs: + - unpack-envvars + strategy: + fail-fast: false + uses: ./.github/workflows/go_generate.yml + with: + component: flyteidl + go-version: ${{ needs.unpack-envvars.outputs.go-version }} diff --git a/flyteidl/Makefile b/flyteidl/Makefile index a62ab95f9f..af618ea427 100644 --- a/flyteidl/Makefile +++ b/flyteidl/Makefile @@ -7,13 +7,8 @@ define PIP_COMPILE pip-compile $(1) --upgrade --verbose endef -.PHONY: update_boilerplate -update_boilerplate: - @curl https://raw.githubusercontent.com/flyteorg/boilerplate/master/boilerplate/update.sh -o boilerplate/update.sh - @boilerplate/update.sh - .PHONY: generate -generate: update_boilerplate install doc_gen_deps # get latest boiler plate, install tools, generate protos, mock, pflags and get doc dependencies +generate: install doc_gen_deps # install tools, generate protos, mock, pflags and get doc dependencies ./generate_protos.sh ./generate_mocks.sh go generate ./... diff --git a/flyteidl/boilerplate/flyte/golang_support_tools/go.mod b/flyteidl/boilerplate/flyte/golang_support_tools/go.mod index 2cfeb8aa3a..40af6255b4 100644 --- a/flyteidl/boilerplate/flyte/golang_support_tools/go.mod +++ b/flyteidl/boilerplate/flyte/golang_support_tools/go.mod @@ -5,7 +5,6 @@ go 1.19 require ( github.com/EngHabu/mockery v0.0.0-20220405200825-3f76291311cf github.com/alvaroloes/enumer v1.1.2 - github.com/flyteorg/flytestdlib v0.4.16 github.com/golangci/golangci-lint v1.53.3 github.com/pseudomuto/protoc-gen-doc v1.4.1 ) @@ -13,25 +12,10 @@ require ( require ( 4d63.com/gocheckcompilerdirectives v1.2.1 // indirect 4d63.com/gochecknoglobals v0.2.1 // indirect - cloud.google.com/go v0.110.2 // indirect - cloud.google.com/go/compute v1.19.3 // indirect - cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.2 // indirect - cloud.google.com/go/storage v1.29.0 // indirect github.com/4meepo/tagalign v1.2.2 // indirect github.com/Abirdcfly/dupword v0.0.11 // indirect github.com/Antonboom/errname v0.1.10 // indirect github.com/Antonboom/nilnil v0.1.5 // indirect - github.com/Azure/azure-sdk-for-go v62.3.0+incompatible // indirect - github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3 // indirect - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0 // indirect - github.com/Azure/go-autorest v14.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest v0.11.17 // indirect - github.com/Azure/go-autorest/autorest/adal v0.9.10 // indirect - github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect - github.com/Azure/go-autorest/logger v0.2.0 // indirect - github.com/Azure/go-autorest/tracing v0.6.0 // indirect github.com/BurntSushi/toml v1.3.2 // indirect github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0 // indirect @@ -44,7 +28,6 @@ require ( github.com/aokoli/goutils v1.0.1 // indirect github.com/ashanbrown/forbidigo v1.5.3 // indirect github.com/ashanbrown/makezero v1.1.1 // indirect - github.com/aws/aws-sdk-go v1.37.1 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bkielbasa/cyclop v1.2.1 // indirect github.com/blizzy78/varnamelen v0.8.0 // indirect @@ -53,29 +36,22 @@ require ( github.com/breml/errchkjson v0.3.1 // indirect github.com/butuzov/ireturn v0.2.0 // indirect github.com/butuzov/mirror v1.1.0 // indirect - github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/charithe/durationcheck v0.0.10 // indirect github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 // indirect - github.com/coocood/freecache v1.1.1 // indirect github.com/curioswitch/go-reassign v0.2.0 // indirect github.com/daixiang0/gci v0.10.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/denis-tingaikin/go-header v0.4.3 // indirect - github.com/envoyproxy/protoc-gen-validate v0.10.0 // indirect - github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607 // indirect + github.com/envoyproxy/protoc-gen-validate v0.10.1 // indirect github.com/esimonov/ifshort v1.0.4 // indirect github.com/ettle/strcase v0.1.1 // indirect github.com/fatih/color v1.15.0 // indirect github.com/fatih/structtag v1.2.0 // indirect github.com/firefart/nonamedreturns v1.0.4 // indirect - github.com/flyteorg/stow v0.3.1 // indirect - github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect github.com/fsnotify/fsnotify v1.5.4 // indirect github.com/fzipp/gocyclo v0.6.0 // indirect - github.com/ghodss/yaml v1.0.0 // indirect github.com/go-critic/go-critic v0.8.1 // indirect - github.com/go-logr/logr v1.2.4 // indirect github.com/go-toolsmith/astcast v1.1.0 // indirect github.com/go-toolsmith/astcopy v1.1.0 // indirect github.com/go-toolsmith/astequal v1.1.0 // indirect @@ -86,9 +62,7 @@ require ( github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect github.com/gobwas/glob v0.2.3 // indirect github.com/gofrs/flock v0.8.1 // indirect - github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect @@ -100,16 +74,13 @@ require ( github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 // indirect github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 // indirect github.com/google/go-cmp v0.5.9 // indirect - github.com/google/s2a-go v0.1.4 // indirect github.com/google/uuid v1.3.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 // indirect github.com/gostaticanalysis/analysisutil v0.7.1 // indirect github.com/gostaticanalysis/comment v1.4.2 // indirect github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect github.com/gostaticanalysis/nilerr v0.1.1 // indirect - github.com/hashicorp/errwrap v1.0.0 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect @@ -120,7 +91,6 @@ require ( github.com/jgautheron/goconst v1.5.1 // indirect github.com/jingyugao/rowserrcheck v1.1.1 // indirect github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect - github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/julz/importas v0.1.0 // indirect github.com/kisielk/errcheck v1.6.3 // indirect github.com/kisielk/gotool v1.0.0 // indirect @@ -148,7 +118,6 @@ require ( github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007 // indirect github.com/nakabonne/nestif v0.3.1 // indirect github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect - github.com/ncw/swift v1.0.53 // indirect github.com/nishanths/exhaustive v0.11.0 // indirect github.com/nishanths/predeclared v0.2.2 // indirect github.com/nunnatsa/ginkgolinter v0.12.1 // indirect @@ -156,7 +125,6 @@ require ( github.com/pascaldekloe/name v0.0.0-20180628100202-0fd16699aae1 // indirect github.com/pelletier/go-toml v1.9.5 // indirect github.com/pelletier/go-toml/v2 v2.0.5 // indirect - github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/polyfloyd/go-errorlint v1.4.2 // indirect github.com/prometheus/client_golang v1.12.1 // indirect @@ -181,7 +149,7 @@ require ( github.com/sivchari/tenv v1.7.1 // indirect github.com/sonatard/noctx v0.0.2 // indirect github.com/sourcegraph/go-diff v0.7.0 // indirect - github.com/spf13/afero v1.8.2 // indirect + github.com/spf13/afero v1.9.2 // indirect github.com/spf13/cast v1.5.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect @@ -207,7 +175,6 @@ require ( github.com/yeya24/promlinter v0.2.0 // indirect github.com/ykadowak/zerologlint v0.1.2 // indirect gitlab.com/bosi/decorder v0.2.3 // indirect - go.opencensus.io v0.24.0 // indirect go.tmz.dev/musttag v0.7.0 // indirect go.uber.org/atomic v1.7.0 // indirect go.uber.org/multierr v1.6.0 // indirect @@ -216,28 +183,17 @@ require ( golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea // indirect golang.org/x/exp/typeparams v0.0.0-20230224173230-c95f2b4c22f2 // indirect golang.org/x/mod v0.12.0 // indirect - golang.org/x/net v0.12.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect golang.org/x/sync v0.3.0 // indirect golang.org/x/sys v0.10.0 // indirect golang.org/x/text v0.11.0 // indirect - golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 // indirect golang.org/x/tools v0.11.1 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.126.0 // indirect - google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc // indirect google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/grpc v1.55.0 // indirect google.golang.org/protobuf v1.30.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect honnef.co/go/tools v0.4.3 // indirect - k8s.io/apimachinery v0.20.2 // indirect - k8s.io/client-go v0.0.0-20210217172142-7279fc64d847 // indirect - k8s.io/klog/v2 v2.5.0 // indirect mvdan.cc/gofumpt v0.5.0 // indirect mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect diff --git a/flyteidl/boilerplate/flyte/golang_support_tools/go.sum b/flyteidl/boilerplate/flyte/golang_support_tools/go.sum index 4cc434803e..939c9b701a 100644 --- a/flyteidl/boilerplate/flyte/golang_support_tools/go.sum +++ b/flyteidl/boilerplate/flyte/golang_support_tools/go.sum @@ -21,22 +21,14 @@ cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHOb cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go v0.110.2 h1:sdFPBr6xG9/wkBbfhmUz/JmZC7X6LavQgcrVINrKiVA= -cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/compute v1.19.3 h1:DcTwsFgGev/wV5+q8o2fzgcHOaac+DKGC91ZlvpsQds= -cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI= -cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= -cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/iam v1.1.2 h1:gacbrBdWcoVmGLozRuStX45YKvJtzIjJdAolzUs1sm4= -cloud.google.com/go/iam v1.1.2/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -47,8 +39,6 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -cloud.google.com/go/storage v1.29.0 h1:6weCgzRvMg7lzuUurI4697AqIRPU1SvzHhynwpW31jI= -cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/4meepo/tagalign v1.2.2 h1:kQeUTkFTaBRtd/7jm8OKJl9iHk0gAO+TDFPHGSna0aw= github.com/4meepo/tagalign v1.2.2/go.mod h1:Q9c1rYMZJc9dPRkbQPpcBNCLEmY2njbAsXhQOZFE2dE= @@ -58,31 +48,6 @@ github.com/Antonboom/errname v0.1.10 h1:RZ7cYo/GuZqjr1nuJLNe8ZH+a+Jd9DaZzttWzak9 github.com/Antonboom/errname v0.1.10/go.mod h1:xLeiCIrvVNpUtsN0wxAh05bNIZpqE22/qDMnTBTttiA= github.com/Antonboom/nilnil v0.1.5 h1:X2JAdEVcbPaOom2TUa1FxZ3uyuUlex0XMLGYMemu6l0= github.com/Antonboom/nilnil v0.1.5/go.mod h1:I24toVuBKhfP5teihGWctrRiPbRKHwZIFOvc6v3HZXk= -github.com/Azure/azure-sdk-for-go v62.3.0+incompatible h1:Ctfsn9UoA/BB4HMYQlbPPgNXdX0tZ4tmb85+KFb2+RE= -github.com/Azure/azure-sdk-for-go v62.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1 h1:qoVeMsc9/fh/yhxVaA0obYjVH/oI/ihrOoMwsLS9KSA= -github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM= -github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3 h1:E+m3SkZCN0Bf5q7YdTs5lSm2CYY3CK4spn5OmUIiQtk= -github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0 h1:Px2UA+2RvSSvv+RvJNuUB6n7rs5Wsel4dXLe90Um2n4= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0/go.mod h1:tPaiy8S5bQ+S5sOiDlINkp7+Ef339+Nz5L5XO+cnOHo= -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.12/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= -github.com/Azure/go-autorest/autorest v0.11.17 h1:2zCdHwNgRH+St1J+ZMf66xI8aLr/5KMy+wWLH97zwYM= -github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= -github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.10 h1:r6fZHMaHD8B6LDCn0o5vyBFHIHrM6Ywwx7mb49lPItI= -github.com/Azure/go-autorest/autorest/adal v0.9.10/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= -github.com/Azure/go-autorest/logger v0.2.0 h1:e4RVHVZKC5p6UANLJHkM4OfR1UKZPj8Wt8Pcx+3oqrE= -github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= @@ -98,13 +63,8 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3Q github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/sprig v2.15.0+incompatible h1:0gSxPGWS9PAr7U2NsQ2YQg6juRDINkUyuvbb4b2Xm8w= github.com/Masterminds/sprig v2.15.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= -github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/OpenPeeDeeP/depguard/v2 v2.1.0 h1:aQl70G173h/GZYhWf36aE5H0KaujXfVMnn/f1kSDVYY= github.com/OpenPeeDeeP/depguard/v2 v2.1.0/go.mod h1:PUBgk35fX4i7JDmwzlJwJ+GMe6NfO1723wmJMgPThNQ= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= @@ -118,16 +78,12 @@ github.com/alingse/asasalint v0.0.11 h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQ github.com/alingse/asasalint v0.0.11/go.mod h1:nCaoMhw7a9kSJObvQyVzNTPBDbNpdocqrSP7t/cW5+I= github.com/alvaroloes/enumer v1.1.2 h1:5khqHB33TZy1GWCO/lZwcroBFh7u+0j40T83VUbfAMY= github.com/alvaroloes/enumer v1.1.2/go.mod h1:FxrjvuXoDAx9isTJrv4c+T410zFi0DtXIT0m65DJ+Wo= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/aokoli/goutils v1.0.1 h1:7fpzNGoJ3VA8qcrm++XEE1QUe0mIwNeLa02Nwq7RDkg= github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/ashanbrown/forbidigo v1.5.3 h1:jfg+fkm/snMx+V9FBwsl1d340BV/99kZGv5jN9hBoXk= github.com/ashanbrown/forbidigo v1.5.3/go.mod h1:Y8j9jy9ZYAEHXdu723cUlraTqbzjKF1MUyfOKL+AjcU= github.com/ashanbrown/makezero v1.1.1 h1:iCQ87C0V0vSyO+M9E/FZYbu65auqH0lnsOkf5FcB28s= github.com/ashanbrown/makezero v1.1.1/go.mod h1:i1bJLCRSCHOcOa9Y6MyF2FTfMZMFdHvxKHxgO5Z1axI= -github.com/aws/aws-sdk-go v1.37.1 h1:BTHmuN+gzhxkvU9sac2tZvaY0gV9ihbHw+KxZOecYvY= -github.com/aws/aws-sdk-go v1.37.1/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -148,8 +104,6 @@ github.com/butuzov/ireturn v0.2.0/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacM github.com/butuzov/mirror v1.1.0 h1:ZqX54gBVMXu78QLoiqdwpl2mgmoOJTk7s4p4o+0avZI= github.com/butuzov/mirror v1.1.0/go.mod h1:8Q0BdQU6rC6WILDiBM60DBfvV78OLJmMmixe7GF45AE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= @@ -158,7 +112,6 @@ github.com/charithe/durationcheck v0.0.10 h1:wgw73BiocdBDQPik+zcEoBG/ob8uyBHf2iy github.com/charithe/durationcheck v0.0.10/go.mod h1:bCWXb7gYRysD1CU3C+u4ceO49LoGOY1C1L6uouGNreQ= github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 h1:W9o46d2kbNL06lq7UNDPV0zYLzkrde/bjIqO02eoll0= github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8/go.mod h1:gakxgyXaaPkxvLw1XQxNGK4I37ys9iBRzNUx/B7pUCo= -github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -166,12 +119,6 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/coocood/freecache v1.1.1 h1:uukNF7QKCZEdZ9gAV7WQzvh0SbjwdMF6m3x3rxEkaPc= -github.com/coocood/freecache v1.1.1/go.mod h1:OKrEjkGVoxZhyWAJoeFi5BMLUJm2Tit0kpGkIr7NGYY= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/curioswitch/go-reassign v0.2.0 h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo= github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT84hqJfKoO8Tt/Roc= @@ -183,54 +130,32 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/denis-tingaikin/go-header v0.4.3 h1:tEaZKAlqql6SKCY++utLmkPLd6K8IBM20Ha7UVm+mtU= github.com/denis-tingaikin/go-header v0.4.3/go.mod h1:0wOCWuN71D5qIgE2nz9KrKmuYBAC2Mra5RassOIQ2/c= -github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= -github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= -github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.3.0-java/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.10.0 h1:oIfnZFdC0YhpNNEX+SuIqko4cqqVZeN9IGTrhZje83Y= -github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= -github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607 h1:cTavhURetDkezJCvxFggiyLeP40Mrk/TtVg2+ycw1Es= -github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607/go.mod h1:Cg4fM0vhYWOZdgM7RIOSTRNIc8/VT7CXClC3Ni86lu4= +github.com/envoyproxy/protoc-gen-validate v0.10.1 h1:c0g45+xCJhdgFGw7a5QAfdS4byAbud7miNWJ1WwEVf8= +github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/esimonov/ifshort v1.0.4 h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA= github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0= github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= -github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= github.com/firefart/nonamedreturns v1.0.4 h1:abzI1p7mAEPYuR4A+VLKn4eNDOycjYo2phmY9sfv40Y= github.com/firefart/nonamedreturns v1.0.4/go.mod h1:TDhe/tjI1BXo48CmYbUduTV7BdIga8MAO/xbKdcVsGI= -github.com/flyteorg/flytestdlib v0.4.16 h1:r4dCPUOqoE9xCAhOw9KDB7O6cBoCxyEtepIWYcj93H0= -github.com/flyteorg/flytestdlib v0.4.16/go.mod h1:WA5Y4hrcgD0ybGOKJVOQ4sP8q7NLRV+S5SWOlH0axgM= github.com/flyteorg/protoc-gen-doc v1.4.2 h1:Otw0F+RHaPQ8XlpzhLLgjsCMcrAIcMO01Zh+ALe3rrE= github.com/flyteorg/protoc-gen-doc v1.4.2/go.mod h1:exDTOVwqpp30eV/EDPFLZy3Pwr2sn6hBC1WIYH/UbIg= -github.com/flyteorg/stow v0.3.1 h1:cBMbWl03Gsy5KoA5mutUYTuYpqtT7Pb8+ANGCLnmFEs= -github.com/flyteorg/stow v0.3.1/go.mod h1:HBld7ud0i4khMHwJjkO8v+NSP7ddKa/ruhf4I8fliaA= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo= github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA= -github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-critic/go-critic v0.8.1 h1:16omCF1gN3gTzt4j4J6fKI/HnRojhEp+Eks6EuKw3vw= github.com/go-critic/go-critic v0.8.1/go.mod h1:kpzXl09SIJX1cr9TB/g/sAG+eFEl7ZS9f9cqvZtyNl0= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= @@ -242,18 +167,7 @@ github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vb github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= -github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/go-toolsmith/astcast v1.1.0 h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8= @@ -279,18 +193,13 @@ github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= -github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= @@ -346,7 +255,6 @@ github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= @@ -354,12 +262,9 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -372,24 +277,15 @@ github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 h1:yAJXTCF9TqKcTiHJAE8dj7HMvPfh66eeA2JYW7eFpSE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/uuid v0.0.0-20161128191214-064e2069ce9c/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= -github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 h1:mrEEilTAUmaAORhssPPkxj84TsHrPMLBGW2Z4SoTxm8= github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gostaticanalysis/analysisutil v0.7.1 h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk= github.com/gostaticanalysis/analysisutil v0.7.1/go.mod h1:v21E3hY37WKMGSnbsw2S/ojApNWb6C1//mXO48CXbVc= github.com/gostaticanalysis/comment v1.4.1/go.mod h1:ih6ZxzTHLdadaiSnF5WY3dxUoXfXAlTaRzuaNDlSado= @@ -401,10 +297,9 @@ github.com/gostaticanalysis/nilerr v0.1.1 h1:ThE+hJP0fEp4zWLkWHWcRyI2Od0p7DlgYG3 github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW0HU0GPE3+5PWN4A= github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod h1:D+FIZ+7OahH3ePw/izIEeH5I06eKs1IKI4Xr64/Am3M= github.com/gostaticanalysis/testutil v0.4.0 h1:nhdCmubdmDF6VEatUNjgUZBJKWRqugoISdUv3PPQgHY= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= @@ -416,7 +311,6 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.0.0 h1:pO2K/gKgKaat5LdpAhxhluX2GPQMaI3W5FUz/I/UnWk= github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= @@ -432,10 +326,6 @@ github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjz github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48= github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= -github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= -github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= -github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= @@ -447,7 +337,6 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/julz/importas v0.1.0 h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY= github.com/julz/importas v0.1.0/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/errcheck v1.6.3 h1:dEKh+GLHcWm2oN34nMvDzn1sqI0i0WxPvrgiJA5JuM8= github.com/kisielk/errcheck v1.6.3/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw= @@ -460,11 +349,8 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxv github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kulti/thelper v0.6.3 h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs= @@ -483,8 +369,6 @@ github.com/lufeee/execinquery v1.2.1 h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCE github.com/lufeee/execinquery v1.2.1/go.mod h1:EC7DrEKView09ocscGHC+apXMIaorh4xqSxS/dy8SbM= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/maratori/testableexamples v1.0.0 h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI= github.com/maratori/testableexamples v1.0.0/go.mod h1:4rhjL1n20TUTT4vdh3RDqSizKLyXp7K2u6HgraZCGzE= github.com/maratori/testpackage v1.1.1 h1:S58XVV5AD7HADMmD0fNnziNHqKvSdDuEKdPD1rNTU04= @@ -508,30 +392,24 @@ github.com/mgechev/revive v1.3.2 h1:Wb8NQKBaALBJ3xrrj4zpwJwqwNA6nDpyJSEQWcCka6U= github.com/mgechev/revive v1.3.2/go.mod h1:UCLtc7o5vg5aXCwdUTU1kEBQ1v+YXPAkYDIDXbrs5I0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= github.com/moricho/tparallel v0.3.1 h1:fQKD4U1wRMAYNngDonW5XupoB/ZGJHdpzrWqgyg9krA= github.com/moricho/tparallel v0.3.1/go.mod h1:leENX2cUv7Sv2qDgdi0D0fCftN8fRC67Bcn8pqzeYNI= -github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007 h1:28i1IjGcx8AofiB4N3q5Yls55VEaitzuEPkFJEVgGkA= github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007/go.mod h1:m2XC9Qq0AlmmVksL6FktJCdTYyLk7V3fKyp0sl1yWQo= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/nakabonne/nestif v0.3.1 h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U= github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE= github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 h1:4kuARK6Y6FxaNu/BnU2OAaLF86eTVhP2hjTB6iMvItA= github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8= -github.com/ncw/swift v1.0.53 h1:luHjjTNtekIEvHg5KdAFIBaH7bWfNkefwFnpDffSIks= -github.com/ncw/swift v1.0.53/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/nishanths/exhaustive v0.11.0 h1:T3I8nUGhl/Cwu5Z2hfc92l0e04D2GEW6e0l8pzda2l0= github.com/nishanths/exhaustive v0.11.0/go.mod h1:RqwDsZ1xY0dNdqHho2z6X+bgzizwbLYOWnZbbl2wLB4= github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= @@ -540,13 +418,7 @@ github.com/nunnatsa/ginkgolinter v0.12.1 h1:vwOqb5Nu05OikTXqhvLdHCGcx5uthIYIl0t7 github.com/nunnatsa/ginkgolinter v0.12.1/go.mod h1:AK8Ab1PypVrcGUusuKD8RDcl2KgsIwvNaaxAlyHSzso= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.11.0 h1:JAKSXpt1YjtLA7YpPiqO9ss6sNXEsPfSGdwN0UHqzrw= -github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo/v2 v2.9.4 h1:xR7vG4IXt5RWx6FfIjyAtsoMAtnc3C/rFXBBd2AjZwE= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.27.6 h1:ENqfyGeS5AX/rlXDd/ETokDz93u0YufY1Pgxuy/PvWE= github.com/otiai10/copy v1.2.0 h1:HvG945u96iNadPoG2/Ja2+AUJeW5YuFQMixq9yirC+k= github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= @@ -560,7 +432,6 @@ github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3v github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml/v2 v2.0.5 h1:ipoSadvV8oGUjnUbMub59IDPPwfxF694nG/jwbMiyQg= github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= @@ -603,7 +474,6 @@ github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 h1:TCg2WBOl github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0= github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs= github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -638,18 +508,14 @@ github.com/sonatard/noctx v0.0.2 h1:L7Dz4De2zDQhW8S0t+KUjY0MAQJd6SgVwhzNIc4ok00= github.com/sonatard/noctx v0.0.2/go.mod h1:kzFz+CzWSjQ2OzIm46uJZoXuBpa2+0y3T36U18dWqIo= github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0= github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.8.2 h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo= -github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= +github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= +github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= @@ -660,7 +526,6 @@ github.com/stbenjam/no-sprintf-host-port v0.1.1 h1:tYugd/yrm1O0dV+ThCbaKZh195Dfm github.com/stbenjam/no-sprintf-host-port v0.1.1/go.mod h1:TLhvtIvONRzdmkFiio4O8LHsN9N74I+PhRquPsxpL0I= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= @@ -670,11 +535,9 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= @@ -728,9 +591,6 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= -go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.tmz.dev/musttag v0.7.0 h1:QfytzjTWGXZmChoX0L++7uQN+yRCPfyFm+whsM+lfGc= go.tmz.dev/musttag v0.7.0/go.mod h1:oTFPvgOkJmp5kYL02S8+jrH0eLrBIl57rzWeA26zDEM= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= @@ -745,14 +605,11 @@ golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= @@ -806,7 +663,6 @@ golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -819,7 +675,6 @@ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -834,26 +689,20 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50= -golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -864,8 +713,6 @@ golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -884,7 +731,6 @@ golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -893,11 +739,9 @@ golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -918,7 +762,6 @@ golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -960,7 +803,6 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= @@ -969,11 +811,7 @@ golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 h1:Hir2P/De0WpUhtrKGGjvSb2YxUgyZ7EFOSLIcSSpiwE= -golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -985,7 +823,6 @@ golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524210228-3d17549cdc6b/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -1051,8 +888,6 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -1072,15 +907,12 @@ google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz513 google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20181107211654-5fc9ac540362/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -1106,7 +938,6 @@ google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= @@ -1124,8 +955,6 @@ google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc h1:8DyZCyvI8mE1IdL google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc h1:kVKPf/IiYSBWEWtkIn6wZXwWGCnLKcC8oWfZvXjsGnM= google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc h1:XSJ8Vk1SWuNr8S18z1NZSziL0CPIXLCCMDOEFtHBOFc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -1139,14 +968,9 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= -google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag= -google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -1165,25 +989,18 @@ gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLks gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1195,19 +1012,6 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9 honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.4.3 h1:o/n5/K5gXqk8Gozvs2cnL0F2S1/g1vcGCAx2vETjITw= honnef.co/go/tools v0.4.3/go.mod h1:36ZgoUOrqOk1GxwHhyryEkq8FQWkUO2xGuSMhUCcdvA= -k8s.io/api v0.0.0-20210217171935-8e2decd92398/go.mod h1:60tmSUpHxGPFerNHbo/ayI2lKxvtrhbxFyXuEIWJd78= -k8s.io/apimachinery v0.0.0-20210217011835-527a61b4dffe/go.mod h1:Z7ps/g0rjlTeMstYrMOUttJfT2Gg34DEaG/f2PYLCWY= -k8s.io/apimachinery v0.20.2 h1:hFx6Sbt1oG0n6DZ+g4bFt5f6BoMkOjKWsQFu077M3Vg= -k8s.io/apimachinery v0.20.2/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/client-go v0.0.0-20210217172142-7279fc64d847 h1:d+LBRNY3c/KGp7lDblRlUJkayx4Vla7WUTIazoGMdYo= -k8s.io/client-go v0.0.0-20210217172142-7279fc64d847/go.mod h1:q0EaghmVye2uui19vxSZ2NG6ssgUWgjudO6vrwXneSI= -k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.5.0 h1:8mOnjf1RmUPW6KRqQCfYSZq/K20Unmp3IhuZUhxl8KI= -k8s.io/klog/v2 v2.5.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= -k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= -k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= mvdan.cc/gofumpt v0.5.0 h1:0EQ+Z56k8tXjj/6TQD25BFNKQXpCvT0rnansIc7Ug5E= mvdan.cc/gofumpt v0.5.0/go.mod h1:HBeVDtMKRZpXyxFciAirzdKklDlGu8aAy1wEbH5Y9js= mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I= @@ -1219,7 +1023,3 @@ mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d/go.mod h1:IeHQjmn6TOD+e4Z3RF rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/flyteidl/boilerplate/flyte/golang_support_tools/tools.go b/flyteidl/boilerplate/flyte/golang_support_tools/tools.go index a78b61162a..01ef33939f 100644 --- a/flyteidl/boilerplate/flyte/golang_support_tools/tools.go +++ b/flyteidl/boilerplate/flyte/golang_support_tools/tools.go @@ -6,7 +6,6 @@ package tools import ( _ "github.com/EngHabu/mockery/cmd/mockery" _ "github.com/alvaroloes/enumer" - _ "github.com/flyteorg/flyte/flytestdlib/cli/pflags" _ "github.com/golangci/golangci-lint/cmd/golangci-lint" _ "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc" ) diff --git a/flyteidl/boilerplate/flyte/golang_test_targets/Makefile b/flyteidl/boilerplate/flyte/golang_test_targets/Makefile index 280e1e55e4..dcd95ef842 100644 --- a/flyteidl/boilerplate/flyte/golang_test_targets/Makefile +++ b/flyteidl/boilerplate/flyte/golang_test_targets/Makefile @@ -50,7 +50,7 @@ test_unit_cover: test_unit_visual: go test ./... -coverprofile /tmp/cover.out -covermode=count go tool cover -html=/tmp/cover.out - + .PHONY: test_unit_codecov test_unit_codecov: go test ./... -race -coverprofile=coverage.txt -covermode=atomic diff --git a/flyteidl/boilerplate/flyte/golang_test_targets/download_tooling.sh b/flyteidl/boilerplate/flyte/golang_test_targets/download_tooling.sh index c7e5577ef3..b1b5ba19d3 100755 --- a/flyteidl/boilerplate/flyte/golang_test_targets/download_tooling.sh +++ b/flyteidl/boilerplate/flyte/golang_test_targets/download_tooling.sh @@ -16,22 +16,25 @@ set -e # List of tools to go get # In the format of ":" or ":" if no cli tools=( - "github.com/EngHabu/mockery/cmd/mockery" - "github.com/flyteorg/flytestdlib/cli/pflags@latest" - "github.com/golangci/golangci-lint/cmd/golangci-lint" - "github.com/alvaroloes/enumer" - "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc" + "github.com/EngHabu/mockery/cmd/mockery" + "github.com/golangci/golangci-lint/cmd/golangci-lint" + "github.com/alvaroloes/enumer" + "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc" ) tmp_dir=$(mktemp -d -t gotooling-XXX) echo "Using temp directory ${tmp_dir}" cp -R boilerplate/flyte/golang_support_tools/* $tmp_dir + +# Compile pflags +make -C ../flytestdlib compile +cp ../flytestdlib/bin/pflags $(go env GOPATH)/bin + pushd "$tmp_dir" -for tool in "${tools[@]}" -do - echo "Installing ${tool}" - GO111MODULE=on go install $tool +for tool in "${tools[@]}"; do + echo "Installing ${tool}" + GO111MODULE=on go install $tool done popd diff --git a/flyteidl/clients/go/admin/client_builder_test.go b/flyteidl/clients/go/admin/client_builder_test.go index 43917ab1a7..c871bcb326 100644 --- a/flyteidl/clients/go/admin/client_builder_test.go +++ b/flyteidl/clients/go/admin/client_builder_test.go @@ -2,19 +2,24 @@ package admin import ( "context" + "net/url" "reflect" "testing" "github.com/stretchr/testify/assert" "github.com/flyteorg/flyte/flyteidl/clients/go/admin/cache" + "github.com/flyteorg/flyte/flytestdlib/config" ) func TestClientsetBuilder_Build(t *testing.T) { + u, _ := url.Parse("localhost:8089") cb := NewClientsetBuilder().WithConfig(&Config{ UseInsecureConnection: true, + Endpoint: config.URL{URL: *u}, }).WithTokenCache(&cache.TokenCacheInMemoryProvider{}) - _, err := cb.Build(context.Background()) + ctx := context.Background() + _, err := cb.Build(ctx) assert.NoError(t, err) assert.True(t, reflect.TypeOf(cb.tokenCache) == reflect.TypeOf(&cache.TokenCacheInMemoryProvider{})) } diff --git a/flyteidl/clients/go/admin/client_test.go b/flyteidl/clients/go/admin/client_test.go index 61326819fd..eb19b76f47 100644 --- a/flyteidl/clients/go/admin/client_test.go +++ b/flyteidl/clients/go/admin/client_test.go @@ -77,7 +77,8 @@ func TestGetAdditionalAdminClientConfigOptions(t *testing.T) { }) t.Run("legal-from-config", func(t *testing.T) { - clientSet, err := initializeClients(ctx, &Config{InsecureSkipVerify: true}, nil) + u, _ := url.Parse("localhost:8089") + clientSet, err := initializeClients(ctx, &Config{InsecureSkipVerify: true, Endpoint: config.URL{URL: *u}}, nil) assert.NoError(t, err) assert.NotNil(t, clientSet) assert.NotNil(t, clientSet.AuthMetadataClient()) @@ -85,12 +86,14 @@ func TestGetAdditionalAdminClientConfigOptions(t *testing.T) { assert.NotNil(t, clientSet.HealthServiceClient()) }) t.Run("legal-from-config-with-cacerts", func(t *testing.T) { - clientSet, err := initializeClients(ctx, &Config{CACertFilePath: "testdata/root.pem"}, nil) + u, _ := url.Parse("localhost:8089") + clientSet, err := initializeClients(ctx, &Config{CACertFilePath: "testdata/root.pem", Endpoint: config.URL{URL: *u}}, nil) assert.NoError(t, err) assert.NotNil(t, clientSet) assert.NotNil(t, clientSet.AuthMetadataClient()) assert.NotNil(t, clientSet.AdminClient()) }) + t.Run("legal-from-config-with-invalid-cacerts", func(t *testing.T) { defer func() { if r := recover(); r == nil { diff --git a/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go index 0e4c7bb72b..436d00d29a 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go @@ -5,10 +5,9 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go index 597052a8ea..d6f0efa314 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go @@ -5,9 +5,8 @@ package admin import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/common.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/common.pb.go index 3f1ac0c5a7..3703dfb22e 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/common.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/common.pb.go @@ -5,11 +5,10 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" _ "github.com/golang/protobuf/ptypes/timestamp" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.go index 7b4d552fb6..2b63707adf 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.go @@ -5,10 +5,9 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/event.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/event.pb.go index e1a2d8b538..d718496c80 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/event.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/event.pb.go @@ -5,10 +5,9 @@ package admin import ( fmt "fmt" - math "math" - event "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go index 834447e8e2..6df8b56f29 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go @@ -5,13 +5,12 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" timestamp "github.com/golang/protobuf/ptypes/timestamp" wrappers "github.com/golang/protobuf/ptypes/wrappers" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go index 17ec7e41d8..2b1826ae11 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go @@ -5,12 +5,11 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" wrappers "github.com/golang/protobuf/ptypes/wrappers" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go index 93b299d266..b721e43d73 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go @@ -5,11 +5,10 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" wrappers "github.com/golang/protobuf/ptypes/wrappers" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.go index b0f42492e6..9061872366 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.go @@ -5,12 +5,11 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.go index 9256eb3ba0..3e5480bbf9 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.go @@ -5,9 +5,8 @@ package admin import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/project.pb.go index 1280093f14..662d2311ac 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/project.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/project.pb.go @@ -5,9 +5,8 @@ package admin import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go index 6546cc0c5a..349d2cfd85 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go @@ -5,9 +5,8 @@ package admin import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go index 598e70f7dc..4708ef1e5e 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go @@ -5,9 +5,8 @@ package admin import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.go index 3d572e9082..52116abf93 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.go @@ -5,9 +5,8 @@ package admin import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.go index 89c6df5575..f71f6003ad 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.go @@ -5,10 +5,9 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/task.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/task.pb.go index 08ac9dd351..6125274763 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/task.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/task.pb.go @@ -5,11 +5,10 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.go index 81cdad8cdb..e4dd62374f 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.go @@ -5,14 +5,13 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" event "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" _struct "github.com/golang/protobuf/ptypes/struct" timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/version.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/version.pb.go index eeacc9bc50..e2c88d1e89 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/version.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/version.pb.go @@ -5,9 +5,8 @@ package admin import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.go index 5b93b6bcdb..0297513f72 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.go @@ -5,11 +5,10 @@ package admin import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go index da3657705b..5b3d82dce6 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go @@ -5,9 +5,8 @@ package admin import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.go b/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.go index 780a559b13..47675cbb7a 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.go b/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.go index 9377acc47c..e04866564d 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/condition.pb.go b/flyteidl/gen/pb-go/flyteidl/core/condition.pb.go index 7bfc3a5e55..9617f5bef4 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/condition.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/condition.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.go b/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.go index b9b82e8d08..5db3bbeb88 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/errors.pb.go b/flyteidl/gen/pb-go/flyteidl/core/errors.pb.go index 2c37b0afe1..301bbb4e94 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/errors.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/errors.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/execution.pb.go b/flyteidl/gen/pb-go/flyteidl/core/execution.pb.go index d467151c07..0a5d20005c 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/execution.pb.go @@ -5,10 +5,9 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.go b/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.go index f620d06bd4..4ea56b88f2 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go index 2fe384bdfc..d3af1639f4 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go index 967f5e9e54..0103c73b52 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go @@ -5,12 +5,11 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" _struct "github.com/golang/protobuf/ptypes/struct" timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go b/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go index 776f0f787f..447a918a48 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go @@ -5,10 +5,9 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/security.pb.go b/flyteidl/gen/pb-go/flyteidl/core/security.pb.go index f983dde250..32cc824530 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/security.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/security.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go b/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go index 416886aca7..8a67fb2670 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go @@ -5,11 +5,10 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" _struct "github.com/golang/protobuf/ptypes/struct" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/types.pb.go b/flyteidl/gen/pb-go/flyteidl/core/types.pb.go index 765d8a2de9..0ecd7ae507 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/types.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/types.pb.go @@ -5,10 +5,9 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go b/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go index 9b90274a6a..4c9d57f38b 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go @@ -5,10 +5,9 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.go b/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.go index a6481858d4..b52b6d4608 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.go @@ -5,9 +5,8 @@ package core import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go index bc01248126..73dcf41c4b 100644 --- a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go @@ -6,8 +6,6 @@ package datacatalog import ( context "context" fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" @@ -15,6 +13,7 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -98,6 +97,7 @@ func (PaginationOptions_SortKey) EnumDescriptor() ([]byte, []int) { return fileDescriptor_275951237ff4368a, []int{36, 1} } +// // Request message for creating a Dataset. type CreateDatasetRequest struct { Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` @@ -138,6 +138,7 @@ func (m *CreateDatasetRequest) GetDataset() *Dataset { return nil } +// // Response message for creating a Dataset type CreateDatasetResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -170,6 +171,7 @@ func (m *CreateDatasetResponse) XXX_DiscardUnknown() { var xxx_messageInfo_CreateDatasetResponse proto.InternalMessageInfo +// // Request message for retrieving a Dataset. The Dataset is retrieved by it's unique identifier // which is a combination of several fields. type GetDatasetRequest struct { @@ -211,6 +213,7 @@ func (m *GetDatasetRequest) GetDataset() *DatasetID { return nil } +// // Response message for retrieving a Dataset. The response will include the metadata for the // Dataset. type GetDatasetResponse struct { @@ -252,6 +255,7 @@ func (m *GetDatasetResponse) GetDataset() *Dataset { return nil } +// // Request message for retrieving an Artifact. Retrieve an artifact based on a query handle that // can be one of artifact_id or tag. The result returned will include the artifact data and metadata // associated with the artifact. @@ -343,6 +347,7 @@ func (*GetArtifactRequest) XXX_OneofWrappers() []interface{} { } } +// // Response message for retrieving an Artifact. The result returned will include the artifact data // and metadata associated with the artifact. type GetArtifactResponse struct { @@ -384,6 +389,7 @@ func (m *GetArtifactResponse) GetArtifact() *Artifact { return nil } +// // Request message for creating an Artifact and its associated artifact Data. type CreateArtifactRequest struct { Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` @@ -424,6 +430,7 @@ func (m *CreateArtifactRequest) GetArtifact() *Artifact { return nil } +// // Response message for creating an Artifact. type CreateArtifactResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -456,6 +463,7 @@ func (m *CreateArtifactResponse) XXX_DiscardUnknown() { var xxx_messageInfo_CreateArtifactResponse proto.InternalMessageInfo +// // Request message for tagging an Artifact. type AddTagRequest struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` @@ -496,6 +504,7 @@ func (m *AddTagRequest) GetTag() *Tag { return nil } +// // Response message for tagging an Artifact. type AddTagResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -737,6 +746,7 @@ func (m *ListDatasetsResponse) GetNextToken() string { return "" } +// // Request message for updating an Artifact and overwriting its associated ArtifactData. type UpdateArtifactRequest struct { // ID of dataset the artifact is associated with @@ -839,6 +849,7 @@ func (*UpdateArtifactRequest) XXX_OneofWrappers() []interface{} { } } +// // Response message for updating an Artifact. type UpdateArtifactResponse struct { // The unique ID of the artifact updated @@ -880,6 +891,7 @@ func (m *UpdateArtifactResponse) GetArtifactId() string { return "" } +// // ReservationID message that is composed of several string fields. type ReservationID struct { // The unique ID for the reserved dataset @@ -1189,6 +1201,7 @@ func (m *ReleaseReservationResponse) XXX_DiscardUnknown() { var xxx_messageInfo_ReleaseReservationResponse proto.InternalMessageInfo +// // Dataset message. It is uniquely identified by DatasetID. type Dataset struct { Id *DatasetID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -1245,6 +1258,7 @@ func (m *Dataset) GetPartitionKeys() []string { return nil } +// // An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair type Partition struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` @@ -1293,6 +1307,7 @@ func (m *Partition) GetValue() string { return "" } +// // DatasetID message that is composed of several string fields. type DatasetID struct { Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -1365,6 +1380,7 @@ func (m *DatasetID) GetUUID() string { return "" } +// // Artifact message. It is composed of several string fields. type Artifact struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -1453,6 +1469,7 @@ func (m *Artifact) GetCreatedAt() *timestamp.Timestamp { return nil } +// // ArtifactData that belongs to an artifact type ArtifactData struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` @@ -1501,6 +1518,7 @@ func (m *ArtifactData) GetValue() *core.Literal { return nil } +// // Tag message that is unique to a Dataset. It is associated to a single artifact and // can be retrieved by name later. type Tag struct { @@ -1558,6 +1576,7 @@ func (m *Tag) GetDataset() *DatasetID { return nil } +// // Metadata representation for artifacts and datasets type Metadata struct { KeyMap map[string]string `protobuf:"bytes,1,rep,name=key_map,json=keyMap,proto3" json:"key_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` diff --git a/flyteidl/gen/pb-go/flyteidl/event/event.pb.go b/flyteidl/gen/pb-go/flyteidl/event/event.pb.go index 592f9f343a..fdf5c08c6e 100644 --- a/flyteidl/gen/pb-go/flyteidl/event/event.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/event/event.pb.go @@ -5,12 +5,11 @@ package event import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.go index 8acb566873..5ad3bfdce9 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.go index 7e61d1e4ef..b60dbebf4c 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.go @@ -5,10 +5,9 @@ package plugins import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go index 817e8eedd0..86882fd35b 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go index 8d5a55deaa..aa56485d6a 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go @@ -5,10 +5,9 @@ package plugins import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go index 94d6a80493..dbf68eb61c 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go @@ -5,10 +5,9 @@ package plugins import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go index c0e797a626..ccb4eff2ac 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go @@ -5,10 +5,9 @@ package plugins import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go index 3681bc9f69..5dd2499e87 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.go index 380a580db2..2dc6422b6d 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.go index 929df7579f..84dda381a4 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.go index 9df7f3d996..6883115069 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go index fe41673b1f..f19e755f85 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/hyperparameter_tuning_job.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/hyperparameter_tuning_job.pb.go index 0e1481fd9c..a76984c375 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/hyperparameter_tuning_job.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/hyperparameter_tuning_job.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/parameter_ranges.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/parameter_ranges.pb.go index c20aac1503..e88cba07df 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/parameter_ranges.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/parameter_ranges.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/training_job.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/training_job.pb.go index f7b36978b6..04309161a9 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/training_job.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/sagemaker/training_job.pb.go @@ -5,10 +5,9 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" _ "github.com/golang/protobuf/ptypes/duration" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.go index 1be43fcf8e..1825fa266a 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.go @@ -5,10 +5,9 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.go index 4dea38ae52..d9f1006792 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.go @@ -5,9 +5,8 @@ package plugins import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.go index 2122bb316e..36c4a56679 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.go @@ -5,10 +5,9 @@ package plugins import ( fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go index 3e94c83487..60bc47c3ec 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go @@ -6,14 +6,13 @@ package service import ( context "context" fmt "fmt" - math "math" - admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/service/agent.pb.go b/flyteidl/gen/pb-go/flyteidl/service/agent.pb.go index 915d54d449..274daaf196 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/agent.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/agent.pb.go @@ -6,13 +6,12 @@ package service import ( context "context" fmt "fmt" - math "math" - admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/service/auth.pb.go b/flyteidl/gen/pb-go/flyteidl/service/auth.pb.go index 9c47eed1a3..aee87747d1 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/auth.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/auth.pb.go @@ -6,13 +6,12 @@ package service import ( context "context" fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go index e39491ad96..45f869e608 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go @@ -6,8 +6,6 @@ package service import ( context "context" fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" @@ -16,6 +14,7 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.pb.go b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.pb.go index 398c8455d0..ab64516b19 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.pb.go @@ -6,13 +6,12 @@ package service import ( context "context" fmt "fmt" - math "math" - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go index 5751a073e0..1ad9e1f583 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go @@ -11,12 +11,11 @@ package flyteadmin import ( "context" - "fmt" "io/ioutil" "net/http" "net/url" "strings" - + "fmt" "github.com/antihax/optional" ) @@ -27,19 +26,19 @@ var ( type AdminServiceApiService service -/* +/* AdminServiceApiService Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminExecutionCreateResponse */ func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body AdminExecutionCreateRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -87,48 +86,48 @@ func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminLaunchPlanCreateResponse */ func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body AdminLaunchPlanCreateRequest) (AdminLaunchPlanCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanCreateResponse ) @@ -176,48 +175,48 @@ func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body Admi if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminNodeExecutionEventResponse */ func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body AdminNodeExecutionEventRequest) (AdminNodeExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionEventResponse ) @@ -265,48 +264,48 @@ func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task` definition - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return FlyteidladminTaskCreateResponse */ func (a *AdminServiceApiService) CreateTask(ctx context.Context, body FlyteidladminTaskCreateRequest) (FlyteidladminTaskCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue FlyteidladminTaskCreateResponse ) @@ -354,48 +353,48 @@ func (a *AdminServiceApiService) CreateTask(ctx context.Context, body Flyteidlad if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v FlyteidladminTaskCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminTaskExecutionEventResponse */ func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body AdminTaskExecutionEventRequest) (AdminTaskExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionEventResponse ) @@ -443,48 +442,48 @@ func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminWorkflowCreateResponse */ func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminWorkflowCreateRequest) (AdminWorkflowCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowCreateResponse ) @@ -532,48 +531,48 @@ func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminW if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminWorkflowExecutionEventResponse */ func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body AdminWorkflowExecutionEventRequest) (AdminWorkflowExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowExecutionEventResponse ) @@ -621,49 +620,49 @@ func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body A if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param project Unique project id which this set of attributes references. +required - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Unique project id which this set of attributes references. +required + * @param body @return AdminProjectAttributesDeleteResponse */ func (a *AdminServiceApiService) DeleteProjectAttributes(ctx context.Context, project string, body AdminProjectAttributesDeleteRequest) (AdminProjectAttributesDeleteResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectAttributesDeleteResponse ) @@ -712,50 +711,50 @@ func (a *AdminServiceApiService) DeleteProjectAttributes(ctx context.Context, pr if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param project Unique project id which this set of attributes references. +required - - @param domain Unique domain id which this set of attributes references. +required - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Unique project id which this set of attributes references. +required + * @param domain Unique domain id which this set of attributes references. +required + * @param body @return AdminProjectDomainAttributesDeleteResponse */ func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Context, project string, domain string, body AdminProjectDomainAttributesDeleteRequest) (AdminProjectDomainAttributesDeleteResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesDeleteResponse ) @@ -805,51 +804,51 @@ func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Conte if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param project Unique project id which this set of attributes references. +required - - @param domain Unique domain id which this set of attributes references. +required - - @param workflow Workflow name which this set of attributes references. +required - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Unique project id which this set of attributes references. +required + * @param domain Unique domain id which this set of attributes references. +required + * @param workflow Workflow name which this set of attributes references. +required + * @param body @return AdminWorkflowAttributesDeleteResponse */ func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, body AdminWorkflowAttributesDeleteRequest) (AdminWorkflowAttributesDeleteResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesDeleteResponse ) @@ -900,50 +899,50 @@ func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, p if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' @return AdminLaunchPlan */ func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string) (AdminLaunchPlan, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlan ) @@ -992,52 +991,52 @@ func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idResourceType Identifies the specific type of resource that this identifier corresponds to. - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. - - @param idVersion Specific version of the resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idResourceType Identifies the specific type of resource that this identifier corresponds to. + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. + * @param idVersion Specific version of the resource. @return AdminDescriptionEntity */ func (a *AdminServiceApiService) GetDescriptionEntity(ctx context.Context, idResourceType string, idProject string, idDomain string, idName string, idVersion string) (AdminDescriptionEntity, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminDescriptionEntity ) @@ -1088,50 +1087,50 @@ func (a *AdminServiceApiService) GetDescriptionEntity(ctx context.Context, idRes if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminDescriptionEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.Execution`. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User or system provided value for the resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. @return AdminExecution */ func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject string, idDomain string, idName string) (AdminExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecution ) @@ -1180,50 +1179,50 @@ func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject str if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User or system provided value for the resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. @return AdminWorkflowExecutionGetDataResponse */ func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject string, idDomain string, idName string) (AdminWorkflowExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowExecutionGetDataResponse ) @@ -1272,36 +1271,36 @@ func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -1313,16 +1312,16 @@ AdminServiceApiService Fetches runtime metrics for a :ref:`ref_flyteidl.adm @return AdminWorkflowExecutionGetMetricsResponse */ -type GetExecutionMetricsOpts struct { +type GetExecutionMetricsOpts struct { Depth optional.Int32 } func (a *AdminServiceApiService) GetExecutionMetrics(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *GetExecutionMetricsOpts) (AdminWorkflowExecutionGetMetricsResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowExecutionGetMetricsResponse ) @@ -1374,36 +1373,36 @@ func (a *AdminServiceApiService) GetExecutionMetrics(ctx context.Context, idProj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowExecutionGetMetricsResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -1416,16 +1415,16 @@ AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` de @return AdminLaunchPlan */ -type GetLaunchPlanOpts struct { +type GetLaunchPlanOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetLaunchPlanOpts) (AdminLaunchPlan, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlan ) @@ -1478,51 +1477,51 @@ func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param resourceType Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param resourceType Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' @return AdminNamedEntity */ func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string) (AdminNamedEntity, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntity ) @@ -1572,51 +1571,51 @@ func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceTyp if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idExecutionIdProject Name of the project the resource belongs to. - - @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idExecutionIdName User or system provided value for the resource. - - @param idNodeId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idExecutionIdProject Name of the project the resource belongs to. + * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idExecutionIdName User or system provided value for the resource. + * @param idNodeId @return FlyteidladminNodeExecution */ func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (FlyteidladminNodeExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue FlyteidladminNodeExecution ) @@ -1666,51 +1665,51 @@ func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecuti if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v FlyteidladminNodeExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idExecutionIdProject Name of the project the resource belongs to. - - @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idExecutionIdName User or system provided value for the resource. - - @param idNodeId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idExecutionIdProject Name of the project the resource belongs to. + * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idExecutionIdName User or system provided value for the resource. + * @param idNodeId @return AdminNodeExecutionGetDataResponse */ func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (AdminNodeExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionGetDataResponse ) @@ -1760,36 +1759,36 @@ func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param project Unique project id which this set of attributes references. +required @@ -1799,16 +1798,16 @@ AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAtt @return AdminProjectAttributesGetResponse */ -type GetProjectAttributesOpts struct { +type GetProjectAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) GetProjectAttributes(ctx context.Context, project string, localVarOptionals *GetProjectAttributesOpts) (AdminProjectAttributesGetResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectAttributesGetResponse ) @@ -1858,36 +1857,36 @@ func (a *AdminServiceApiService) GetProjectAttributes(ctx context.Context, proje if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param project Unique project id which this set of attributes references. +required @@ -1898,16 +1897,16 @@ AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAtt @return AdminProjectDomainAttributesGetResponse */ -type GetProjectDomainAttributesOpts struct { +type GetProjectDomainAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, project string, domain string, localVarOptionals *GetProjectDomainAttributesOpts) (AdminProjectDomainAttributesGetResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesGetResponse ) @@ -1958,36 +1957,36 @@ func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Task` definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -2000,16 +1999,16 @@ AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Task` definiti @return AdminTask */ -type GetTaskOpts struct { +type GetTaskOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetTaskOpts) (AdminTask, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTask ) @@ -2062,36 +2061,36 @@ func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTask - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. @@ -2109,16 +2108,16 @@ AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.TaskExecution @return FlyteidladminTaskExecution */ -type GetTaskExecutionOpts struct { +type GetTaskExecutionOpts struct { IdTaskIdResourceType optional.String } func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionOpts) (FlyteidladminTaskExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue FlyteidladminTaskExecution ) @@ -2176,36 +2175,36 @@ func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v FlyteidladminTaskExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. @@ -2223,16 +2222,16 @@ AdminServiceApiService Fetches input and output data for a :ref:`ref_flytei @return AdminTaskExecutionGetDataResponse */ -type GetTaskExecutionDataOpts struct { +type GetTaskExecutionDataOpts struct { IdTaskIdResourceType optional.String } func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionDataOpts) (AdminTaskExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionGetDataResponse ) @@ -2290,47 +2289,47 @@ func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNod if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminGetVersionResponse */ func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersionResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminGetVersionResponse ) @@ -2376,36 +2375,36 @@ func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersio if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminGetVersionResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -2418,16 +2417,16 @@ AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Workflow` defi @return AdminWorkflow */ -type GetWorkflowOpts struct { +type GetWorkflowOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetWorkflowOpts) (AdminWorkflow, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflow ) @@ -2480,36 +2479,36 @@ func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject stri if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflow - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param project Unique project id which this set of attributes references. +required @@ -2521,16 +2520,16 @@ AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAtt @return AdminWorkflowAttributesGetResponse */ -type GetWorkflowAttributesOpts struct { +type GetWorkflowAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, localVarOptionals *GetWorkflowAttributesOpts) (AdminWorkflowAttributesGetResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesGetResponse ) @@ -2582,36 +2581,36 @@ func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, proj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param project Name of the project that contains the identifiers. +required. @@ -2625,19 +2624,19 @@ AdminServiceApiService List active versions of :ref:`ref_flyteidl.admin.Lau @return AdminLaunchPlanList */ -type ListActiveLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListActiveLaunchPlansOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, project string, domain string, localVarOptionals *ListActiveLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -2697,36 +2696,36 @@ func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, proj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param resourceType Identifies the specific type of resource that this identifier corresponds to. @@ -2743,20 +2742,20 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Description @return AdminDescriptionEntityList */ -type ListDescriptionEntitiesOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListDescriptionEntitiesOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListDescriptionEntities(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, localVarOptionals *ListDescriptionEntitiesOpts) (AdminDescriptionEntityList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminDescriptionEntityList ) @@ -2821,36 +2820,36 @@ func (a *AdminServiceApiService) ListDescriptionEntities(ctx context.Context, re if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminDescriptionEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param resourceType Identifies the specific type of resource that this identifier corresponds to. @@ -2867,21 +2866,21 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Description @return AdminDescriptionEntityList */ -type ListDescriptionEntities2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListDescriptionEntities2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListDescriptionEntities2(ctx context.Context, resourceType string, idProject string, idDomain string, localVarOptionals *ListDescriptionEntities2Opts) (AdminDescriptionEntityList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminDescriptionEntityList ) @@ -2948,36 +2947,36 @@ func (a *AdminServiceApiService) ListDescriptionEntities2(ctx context.Context, r if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminDescriptionEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Execution`. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -2993,21 +2992,21 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Execution&# @return AdminExecutionList */ -type ListExecutionsOpts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListExecutionsOpts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListExecutionsOpts) (AdminExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionList ) @@ -3073,36 +3072,36 @@ func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject s if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param project Name of the project that contains the identifiers. +required @@ -3117,20 +3116,20 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntity @return AdminNamedEntityIdentifierList */ -type ListLaunchPlanIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListLaunchPlanIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project string, domain string, localVarOptionals *ListLaunchPlanIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -3193,36 +3192,36 @@ func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -3238,20 +3237,20 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan& @return AdminLaunchPlanList */ -type ListLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListLaunchPlansOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -3315,36 +3314,36 @@ func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -3360,21 +3359,21 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan& @return AdminLaunchPlanList */ -type ListLaunchPlans2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListLaunchPlans2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListLaunchPlans2Opts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -3440,36 +3439,36 @@ func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param optional nil or *ListMatchableAttributesOpts - Optional Parameters: @@ -3478,16 +3477,16 @@ AdminServiceApiService Lists custom :ref:`ref_flyteidl.admin.MatchableAttri @return AdminListMatchableAttributesResponse */ -type ListMatchableAttributesOpts struct { +type ListMatchableAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, localVarOptionals *ListMatchableAttributesOpts) (AdminListMatchableAttributesResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminListMatchableAttributesResponse ) @@ -3536,36 +3535,36 @@ func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, lo if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminListMatchableAttributesResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param resourceType Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required @@ -3581,20 +3580,20 @@ AdminServiceApiService Returns a list of :ref:`ref_flyteidl.admin.NamedEnti @return AdminNamedEntityList */ -type ListNamedEntitiesOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListNamedEntitiesOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resourceType string, project string, domain string, localVarOptionals *ListNamedEntitiesOpts) (AdminNamedEntityList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityList ) @@ -3658,36 +3657,36 @@ func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resource if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param workflowExecutionIdProject Name of the project the resource belongs to. @@ -3695,7 +3694,7 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecuti * @param workflowExecutionIdName User or system provided value for the resource. * @param optional nil or *ListNodeExecutionsOpts - Optional Parameters: * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - + * @param "Token" (optional.String) - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. @@ -3704,21 +3703,21 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecuti @return AdminNodeExecutionList */ -type ListNodeExecutionsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListNodeExecutionsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String - UniqueParentId optional.String + UniqueParentId optional.String } func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflowExecutionIdProject string, workflowExecutionIdDomain string, workflowExecutionIdName string, localVarOptionals *ListNodeExecutionsOpts) (AdminNodeExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionList ) @@ -3785,36 +3784,36 @@ func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflo if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param taskExecutionIdNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. @@ -3837,21 +3836,21 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecuti @return AdminNodeExecutionList */ -type ListNodeExecutionsForTaskOpts struct { +type ListNodeExecutionsForTaskOpts struct { TaskExecutionIdTaskIdResourceType optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String } func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, taskExecutionIdNodeExecutionIdExecutionIdProject string, taskExecutionIdNodeExecutionIdExecutionIdDomain string, taskExecutionIdNodeExecutionIdExecutionIdName string, taskExecutionIdNodeExecutionIdNodeId string, taskExecutionIdTaskIdProject string, taskExecutionIdTaskIdDomain string, taskExecutionIdTaskIdName string, taskExecutionIdTaskIdVersion string, taskExecutionIdRetryAttempt int64, localVarOptionals *ListNodeExecutionsForTaskOpts) (AdminNodeExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionList ) @@ -3924,36 +3923,36 @@ func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.Project` * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param optional nil or *ListProjectsOpts - Optional Parameters: @@ -3966,20 +3965,20 @@ AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.Project&# @return AdminProjects */ -type ListProjectsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListProjectsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptionals *ListProjectsOpts) (AdminProjects, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjects ) @@ -4040,36 +4039,36 @@ func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjects - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param nodeExecutionIdExecutionIdProject Name of the project the resource belongs to. @@ -4086,20 +4085,20 @@ AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.TaskExecu @return AdminTaskExecutionList */ -type ListTaskExecutionsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTaskExecutionsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExecutionIdExecutionIdProject string, nodeExecutionIdExecutionIdDomain string, nodeExecutionIdExecutionIdName string, nodeExecutionIdNodeId string, localVarOptionals *ListTaskExecutionsOpts) (AdminTaskExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionList ) @@ -4164,36 +4163,36 @@ func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param project Name of the project that contains the identifiers. +required @@ -4208,20 +4207,20 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntity @return AdminNamedEntityIdentifierList */ -type ListTaskIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListTaskIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string, domain string, localVarOptionals *ListTaskIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -4284,36 +4283,36 @@ func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -4329,20 +4328,20 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` @return AdminTaskList */ -type ListTasksOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTasksOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListTasksOpts) (AdminTaskList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskList ) @@ -4406,36 +4405,36 @@ func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -4451,21 +4450,21 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` @return AdminTaskList */ -type ListTasks2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTasks2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListTasks2Opts) (AdminTaskList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskList ) @@ -4531,36 +4530,36 @@ func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idProject strin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param project Name of the project that contains the identifiers. +required @@ -4575,20 +4574,20 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntity @return AdminNamedEntityIdentifierList */ -type ListWorkflowIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListWorkflowIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project string, domain string, localVarOptionals *ListWorkflowIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -4651,36 +4650,36 @@ func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -4696,20 +4695,20 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow&#x @return AdminWorkflowList */ -type ListWorkflowsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListWorkflowsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListWorkflowsOpts) (AdminWorkflowList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowList ) @@ -4773,36 +4772,36 @@ func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param idProject Name of the project the resource belongs to. @@ -4818,21 +4817,21 @@ AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow&#x @return AdminWorkflowList */ -type ListWorkflows2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListWorkflows2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListWorkflows2Opts) (AdminWorkflowList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowList ) @@ -4898,48 +4897,48 @@ func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject s if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminExecutionCreateResponse */ func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body AdminExecutionRecoverRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -4987,48 +4986,48 @@ func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body Admi if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminProjectRegisterResponse */ func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body AdminProjectRegisterRequest) (AdminProjectRegisterResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectRegisterResponse ) @@ -5076,48 +5075,48 @@ func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectRegisterResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminExecutionCreateResponse */ func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body AdminExecutionRelaunchRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -5165,51 +5164,51 @@ func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body Adm if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User or system provided value for the resource. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. + * @param body @return AdminExecutionTerminateResponse */ func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionTerminateRequest) (AdminExecutionTerminateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionTerminateResponse ) @@ -5260,51 +5259,51 @@ func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProje if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionTerminateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User or system provided value for the resource. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. + * @param body @return AdminExecutionUpdateResponse */ func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionUpdateRequest) (AdminExecutionUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionUpdateResponse ) @@ -5355,52 +5354,52 @@ func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. - - @param idVersion Specific version of the resource. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. + * @param idVersion Specific version of the resource. + * @param body @return AdminLaunchPlanUpdateResponse */ func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, body AdminLaunchPlanUpdateRequest) (AdminLaunchPlanUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanUpdateResponse ) @@ -5452,52 +5451,52 @@ func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param resourceType Resource type of the metadata to update +required - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param resourceType Resource type of the metadata to update +required + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param body @return AdminNamedEntityUpdateResponse */ func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, body AdminNamedEntityUpdateRequest) (AdminNamedEntityUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityUpdateResponse ) @@ -5549,49 +5548,49 @@ func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resource if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param id Globally unique project name. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param id Globally unique project name. + * @param body @return AdminProjectUpdateResponse */ func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, body AdminProject) (AdminProjectUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectUpdateResponse ) @@ -5640,49 +5639,49 @@ func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, b if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param attributesProject Unique project id for which this set of attributes will be applied. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param attributesProject Unique project id for which this set of attributes will be applied. + * @param body @return AdminProjectAttributesUpdateResponse */ func (a *AdminServiceApiService) UpdateProjectAttributes(ctx context.Context, attributesProject string, body AdminProjectAttributesUpdateRequest) (AdminProjectAttributesUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectAttributesUpdateResponse ) @@ -5731,50 +5730,50 @@ func (a *AdminServiceApiService) UpdateProjectAttributes(ctx context.Context, at if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param attributesProject Unique project id for which this set of attributes will be applied. - - @param attributesDomain Unique domain id for which this set of attributes will be applied. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param attributesProject Unique project id for which this set of attributes will be applied. + * @param attributesDomain Unique domain id for which this set of attributes will be applied. + * @param body @return AdminProjectDomainAttributesUpdateResponse */ func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Context, attributesProject string, attributesDomain string, body AdminProjectDomainAttributesUpdateRequest) (AdminProjectDomainAttributesUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesUpdateResponse ) @@ -5824,51 +5823,51 @@ func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Conte if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param attributesProject Unique project id for which this set of attributes will be applied. - - @param attributesDomain Unique domain id for which this set of attributes will be applied. - - @param attributesWorkflow Workflow name for which this set of attributes will be applied. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param attributesProject Unique project id for which this set of attributes will be applied. + * @param attributesDomain Unique domain id for which this set of attributes will be applied. + * @param attributesWorkflow Workflow name for which this set of attributes will be applied. + * @param body @return AdminWorkflowAttributesUpdateResponse */ func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, attributesProject string, attributesDomain string, attributesWorkflow string, body AdminWorkflowAttributesUpdateRequest) (AdminWorkflowAttributesUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesUpdateResponse ) @@ -5919,29 +5918,29 @@ func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, a if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/client.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/client.go index 9b5b227be7..8fd676821e 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/client.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/client.go @@ -300,17 +300,17 @@ func (c *APIClient) prepareRequest( } func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { - if strings.Contains(contentType, "application/xml") { - if err = xml.Unmarshal(b, v); err != nil { - return err - } - return nil - } else if strings.Contains(contentType, "application/json") { - if err = json.Unmarshal(b, v); err != nil { - return err + if strings.Contains(contentType, "application/xml") { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } else if strings.Contains(contentType, "application/json") { + if err = json.Unmarshal(b, v); err != nil { + return err + } + return nil } - return nil - } return errors.New("undefined response type") } @@ -461,4 +461,4 @@ func (e GenericSwaggerError) Body() []byte { // Model returns the unpacked model of the error func (e GenericSwaggerError) Model() interface{} { return e.model -} +} \ No newline at end of file diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go index 2f6f2e95dc..f2bd1e1146 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go @@ -12,6 +12,6 @@ package flyteadmin // Specifies metadata around an aborted workflow execution. type AdminAbortMetadata struct { // In the case of a user-specified abort, this will pass along the user-supplied cause. - Cause string `json:"cause,omitempty"` + Cause string `json:"cause,omitempty"` Principal string `json:"principal,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go index 87a32e2ec1..fa40dd16bc 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go @@ -12,5 +12,5 @@ package flyteadmin // Options for schedules to run according to a cron expression. type AdminCronSchedule struct { Schedule string `json:"schedule,omitempty"` - Offset string `json:"offset,omitempty"` + Offset string `json:"offset,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description.go index dbcca9eb0a..6e696d7c12 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description.go @@ -11,8 +11,8 @@ package flyteadmin // Full user description with formatting preserved. This can be rendered by clients, such as the console or command line tools with in-tact formatting. type AdminDescription struct { - Value string `json:"value,omitempty"` - Uri string `json:"uri,omitempty"` - Format *AdminDescriptionFormat `json:"format,omitempty"` - IconLink string `json:"icon_link,omitempty"` + Value string `json:"value,omitempty"` + Uri string `json:"uri,omitempty"` + Format *AdminDescriptionFormat `json:"format,omitempty"` + IconLink string `json:"icon_link,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_format.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_format.go index 8c15023457..c392910277 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_format.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_format.go @@ -8,14 +8,13 @@ */ package flyteadmin - // AdminDescriptionFormat : - DESCRIPTION_FORMAT_RST: python default documentation - comments is rst type AdminDescriptionFormat string // List of adminDescriptionFormat const ( - AdminDescriptionFormatUNKNOWN AdminDescriptionFormat = "DESCRIPTION_FORMAT_UNKNOWN" + AdminDescriptionFormatUNKNOWN AdminDescriptionFormat = "DESCRIPTION_FORMAT_UNKNOWN" AdminDescriptionFormatMARKDOWN AdminDescriptionFormat = "DESCRIPTION_FORMAT_MARKDOWN" - AdminDescriptionFormatHTML AdminDescriptionFormat = "DESCRIPTION_FORMAT_HTML" - AdminDescriptionFormatRST AdminDescriptionFormat = "DESCRIPTION_FORMAT_RST" + AdminDescriptionFormatHTML AdminDescriptionFormat = "DESCRIPTION_FORMAT_HTML" + AdminDescriptionFormatRST AdminDescriptionFormat = "DESCRIPTION_FORMAT_RST" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go index e166e5ac77..831dcb9d02 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go @@ -23,7 +23,7 @@ type AdminExecutionClosure struct { // In the case of a user-specified abort, this will pass along the user and their supplied cause. AbortMetadata *AdminAbortMetadata `json:"abort_metadata,omitempty"` // Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` + OutputData *CoreLiteralMap `json:"output_data,omitempty"` ComputedInputs *CoreLiteralMap `json:"computed_inputs,omitempty"` // Most recent recorded phase for the execution. Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` @@ -38,6 +38,6 @@ type AdminExecutionClosure struct { // The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. Notifications []AdminNotification `json:"notifications,omitempty"` // Identifies the workflow definition for this execution. - WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` + WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` StateChangeDetails *AdminExecutionStateChangeDetails `json:"state_change_details,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go index 3ccc424c25..b8da1d4fca 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go @@ -11,9 +11,9 @@ package flyteadmin // Request to launch an execution with the given project, domain and optionally-assigned name. type AdminExecutionCreateRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` - Spec *AdminExecutionSpec `json:"spec,omitempty"` - Inputs *CoreLiteralMap `json:"inputs,omitempty"` + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` + Name string `json:"name,omitempty"` + Spec *AdminExecutionSpec `json:"spec,omitempty"` + Inputs *CoreLiteralMap `json:"inputs,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go index 8a0b5c0a8a..9db8ddfd7f 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go @@ -21,7 +21,7 @@ type AdminExecutionMetadata struct { // Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. Nesting int64 `json:"nesting,omitempty"` // For scheduled executions, the requested time for execution for this specific schedule invocation. - ScheduledAt time.Time `json:"scheduled_at,omitempty"` + ScheduledAt time.Time `json:"scheduled_at,omitempty"` ParentNodeExecution *CoreNodeExecutionIdentifier `json:"parent_node_execution,omitempty"` // Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. ReferenceExecution *CoreWorkflowExecutionIdentifier `json:"reference_execution,omitempty"` diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go index ec74645374..571e0013f9 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go @@ -12,8 +12,8 @@ package flyteadmin // Request to recover the referenced execution. type AdminExecutionRecoverRequest struct { // Identifier of the workflow execution to recover. - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - Name string `json:"name,omitempty"` + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + Name string `json:"name,omitempty"` // Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go index 0be4d207d8..0f8ccc51c0 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go @@ -11,8 +11,8 @@ package flyteadmin // Request to relaunch the referenced execution. type AdminExecutionRelaunchRequest struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - Name string `json:"name,omitempty"` + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + Name string `json:"name,omitempty"` // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. OverwriteCache bool `json:"overwrite_cache,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go index 4a9d287e72..3c9dc0ffdb 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go @@ -11,9 +11,9 @@ package flyteadmin // An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime of an execution as it progresses across phase changes. type AdminExecutionSpec struct { - LaunchPlan *CoreIdentifier `json:"launch_plan,omitempty"` - Inputs *CoreLiteralMap `json:"inputs,omitempty"` - Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` + LaunchPlan *CoreIdentifier `json:"launch_plan,omitempty"` + Inputs *CoreLiteralMap `json:"inputs,omitempty"` + Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` // List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. Notifications *AdminNotificationList `json:"notifications,omitempty"` // This should be set to true if all notifications are intended to be disabled for this execution. @@ -29,7 +29,7 @@ type AdminExecutionSpec struct { // Indicates the runtime priority of the execution. QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` // Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. - MaxParallelism int32 `json:"max_parallelism,omitempty"` + MaxParallelism int32 `json:"max_parallelism,omitempty"` RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` // Controls how to select an available cluster on which this execution should run. ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go index 306d6b8dbd..c67d546f89 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go @@ -8,12 +8,11 @@ */ package flyteadmin - // AdminExecutionState : The state of the execution is used to control its visibility in the UI/CLI. - EXECUTION_ACTIVE: By default, all executions are considered active. - EXECUTION_ARCHIVED: Archived executions are no longer visible in the UI. type AdminExecutionState string // List of adminExecutionState const ( - AdminExecutionStateACTIVE AdminExecutionState = "EXECUTION_ACTIVE" + AdminExecutionStateACTIVE AdminExecutionState = "EXECUTION_ACTIVE" AdminExecutionStateARCHIVED AdminExecutionState = "EXECUTION_ARCHIVED" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go index e13f2c24e7..44e3d275a0 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go @@ -18,5 +18,5 @@ type AdminExecutionStateChangeDetails struct { State *AdminExecutionState `json:"state,omitempty"` // This timestamp represents when the state changed. OccurredAt time.Time `json:"occurred_at,omitempty"` - Principal string `json:"principal,omitempty"` + Principal string `json:"principal,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go index 910f10fe6e..681eb05ed9 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go @@ -10,6 +10,6 @@ package flyteadmin type AdminExecutionUpdateRequest struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - State *AdminExecutionState `json:"state,omitempty"` + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + State *AdminExecutionState `json:"state,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go index 4a6de17fa4..b92e2a45e2 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go @@ -11,6 +11,6 @@ package flyteadmin // Option for schedules run at a certain frequency e.g. every 2 minutes. type AdminFixedRate struct { - Value int64 `json:"value,omitempty"` - Unit *AdminFixedRateUnit `json:"unit,omitempty"` + Value int64 `json:"value,omitempty"` + Unit *AdminFixedRateUnit `json:"unit,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go index 7ad83474ba..4a6dd4877a 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go @@ -8,13 +8,12 @@ */ package flyteadmin - // AdminFixedRateUnit : Represents a frequency at which to run a schedule. type AdminFixedRateUnit string // List of adminFixedRateUnit const ( AdminFixedRateUnitMINUTE AdminFixedRateUnit = "MINUTE" - AdminFixedRateUnitHOUR AdminFixedRateUnit = "HOUR" - AdminFixedRateUnitDAY AdminFixedRateUnit = "DAY" + AdminFixedRateUnitHOUR AdminFixedRateUnit = "HOUR" + AdminFixedRateUnitDAY AdminFixedRateUnit = "DAY" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go index b0d74055df..6b8a49a661 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go @@ -11,7 +11,7 @@ package flyteadmin // These URLs are returned as part of node and task execution data requests. type AdminFlyteUrLs struct { - Inputs string `json:"inputs,omitempty"` + Inputs string `json:"inputs,omitempty"` Outputs string `json:"outputs,omitempty"` - Deck string `json:"deck,omitempty"` + Deck string `json:"deck,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go index d6aa0a0550..540110cb0f 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go @@ -16,9 +16,9 @@ import ( // Values computed by the flyte platform after launch plan registration. These include expected_inputs required to be present in a CreateExecutionRequest to launch the reference workflow as well timestamp values associated with the launch plan. type AdminLaunchPlanClosure struct { // Indicate the Launch plan state. - State *AdminLaunchPlanState `json:"state,omitempty"` - ExpectedInputs *CoreParameterMap `json:"expected_inputs,omitempty"` - ExpectedOutputs *CoreVariableMap `json:"expected_outputs,omitempty"` + State *AdminLaunchPlanState `json:"state,omitempty"` + ExpectedInputs *CoreParameterMap `json:"expected_inputs,omitempty"` + ExpectedOutputs *CoreVariableMap `json:"expected_outputs,omitempty"` // Time at which the launch plan was created. CreatedAt time.Time `json:"created_at,omitempty"` // Time at which the launch plan was last updated. diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go index 3260b1b039..f368501cd8 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go @@ -11,6 +11,6 @@ package flyteadmin // Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch the reference workflow. type AdminLaunchPlanMetadata struct { - Schedule *AdminSchedule `json:"schedule,omitempty"` + Schedule *AdminSchedule `json:"schedule,omitempty"` Notifications []AdminNotification `json:"notifications,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go index ca1b6c5475..52a7ad3dac 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go @@ -11,20 +11,20 @@ package flyteadmin // User-provided launch plan definition and configuration values. type AdminLaunchPlanSpec struct { - WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` + WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` EntityMetadata *AdminLaunchPlanMetadata `json:"entity_metadata,omitempty"` // Input values to be passed for the execution. These can be overridden when an execution is created with this launch plan. DefaultInputs *CoreParameterMap `json:"default_inputs,omitempty"` // Fixed, non-overridable inputs for the Launch Plan. These can not be overridden when an execution is created with this launch plan. FixedInputs *CoreLiteralMap `json:"fixed_inputs,omitempty"` - Role string `json:"role,omitempty"` + Role string `json:"role,omitempty"` // Custom labels to be applied to the execution resource. Labels *AdminLabels `json:"labels,omitempty"` // Custom annotations to be applied to the execution resource. Annotations *AdminAnnotations `json:"annotations,omitempty"` // Indicates the permission associated with workflow executions triggered with this launch plan. - Auth *AdminAuth `json:"auth,omitempty"` - AuthRole *AdminAuthRole `json:"auth_role,omitempty"` + Auth *AdminAuth `json:"auth,omitempty"` + AuthRole *AdminAuthRole `json:"auth_role,omitempty"` SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` // Indicates the runtime priority of the execution. QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go index da3902a397..f0a1d32782 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go @@ -8,12 +8,11 @@ */ package flyteadmin - // AdminLaunchPlanState : By default any launch plan regardless of state can be used to launch a workflow execution. However, at most one version of a launch plan (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier group will be observed and trigger executions at a defined cadence. type AdminLaunchPlanState string // List of adminLaunchPlanState const ( AdminLaunchPlanStateINACTIVE AdminLaunchPlanState = "INACTIVE" - AdminLaunchPlanStateACTIVE AdminLaunchPlanState = "ACTIVE" + AdminLaunchPlanStateACTIVE AdminLaunchPlanState = "ACTIVE" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go index f5dc3399e6..ac5e29d42c 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go @@ -11,5 +11,5 @@ package flyteadmin type AdminLiteralMapBlob struct { Values *CoreLiteralMap `json:"values,omitempty"` - Uri string `json:"uri,omitempty"` + Uri string `json:"uri,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go index daba0caaf9..df6a99884c 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go @@ -12,8 +12,8 @@ package flyteadmin // Represents a custom set of attributes applied for either a domain; a domain and project; or domain, project and workflow name. These are used to override system level defaults for kubernetes cluster resource management, default execution values, and more all across different levels of specificity. type AdminMatchableAttributesConfiguration struct { Attributes *AdminMatchingAttributes `json:"attributes,omitempty"` - Domain string `json:"domain,omitempty"` - Project string `json:"project,omitempty"` - Workflow string `json:"workflow,omitempty"` - LaunchPlan string `json:"launch_plan,omitempty"` + Domain string `json:"domain,omitempty"` + Project string `json:"project,omitempty"` + Workflow string `json:"workflow,omitempty"` + LaunchPlan string `json:"launch_plan,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go index df4a350bba..411a7becc0 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go @@ -8,18 +8,17 @@ */ package flyteadmin - // AdminMatchableResource : Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes based on matching tags. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. type AdminMatchableResource string // List of adminMatchableResource const ( - AdminMatchableResourceTASK_RESOURCE AdminMatchableResource = "TASK_RESOURCE" - AdminMatchableResourceCLUSTER_RESOURCE AdminMatchableResource = "CLUSTER_RESOURCE" - AdminMatchableResourceEXECUTION_QUEUE AdminMatchableResource = "EXECUTION_QUEUE" - AdminMatchableResourceEXECUTION_CLUSTER_LABEL AdminMatchableResource = "EXECUTION_CLUSTER_LABEL" + AdminMatchableResourceTASK_RESOURCE AdminMatchableResource = "TASK_RESOURCE" + AdminMatchableResourceCLUSTER_RESOURCE AdminMatchableResource = "CLUSTER_RESOURCE" + AdminMatchableResourceEXECUTION_QUEUE AdminMatchableResource = "EXECUTION_QUEUE" + AdminMatchableResourceEXECUTION_CLUSTER_LABEL AdminMatchableResource = "EXECUTION_CLUSTER_LABEL" AdminMatchableResourceQUALITY_OF_SERVICE_SPECIFICATION AdminMatchableResource = "QUALITY_OF_SERVICE_SPECIFICATION" - AdminMatchableResourcePLUGIN_OVERRIDE AdminMatchableResource = "PLUGIN_OVERRIDE" - AdminMatchableResourceWORKFLOW_EXECUTION_CONFIG AdminMatchableResource = "WORKFLOW_EXECUTION_CONFIG" - AdminMatchableResourceCLUSTER_ASSIGNMENT AdminMatchableResource = "CLUSTER_ASSIGNMENT" + AdminMatchableResourcePLUGIN_OVERRIDE AdminMatchableResource = "PLUGIN_OVERRIDE" + AdminMatchableResourceWORKFLOW_EXECUTION_CONFIG AdminMatchableResource = "WORKFLOW_EXECUTION_CONFIG" + AdminMatchableResourceCLUSTER_ASSIGNMENT AdminMatchableResource = "CLUSTER_ASSIGNMENT" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go index c9f2f02754..2af9b6d702 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go @@ -11,12 +11,12 @@ package flyteadmin // Generic container for encapsulating all types of the above attributes messages. type AdminMatchingAttributes struct { - TaskResourceAttributes *AdminTaskResourceAttributes `json:"task_resource_attributes,omitempty"` + TaskResourceAttributes *AdminTaskResourceAttributes `json:"task_resource_attributes,omitempty"` ClusterResourceAttributes *AdminClusterResourceAttributes `json:"cluster_resource_attributes,omitempty"` - ExecutionQueueAttributes *AdminExecutionQueueAttributes `json:"execution_queue_attributes,omitempty"` - ExecutionClusterLabel *AdminExecutionClusterLabel `json:"execution_cluster_label,omitempty"` - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - PluginOverrides *AdminPluginOverrides `json:"plugin_overrides,omitempty"` - WorkflowExecutionConfig *AdminWorkflowExecutionConfig `json:"workflow_execution_config,omitempty"` - ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` + ExecutionQueueAttributes *AdminExecutionQueueAttributes `json:"execution_queue_attributes,omitempty"` + ExecutionClusterLabel *AdminExecutionClusterLabel `json:"execution_cluster_label,omitempty"` + QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` + PluginOverrides *AdminPluginOverrides `json:"plugin_overrides,omitempty"` + WorkflowExecutionConfig *AdminWorkflowExecutionConfig `json:"workflow_execution_config,omitempty"` + ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go index d3e11e0b3c..6239ddb45a 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go @@ -12,8 +12,8 @@ package flyteadmin // Encapsulates information common to a NamedEntity, a Flyte resource such as a task, workflow or launch plan. A NamedEntity is exclusively identified by its resource type and identifier. type AdminNamedEntity struct { // Resource type of the named entity. One of Task, Workflow or LaunchPlan. - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - Id *AdminNamedEntityIdentifier `json:"id,omitempty"` + ResourceType *CoreResourceType `json:"resource_type,omitempty"` + Id *AdminNamedEntityIdentifier `json:"id,omitempty"` // Additional metadata around a named entity. Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go index c6e36319e0..9fa96c57b2 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go @@ -15,5 +15,5 @@ type AdminNamedEntityIdentifier struct { Project string `json:"project,omitempty"` // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` + Name string `json:"name,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go index de574e1b99..eed0505492 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go @@ -8,13 +8,12 @@ */ package flyteadmin - // AdminNamedEntityState : The status of the named entity is used to control its visibility in the UI. - NAMED_ENTITY_ACTIVE: By default, all named entities are considered active and under development. - NAMED_ENTITY_ARCHIVED: Archived named entities are no longer visible in the UI. - SYSTEM_GENERATED: System generated entities that aren't explicitly created or managed by a user. type AdminNamedEntityState string // List of adminNamedEntityState const ( - AdminNamedEntityStateNAMED_ENTITY_ACTIVE AdminNamedEntityState = "NAMED_ENTITY_ACTIVE" + AdminNamedEntityStateNAMED_ENTITY_ACTIVE AdminNamedEntityState = "NAMED_ENTITY_ACTIVE" AdminNamedEntityStateNAMED_ENTITY_ARCHIVED AdminNamedEntityState = "NAMED_ENTITY_ARCHIVED" - AdminNamedEntityStateSYSTEM_GENERATED AdminNamedEntityState = "SYSTEM_GENERATED" + AdminNamedEntityStateSYSTEM_GENERATED AdminNamedEntityState = "SYSTEM_GENERATED" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go index 2596276eae..66fb02ea37 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go @@ -11,7 +11,7 @@ package flyteadmin // Request to set the referenced named entity state to the configured value. type AdminNamedEntityUpdateRequest struct { - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - Id *AdminNamedEntityIdentifier `json:"id,omitempty"` - Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` + ResourceType *CoreResourceType `json:"resource_type,omitempty"` + Id *AdminNamedEntityIdentifier `json:"id,omitempty"` + Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go index 4ce61a3af3..a522ec663e 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go @@ -16,8 +16,8 @@ import ( // Container for node execution details and results. type AdminNodeExecutionClosure struct { // Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` // Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. OutputData *CoreLiteralMap `json:"output_data,omitempty"` // The last recorded phase for this node execution. @@ -29,10 +29,10 @@ type AdminNodeExecutionClosure struct { // Time at which the node execution was created. CreatedAt time.Time `json:"created_at,omitempty"` // Time at which the node execution was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` + UpdatedAt time.Time `json:"updated_at,omitempty"` WorkflowNodeMetadata *FlyteidladminWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` - TaskNodeMetadata *FlyteidladminTaskNodeMetadata `json:"task_node_metadata,omitempty"` - DeckUri string `json:"deck_uri,omitempty"` + TaskNodeMetadata *FlyteidladminTaskNodeMetadata `json:"task_node_metadata,omitempty"` + DeckUri string `json:"deck_uri,omitempty"` // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. DynamicJobSpecUri string `json:"dynamic_job_spec_uri,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go index dcaa570e7d..0ab85da7cc 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go @@ -21,5 +21,5 @@ type AdminNodeExecutionGetDataResponse struct { FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. DynamicWorkflow *FlyteidladminDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` - FlyteUrls *AdminFlyteUrLs `json:"flyte_urls,omitempty"` + FlyteUrls *AdminFlyteUrLs `json:"flyte_urls,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go index 36f87c5e9c..08ad839a7e 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go @@ -13,8 +13,8 @@ type AdminNodeExecutionMetaData struct { // Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. RetryGroup string `json:"retry_group,omitempty"` // Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. - IsParentNode bool `json:"is_parent_node,omitempty"` - SpecNodeId string `json:"spec_node_id,omitempty"` + IsParentNode bool `json:"is_parent_node,omitempty"` + SpecNodeId string `json:"spec_node_id,omitempty"` // Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. IsDynamic bool `json:"is_dynamic,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go index c042528a21..16cc5a3c71 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go @@ -11,8 +11,8 @@ package flyteadmin // Represents a structure for notifications based on execution status. The notification content is configured within flyte admin but can be templatized. Future iterations could expose configuring notifications with custom content. type AdminNotification struct { - Phases []CoreWorkflowExecutionPhase `json:"phases,omitempty"` - Email *AdminEmailNotification `json:"email,omitempty"` - PagerDuty *AdminPagerDutyNotification `json:"pager_duty,omitempty"` - Slack *AdminSlackNotification `json:"slack,omitempty"` + Phases []CoreWorkflowExecutionPhase `json:"phases,omitempty"` + Email *AdminEmailNotification `json:"email,omitempty"` + PagerDuty *AdminPagerDutyNotification `json:"pager_duty,omitempty"` + Slack *AdminSlackNotification `json:"slack,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go index 66ca8d4c65..59da87f6cc 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go @@ -14,10 +14,10 @@ type AdminProject struct { // Globally unique project name. Id string `json:"id,omitempty"` // Display name. - Name string `json:"name,omitempty"` - Domains []AdminDomain `json:"domains,omitempty"` - Description string `json:"description,omitempty"` + Name string `json:"name,omitempty"` + Domains []AdminDomain `json:"domains,omitempty"` + Description string `json:"description,omitempty"` // Leverage Labels from flyteidl.admin.common.proto to tag projects with ownership information. - Labels *AdminLabels `json:"labels,omitempty"` - State *ProjectProjectState `json:"state,omitempty"` + Labels *AdminLabels `json:"labels,omitempty"` + State *ProjectProjectState `json:"state,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go index e7098c6db2..a719e4737b 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go @@ -11,6 +11,6 @@ package flyteadmin type AdminProjectAttributes struct { // Unique project id for which this set of attributes will be applied. - Project string `json:"project,omitempty"` + Project string `json:"project,omitempty"` MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go index fec33ca92f..3081254e92 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go @@ -10,6 +10,6 @@ package flyteadmin type AdminProjectAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` + Project string `json:"project,omitempty"` ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go index 8f736c6e91..8cc141bc42 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go @@ -13,6 +13,6 @@ type AdminProjectDomainAttributes struct { // Unique project id for which this set of attributes will be applied. Project string `json:"project,omitempty"` // Unique domain id for which this set of attributes will be applied. - Domain string `json:"domain,omitempty"` + Domain string `json:"domain,omitempty"` MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go index 4c3ed6cbb2..00b251417d 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go @@ -10,7 +10,7 @@ package flyteadmin type AdminProjectDomainAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go index bc95ee283a..b6c0a02014 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go @@ -11,9 +11,9 @@ package flyteadmin // Defines complete set of information required to trigger an execution on a schedule. type AdminSchedule struct { - CronExpression string `json:"cron_expression,omitempty"` - Rate *AdminFixedRate `json:"rate,omitempty"` - CronSchedule *AdminCronSchedule `json:"cron_schedule,omitempty"` + CronExpression string `json:"cron_expression,omitempty"` + Rate *AdminFixedRate `json:"rate,omitempty"` + CronSchedule *AdminCronSchedule `json:"cron_schedule,omitempty"` // Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. KickoffTimeInputArg string `json:"kickoff_time_input_arg,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go index 22ebe3f221..7469a2cb02 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go @@ -11,6 +11,6 @@ package flyteadmin // Specifies sort ordering in a list request. type AdminSort struct { - Key string `json:"key,omitempty"` + Key string `json:"key,omitempty"` Direction *SortDirection `json:"direction,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go index 5bfac3ba94..75c3e8423e 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go @@ -19,5 +19,5 @@ type AdminTaskExecutionGetDataResponse struct { FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` // Full_outputs will only be populated if they are under a configured size threshold. FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` - FlyteUrls *AdminFlyteUrLs `json:"flyte_urls,omitempty"` + FlyteUrls *AdminFlyteUrLs `json:"flyte_urls,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go index ee090c89ce..3917b5f2f8 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go @@ -12,5 +12,5 @@ package flyteadmin // Defines task resource defaults and limits that will be applied at task registration. type AdminTaskResourceAttributes struct { Defaults *AdminTaskResourceSpec `json:"defaults,omitempty"` - Limits *AdminTaskResourceSpec `json:"limits,omitempty"` + Limits *AdminTaskResourceSpec `json:"limits,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go index 0d2713f7f6..b022f1a976 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go @@ -11,9 +11,9 @@ package flyteadmin // Defines a set of overridable task resource attributes set during task registration. type AdminTaskResourceSpec struct { - Cpu string `json:"cpu,omitempty"` - Gpu string `json:"gpu,omitempty"` - Memory string `json:"memory,omitempty"` - Storage string `json:"storage,omitempty"` + Cpu string `json:"cpu,omitempty"` + Gpu string `json:"gpu,omitempty"` + Memory string `json:"memory,omitempty"` + Storage string `json:"storage,omitempty"` EphemeralStorage string `json:"ephemeral_storage,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go index a316d8ad64..559cc80b93 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go @@ -10,7 +10,7 @@ package flyteadmin type AdminVersion struct { - Build string `json:"Build,omitempty"` - Version string `json:"Version,omitempty"` + Build string `json:"Build,omitempty"` + Version string `json:"Version,omitempty"` BuildTime string `json:"BuildTime,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go index 26cfff6479..dba5c88346 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go @@ -15,6 +15,6 @@ type AdminWorkflowAttributes struct { // Unique domain id for which this set of attributes will be applied. Domain string `json:"domain,omitempty"` // Workflow name for which this set of attributes will be applied. - Workflow string `json:"workflow,omitempty"` + Workflow string `json:"workflow,omitempty"` MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go index ecc0b76053..31bca658db 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go @@ -10,8 +10,8 @@ package flyteadmin type AdminWorkflowAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Workflow string `json:"workflow,omitempty"` + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` + Workflow string `json:"workflow,omitempty"` ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go index 68ee62801f..53b4cbbb08 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go @@ -10,6 +10,6 @@ package flyteadmin type AdminWorkflowCreateRequest struct { - Id *CoreIdentifier `json:"id,omitempty"` + Id *CoreIdentifier `json:"id,omitempty"` Spec *AdminWorkflowSpec `json:"spec,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go index ed4ddcc9e8..c2557772aa 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go @@ -13,6 +13,6 @@ type BlobTypeBlobDimensionality string // List of BlobTypeBlobDimensionality const ( - BlobTypeBlobDimensionalitySINGLE BlobTypeBlobDimensionality = "SINGLE" + BlobTypeBlobDimensionalitySINGLE BlobTypeBlobDimensionality = "SINGLE" BlobTypeBlobDimensionalityMULTIPART BlobTypeBlobDimensionality = "MULTIPART" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go index 3f3c587e87..42b34515db 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go @@ -8,7 +8,6 @@ */ package flyteadmin - // CatalogReservationStatus : Indicates the status of a catalog reservation operation. - RESERVATION_DISABLED: Used to indicate that reservations are disabled - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure type CatalogReservationStatus string @@ -16,7 +15,7 @@ type CatalogReservationStatus string const ( CatalogReservationStatusDISABLED CatalogReservationStatus = "RESERVATION_DISABLED" CatalogReservationStatusACQUIRED CatalogReservationStatus = "RESERVATION_ACQUIRED" - CatalogReservationStatusEXISTS CatalogReservationStatus = "RESERVATION_EXISTS" + CatalogReservationStatusEXISTS CatalogReservationStatus = "RESERVATION_EXISTS" CatalogReservationStatusRELEASED CatalogReservationStatus = "RESERVATION_RELEASED" - CatalogReservationStatusFAILURE CatalogReservationStatus = "RESERVATION_FAILURE" + CatalogReservationStatusFAILURE CatalogReservationStatus = "RESERVATION_FAILURE" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go index 5eb1db946d..f12c82ff7d 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go @@ -8,16 +8,15 @@ */ package flyteadmin - // ComparisonExpressionOperator : - GT: Greater Than - LT: Less Than type ComparisonExpressionOperator string // List of ComparisonExpressionOperator const ( - ComparisonExpressionOperatorEQ ComparisonExpressionOperator = "EQ" + ComparisonExpressionOperatorEQ ComparisonExpressionOperator = "EQ" ComparisonExpressionOperatorNEQ ComparisonExpressionOperator = "NEQ" - ComparisonExpressionOperatorGT ComparisonExpressionOperator = "GT" + ComparisonExpressionOperatorGT ComparisonExpressionOperator = "GT" ComparisonExpressionOperatorGTE ComparisonExpressionOperator = "GTE" - ComparisonExpressionOperatorLT ComparisonExpressionOperator = "LT" + ComparisonExpressionOperatorLT ComparisonExpressionOperator = "LT" ComparisonExpressionOperatorLTE ComparisonExpressionOperator = "LTE" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go index 9634c360a0..537e3b45e7 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go @@ -8,12 +8,11 @@ */ package flyteadmin - // ConjunctionExpressionLogicalOperator : - AND: Conjunction type ConjunctionExpressionLogicalOperator string // List of ConjunctionExpressionLogicalOperator const ( ConjunctionExpressionLogicalOperatorAND ConjunctionExpressionLogicalOperator = "AND" - ConjunctionExpressionLogicalOperatorOR ConjunctionExpressionLogicalOperator = "OR" + ConjunctionExpressionLogicalOperatorOR ConjunctionExpressionLogicalOperator = "OR" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go index 78970da88a..2ec668c981 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go @@ -8,15 +8,14 @@ */ package flyteadmin - // ContainerArchitecture : Architecture-type the container image supports. type ContainerArchitecture string // List of ContainerArchitecture const ( ContainerArchitectureUNKNOWN ContainerArchitecture = "UNKNOWN" - ContainerArchitectureAMD64 ContainerArchitecture = "AMD64" - ContainerArchitectureARM64 ContainerArchitecture = "ARM64" - ContainerArchitectureARM_V6 ContainerArchitecture = "ARM_V6" - ContainerArchitectureARM_V7 ContainerArchitecture = "ARM_V7" + ContainerArchitectureAMD64 ContainerArchitecture = "AMD64" + ContainerArchitectureARM64 ContainerArchitecture = "ARM64" + ContainerArchitectureARM_V6 ContainerArchitecture = "ARM_V6" + ContainerArchitectureARM_V7 ContainerArchitecture = "ARM_V7" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go index db36793283..b66a50bd78 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go @@ -12,5 +12,5 @@ package flyteadmin // A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. type CoreBinary struct { Value string `json:"value,omitempty"` - Tag string `json:"tag,omitempty"` + Tag string `json:"tag,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go index 742616fdc2..903ef1f8e2 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go @@ -18,6 +18,6 @@ type CoreBindingData struct { // References an output promised by another node. Promise *CoreOutputReference `json:"promise,omitempty"` // A map of bindings. The key is always a string. - Map_ *CoreBindingDataMap `json:"map,omitempty"` - Union *CoreUnionInfo `json:"union,omitempty"` + Map_ *CoreBindingDataMap `json:"map,omitempty"` + Union *CoreUnionInfo `json:"union,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go index d7bcd89170..081e36a03d 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go @@ -12,5 +12,5 @@ package flyteadmin // Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. type CoreBlob struct { Metadata *CoreBlobMetadata `json:"metadata,omitempty"` - Uri string `json:"uri,omitempty"` + Uri string `json:"uri,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go index 4add1c0946..5c751b9562 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go @@ -10,6 +10,6 @@ package flyteadmin type CoreBlobType struct { - Format string `json:"format,omitempty"` + Format string `json:"format,omitempty"` Dimensionality *BlobTypeBlobDimensionality `json:"dimensionality,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go index 894e3d4cc4..0ee33d7c3a 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go @@ -12,5 +12,5 @@ package flyteadmin // Defines a boolean expression tree. It can be a simple or a conjunction expression. Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. type CoreBooleanExpression struct { Conjunction *CoreConjunctionExpression `json:"conjunction,omitempty"` - Comparison *CoreComparisonExpression `json:"comparison,omitempty"` + Comparison *CoreComparisonExpression `json:"comparison,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go index 49ecd55bc1..94c8826d3a 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go @@ -11,5 +11,5 @@ package flyteadmin type CoreCatalogArtifactTag struct { ArtifactId string `json:"artifact_id,omitempty"` - Name string `json:"name,omitempty"` + Name string `json:"name,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go index 7126460fbe..6e50baf228 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go @@ -8,17 +8,16 @@ */ package flyteadmin - // CoreCatalogCacheStatus : - CACHE_DISABLED: Used to indicate that caching was disabled - CACHE_MISS: Used to indicate that the cache lookup resulted in no matches - CACHE_HIT: used to indicate that the associated artifact was a result of a previous execution - CACHE_POPULATED: used to indicate that the resultant artifact was added to the cache - CACHE_LOOKUP_FAILURE: Used to indicate that cache lookup failed because of an error - CACHE_PUT_FAILURE: Used to indicate that cache lookup failed because of an error - CACHE_SKIPPED: Used to indicate the cache lookup was skipped type CoreCatalogCacheStatus string // List of coreCatalogCacheStatus const ( - CoreCatalogCacheStatusDISABLED CoreCatalogCacheStatus = "CACHE_DISABLED" - CoreCatalogCacheStatusMISS CoreCatalogCacheStatus = "CACHE_MISS" - CoreCatalogCacheStatusHIT CoreCatalogCacheStatus = "CACHE_HIT" - CoreCatalogCacheStatusPOPULATED CoreCatalogCacheStatus = "CACHE_POPULATED" + CoreCatalogCacheStatusDISABLED CoreCatalogCacheStatus = "CACHE_DISABLED" + CoreCatalogCacheStatusMISS CoreCatalogCacheStatus = "CACHE_MISS" + CoreCatalogCacheStatusHIT CoreCatalogCacheStatus = "CACHE_HIT" + CoreCatalogCacheStatusPOPULATED CoreCatalogCacheStatus = "CACHE_POPULATED" CoreCatalogCacheStatusLOOKUP_FAILURE CoreCatalogCacheStatus = "CACHE_LOOKUP_FAILURE" - CoreCatalogCacheStatusPUT_FAILURE CoreCatalogCacheStatus = "CACHE_PUT_FAILURE" - CoreCatalogCacheStatusSKIPPED CoreCatalogCacheStatus = "CACHE_SKIPPED" + CoreCatalogCacheStatusPUT_FAILURE CoreCatalogCacheStatus = "CACHE_PUT_FAILURE" + CoreCatalogCacheStatusSKIPPED CoreCatalogCacheStatus = "CACHE_SKIPPED" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go index 43e1cbb858..a4223f28b8 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go @@ -10,7 +10,7 @@ package flyteadmin type CoreCatalogMetadata struct { - DatasetId *CoreIdentifier `json:"dataset_id,omitempty"` - ArtifactTag *CoreCatalogArtifactTag `json:"artifact_tag,omitempty"` + DatasetId *CoreIdentifier `json:"dataset_id,omitempty"` + ArtifactTag *CoreCatalogArtifactTag `json:"artifact_tag,omitempty"` SourceTaskExecution *CoreTaskExecutionIdentifier `json:"source_task_execution,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go index 0c0487d705..86e9586a7d 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go @@ -11,7 +11,7 @@ package flyteadmin // Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. Each expression results in a boolean result. type CoreComparisonExpression struct { - Operator *ComparisonExpressionOperator `json:"operator,omitempty"` - LeftValue *CoreOperand `json:"left_value,omitempty"` - RightValue *CoreOperand `json:"right_value,omitempty"` + Operator *ComparisonExpressionOperator `json:"operator,omitempty"` + LeftValue *CoreOperand `json:"left_value,omitempty"` + RightValue *CoreOperand `json:"right_value,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go index 8439d4d710..64753a21b5 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go @@ -11,7 +11,7 @@ package flyteadmin // A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of compiled subworkflows. type CoreCompiledWorkflowClosure struct { - Primary *CoreCompiledWorkflow `json:"primary,omitempty"` + Primary *CoreCompiledWorkflow `json:"primary,omitempty"` SubWorkflows []CoreCompiledWorkflow `json:"sub_workflows,omitempty"` - Tasks []CoreCompiledTask `json:"tasks,omitempty"` + Tasks []CoreCompiledTask `json:"tasks,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go index ea24c0aeca..cf8c99b9bb 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go @@ -11,7 +11,7 @@ package flyteadmin // Defines a conjunction expression of two boolean expressions. type CoreConjunctionExpression struct { - Operator *ConjunctionExpressionLogicalOperator `json:"operator,omitempty"` - LeftExpression *CoreBooleanExpression `json:"left_expression,omitempty"` - RightExpression *CoreBooleanExpression `json:"right_expression,omitempty"` + Operator *ConjunctionExpressionLogicalOperator `json:"operator,omitempty"` + LeftExpression *CoreBooleanExpression `json:"left_expression,omitempty"` + RightExpression *CoreBooleanExpression `json:"right_expression,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go index 5f05c8ffb6..8d7b9bc344 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go @@ -11,5 +11,5 @@ package flyteadmin type CoreConnectionSet struct { Downstream map[string]ConnectionSetIdList `json:"downstream,omitempty"` - Upstream map[string]ConnectionSetIdList `json:"upstream,omitempty"` + Upstream map[string]ConnectionSetIdList `json:"upstream,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go index ad1d569645..26f0e9d65a 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go @@ -20,8 +20,8 @@ type CoreContainer struct { // Environment variables will be set as the container is starting up. Env []CoreKeyValuePair `json:"env,omitempty"` // Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. - Config []CoreKeyValuePair `json:"config,omitempty"` - Ports []CoreContainerPort `json:"ports,omitempty"` - DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` + Config []CoreKeyValuePair `json:"config,omitempty"` + Ports []CoreContainerPort `json:"ports,omitempty"` + DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` Architecture *ContainerArchitecture `json:"architecture,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go index 5861de21a6..f74fb3aaa1 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go @@ -11,9 +11,9 @@ package flyteadmin // This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path Any outputs generated by the user container - within output_path are automatically uploaded. type CoreDataLoadingConfig struct { - Enabled bool `json:"enabled,omitempty"` - InputPath string `json:"input_path,omitempty"` - OutputPath string `json:"output_path,omitempty"` - Format *DataLoadingConfigLiteralMapFormat `json:"format,omitempty"` - IoStrategy *CoreIoStrategy `json:"io_strategy,omitempty"` + Enabled bool `json:"enabled,omitempty"` + InputPath string `json:"input_path,omitempty"` + OutputPath string `json:"output_path,omitempty"` + Format *DataLoadingConfigLiteralMapFormat `json:"format,omitempty"` + IoStrategy *CoreIoStrategy `json:"io_strategy,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go index cb796560c5..4b2b6e07b4 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go @@ -13,7 +13,7 @@ package flyteadmin type CoreExecutionError struct { Code string `json:"code,omitempty"` // Detailed description of the error - including stack trace. - Message string `json:"message,omitempty"` - ErrorUri string `json:"error_uri,omitempty"` - Kind *ExecutionErrorErrorKind `json:"kind,omitempty"` + Message string `json:"message,omitempty"` + ErrorUri string `json:"error_uri,omitempty"` + Kind *ExecutionErrorErrorKind `json:"kind,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go index 11d8f3cfde..60251e7b6b 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go @@ -16,6 +16,6 @@ type CoreIdentity struct { // k8s_service_account references a kubernetes service account to impersonate. K8sServiceAccount string `json:"k8s_service_account,omitempty"` // oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. - Oauth2Client *CoreOAuth2Client `json:"oauth2_client,omitempty"` - ExecutionIdentity string `json:"execution_identity,omitempty"` + Oauth2Client *CoreOAuth2Client `json:"oauth2_client,omitempty"` + ExecutionIdentity string `json:"execution_identity,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go index fe1f9e02fc..88c084f857 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go @@ -12,5 +12,5 @@ package flyteadmin // Defines a condition and the execution unit that should be executed if the condition is satisfied. type CoreIfBlock struct { Condition *CoreBooleanExpression `json:"condition,omitempty"` - ThenNode *CoreNode `json:"then_node,omitempty"` + ThenNode *CoreNode `json:"then_node,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go index 7fdf7e07ad..d310d02903 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go @@ -11,5 +11,5 @@ package flyteadmin type CoreIoStrategy struct { DownloadMode *IoStrategyDownloadMode `json:"download_mode,omitempty"` - UploadMode *IoStrategyUploadMode `json:"upload_mode,omitempty"` + UploadMode *IoStrategyUploadMode `json:"upload_mode,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go index 3288876b6e..df6db9479b 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go @@ -12,7 +12,7 @@ package flyteadmin // Defines a pod spec and additional pod metadata that is created when a task is executed. type CoreK8sPod struct { // Contains additional metadata for building a kubernetes pod. - Metadata *CoreK8sObjectMetadata `json:"metadata,omitempty"` - PodSpec *ProtobufStruct `json:"pod_spec,omitempty"` + Metadata *CoreK8sObjectMetadata `json:"metadata,omitempty"` + PodSpec *ProtobufStruct `json:"pod_spec,omitempty"` DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go index 827463a72b..03ee493617 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go @@ -17,5 +17,5 @@ type CoreLiteral struct { Collection *CoreLiteralCollection `json:"collection,omitempty"` // A map of strings to literals. Map_ *CoreLiteralMap `json:"map,omitempty"` - Hash string `json:"hash,omitempty"` + Hash string `json:"hash,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go index 934d0c8ff6..08611bf6c0 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go @@ -22,7 +22,7 @@ type CoreLiteralType struct { // A blob might have specialized implementation details depending on associated metadata. Blob *CoreBlobType `json:"blob,omitempty"` // Defines an enum with pre-defined string values. - EnumType *CoreEnumType `json:"enum_type,omitempty"` + EnumType *CoreEnumType `json:"enum_type,omitempty"` StructuredDatasetType *CoreStructuredDatasetType `json:"structured_dataset_type,omitempty"` // Defines an union type with pre-defined LiteralTypes. UnionType *CoreUnionType `json:"union_type,omitempty"` diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go index 44a74ea49f..2a391e095f 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go @@ -11,6 +11,6 @@ package flyteadmin // Encapsulation of fields that identify a Flyte node execution entity. type CoreNodeExecutionIdentifier struct { - NodeId string `json:"node_id,omitempty"` + NodeId string `json:"node_id,omitempty"` ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go index aa619393bf..55c46425a5 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go @@ -13,15 +13,15 @@ type CoreNodeExecutionPhase string // List of coreNodeExecutionPhase const ( - CoreNodeExecutionPhaseUNDEFINED CoreNodeExecutionPhase = "UNDEFINED" - CoreNodeExecutionPhaseQUEUED CoreNodeExecutionPhase = "QUEUED" - CoreNodeExecutionPhaseRUNNING CoreNodeExecutionPhase = "RUNNING" - CoreNodeExecutionPhaseSUCCEEDED CoreNodeExecutionPhase = "SUCCEEDED" - CoreNodeExecutionPhaseFAILING CoreNodeExecutionPhase = "FAILING" - CoreNodeExecutionPhaseFAILED CoreNodeExecutionPhase = "FAILED" - CoreNodeExecutionPhaseABORTED CoreNodeExecutionPhase = "ABORTED" - CoreNodeExecutionPhaseSKIPPED CoreNodeExecutionPhase = "SKIPPED" - CoreNodeExecutionPhaseTIMED_OUT CoreNodeExecutionPhase = "TIMED_OUT" + CoreNodeExecutionPhaseUNDEFINED CoreNodeExecutionPhase = "UNDEFINED" + CoreNodeExecutionPhaseQUEUED CoreNodeExecutionPhase = "QUEUED" + CoreNodeExecutionPhaseRUNNING CoreNodeExecutionPhase = "RUNNING" + CoreNodeExecutionPhaseSUCCEEDED CoreNodeExecutionPhase = "SUCCEEDED" + CoreNodeExecutionPhaseFAILING CoreNodeExecutionPhase = "FAILING" + CoreNodeExecutionPhaseFAILED CoreNodeExecutionPhase = "FAILED" + CoreNodeExecutionPhaseABORTED CoreNodeExecutionPhase = "ABORTED" + CoreNodeExecutionPhaseSKIPPED CoreNodeExecutionPhase = "SKIPPED" + CoreNodeExecutionPhaseTIMED_OUT CoreNodeExecutionPhase = "TIMED_OUT" CoreNodeExecutionPhaseDYNAMIC_RUNNING CoreNodeExecutionPhase = "DYNAMIC_RUNNING" - CoreNodeExecutionPhaseRECOVERED CoreNodeExecutionPhase = "RECOVERED" + CoreNodeExecutionPhaseRECOVERED CoreNodeExecutionPhase = "RECOVERED" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go index 79e9c1e380..3913c96c83 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go @@ -15,6 +15,6 @@ type CoreNodeMetadata struct { // The overall timeout of a task. Timeout string `json:"timeout,omitempty"` // Number of retries per task. - Retries *CoreRetryStrategy `json:"retries,omitempty"` - Interruptible bool `json:"interruptible,omitempty"` + Retries *CoreRetryStrategy `json:"retries,omitempty"` + Interruptible bool `json:"interruptible,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go index b44f969059..8413c9169f 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go @@ -11,6 +11,6 @@ package flyteadmin // OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. type CoreOAuth2Client struct { - ClientId string `json:"client_id,omitempty"` + ClientId string `json:"client_id,omitempty"` ClientSecret *CoreSecret `json:"client_secret,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go index 7edeb1353f..6dcdb2dddd 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go @@ -11,9 +11,9 @@ package flyteadmin // OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if tokens are passed through environment variables. FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens are passed through file mounts. type CoreOAuth2TokenRequest struct { - Name string `json:"name,omitempty"` - Type_ *CoreOAuth2TokenRequestType `json:"type,omitempty"` - Client *CoreOAuth2Client `json:"client,omitempty"` - IdpDiscoveryEndpoint string `json:"idp_discovery_endpoint,omitempty"` - TokenEndpoint string `json:"token_endpoint,omitempty"` + Name string `json:"name,omitempty"` + Type_ *CoreOAuth2TokenRequestType `json:"type,omitempty"` + Client *CoreOAuth2Client `json:"client,omitempty"` + IdpDiscoveryEndpoint string `json:"idp_discovery_endpoint,omitempty"` + TokenEndpoint string `json:"token_endpoint,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go index 27ec7f050c..5e9b5d4e6f 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go @@ -8,7 +8,6 @@ */ package flyteadmin - // CoreOAuth2TokenRequestType : Type of the token requested. - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials. type CoreOAuth2TokenRequestType string diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go index 10f10fc233..07f2887e70 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go @@ -12,6 +12,6 @@ package flyteadmin // Defines an operand to a comparison expression. type CoreOperand struct { Primitive *CorePrimitive `json:"primitive,omitempty"` - Var_ string `json:"var,omitempty"` - Scalar *CoreScalar `json:"scalar,omitempty"` + Var_ string `json:"var,omitempty"` + Scalar *CoreScalar `json:"scalar,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go index 9faccb26aa..469e79f2dd 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go @@ -14,6 +14,6 @@ type CoreOutputReference struct { // Node id must exist at the graph layer. NodeId string `json:"node_id,omitempty"` // Variable name must refer to an output variable for the node. - Var_ string `json:"var,omitempty"` + Var_ string `json:"var,omitempty"` AttrPath []CorePromiseAttribute `json:"attr_path,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go index 5b976320d2..efe369c246 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go @@ -14,10 +14,10 @@ import ( ) type CorePrimitive struct { - Integer string `json:"integer,omitempty"` - FloatValue float64 `json:"float_value,omitempty"` - StringValue string `json:"string_value,omitempty"` - Boolean bool `json:"boolean,omitempty"` - Datetime time.Time `json:"datetime,omitempty"` - Duration string `json:"duration,omitempty"` + Integer string `json:"integer,omitempty"` + FloatValue float64 `json:"float_value,omitempty"` + StringValue string `json:"string_value,omitempty"` + Boolean bool `json:"boolean,omitempty"` + Datetime time.Time `json:"datetime,omitempty"` + Duration string `json:"duration,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_promise_attribute.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_promise_attribute.go index 85428df90b..2c6ab252f1 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_promise_attribute.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_promise_attribute.go @@ -11,5 +11,5 @@ package flyteadmin type CorePromiseAttribute struct { StringValue string `json:"string_value,omitempty"` - IntValue int32 `json:"int_value,omitempty"` + IntValue int32 `json:"int_value,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go index 9378a683a6..d735974d03 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go @@ -11,6 +11,6 @@ package flyteadmin // Indicates the priority of an execution. type CoreQualityOfService struct { - Tier *QualityOfServiceTier `json:"tier,omitempty"` + Tier *QualityOfServiceTier `json:"tier,omitempty"` Spec *CoreQualityOfServiceSpec `json:"spec,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go index 33c7ff4bf9..26866d1c4c 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go @@ -8,15 +8,14 @@ */ package flyteadmin - // CoreResourceType : Indicates a resource type within Flyte. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects type CoreResourceType string // List of coreResourceType const ( CoreResourceTypeUNSPECIFIED CoreResourceType = "UNSPECIFIED" - CoreResourceTypeTASK CoreResourceType = "TASK" - CoreResourceTypeWORKFLOW CoreResourceType = "WORKFLOW" + CoreResourceTypeTASK CoreResourceType = "TASK" + CoreResourceTypeWORKFLOW CoreResourceType = "WORKFLOW" CoreResourceTypeLAUNCH_PLAN CoreResourceType = "LAUNCH_PLAN" - CoreResourceTypeDATASET CoreResourceType = "DATASET" + CoreResourceTypeDATASET CoreResourceType = "DATASET" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go index 3e3dbffbfa..09c05e7bef 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go @@ -10,13 +10,13 @@ package flyteadmin type CoreScalar struct { - Primitive *CorePrimitive `json:"primitive,omitempty"` - Blob *CoreBlob `json:"blob,omitempty"` - Binary *CoreBinary `json:"binary,omitempty"` - Schema *CoreSchema `json:"schema,omitempty"` - NoneType *CoreVoid `json:"none_type,omitempty"` - Error_ *CoreError `json:"error,omitempty"` - Generic *ProtobufStruct `json:"generic,omitempty"` + Primitive *CorePrimitive `json:"primitive,omitempty"` + Blob *CoreBlob `json:"blob,omitempty"` + Binary *CoreBinary `json:"binary,omitempty"` + Schema *CoreSchema `json:"schema,omitempty"` + NoneType *CoreVoid `json:"none_type,omitempty"` + Error_ *CoreError `json:"error,omitempty"` + Generic *ProtobufStruct `json:"generic,omitempty"` StructuredDataset *CoreStructuredDataset `json:"structured_dataset,omitempty"` - Union *CoreUnion `json:"union,omitempty"` + Union *CoreUnion `json:"union,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema.go index df6af8e450..b621770da0 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema.go @@ -11,6 +11,6 @@ package flyteadmin // A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. type CoreSchema struct { - Uri string `json:"uri,omitempty"` + Uri string `json:"uri,omitempty"` Type_ *CoreSchemaType `json:"type,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go index 94025fa6d2..3b709cefe6 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go @@ -11,8 +11,8 @@ package flyteadmin // Secret encapsulates information about the secret a task needs to proceed. An environment variable FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if secrets are passed through environment variables. FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets are passed through file mounts. type CoreSecret struct { - Group string `json:"group,omitempty"` - GroupVersion string `json:"group_version,omitempty"` - Key string `json:"key,omitempty"` + Group string `json:"group,omitempty"` + GroupVersion string `json:"group_version,omitempty"` + Key string `json:"key,omitempty"` MountRequirement *SecretMountType `json:"mount_requirement,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go index 4dada71aaa..23988bb9c1 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go @@ -8,20 +8,19 @@ */ package flyteadmin - // CoreSimpleType : Define a set of simple types. type CoreSimpleType string // List of coreSimpleType const ( - CoreSimpleTypeNONE CoreSimpleType = "NONE" - CoreSimpleTypeINTEGER CoreSimpleType = "INTEGER" - CoreSimpleTypeFLOAT CoreSimpleType = "FLOAT" - CoreSimpleTypeSTRING_ CoreSimpleType = "STRING" - CoreSimpleTypeBOOLEAN CoreSimpleType = "BOOLEAN" + CoreSimpleTypeNONE CoreSimpleType = "NONE" + CoreSimpleTypeINTEGER CoreSimpleType = "INTEGER" + CoreSimpleTypeFLOAT CoreSimpleType = "FLOAT" + CoreSimpleTypeSTRING_ CoreSimpleType = "STRING" + CoreSimpleTypeBOOLEAN CoreSimpleType = "BOOLEAN" CoreSimpleTypeDATETIME CoreSimpleType = "DATETIME" CoreSimpleTypeDURATION CoreSimpleType = "DURATION" - CoreSimpleTypeBINARY CoreSimpleType = "BINARY" - CoreSimpleTypeERROR_ CoreSimpleType = "ERROR" - CoreSimpleTypeSTRUCT_ CoreSimpleType = "STRUCT" + CoreSimpleTypeBINARY CoreSimpleType = "BINARY" + CoreSimpleTypeERROR_ CoreSimpleType = "ERROR" + CoreSimpleTypeSTRUCT_ CoreSimpleType = "STRUCT" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go index 508b2018bc..c0cd22cb48 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go @@ -11,6 +11,6 @@ package flyteadmin // Sql represents a generic sql workload with a statement and dialect. type CoreSql struct { - Statement string `json:"statement,omitempty"` - Dialect *SqlDialect `json:"dialect,omitempty"` + Statement string `json:"statement,omitempty"` + Dialect *SqlDialect `json:"dialect,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go index 92b97bb11e..88fb473fcc 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go @@ -10,6 +10,6 @@ package flyteadmin type CoreStructuredDataset struct { - Uri string `json:"uri,omitempty"` + Uri string `json:"uri,omitempty"` Metadata *CoreStructuredDatasetMetadata `json:"metadata,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go index 33cb47e05e..c0f0264ad2 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go @@ -11,7 +11,7 @@ package flyteadmin // Encapsulation of fields that identify a Flyte task execution entity. type CoreTaskExecutionIdentifier struct { - TaskId *CoreIdentifier `json:"task_id,omitempty"` + TaskId *CoreIdentifier `json:"task_id,omitempty"` NodeExecutionId *CoreNodeExecutionIdentifier `json:"node_execution_id,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go index 4e70781eb1..0dd23b9a2c 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go @@ -13,12 +13,12 @@ type CoreTaskExecutionPhase string // List of coreTaskExecutionPhase const ( - CoreTaskExecutionPhaseUNDEFINED CoreTaskExecutionPhase = "UNDEFINED" - CoreTaskExecutionPhaseQUEUED CoreTaskExecutionPhase = "QUEUED" - CoreTaskExecutionPhaseRUNNING CoreTaskExecutionPhase = "RUNNING" - CoreTaskExecutionPhaseSUCCEEDED CoreTaskExecutionPhase = "SUCCEEDED" - CoreTaskExecutionPhaseABORTED CoreTaskExecutionPhase = "ABORTED" - CoreTaskExecutionPhaseFAILED CoreTaskExecutionPhase = "FAILED" - CoreTaskExecutionPhaseINITIALIZING CoreTaskExecutionPhase = "INITIALIZING" + CoreTaskExecutionPhaseUNDEFINED CoreTaskExecutionPhase = "UNDEFINED" + CoreTaskExecutionPhaseQUEUED CoreTaskExecutionPhase = "QUEUED" + CoreTaskExecutionPhaseRUNNING CoreTaskExecutionPhase = "RUNNING" + CoreTaskExecutionPhaseSUCCEEDED CoreTaskExecutionPhase = "SUCCEEDED" + CoreTaskExecutionPhaseABORTED CoreTaskExecutionPhase = "ABORTED" + CoreTaskExecutionPhaseFAILED CoreTaskExecutionPhase = "FAILED" + CoreTaskExecutionPhaseINITIALIZING CoreTaskExecutionPhase = "INITIALIZING" CoreTaskExecutionPhaseWAITING_FOR_RESOURCES CoreTaskExecutionPhase = "WAITING_FOR_RESOURCES" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go index 6822e903b5..1eef3655de 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go @@ -10,8 +10,8 @@ package flyteadmin type CoreTaskLog struct { - Uri string `json:"uri,omitempty"` - Name string `json:"name,omitempty"` + Uri string `json:"uri,omitempty"` + Name string `json:"name,omitempty"` MessageFormat *TaskLogMessageFormat `json:"message_format,omitempty"` - Ttl string `json:"ttl,omitempty"` + Ttl string `json:"ttl,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go index d81e25707a..658e8e1607 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go @@ -22,11 +22,11 @@ type CoreTaskMetadata struct { DiscoveryVersion string `json:"discovery_version,omitempty"` // If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. DeprecatedErrorMessage string `json:"deprecated_error_message,omitempty"` - Interruptible bool `json:"interruptible,omitempty"` - CacheSerializable bool `json:"cache_serializable,omitempty"` + Interruptible bool `json:"interruptible,omitempty"` + CacheSerializable bool `json:"cache_serializable,omitempty"` // Indicates whether the task will generate a Deck URI when it finishes executing. - GeneratesDeck bool `json:"generates_deck,omitempty"` - Tags map[string]string `json:"tags,omitempty"` + GeneratesDeck bool `json:"generates_deck,omitempty"` + Tags map[string]string `json:"tags,omitempty"` // pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied identically as, the default PodTemplate configured in FlytePropeller. PodTemplateName string `json:"pod_template_name,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go index a817298971..163a0eb7c8 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go @@ -20,13 +20,13 @@ type CoreTaskTemplate struct { // A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. Interface_ *CoreTypedInterface `json:"interface,omitempty"` // Custom data about the task. This is extensible to allow various plugins in the system. - Custom *ProtobufStruct `json:"custom,omitempty"` - Container *CoreContainer `json:"container,omitempty"` - K8sPod *CoreK8sPod `json:"k8s_pod,omitempty"` - Sql *CoreSql `json:"sql,omitempty"` + Custom *ProtobufStruct `json:"custom,omitempty"` + Container *CoreContainer `json:"container,omitempty"` + K8sPod *CoreK8sPod `json:"k8s_pod,omitempty"` + Sql *CoreSql `json:"sql,omitempty"` // This can be used to customize task handling at execution time for the same task type. TaskTypeVersion int32 `json:"task_type_version,omitempty"` // security_context encapsulates security attributes requested to run this task. SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - Config map[string]string `json:"config,omitempty"` + Config map[string]string `json:"config,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go index c214430aa8..8a14876460 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go @@ -11,6 +11,6 @@ package flyteadmin // Defines strongly typed inputs and outputs. type CoreTypedInterface struct { - Inputs *CoreVariableMap `json:"inputs,omitempty"` + Inputs *CoreVariableMap `json:"inputs,omitempty"` Outputs *CoreVariableMap `json:"outputs,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go index 9868ba7db4..dc4a92e0d4 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go @@ -11,6 +11,6 @@ package flyteadmin // The runtime representation of a tagged union value. See `UnionType` for more details. type CoreUnion struct { - Value *CoreLiteral `json:"value,omitempty"` + Value *CoreLiteral `json:"value,omitempty"` Type_ *CoreLiteralType `json:"type,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go index 2b7beb0890..40e43f0588 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go @@ -12,6 +12,6 @@ package flyteadmin // Defines a strongly typed variable. type CoreVariable struct { // Variable literal type. - Type_ *CoreLiteralType `json:"type,omitempty"` - Description string `json:"description,omitempty"` + Type_ *CoreLiteralType `json:"type,omitempty"` + Description string `json:"description,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go index 343edc0df2..0745afacd7 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go @@ -13,14 +13,14 @@ type CoreWorkflowExecutionPhase string // List of coreWorkflowExecutionPhase const ( - CoreWorkflowExecutionPhaseUNDEFINED CoreWorkflowExecutionPhase = "UNDEFINED" - CoreWorkflowExecutionPhaseQUEUED CoreWorkflowExecutionPhase = "QUEUED" - CoreWorkflowExecutionPhaseRUNNING CoreWorkflowExecutionPhase = "RUNNING" + CoreWorkflowExecutionPhaseUNDEFINED CoreWorkflowExecutionPhase = "UNDEFINED" + CoreWorkflowExecutionPhaseQUEUED CoreWorkflowExecutionPhase = "QUEUED" + CoreWorkflowExecutionPhaseRUNNING CoreWorkflowExecutionPhase = "RUNNING" CoreWorkflowExecutionPhaseSUCCEEDING CoreWorkflowExecutionPhase = "SUCCEEDING" - CoreWorkflowExecutionPhaseSUCCEEDED CoreWorkflowExecutionPhase = "SUCCEEDED" - CoreWorkflowExecutionPhaseFAILING CoreWorkflowExecutionPhase = "FAILING" - CoreWorkflowExecutionPhaseFAILED CoreWorkflowExecutionPhase = "FAILED" - CoreWorkflowExecutionPhaseABORTED CoreWorkflowExecutionPhase = "ABORTED" - CoreWorkflowExecutionPhaseTIMED_OUT CoreWorkflowExecutionPhase = "TIMED_OUT" - CoreWorkflowExecutionPhaseABORTING CoreWorkflowExecutionPhase = "ABORTING" + CoreWorkflowExecutionPhaseSUCCEEDED CoreWorkflowExecutionPhase = "SUCCEEDED" + CoreWorkflowExecutionPhaseFAILING CoreWorkflowExecutionPhase = "FAILING" + CoreWorkflowExecutionPhaseFAILED CoreWorkflowExecutionPhase = "FAILED" + CoreWorkflowExecutionPhaseABORTED CoreWorkflowExecutionPhase = "ABORTED" + CoreWorkflowExecutionPhaseTIMED_OUT CoreWorkflowExecutionPhase = "TIMED_OUT" + CoreWorkflowExecutionPhaseABORTING CoreWorkflowExecutionPhase = "ABORTING" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go index 4147e1babf..9761a3abc4 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go @@ -15,5 +15,5 @@ type CoreWorkflowMetadata struct { QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` // Defines how the system should behave when a failure is detected in the workflow execution. OnFailure *WorkflowMetadataOnFailurePolicy `json:"on_failure,omitempty"` - Tags map[string]string `json:"tags,omitempty"` + Tags map[string]string `json:"tags,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go index 01f56e0571..42b07706aa 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go @@ -12,6 +12,6 @@ package flyteadmin // Refers to a the workflow the node is to execute. type CoreWorkflowNode struct { // A globally unique identifier for the launch plan. - LaunchplanRef *CoreIdentifier `json:"launchplan_ref,omitempty"` + LaunchplanRef *CoreIdentifier `json:"launchplan_ref,omitempty"` SubWorkflowRef *CoreIdentifier `json:"sub_workflow_ref,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go index 8ceba64866..377a19bf82 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go @@ -22,6 +22,6 @@ type CoreWorkflowTemplate struct { // A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. Outputs []CoreBinding `json:"outputs,omitempty"` // +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. - FailureNode *CoreNode `json:"failure_node,omitempty"` + FailureNode *CoreNode `json:"failure_node,omitempty"` MetadataDefaults *CoreWorkflowMetadataDefaults `json:"metadata_defaults,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go index f63e8685f4..bfb25fd456 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go @@ -8,13 +8,12 @@ */ package flyteadmin - // DataLoadingConfigLiteralMapFormat : - JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core type DataLoadingConfigLiteralMapFormat string // List of DataLoadingConfigLiteralMapFormat const ( - DataLoadingConfigLiteralMapFormatJSON DataLoadingConfigLiteralMapFormat = "JSON" - DataLoadingConfigLiteralMapFormatYAML DataLoadingConfigLiteralMapFormat = "YAML" + DataLoadingConfigLiteralMapFormatJSON DataLoadingConfigLiteralMapFormat = "JSON" + DataLoadingConfigLiteralMapFormatYAML DataLoadingConfigLiteralMapFormat = "YAML" DataLoadingConfigLiteralMapFormatPROTO DataLoadingConfigLiteralMapFormat = "PROTO" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_event_reason.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_event_reason.go index 8a5ec617ff..2f85376781 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_event_reason.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_event_reason.go @@ -14,6 +14,6 @@ import ( ) type EventEventReason struct { - Reason string `json:"reason,omitempty"` + Reason string `json:"reason,omitempty"` OccurredAt time.Time `json:"occurred_at,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go index 0b9f2deb29..8daa059ed9 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go @@ -14,10 +14,10 @@ type EventExternalResourceInfo struct { // Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. ExternalId string `json:"external_id,omitempty"` // A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. - Index int64 `json:"index,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` + Index int64 `json:"index,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` + Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` // Captures the status of caching for this external resource execution. CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - Logs []CoreTaskLog `json:"logs,omitempty"` + Logs []CoreTaskLog `json:"logs,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go index c08a047db1..8d80e2a1e5 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go @@ -14,34 +14,34 @@ import ( ) type EventNodeExecutionEvent struct { - Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` + Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` // This timestamp represents when the original event occurred, it is generated by the executor of the node. OccurredAt time.Time `json:"occurred_at,omitempty"` - InputUri string `json:"input_uri,omitempty"` + InputUri string `json:"input_uri,omitempty"` // Raw input data consumed by this node execution. InputData *CoreLiteralMap `json:"input_data,omitempty"` // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` // Raw output data produced by this node execution. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` + OutputData *CoreLiteralMap `json:"output_data,omitempty"` WorkflowNodeMetadata *FlyteidleventWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` - TaskNodeMetadata *FlyteidleventTaskNodeMetadata `json:"task_node_metadata,omitempty"` + TaskNodeMetadata *FlyteidleventTaskNodeMetadata `json:"task_node_metadata,omitempty"` // [To be deprecated] Specifies which task (if any) launched this node. ParentTaskMetadata *EventParentTaskExecutionMetadata `json:"parent_task_metadata,omitempty"` // Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. ParentNodeMetadata *EventParentNodeExecutionMetadata `json:"parent_node_metadata,omitempty"` - RetryGroup string `json:"retry_group,omitempty"` - SpecNodeId string `json:"spec_node_id,omitempty"` - NodeName string `json:"node_name,omitempty"` - EventVersion int32 `json:"event_version,omitempty"` + RetryGroup string `json:"retry_group,omitempty"` + SpecNodeId string `json:"spec_node_id,omitempty"` + NodeName string `json:"node_name,omitempty"` + EventVersion int32 `json:"event_version,omitempty"` // Whether this node launched a subworkflow. IsParent bool `json:"is_parent,omitempty"` // Whether this node yielded a dynamic workflow. - IsDynamic bool `json:"is_dynamic,omitempty"` - DeckUri string `json:"deck_uri,omitempty"` + IsDynamic bool `json:"is_dynamic,omitempty"` + DeckUri string `json:"deck_uri,omitempty"` // This timestamp represents the instant when the event was reported by the executing framework. For example, when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when literal inputs are initially copied. The event however will not be sent until after the copy completes. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. ReportedAt time.Time `json:"reported_at,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go index 2445468bac..dac65497ac 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go @@ -16,12 +16,12 @@ import ( // Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. type EventTaskExecutionEvent struct { // ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. - TaskId *CoreIdentifier `json:"task_id,omitempty"` + TaskId *CoreIdentifier `json:"task_id,omitempty"` ParentNodeExecutionId *CoreNodeExecutionIdentifier `json:"parent_node_execution_id,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Logs []CoreTaskLog `json:"logs,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` + Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Logs []CoreTaskLog `json:"logs,omitempty"` // This timestamp represents when the original event occurred, it is generated by the executor of the task. OccurredAt time.Time `json:"occurred_at,omitempty"` // URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... @@ -29,8 +29,8 @@ type EventTaskExecutionEvent struct { // Raw input data consumed by this task execution. InputData *CoreLiteralMap `json:"input_data,omitempty"` // URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` // Raw output data produced by this task execution. OutputData *CoreLiteralMap `json:"output_data,omitempty"` // Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go index ce8d46d58a..279f0d5a5c 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go @@ -15,13 +15,13 @@ import ( type EventWorkflowExecutionEvent struct { ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` // This timestamp represents when the original event occurred, it is generated by the executor of the workflow. OccurredAt time.Time `json:"occurred_at,omitempty"` // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` // Raw output data produced by this workflow execution. OutputData *CoreLiteralMap `json:"output_data,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go index 6958ad770b..fa2eb9e95e 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go @@ -14,6 +14,6 @@ type ExecutionErrorErrorKind string // List of ExecutionErrorErrorKind const ( ExecutionErrorErrorKindUNKNOWN ExecutionErrorErrorKind = "UNKNOWN" - ExecutionErrorErrorKindUSER ExecutionErrorErrorKind = "USER" - ExecutionErrorErrorKindSYSTEM ExecutionErrorErrorKind = "SYSTEM" + ExecutionErrorErrorKindUSER ExecutionErrorErrorKind = "USER" + ExecutionErrorErrorKindSYSTEM ExecutionErrorErrorKind = "SYSTEM" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go index acc8c6bf69..000c4da4c6 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go @@ -8,16 +8,15 @@ */ package flyteadmin - // ExecutionMetadataExecutionMode : The method by which this execution was launched. - MANUAL: The default execution mode, MANUAL implies that an execution was launched by an individual. - SCHEDULED: A schedule triggered this execution launch. - SYSTEM: A system process was responsible for launching this execution rather an individual. - RELAUNCH: This execution was launched with identical inputs as a previous execution. - CHILD_WORKFLOW: This execution was triggered by another execution. - RECOVERED: This execution was recovered from another execution. type ExecutionMetadataExecutionMode string // List of ExecutionMetadataExecutionMode const ( - ExecutionMetadataExecutionModeMANUAL ExecutionMetadataExecutionMode = "MANUAL" - ExecutionMetadataExecutionModeSCHEDULED ExecutionMetadataExecutionMode = "SCHEDULED" - ExecutionMetadataExecutionModeSYSTEM ExecutionMetadataExecutionMode = "SYSTEM" - ExecutionMetadataExecutionModeRELAUNCH ExecutionMetadataExecutionMode = "RELAUNCH" + ExecutionMetadataExecutionModeMANUAL ExecutionMetadataExecutionMode = "MANUAL" + ExecutionMetadataExecutionModeSCHEDULED ExecutionMetadataExecutionMode = "SCHEDULED" + ExecutionMetadataExecutionModeSYSTEM ExecutionMetadataExecutionMode = "SYSTEM" + ExecutionMetadataExecutionModeRELAUNCH ExecutionMetadataExecutionMode = "RELAUNCH" ExecutionMetadataExecutionModeCHILD_WORKFLOW ExecutionMetadataExecutionMode = "CHILD_WORKFLOW" - ExecutionMetadataExecutionModeRECOVERED ExecutionMetadataExecutionMode = "RECOVERED" + ExecutionMetadataExecutionModeRECOVERED ExecutionMetadataExecutionMode = "RECOVERED" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go index 7ee8bcb82e..98ec72e86b 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go @@ -16,6 +16,6 @@ type FlyteidladminNodeExecution struct { // Path to remote data store where input blob is stored. InputUri string `json:"input_uri,omitempty"` // Computed results associated with this node execution. - Closure *AdminNodeExecutionClosure `json:"closure,omitempty"` + Closure *AdminNodeExecutionClosure `json:"closure,omitempty"` Metadata *AdminNodeExecutionMetaData `json:"metadata,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go index 507033a5ed..ab5fca2a45 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go @@ -10,6 +10,6 @@ package flyteadmin type FlyteidladminTaskCreateRequest struct { - Id *CoreIdentifier `json:"id,omitempty"` - Spec *AdminTaskSpec `json:"spec,omitempty"` + Id *CoreIdentifier `json:"id,omitempty"` + Spec *AdminTaskSpec `json:"spec,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go index 7e24dd89a1..56d98b26d1 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go @@ -11,7 +11,7 @@ package flyteadmin type FlyteidladminTaskNodeMetadata struct { // Captures the status of caching for this execution. - CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` - CheckpointUri string `json:"checkpoint_uri,omitempty"` + CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` + CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` + CheckpointUri string `json:"checkpoint_uri,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_execution_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_execution_metadata.go index aa12b33c61..71d474ab41 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_execution_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_execution_metadata.go @@ -18,6 +18,6 @@ type FlyteidleventTaskExecutionMetadata struct { // Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. ResourcePoolInfo []EventResourcePoolInfo `json:"resource_pool_info,omitempty"` // The identifier of the plugin used to execute this task. - PluginIdentifier string `json:"plugin_identifier,omitempty"` - InstanceClass *TaskExecutionMetadataInstanceClass `json:"instance_class,omitempty"` + PluginIdentifier string `json:"plugin_identifier,omitempty"` + InstanceClass *TaskExecutionMetadataInstanceClass `json:"instance_class,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go index 82826c00b0..50a76526b3 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go @@ -12,10 +12,10 @@ package flyteadmin type FlyteidleventTaskNodeMetadata struct { // Captures the status of caching for this execution. CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` + CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` // Captures the status of cache reservations for this execution. ReservationStatus *CatalogReservationStatus `json:"reservation_status,omitempty"` - CheckpointUri string `json:"checkpoint_uri,omitempty"` + CheckpointUri string `json:"checkpoint_uri,omitempty"` // In the case this task launched a dynamic workflow we capture its structure here. DynamicWorkflow *FlyteidleventDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go index b330b904c4..670fc15294 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go @@ -8,13 +8,12 @@ */ package flyteadmin - // IoStrategyDownloadMode : - DOWNLOAD_EAGER: All data will be downloaded before the main container is executed - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded type IoStrategyDownloadMode string // List of IOStrategyDownloadMode const ( - IoStrategyDownloadModeDOWNLOAD_EAGER IoStrategyDownloadMode = "DOWNLOAD_EAGER" + IoStrategyDownloadModeDOWNLOAD_EAGER IoStrategyDownloadMode = "DOWNLOAD_EAGER" IoStrategyDownloadModeDOWNLOAD_STREAM IoStrategyDownloadMode = "DOWNLOAD_STREAM" IoStrategyDownloadModeDO_NOT_DOWNLOAD IoStrategyDownloadMode = "DO_NOT_DOWNLOAD" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go index 39bd91f4a0..d7b6e5f1fe 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go @@ -8,13 +8,12 @@ */ package flyteadmin - // IoStrategyUploadMode : - UPLOAD_ON_EXIT: All data will be uploaded after the main container exits - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written type IoStrategyUploadMode string // List of IOStrategyUploadMode const ( IoStrategyUploadModeUPLOAD_ON_EXIT IoStrategyUploadMode = "UPLOAD_ON_EXIT" - IoStrategyUploadModeUPLOAD_EAGER IoStrategyUploadMode = "UPLOAD_EAGER" - IoStrategyUploadModeDO_NOT_UPLOAD IoStrategyUploadMode = "DO_NOT_UPLOAD" + IoStrategyUploadModeUPLOAD_EAGER IoStrategyUploadMode = "UPLOAD_EAGER" + IoStrategyUploadModeDO_NOT_UPLOAD IoStrategyUploadMode = "DO_NOT_UPLOAD" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go index e39a5c4181..2c8ff10df0 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go @@ -8,12 +8,11 @@ */ package flyteadmin - // PluginOverrideMissingPluginBehavior : - FAIL: By default, if this plugin is not enabled for a Flyte deployment then execution will fail. - USE_DEFAULT: Uses the system-configured default implementation. type PluginOverrideMissingPluginBehavior string // List of PluginOverrideMissingPluginBehavior const ( - PluginOverrideMissingPluginBehaviorFAIL PluginOverrideMissingPluginBehavior = "FAIL" + PluginOverrideMissingPluginBehaviorFAIL PluginOverrideMissingPluginBehavior = "FAIL" PluginOverrideMissingPluginBehaviorUSE_DEFAULT PluginOverrideMissingPluginBehavior = "USE_DEFAULT" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go index 12c6095dc7..112958abfa 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go @@ -8,13 +8,12 @@ */ package flyteadmin - // ProjectProjectState : The state of the project is used to control its visibility in the UI and validity. - ACTIVE: By default, all projects are considered active. - ARCHIVED: Archived projects are no longer visible in the UI and no longer valid. - SYSTEM_GENERATED: System generated projects that aren't explicitly created or managed by a user. type ProjectProjectState string // List of ProjectProjectState const ( - ProjectProjectStateACTIVE ProjectProjectState = "ACTIVE" - ProjectProjectStateARCHIVED ProjectProjectState = "ARCHIVED" + ProjectProjectStateACTIVE ProjectProjectState = "ACTIVE" + ProjectProjectStateARCHIVED ProjectProjectState = "ARCHIVED" ProjectProjectStateSYSTEM_GENERATED ProjectProjectState = "SYSTEM_GENERATED" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go index 1eb323f308..b7bb2d3e80 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go @@ -8,7 +8,6 @@ */ package flyteadmin - // ProtobufNullValue : `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. - NULL_VALUE: Null value. type ProtobufNullValue string diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go index bc006a5085..b156cc3b7e 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go @@ -8,14 +8,13 @@ */ package flyteadmin - // QualityOfServiceTier : - UNDEFINED: Default: no quality of service specified. type QualityOfServiceTier string // List of QualityOfServiceTier const ( QualityOfServiceTierUNDEFINED QualityOfServiceTier = "UNDEFINED" - QualityOfServiceTierHIGH QualityOfServiceTier = "HIGH" - QualityOfServiceTierMEDIUM QualityOfServiceTier = "MEDIUM" - QualityOfServiceTierLOW QualityOfServiceTier = "LOW" + QualityOfServiceTierHIGH QualityOfServiceTier = "HIGH" + QualityOfServiceTierMEDIUM QualityOfServiceTier = "MEDIUM" + QualityOfServiceTierLOW QualityOfServiceTier = "LOW" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go index e4c77cb7c8..cb02920221 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go @@ -12,6 +12,6 @@ package flyteadmin // Encapsulates a resource name and value. type ResourcesResourceEntry struct { // Resource name. - Name *ResourcesResourceName `json:"name,omitempty"` - Value string `json:"value,omitempty"` + Name *ResourcesResourceName `json:"name,omitempty"` + Value string `json:"value,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go index b8bc37546f..13b9f8b236 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go @@ -8,16 +8,15 @@ */ package flyteadmin - // ResourcesResourceName : Known resource names. - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs. type ResourcesResourceName string // List of ResourcesResourceName const ( - ResourcesResourceNameUNKNOWN ResourcesResourceName = "UNKNOWN" - ResourcesResourceNameCPU ResourcesResourceName = "CPU" - ResourcesResourceNameGPU ResourcesResourceName = "GPU" - ResourcesResourceNameMEMORY ResourcesResourceName = "MEMORY" - ResourcesResourceNameSTORAGE ResourcesResourceName = "STORAGE" + ResourcesResourceNameUNKNOWN ResourcesResourceName = "UNKNOWN" + ResourcesResourceNameCPU ResourcesResourceName = "CPU" + ResourcesResourceNameGPU ResourcesResourceName = "GPU" + ResourcesResourceNameMEMORY ResourcesResourceName = "MEMORY" + ResourcesResourceNameSTORAGE ResourcesResourceName = "STORAGE" ResourcesResourceNameEPHEMERAL_STORAGE ResourcesResourceName = "EPHEMERAL_STORAGE" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go index 798b8b6784..85abd1fbcc 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go @@ -13,6 +13,6 @@ type RuntimeMetadataRuntimeType string // List of RuntimeMetadataRuntimeType const ( - RuntimeMetadataRuntimeTypeOTHER RuntimeMetadataRuntimeType = "OTHER" + RuntimeMetadataRuntimeTypeOTHER RuntimeMetadataRuntimeType = "OTHER" RuntimeMetadataRuntimeTypeFLYTE_SDK RuntimeMetadataRuntimeType = "FLYTE_SDK" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go index dd183d0843..ece75c9671 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go @@ -13,10 +13,10 @@ type SchemaColumnSchemaColumnType string // List of SchemaColumnSchemaColumnType const ( - SchemaColumnSchemaColumnTypeINTEGER SchemaColumnSchemaColumnType = "INTEGER" - SchemaColumnSchemaColumnTypeFLOAT SchemaColumnSchemaColumnType = "FLOAT" - SchemaColumnSchemaColumnTypeSTRING_ SchemaColumnSchemaColumnType = "STRING" - SchemaColumnSchemaColumnTypeBOOLEAN SchemaColumnSchemaColumnType = "BOOLEAN" + SchemaColumnSchemaColumnTypeINTEGER SchemaColumnSchemaColumnType = "INTEGER" + SchemaColumnSchemaColumnTypeFLOAT SchemaColumnSchemaColumnType = "FLOAT" + SchemaColumnSchemaColumnTypeSTRING_ SchemaColumnSchemaColumnType = "STRING" + SchemaColumnSchemaColumnTypeBOOLEAN SchemaColumnSchemaColumnType = "BOOLEAN" SchemaColumnSchemaColumnTypeDATETIME SchemaColumnSchemaColumnType = "DATETIME" SchemaColumnSchemaColumnTypeDURATION SchemaColumnSchemaColumnType = "DURATION" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go index 4d0675052c..4f76410bc7 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go @@ -8,13 +8,12 @@ */ package flyteadmin - // SecretMountType : - ANY: Default case, indicates the client can tolerate either mounting options. - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable. - FILE: FILE indicates the secret needs to be mounted as a file. type SecretMountType string // List of SecretMountType const ( - SecretMountTypeANY SecretMountType = "ANY" + SecretMountTypeANY SecretMountType = "ANY" SecretMountTypeENV_VAR SecretMountType = "ENV_VAR" - SecretMountTypeFILE SecretMountType = "FILE" + SecretMountTypeFILE SecretMountType = "FILE" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go index 5e8684503e..bc5e709b53 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go @@ -8,12 +8,11 @@ */ package flyteadmin - // SortDirection : - DESCENDING: By default, fields are sorted in descending order. type SortDirection string // List of SortDirection const ( SortDirectionDESCENDING SortDirection = "DESCENDING" - SortDirectionASCENDING SortDirection = "ASCENDING" + SortDirectionASCENDING SortDirection = "ASCENDING" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go index d6ae9ce5c1..4f3e1a661a 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go @@ -8,14 +8,13 @@ */ package flyteadmin - // SqlDialect : The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. We support the following dialect: ansi, hive. type SqlDialect string // List of SqlDialect const ( SqlDialectUNDEFINED SqlDialect = "UNDEFINED" - SqlDialectANSI SqlDialect = "ANSI" - SqlDialectHIVE SqlDialect = "HIVE" - SqlDialectOTHER SqlDialect = "OTHER" + SqlDialectANSI SqlDialect = "ANSI" + SqlDialectHIVE SqlDialect = "HIVE" + SqlDialectOTHER SqlDialect = "OTHER" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go index b5552c8c6e..efff48b058 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go @@ -8,12 +8,11 @@ */ package flyteadmin - // TaskExecutionMetadataInstanceClass : Includes the broad category of machine used for this specific task execution. - DEFAULT: The default instance class configured for the flyte application platform. - INTERRUPTIBLE: The instance class configured for interruptible tasks. type TaskExecutionMetadataInstanceClass string // List of TaskExecutionMetadataInstanceClass const ( - TaskExecutionMetadataInstanceClassDEFAULT_ TaskExecutionMetadataInstanceClass = "DEFAULT" + TaskExecutionMetadataInstanceClassDEFAULT_ TaskExecutionMetadataInstanceClass = "DEFAULT" TaskExecutionMetadataInstanceClassINTERRUPTIBLE TaskExecutionMetadataInstanceClass = "INTERRUPTIBLE" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go index 75d9e7a78c..46eab08cba 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go @@ -14,6 +14,6 @@ type TaskLogMessageFormat string // List of TaskLogMessageFormat const ( TaskLogMessageFormatUNKNOWN TaskLogMessageFormat = "UNKNOWN" - TaskLogMessageFormatCSV TaskLogMessageFormat = "CSV" - TaskLogMessageFormatJSON TaskLogMessageFormat = "JSON" + TaskLogMessageFormatCSV TaskLogMessageFormat = "CSV" + TaskLogMessageFormatJSON TaskLogMessageFormat = "JSON" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go index 64efb21dc1..81379f25c6 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go @@ -8,12 +8,11 @@ */ package flyteadmin - // WorkflowMetadataOnFailurePolicy : - FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically abort all currently running nodes and clean up resources before finally marking the workflow executions as failed. - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will not alter the dependencies of the execution graph so any node that depend on the failed node will not be run. Other nodes that will be executed to completion before cleaning up resources and marking the workflow execution as failed. type WorkflowMetadataOnFailurePolicy string // List of WorkflowMetadataOnFailurePolicy const ( - WorkflowMetadataOnFailurePolicyIMMEDIATELY WorkflowMetadataOnFailurePolicy = "FAIL_IMMEDIATELY" + WorkflowMetadataOnFailurePolicyIMMEDIATELY WorkflowMetadataOnFailurePolicy = "FAIL_IMMEDIATELY" WorkflowMetadataOnFailurePolicyAFTER_EXECUTABLE_NODES_COMPLETE WorkflowMetadataOnFailurePolicy = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" ) diff --git a/flyteidl/gen/pb-go/flyteidl/service/identity.pb.go b/flyteidl/gen/pb-go/flyteidl/service/identity.pb.go index 7268a9afa5..e99fbf81ef 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/identity.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/identity.pb.go @@ -6,14 +6,13 @@ package service import ( context "context" fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/service/openapi.go b/flyteidl/gen/pb-go/flyteidl/service/openapi.go index 5d57550e79..84e23c269c 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/openapi.go +++ b/flyteidl/gen/pb-go/flyteidl/service/openapi.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. (@generated) DO NOT EDIT. -// Package service generated by go-bindata.// sources: + //Package service generated by go-bindata.// sources: // ../service/admin.swagger.json package service @@ -157,13 +157,11 @@ var _bindata = map[string]func() (*asset, error){ // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"} // AssetDir("data/img") would return []string{"a.png", "b.png"} // AssetDir("foo.txt") and AssetDir("notexist") would return an error diff --git a/flyteidl/gen/pb-go/flyteidl/service/signal.pb.go b/flyteidl/gen/pb-go/flyteidl/service/signal.pb.go index 5a38bf8ab8..02d6a8c7be 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/signal.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/signal.pb.go @@ -6,14 +6,13 @@ package service import ( context "context" fmt "fmt" - math "math" - admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used.