gomaasapi
gomaasapi copied to clipboard
Go bindings for talking to MAAS
This PR enables updating MAAS resources with files included. Acts as an enabler for: `PUT /MAAS/api/2.0/scripts/{name}: Update a script` Source: https://maas.io/docs/api
This is converted to a series if deploying with base isn't supported As a flyby, tidy go.mod and replace github.com/juju/version with github.com/juju/version/v2
The following run is go mod tidy
This PR adds some additional machine state enums to `enum.go` that exist in more recent versions of the API.
This PR adds a bunch of functionality. I haven't spent any time adding unit tests for the new functions or learning how the unit testing framework is set up, but...