Buckets.Cloud.Supervisor (buckets v1.0.0-rc.1)
Supervisor that manages any processes required by cloud adapters.
This supervisor is used internally by Cloud modules to automatically
start any required processes for configured adapters by calling the
adapter's child_spec/1
callback. Adapters that don't need supervised
processes (like Volume, S3) return nil
, while adapters that need
background processes (like GCS auth servers) return proper child specs.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the supervisor with a Cloud module.
Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
start_link(opts)
Starts the supervisor with a Cloud module.