Add new daemon routes for pack handling

This commit is contained in:
Dane Everitt 2017-01-25 18:25:31 -05:00
parent 95d0c646f9
commit e6d3e75024
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 105 additions and 0 deletions

View file

@ -40,6 +40,15 @@ class DaemonRoutes
'as' => 'remote.install',
'uses' => 'Daemon\ServiceController@pull',
]);
$router->get('packs/pull/{uuid}', [
'as' => 'daemon.pack.pull',
'uses' => 'Daemon\PackController@pull',
]);
$router->get('packs/pull/{uuid}/hash', [
'as' => 'daemon.pack.hash',
'uses' => 'Daemon\PackController@hash',
]);
});
}
}