Skip to content

Releases: SchwarzIT/community-stackit-go-client

v0.2.1

04 Oct 17:41
3e48f8c
Compare
Choose a tag to compare

Enhancements

The client now has an integrated retry functionality

Example:

If c is the initialised client, we can now run:

r := retry.New()
err := c.WithRetry(r).ObjectStorage.Buckets.Create(context.TODO(), projectID, bucketName)
if err != nil {
	panic(err)
}

The retry package supports the following functionalities:

  • Maximum retries
  • Timeout
  • Throttle (duration to wait between retries)
  • Is Retryable (determine if an error returned allows retry or stops any further requests)
  • Until (wait for the response to have a certain value / state)

Change from v0.2.0:

re-initialisation of the client now happens during WithRetry

v0.2.0

04 Oct 17:20
9e86da9
Compare
Choose a tag to compare

Enhancements

The client now has an integrated retry functionality

Example:

If c is the initialised client, we can now run:

r := retry.New()
err := c.WithRetry(r).ObjectStorage.Buckets.Create(context.TODO(), projectID, bucketName)
if err != nil {
	panic(err)
}

The retry package supports the following functionalities:

  • Maximum retries
  • Timeout
  • Throttle (duration to wait between retries)
  • Is Retryable (determine if an error returned allows retry or stops any further requests)
  • Until (wait for the response to have a certain value / state)

v0.1.1

30 Sep 13:13
24c5cf7
Compare
Choose a tag to compare
Merge pull request #6 from SchwarzIT/fix/ske-cluster-list

Fix/ske cluster list

v0.1.0

28 Sep 13:31
cfdbd9e
Compare
Choose a tag to compare

Initial release after open-sourcing the client repository