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

Carbonifer as public Go library #40

Closed
obierlaire opened this issue Feb 20, 2023 · 0 comments · Fixed by #41
Closed

Carbonifer as public Go library #40

obierlaire opened this issue Feb 20, 2023 · 0 comments · Fixed by #41

Comments

@obierlaire
Copy link
Collaborator

obierlaire commented Feb 20, 2023

Add minimal methods in public /pgk :

  • GetEstimation() : get estimation from a generic resource object:
    • CPU
    • RAM
    • Storage
    • GPUs
    • Provider
    • Region
  • GetEstimationFromInstanceType() get estimation from an instance type
    • provider
    • region
    • machine/instance type
    • disk size hdd or SSD
  • GetResource() get resource object from instance type

GetEstimationFromInstanceType() will call GetResource() and GetEstimation()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant