dependabot[bot]
1a8ebcf405
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ( #110 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 20:15:33 +11:00
Joshua Spence
1c701d3596
Downgrade go version
2023-02-28 09:55:57 +11:00
dependabot[bot]
8536d3b8d5
Bump golang.org/x/net from 0.6.0 to 0.7.0 ( #108 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 09:27:11 +11:00
Joshua Spence
b6f2d95b18
Add goreleaser config ( #107 )
...
Notes for future self:
- **To run a "local" release:** `goreleaser release --snapshot --clean`
- **To check configuration file:** `goreleaser check`
- **To create a new release:** `goreleaser release`
2023-02-27 09:41:38 +11:00
Joshua Spence
0e2aa4d1cc
Fix lint ( #106 )
2023-02-23 14:36:01 +11:00
Joshua Spence
ec93016c4a
Add golangci-lint to tools
2023-02-23 14:14:05 +11:00
dependabot[bot]
ad9e8f2d74
Bump golang.org/x/tools from 0.4.0 to 0.5.0 ( #102 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 11:05:12 +11:00
dependabot[bot]
7932e3975b
Bump github.com/ulikunitz/xz from 0.5.10 to 0.5.11 ( #100 )
...
Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz ) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/ulikunitz/xz/releases )
- [Commits](https://github.com/ulikunitz/xz/compare/v0.5.10...v0.5.11 )
---
updated-dependencies:
- dependency-name: github.com/ulikunitz/xz
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 08:27:49 +11:00
dependabot[bot]
44752dba53
Bump golang.org/x/tools from 0.1.12 to 0.4.0 ( #99 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.12 to 0.4.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.12...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 17:11:08 +11:00
dependabot[bot]
2f6ecf5ab8
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ( #96 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 13:37:00 +11:00
dependabot[bot]
dd7be9a4f1
Bump golang.org/x/tools from 0.1.11 to 0.1.12 ( #87 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.11...v0.1.12 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-10 11:08:30 +10:00
dependabot[bot]
541d8799ae
Bump golang.org/x/tools from 0.1.10 to 0.1.11
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.10...v0.1.11 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-03 10:37:39 -04:00
dependabot[bot]
5fe1cc1b15
Bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-03 10:37:30 -04:00
dependabot[bot]
9452eb5091
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-03 10:37:21 -04:00
dependabot[bot]
6bb9559473
Bump github.com/stretchr/testify from 1.7.4 to 1.7.5 ( #81 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 09:05:33 +10:00
dependabot[bot]
ad74e147a1
Bump github.com/stretchr/testify from 1.7.1 to 1.7.4 ( #80 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 08:36:38 +10:00
dependabot[bot]
b4ce5a0d5e
Bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 ( #76 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 17:38:29 +10:00
dependabot[bot]
156c4a8ebe
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 ( #65 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 14:17:53 +11:00
dependabot[bot]
562ad5b798
Bump golang.org/x/tools from 0.1.9 to 0.1.10 ( #64 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.9...v0.1.10 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 14:17:36 +11:00
dependabot[bot]
5351452eca
Bump golang.org/x/tools from 0.1.8 to 0.1.9 ( #60 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.8...v0.1.9 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-31 15:41:37 +11:00
dependabot[bot]
e1fe310f6d
Bump github.com/hashicorp/go-version from 1.3.0 to 1.4.0 ( #58 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 12:33:34 +11:00
dependabot[bot]
1ad6a13fab
Bump golang.org/x/tools from 0.1.7 to 0.1.8 ( #56 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.7...v0.1.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-21 11:45:47 +11:00
dependabot[bot]
3d8a23e785
Bump golang.org/x/tools from 0.1.6 to 0.1.7 ( #51 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.6...v0.1.7 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-29 09:48:10 +10:00
Joshua Spence
ff2854e943
Implement Stringer interface for DeviceState ( #49 )
...
* Implement `Stringer` interface for `DeviceState`
If device adoption fails the error message isn't very readable at the moment.
```
Error: unexpected state '10', wanted target '2'.
```
* Use `stringer`
2021-09-24 13:55:12 +10:00
Joshua Spence
e27afc6e32
Add --latest flag
...
Allow using the latest version of the Unifi controller with `--latest`.
2021-08-11 11:40:15 +10:00
dependabot[bot]
7ebb3b204f
Bump github.com/iancoleman/strcase from 0.1.3 to 0.2.0 ( #42 )
...
Bumps [github.com/iancoleman/strcase](https://github.com/iancoleman/strcase ) from 0.1.3 to 0.2.0.
- [Release notes](https://github.com/iancoleman/strcase/releases )
- [Commits](https://github.com/iancoleman/strcase/compare/v0.1.3...v0.2.0 )
---
updated-dependencies:
- dependency-name: github.com/iancoleman/strcase
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-14 09:32:12 +10:00
Paul Tyng
4ab4036985
Bump to 6.0.43, use go generate
...
Also moved fetching of JSON information to Go for cross-OS usage.
2021-04-09 09:51:50 -04:00
dependabot[bot]
b5c55d88f4
Bump github.com/iancoleman/strcase from 0.1.2 to 0.1.3
...
Bumps [github.com/iancoleman/strcase](https://github.com/iancoleman/strcase ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/iancoleman/strcase/releases )
- [Commits](https://github.com/iancoleman/strcase/compare/v0.1.2...v0.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-15 09:11:15 -05:00
dependabot[bot]
1aff93dbbb
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-14 14:22:49 -05:00
Paul Tyng
54b85782ca
Cleanup mod
2020-12-01 12:31:12 -05:00
Paul Tyng
abc676f62b
Add support for 6.0.23
2020-10-20 10:10:32 -04:00
James Stephenson
35eda4f67b
Refactor type generator
...
* Allows for generating top-level types for any embedded struct so
that sub-types can be properly instantiated from calling code
* Specifying `-no-embedded-types` will generate top-level types
rather than embedding the struct
* Refactored "Device" API
* All fields set to `omitempty` because it describes all possible
device types, so effectively any field could be omitted any time
* Fixed `get` call for "Device" API; replacing `rest` with `stat`
* Generated `get` and `update` calls for `Setting*` APIs
* Added `5.14.23` JSON files
2020-09-10 08:50:21 -04:00
James Stephenson
47fa522aba
Expose the Account API (RADIUS users)
...
* Adds Account CRUD API
* Enahnces `emptyStringInt` with a predicate for dynamically setting
which value should be interpreted as a blank JSON payload
2020-08-27 21:48:13 -04:00
Paul Tyng
435ecf9d6f
Initial version
...
Extracted from paultyng/terraform-provider-unifi@ef25893f14
2020-01-10 14:31:12 -05:00