Octopussy::Storage(3)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ™ NAME

okay so bestie, welcome to Octopussy::Storage ✨ it's the Storage module from Octopussy, and it's literally the plug that handles all your storage configs, directories and name-vibes. It lives in the Octopussy::Storage(3) man page under User Contributed Perl Documentation, and we're gonna walk through it together, no cap πŸ’–


πŸŽ€ FUNCTIONS

Add($conf_storage)

Adds a new Storage. That's the whole assignment, bestie β€” it takes $conf_storage and makes a new one exist. Slay πŸ’…

Remove($storage)

Removes Storage '$storage'. Bye girl, you're uninvited from the group chat πŸ¦‹

Default()

Just... sitting there. The docs give us the name and nothing else, so we're respecting the mystery πŸ™ˆ no invented lore on this page, periodt.

Default_Set($conf_new)

Same energy as Default() β€” the name exists, $conf_new is the argument, and the manpage has zero further commentary. Iconic silence, honestly πŸ’€

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, at once, main character energy 🌈

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 βœ… vibe check passed or it's not, no in-between.


πŸ‘‘ AUTHOR

Sebastien Thebert <octo.devel@gmail.com>


and that's the whole page, bestie β€” every function, every arg, every return, untouched and unproblematic 🫢

sign-off time: this was perl v5.22.2, dated 2016-05-04, and it's the Octopussy::Storage(3) man page πŸ’– stay storaged, queen 🌸

πŸ“¦ where this page comes from