A plugin is a way to run python code against DivvyCloud’s backend services. This can include components that render reports to our User Interface, components that respond to internal events triggered by the core system (such as notifications that a resource has just been created), components that access and modify data tracked by our system, and components that schedule secondary events to occur at a later time.

Not all services are mandatory for the development of a simple plugin, however, as this guide and its attached examples will demonstrate.

While some of DivvyCloud’s services will require some more advanced knowledge to take full advantage of, there are two core concepts underlying all plugins:

  1. Registering a function to be run when an event occurs (such as when a resource has just been created) using the “hookpoint” system
  2. Accessing, modifying and performing common operations on resources