Skip to content

Commit 3b8b075

Browse files
authored
chore(lib): update UpCloud Go API client library (#118)
Update `upcloud-go-api` to version v4.5.0 and update readme file.
1 parent e860624 commit 3b8b075

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- `storage modify` command now accepts `enable-filesystem-autoresize` flag. When that flag is set upctl will attempt to resize partition and filesystem after storage size has been modified.
1212

1313
### Changed
14-
- New go-api version v4.3.0
14+
- New go-api version v4.5.0
1515

1616
### Fixed
1717
- Improved errors relating to argument resolver failures

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ The detailed documentation can be found [here](docs/upctl.md)
156156
## Contributing
157157

158158
Contributions from the community are much appreciated! Please note that all features using our
159-
API should be implemented with [UpCloud Golang API SDK](https://github.com/UpCloudLtd/upcloud-go-api).
159+
API should be implemented with [UpCloud Go API SDK](https://github.com/UpCloudLtd/upcloud-go-api).
160160
If something is missing from there, add an issue or PR in that repository instead before implementing it here.
161161

162162
* Check GitHub issues and pull requests before creating new ones
@@ -168,10 +168,10 @@ If something is missing from there, add an issue or PR in that repository instea
168168

169169
## Development
170170

171-
* upctl uses [UpCloud Golang API SDK](https://github.com/UpCloudLtd/upcloud-go-api)
171+
* upctl uses [UpCloud Go API SDK](https://github.com/UpCloudLtd/upcloud-go-api)
172172
* upctl is built on [Cobra](https://cobra.dev)
173173

174-
You need a Golang version 1.11+ installed on your development machine.
174+
You need a Go version 1.11+ installed on your development machine.
175175
Use `make` to build and test the CLI. Makefile help can be found:
176176

177177
```
@@ -188,6 +188,9 @@ fmt Run gofmt on all source files
188188
clean Cleanup everything
189189
```
190190

191+
### Debugging
192+
Environment variables `UPCLOUD_DEBUG_API_BASE_URL` and `UPCLOUD_DEBUG_SKIP_CERTIFICATE_VERIFY` can be used for HTTP client debugging purposes. More information can be found in the client's [README](https://github.com/UpCloudLtd/upcloud-go-api/blob/986ca6da9ca85ff51ecacc588215641e2e384cfa/README.md#debugging) file.
193+
191194
### Requirements
192195

193196
This repository uses [pre-commit](https://pre-commit.com/#install) and [go-critic](https://github.com/go-critic/go-critic)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/UpCloudLtd/upcloud-cli
33
go 1.13
44

55
require (
6-
github.com/UpCloudLtd/upcloud-go-api/v4 v4.3.0
6+
github.com/UpCloudLtd/upcloud-go-api/v4 v4.5.0
77
github.com/adrg/xdg v0.3.2
88
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
99
github.com/fsnotify/fsnotify v1.4.9 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym
1818
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
1919
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
2020
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
21-
github.com/UpCloudLtd/upcloud-go-api/v4 v4.3.0 h1:e5451CIjLBeJf+fAmczTMeaAhIg0TwSB8aQ1PaRSmTY=
22-
github.com/UpCloudLtd/upcloud-go-api/v4 v4.3.0/go.mod h1:yGgbryc2wCR6fzfRCMnH6ZrjWPfZjKCWaJDnp4IameY=
21+
github.com/UpCloudLtd/upcloud-go-api/v4 v4.5.0 h1:CyQVxM9kFsSlOrBwi39dfwIVrPBBmLU+jpz7PjARj3I=
22+
github.com/UpCloudLtd/upcloud-go-api/v4 v4.5.0/go.mod h1:yGgbryc2wCR6fzfRCMnH6ZrjWPfZjKCWaJDnp4IameY=
2323
github.com/adrg/xdg v0.3.2 h1:GUSGQ5pHdev83AYhDSS1A/CX+0JIsxbiWtow2DSA+RU=
2424
github.com/adrg/xdg v0.3.2/go.mod h1:7I2hH/IT30IsupOpKZ5ue7/qNi3CoKzD6tL3HwpaRMQ=
2525
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=

0 commit comments

Comments
 (0)