-
-
02 Sep 2016 00:25:32 UTC
- Distribution: Mesos
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (0 / 0 / 0)
- Kwalitee
Bus factor: 0- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (187.97KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Mesos::SchedulerDriver - perl interface to MesosSchedulerDriver
ATTRIBUTES
credential
A Mesos::Credential message
dispatcher
Either a Mesos::Dispatcher instance, or the short name of a dispatcher to instantiate(such as AnyEvent). The short name cannot be used if the dispatcher has required arguments.
Defaults to AnyEvent
framework
A Mesos::FrameworkInfo message
master
The address of a Mesos master
scheduler
A Mesos::Scheduler instance
METHODS
- new(%args)
-
my $driver = Mesos::SchedulerDriver(%args) %args REQUIRED framework REQUIRED scheduler REQUIRED master OPTIONAL credential OPTIONAL dispatcher
- start()
- stop($failover)
- abort()
- join()
- run()
- requestResources($requests)
- launchTasks($offerIds, $tasks, $filters)
- launchTask($offerId, $tasks, $filters)
- killTask($taskId)
- declineOffer($offerId, $filters)
- reviveOffers()
- sendFrameworkMessage($executorId, $slaveId, $data)
- reconcileTasks($statuses)
Module Install Instructions
To install Mesos, copy and paste the appropriate command in to your terminal.
cpanm Mesos
perl -MCPAN -e shell install Mesos
For more information on module installation, please visit the detailed CPAN module installation guide.