Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Disk Template Version list/get operations #69

Open
jimeh opened this issue Mar 1, 2021 · 0 comments
Open

Add support for Disk Template Version list/get operations #69

jimeh opened this issue Mar 1, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jimeh
Copy link
Contributor

jimeh commented Mar 1, 2021

Add support to the existing DiskTemplatesClient for fetching list of versions,
and details for a specific version.

API documentation:
https://developers.katapult.io/api/docs/latest/groups/disk_template_versions/

I would suggest adding the following methods to DiskTemplatesClient:

GetVersions(ctx context.Context, dt *DiskTemplate) ([]*DiskTemplateVersion, *Response, error)
GetVersion(ctx, id string) (*DiskTemplateVersion, *Response, error)
@jimeh jimeh added the enhancement New feature or request label Mar 1, 2021
@jimeh jimeh changed the title Support Disk Template Version list/get requests Support Disk Template Version list/get operations Mar 1, 2021
@jimeh jimeh changed the title Support Disk Template Version list/get operations Add support for Disk Template Version list/get operations Mar 1, 2021
@jimeh jimeh added the good first issue Good for newcomers label Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant