Help needed for the API

Tim Penhey tim.penhey at canonical.com
Tue Sep 3 04:28:03 UTC 2013


Hi folks,

I'm hoping someone can help point me to the right bits of the API.  I
have to admit to being lost looking at the code under state/api.

I'm wanting to have a worker that gets notified when the environment
config changes in state, and I want to write another api call to request
the logging info for a particular machine.  To me there is no obvious
place to put this, nor can I see how to set up a simple environment
config watcher.

Perhaps someone can either explain or point me to the documentation
around the design philosophy for the API, both as a client using the API
and how it talks internally to state.

Cheers,
Tim



More information about the Juju-dev mailing list