logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Octopussy::Storage - Octopussy Storage module

Author

       Sebastien Thebert <octo.devel@gmail.com>

perl v5.22.2                                       2016-05-04                              Octopussy::Storage(3)

Functions

Add($conf_storage)
       Add a new Storage

   Remove($storage)
       Removes Storage '$storage'

   Default()Default_Set($conf_new)List()
       Get list of storages

       Returns:

       @storages - Array of storages names

   Configuration($storage)
       Get the configuration for the storage '$storage'

       Parameters:

       $storage - Name of the storage

       Returns:

       \%conf - Hashref of the storage configuration

   Configurations($sort)
       Get the configuration for all storages

       Parameters:

       $sort - selected field to sort configurations

       Returns:

       @configurations - Array of Hashref storage configurations

   Directory($storage)
       Returns directory for Storage '$storage'

   Directory_Service($device,$service)
       Returns directory for Device '$device' Service '$service' Logs

   Directory_Incoming($device)
       Returns directory for Device '$device' Incoming Logs

   Directory_Unknown($device)
       Returns directory for Device '$device' Unknown Logs

   Valid_Name($name)
       Checks that '$name' is valid for a Storage name

Name

       Octopussy::Storage - Octopussy Storage module

See Also