NAME
Minio - interface to minio client
VERSION
Version 0.04
SYNOPSIS
use Minio;
use Data::Dumper;
my $MObj = new Minio({
'json' => 1,
'debug' => 1,
'minio_client' => '/usr/bin/minio-mc',
'minio_config_dir' => '/etc/minio',
});
my $MB = $MObj->MakeBucket({bucket=>'myminio/pub'});
print Data::Dumper::Dumper($MB);
my $MD = $MObj->DeleteBucket({bucket=>'myminio/pub', force=>1});
print Data::Dumper::Dumper($MD);
my $L2M = $MObj->Local2Minio({local_path=>'/tmp/file.txt',minio_path=>'myminio/pub/00/11/22/33/44/file.txt'});
print Data::Dumper::Dumper($L2M);
my $M2L = $MObj->Minio2Local({minio_path=>'myminio/pub/00/11/22/33/44/file.txt',local_path=>'/tmp/file2.txt'});
print Data::Dumper::Dumper($M2L);
my $Delete = $MObj->Delete({minio_path=>'myminio/pub/00/11/22/33/44/file.txt'});
print Data::Dumper::Dumper($Delete);
my $LS = $MObj->LS({minio_path=>'myminio/pub/00/11/22/33/44/'});
print Data::Dumper::Dumper($LS);
my $Cat = $MObj->Cat({minio_path=>'myminio/pub/00/11/22/33/44/file.txt'});
print $Cat;
my $Tree = $MObj->Tree({minio_path=>'myminio/pub',json=>0});
print $Tree;
my $Look = $MObj->Lookup({minio_path=>'myminio/pub/00/11/22/33/44/file.txt'});
print $Look;
LICENSE AND COPYRIGHT
Copyright (C) 2020 Litres.ru
The GNU Lesser General Public License version 3.0
Minio is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3.0 of the License.
Minio is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Full text of License http://www.gnu.org/licenses/lgpl-3.0.en.html.