parameters: (plugindef)
return_statement: return bareosdir.bRC_OK
docstring: This function is called by the Bareos-Dir to load the plugin
      We use it to instantiate the plugin class
docstring_summary: This function is called by the Bareos-Dir to load the plugin
      We use it to instantiate the plugin class
docstring_tokens: This function is called by the Bareos - Dir to load the plugin We use it to instantiate the plugin class
function: def load_bareos_plugin(plugindef):
      '''
      This function is called by the Bareos-Dir to load the plugin
      We use it to instantiate the plugin class
      '''
      # BareosDirWrapper.bareos_dir_plugin_object is the module attribute that
      # holds the plugin class object
      BareosDirWrapper.bareos_dir_plugin_object = \
          BareosDirPluginPrometheusExporter.BareosDirPluginPrometheusExporter(
              plugindef)
      return bareosdir.bRC_OK
function_tokens: def load_bareos_plugin ( plugindef ) : # BareosDirWrapper.bareos_dir_plugin_object is the module attribute that # holds the plugin class object BareosDirWrapper . bareos_dir_plugin_object = BareosDirPluginPrometheusExporter . BareosDirPluginPrometheusExporter ( plugindef ) return bareosdir . bRC_OK