Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Create an internal API so Machine can be used as a library #553

Closed
4 tasks done
ehazlett opened this issue Feb 18, 2015 · 8 comments
Closed
4 tasks done

Create an internal API so Machine can be used as a library #553

ehazlett opened this issue Feb 18, 2015 · 8 comments
Milestone

Comments

@ehazlett
Copy link
Contributor

This will enable machine to be used as a lib and lay the groundwork for machine server.

This will provide a more manageable way to interact with machine instead of working directly with the store and host individually. For example, right now we use store.Create which calls host.Driver.Create etc. This will split up those operations so that the store does not handle provisioning, simply storing machine configuration data.

Refs: #550

@nathanleclaire
Copy link
Contributor

We should loop in @ibuildthecloud and others who are interested in the design of the lib since there has been an expressed interest in using it (Go bindings at least).

@ehazlett
Copy link
Contributor Author

That is what this is.

@ehazlett
Copy link
Contributor Author

Sorry I was responding to your email which had a different comment.

Yes, this is the placeholder for an internal, non-http API to be used as a lib.

@sthulb
Copy link
Contributor

sthulb commented Feb 26, 2015

  • Share flags
  • Driver structure
  • Metadata
  • Error handling
  • Logging

@ehazlett
Copy link
Contributor Author

@sthulb added your checklist to the description -- thx!

@nathanleclaire
Copy link
Contributor

Yep, I realized that after my first comment so I updated it to just say we should loop potential consumers of the API / bindings in on it.

@ehazlett
Copy link
Contributor Author

ehazlett commented Mar 6, 2015

Updated scope to be more manageable for this first pass. We can iterate after feedback.

@ehazlett ehazlett changed the title internal api Internal api Mar 6, 2015
@bfirsh bfirsh changed the title Internal api Create an internal API so Machine can be used as a library Mar 13, 2015
@bfirsh bfirsh added next and removed current labels Mar 13, 2015
@ehazlett
Copy link
Contributor Author

This is pending #699 as they both affect the backend provisioning.

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

No branches or pull requests

4 participants