Marques Johansson
Marques Johansson
Related conversations in the Terraform provider: * https://github.com/equinix/terraform-provider-metal/pull/197#issuecomment-979939139 * https://github.com/equinix/terraform-provider-metal/pull/192#issuecomment-926745851
In Terraform, an `ErrorResponse` type was created mimicking the packngo.ErrorResponse type. This has created difficulty in handling errors (as expressed in the comments listed above).
> One problem with this approach is that the Filter function parameter would need to accept interface parameters so that a single ListOptions could continue to work for all List...
@t0mk I took a look at https://api.packet.net/api-docs and searched for `per_page` which reveals the following "paginated" end-points: * [x] Devices * [x] `/projects/{id}/devices` * [x] Volumes * [x] `/projects/{id}/storage` *...
> To test this means to run a device and try to read the metada via GetMetadataFromURL? @t0mk, yes. Or running `metadata.GetMetadata()` This package doesn't seem to be getting much...
@t0mk I have an internal issue filed against this behavior. It is currently possible for the size response to be any of 0, "1", "123MB". I suppose the correct behavior...
I've been thinking about the format of this sort of configuration file, with future considerations in mind. Suppose we had the following format: ```yaml # ~/.config/equinix/global.yaml # settings at this...
With token rotation, a client would: * check the rotation date of the token * attempt to update the configuration file * if it can not update the configuration file,...
The role of `scope` was not mentioned thus far. I was thinking that this would be written during token rotation. This flag is a hint to the user about the...
Clients may wish to take advantage of this configuration service and extend it with additional well-known files. Packet CLI uses `~/.packet-cli` and only knows about `token:`. Packet CLI could take...