-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unmarshal link members; Add Upload() for registry module version slugs (
#221) * Use latest hashicorp/jsonapi Includes support for unmarshaling link members * Add Upload() for registry module versions Similar to configuration versions, with the slight modification that I don't believe client users should care about piping the correct upload link to Upload(), or it's little more than syntatic sugar for a simple PUT request. With this, just provide a newly created RMV to Upload() with a path to your module files and away you go.
- Loading branch information
1 parent
db513c3
commit 0f08d6b
Showing
4 changed files
with
90 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters