Bot releases are hidden (Show)
Published by karencfv over 4 years ago
Adds a new DecodeFlags function which through reflection and
mapstructure is able to decode a cobra.Command defined flags into a
structure's fields which match the flag's type and mapstructure tag.
Adds a new package under pkg/multierror which is aimed to be used
instead of multierror.Error. The main motivation behind this change is
to enforce a prefix to be used in all of the multierrors which will
provide more context to the error consumers.
Modifies the ErrCatchTransport type so that it handles the case when
Content-Type is text/html, the auto-generated client framework won't
be able to handle the proxied responses of that type since they're
contingent on the error response specified by the swagger definition,
thus anything with a Content-Type different than application/json
won't be handled and instead a cryptic error will be returned.
New TrackChange function which uses the deployments
API to track any pending changes of a Deployment. It supports tracking
changes by specifying a DeploymentID or ResourceID and Kind which
is very similar to what the legacy plan tracker did.
Published by marclop over 4 years ago
This release contains bug fixes, version updates, and development improvements.
As usual, the autogenerated Go code has been updated to match the 2.5.0 ECE API swagger specification.
Allows the user to configure a user agent via api.Config.UserAgent
. If the field is not set, it defaults
to cloud-sdk-go/<version>
, which after this release will be cloud-sdk-go/2.5.0
.
Fixes a bug in the plan tracker logic which made it return the first
step which finished with status "error" rather than the last step. This
has many downstream effects but most notably, makes vacates miss the end
result of the vacate and potentially flag a cluster vacate as sucessful
when it is not.
Published by karencfv over 4 years ago
Updates swagger to v0.22.0
Published by karencfv over 4 years ago
Introduces a cmdutil
package for common utility functions a cli can use
Published by ppapapetrou76 over 4 years ago
Published by ppapapetrou76 almost 5 years ago
Published by karencfv almost 5 years ago
Adds a Timeout field of time.Duration to the api.Config structure, allowing users to set the Timeout value for all API calls.
Updates various dependencies to their latest versions.
Published by marclop almost 5 years ago
Adds a new type ErrCatchTransport
which implements http.RoundTripper. Its intended usage is to be used as the Transport for http.Client(s) which want to successfully be able to unwrap all possible errors returned by the autogenerated code from the swagger definition via api.UnwrapError
.
Published by marclop almost 5 years ago
Adds an api.Version
variable which can be used by clients to see which
ECE compatibility version it has.
Also changes the swagger target to automatically open their ${EDITOR}
after the models have been generated.
$ make swagger
[..]
--> Please update "pkg/api/version.go" with the version number of the ECE compatible definition just used for code generation.
-> Press enter to open the file with vim
Published by marclop almost 5 years ago
Published by karencfv almost 5 years ago
Published by karencfv about 5 years ago