Oban.Pro.Cloud behaviour (Oban Pro v1.4.10)
A behaviour for interacting with cloud hosting providers.
Summary
Callbacks
Executed once at runtime to gather, normalize, and transform options.
Called to horizontally scale a cloud resource up or down.
Types
Link to this type
conf()
@type conf() :: term()
Link to this type
opts()
@type opts() :: keyword()
Link to this type
quantity()
@type quantity() :: non_neg_integer()
Callbacks
Link to this callback
init(opts)
Executed once at runtime to gather, normalize, and transform options.
Link to this callback
scale(quantity, conf)
Called to horizontally scale a cloud resource up or down.
Successful scaling requests must return a new conf
to be used during the next call to
scale/2
. That allows cloud modules to track responses for additional control and
introspection.