NAME

Resource::Silo::Spec - description of known resource types for Resource::Silo

METHODS

new( $target )

$target is the name of the module where resource access methods will be created.

add( $resource_name, ... )

Create resource type. See "resource" in Resource::Silo for details.

spec

Fetch specifications for given resource.

generate_dsl

Create resource function closed over current object.

COPYRIGHT AND LICENSE

Copyright (c) 2023, Konstantin Uvarin, <khedin@gmail.com>

This program is free software. You can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation, or the Artistic License.

See http://dev.perl.org/licenses/ for more information.