Commit a33df71
linodego v2 (#973)
* TPT-4423: Drop resty as a dependency (#938)
* Ported resty removal changes to new branch from up-to-date main and made additional changes to monitor client
* Fixed lint
* Updated log formatting to more closely resemble Resty's
* Fixed lint
* redact request header log
* Fixes
* Fixed CoPilot suggestions
* Sanitize log output
* Addressed CoPilot comments
---------
Co-authored-by: Zhiwei Liang <zliang@akamai.com>
* TPT-4421: Remove deprecated fields and methods (#946)
* Removed deprecated fields and methods and updated tests
* Fix lint
* Addressed copilot suggestion
* Fixed lint
* Removed V2 suffix from various fields and methods
* Addressed CoPilot suggestions
* Added separate struct for Instance IP Address update options
* Address PR suggestions
* TPT-4414: Refactor JSON tags to use "omitzero" for optional fields across multiple files (#947)
* Refactor JSON struct tags to use "omitzero" for optional fields
* Remove url tags in pagination structs
* TPT-4414: Change slice pointer types with `omitzero` to be slice (#954)
* Refactor: Change pointer slices to slices for various fields with omitzero
* Refresh fixtures
* Update TestLKECluster_Update to remove pinned lke versions in test
* TPT-4434: Added custom type for Region Capabilities and updated tests (#953)
* Added custom type for Region Capabilities and updated tests
* Fix formatting
* Added disctinction between Object Storage Bucket Access POST/PUT endpoints (#951)
* TPT-3454: Refactor wait functions to use context for timeouts and polling (#964)
* Refactor wait functions to use context for timeouts and polling
* fix context cancelled in cleanup
* nolint generic return type
* Fix grammar
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Make preTask a private function; cleanup unnecessary previousEvents allocation
* Fix error msg format
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* TPT-4422: Added options structs for POST/PUT endpoints that were missing them (#968)
* Added options structs for POST/PUT endpoints that were missing them
* Address PR comments
* Address PR comments
* TPT-3483: Update NewClient method to return an error rather than just logging errors (#967)
* refactor: update NewClient and related functions to handle errors properly
* refactor: update SetRootCertificate to return errors and enhance logging
* update NewClient instantiation to handle errors
* Export PaginatedResponse type in request_helpers (#970)
* TPT-3388: Separated GET and POST/PUT options structs where needed (#969)
* Separated GET and POST/PUT options structs where needed
* Separated additional structs that were reused for options and response
* More struct fixes
* Fix lint
* Rename FirewallRule structs
* integration test fixes
* Addressed PR comments
* FirewallRuleSetRule options; test updates; fixture refreshed
* Address more PR comments
---------
Co-authored-by: Zhiwei Liang <zliang@akamai.com>
* TPT-4464: Update FirewallDeviceEntity Label field to be a pointer (#971)
* Update FirewallDeviceEntity Label field to be a pointer and adjust tests accordingly
* Fix unit tests
* fmt
* Fix another unit test
* Change `[]*T` to `[]T` in all structs (#972)
* Remove LKE cluster dashboard function, tests, and related fixture (#975)
* Simplify client.go (#976)
Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
* Apply suggestion from @zliang-akamai
* Update region capability in TestImageSharing_Suite to use Linodes
---------
Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
Co-authored-by: Erik Zilber <ezilber@akamai.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Zhiwei Liang <zhiwei.liang@zliang.me>1 parent 19b7b07 commit a33df71
210 files changed
Lines changed: 10201 additions & 10905 deletions
File tree
- internal/testutil
- k8s
- test
- integration
- fixtures
- unit
- fixtures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | 234 | | |
243 | 235 | | |
244 | 236 | | |
| |||
343 | 335 | | |
344 | 336 | | |
345 | 337 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | 338 | | |
357 | 339 | | |
358 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
| |||
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | | - | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments