Acme-Globus

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

NAME

    Globus - Object-Oriented interface to Globus

DESCRIPTION

    Globus is a tool that allows the sharing of scientific data between
    researchers and institutions. Globus enables you to transfer your data
    using just a web browser, or using their SSH interface at
    cli.globusonline.org.

    This is a client library for the Globus CLI.

    For detailed documentation of the API, see
    http://dev.globus.org/cli/reference.

CAVEATS

    This code is a work in progress, focusing on my needs at the moment
    rather than covering all the capabilities of the Globus CLI. It is
    therefore very stubtastic.

    This module also relies very much on SSH, and thus the rules of private
    and public keys. Therefore, using it as a shared tool would be
    ill-advised if not impossible.

SYNOPSIS

        my $g = Globus->new($username,$path_to_ssh_key) ;
        $g->endpoint_add_shared( 'institution#endpoint', $directory, $endpoint_name ) ;
        $g->acl_add( $endpoint . '/', 'djacoby@example.com' ) ;
        

METHODS

 BASICS

  new

        Creates a new Globus object. Takes two options: 
        the username and path to the SSH key you use to connect to Globus.

  set_username

  set_key_path

  get_username

  get_key_path

        These commands return and change the username and keypath you use to 
        connect to Globus.

 TASK MANAGEMENT

  cancel

  details

  events

  modify

  status

  wait

    We do not do much with task management, so these are currently stubs.

 TASK CREATION

  delete

  rm

    Currently stubs

  scp

  transfer

    Both commands take a source, or from path (including endpoint), a
    destination, or to path (includint endpoint), and a boolean indicating
    whether you're copying recursively or not.

 FILE MANAGEMENT

  ls

    Works?

  rename

  mkdir

    Stubs

 ENDPOINT MANAGEMENT

  acl_add

  acl_list

  acl_remove

    acl-* is the way that Globus refers to permissions

    By the interface, Globus supports adding shares by email address, by
    Globus username or by Globus group name. This module sticks to using
    email address. acl_add() takes an endpoint, an email address you're
    sharing to, and a boolean indicating whether this share is read-only or



( run in 2.045 seconds using v1.01-cache-2.11-cpan-97f6503c9c8 )