cloud-sdk-go

APACHE-2.0 License

Stars
21
Committers
31

Bot releases are visible (Hide)

cloud-sdk-go - v1.21.0 Latest Release

Published by github-actions[bot] about 1 month ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.8.0.

Enhancements

Add the ESS-only organizations API. (#477)

Adds support for the organizations API (https://www.elastic.co/guide/en/cloud/current/Organizations.html). This API is currently unavailable in self-hosted ECE and can only be used against the Elastic cloud service.

Update to latest Elastic cloud API (#481)

Updates the generated clients and models to match the API available in Elastic cloud.

cloud-sdk-go - v1.20.0

Published by github-actions[bot] 4 months ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0.

Bug fixes

Fix deployment API for updating deployment-alias. (#472)

Fixes the deployment API (DeploymentCreateRequest, DeploymentUpdateRequest) so it is possible to remove the deployment-alias. An explicit empty String can now be passed to remove the alias.

cloud-sdk-go - v1.19.0

Published by github-actions[bot] 5 months ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0.

Enhancements

Add new parameter for deployment get. (#469)

Adds support for parameters show_instance_configurations, enrich_with_template, force_all_plan_history and clear_transient when getting deployment info.

cloud-sdk-go - v1.18.0

Published by github-actions[bot] 5 months ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0.

Enhancements

Add new parameter for instance-configuration API. (#467)

Adds support for new parameters show_deleted, show_max_zones and config_version for get and list instance-configs.

cloud-sdk-go - v1.17.0

Published by github-actions[bot] 6 months ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0.

Enhancements

Update to latest ECE 3.7.0 api (#461)

Breaking:

  • The notes api is no more. Use the deployment comment api instead.
    Other:
  • The instance configurations can now specify allowed zones.
  • The deployment update api can use the ValidateOnly flag

Add show_max_zones parameter for deployment-templates API. (#462)

This parameter adds the max_zones field to each instance-configuration. (Left empty by default).

cloud-sdk-go - v1.16.0

Published by gigerdo 10 months ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0.

Bug fixes

Fix vacate tracking for integrations-server kind. (#455)

When using the allocator vacate API, the code can now properly handle tracking the vacate process for instances of type integrations-serer.

cloud-sdk-go - v1.15.0

Published by claudia-correia 10 months ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0.

Enhancements

Update API spec to ESS MS-101 (#451)

Updates the generated clients and models to match the API available in Elastic cloud MS-101.

Bug fixes

Handle empty instance_configuration_versions in topology elements. (#450)

We couldn't set instance_configuration_version to 0 because it would be considered as an empty value and it would be omitted during JSON marshalling.
This has now been fixed by updating the instance_configuration_version type to *int32.

cloud-sdk-go - v1.14.0

Published by gigerdo about 1 year ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0.

Enhancements

Update API spec to ESS ms-98 (#444)

Updates the generated clients and models to match the latest API available in Elastic cloud.

Bug fixes

Properly support AllocatorDown parameter for the VacateCluster command. (#443)

The vacate parameter AllocatorDown was ignored and not passed through to the actual request.
This has now been fixed and the parameter can be used when calling VacateCluster.

cloud-sdk-go - v1.13.0

Published by elasticcloudclients about 1 year ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0.

Enhancements

Update API spec to ECE 3.7.0 / ESS ms-96 (#440)

Updates the ECE generated Clients and models to the latest version.

cloud-sdk-go - v1.12.1

Published by elasticcloudclients over 1 year ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.5.1.

Enhancements

snaprepoapi: Add PathStyleAccess field to S3Config (#426)

Add the missing PathStyleAccess field to the struct S3Config which is used for configuring S3 snapshot repositories.
See also https://www.elastic.co/guide/en/elasticsearch/reference/current/repository-s3.html#repository-s3-client

cloud-sdk-go - v1.12.0

Published by elasticcloudclients over 1 year ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.5.1.

Enhancements

Update API spec to ECE 3.5.1 / ESS ms-81 (#424)

Updates the ECE generated Clients and models to the latest version.

cloud-sdk-go - v1.11.0

Published by elasticcloudclients almost 2 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.4.0.

Enhancements

Update API spec to ECE 3.4.0 / ESS ms-78 (#408)

Updates the ECE generated Clients and models to the latest version.

Bug fixes

Fixed deploymentapi.NewUpdateRequest for deployments with autoscaling enabled (#416)

Requests generated by deploymentapi.NewUpdateRequest used to only contain topology elements with size > 0.
However for deployments with autoscaling enabled, all elements must be included. With this fix the generated
request will contain all topology elements for Elasticsearch as defined by the deployment template.

cloud-sdk-go - v1.10.0

Published by elasticcloudclients about 2 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.3.0.

Enhancements

Update API spec to ECE 3.3.0 / ESS ms-77 (#404)

Updates the ECE generated Clients and models to the latest version.

cloud-sdk-go - v1.9.0

Published by elasticcloudclients over 2 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.2.0.

Enhancements

Re-generate code based on ece 3.2.0's apidocs.json (#399)

This PR updates apidocs.json file along with its regenerated derivatives to match the upcoming release.

Bug fixes

Apply create/update overrides to integrations_server resources (#401)

Includes resource overrides for integrations server resources.

cloud-sdk-go - v1.8.1

Published by elasticcloudclients over 2 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.0.1.

Bug fixes

Add plan tracking for integrations_server (#386)

Adds the missing plan tracking for the integrations server.

cloud-sdk-go - v1.8.0

Published by elasticcloudclients over 2 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 3.0.0.

Enhancements

Add insecure attribute on cluster meta (#367)

Cluster Metadata Info did not have any attributes to imply whether cert verification should be skipped when trying to communicate with it.

Update swagger generated code to MS68 release (removal of deployment template endpoints) (#374)

This PR updates the API with changes from ms-68 (still not removing the clusters API) but it does remove the old deployment templates endpoint and models.

Update swagger generated code to MS68 release (removal of clusters API) (#375)

This PR updates the API with changes from ms-68 (removing the clusters API and the reauthenticate endpoint)

Add 409 response to Mock API client (#377)

It adds HTTP 409 response to Mock API client. To be able to run acceptance tests in TF ElasticCloud provider, we need to mock API client and e.g. to check whether a role already exists, we need to return that HTTP code.

Update swagger generated code to ms-69 (#379)

This PR updates apidocs.json file along with its regenerated derivatives to match the upcoming release.

Bug fixes

Avoid escaping JSON string payload for set-deployment-resource-raw-metadata (#369)

When leveraging the cloud client method for: https://github.com/elastic/cloud-sdk-go/blob/master/pkg/client/deployments/deployments_client.go#L1552-L1586 which hits the following API endpoint: https://www.elastic.co/guide/en/cloud-enterprise/current/set-deployment-resource-raw-metadata.html, we should not be escaping the string JSON body.

Add API validation in CreateKey (#378)

Adds the missing api.API validation in CreateKeyParams.Validate().

cloud-sdk-go - v1.7.0

Published by elasticcloudclients almost 3 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 2.13.0.

Enhancements

Update OpenAPI spec to ECE 2.13.0 (#364)

Updates the ECE generated Clients and models to the latest version.

cloud-sdk-go - v1.6.0

Published by elasticcloudclients about 3 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 2.12.0.

Enhancements

Update OpenAPI spec to ECE 2.12.0 (#352)

Updates the ECE generated Clients and models to the latest version.

cloud-sdk-go - v1.5.0 - ECE 2.11.0

Published by elasticcloudclients about 3 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 2.11.0.

Enhancements

Update spec for ECE 2.11.0 (#340)

Updates the ECE generated Clients and models to the latest version.

cloud-sdk-go - v1.4.0 - ECE 2.10.0

Published by marclop over 3 years ago

Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version 2.10.0.

New APIs

Add new trafficfilterapi.NewUpdateRequestFromGet (#317)

New function allows building a traffic filter update request from the current traffic filter.

Add new proxy settingsapi.Get function (#326)

Adds a new API that allows obtaining ECE Proxy setting information.

Add new proxy settingsapi.Update function (#327)

Adds a new API that allows updating an ECE Proxy settings, overriding any previous settings with the specified parameters.

Add new proxy settingsapi.Patch function (#328)

Adds a new API that allows updating a partial definition of a proxy's settings using the PATCH method.

Enhancements

Add failure fields to plan tracking (#315)

A new FailureDetails field has been added to the plan tracking output and returned error from plan.TrackChange.

This change will only be noticeable for clients that choose to plan a change with a JSON formatter. Other clients'
outputs will remain untouched.

Allow `deploymentsize.ParseGb to parse "0g" and "0" (#324)

Updates the deploymentsize.ParseGb function to allow parsing "0" and "0g".

Improve allocatorapi.Vacate API calls (#330)

Optimizes the API calls that the Vacate function performs in order to reduce the amount of work
the API has to perform to calculate a cluster's move.

Bug fixes

Fix ignored "order" field in DeploymentTemplate structures (#323)

Updates the field type of the DeploymentTemplate structures to *int32 so the 0 value is not lost when the JSON is decoded.