NAME
Slaughter::Transport::local - Local filesystem transport class.
SYNOPSIS
This transport copes with fetching files and policies from the local filesystem. It is designed to allow you to test policies on a single host.
DESCRIPTION
This transport is slightly different from the others supplied with slaughter as it involves fetching files from the local filesystem - so there is no remote server involved at all.
AUTHOR
Steve
--
http://www.steve.org.uk/
LICENSE
Copyright (c) 2012-2013 by Steve Kemp. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.
new
Create a new instance of this object.
name
Return the name of this transport.
isAvailable
Return whether this transport is available.
This module is pure-perl, so we unconditionally return 1.
error
Return the last error from the transport.
This is only set in "isAvailable".
fetchContents
Fetch the contents of the specified file, relative to the specified prefix.