End of comments
This commit is contained in:
parent
5263cf00a2
commit
1d42345e07
13 changed files with 491 additions and 264 deletions
|
@ -14,21 +14,31 @@ include("Network.php");
|
|||
include("Compute.php");
|
||||
include("NetworkLayer3.php");
|
||||
|
||||
class automating{
|
||||
/**
|
||||
* automating Class of the back-end application
|
||||
*
|
||||
* Contains the different function to automate some action
|
||||
*
|
||||
*/
|
||||
class automating implements Core{
|
||||
|
||||
/** @var App $app protected, contains the main app object */
|
||||
/** @var App $compute protected, contains a Core compute object */
|
||||
protected $compute;
|
||||
/** @var App $image protected, contains a Core image object */
|
||||
protected $image;
|
||||
/** @var App $network protected, contains a Core network object */
|
||||
protected $network;
|
||||
/** @var App $networkLayer3 protected, contains a Core networkLayer3 object */
|
||||
protected $networkLayer3;
|
||||
/** @var App $app protected, contains the main app object */
|
||||
protected $app;
|
||||
|
||||
/**
|
||||
* Our library's app constructor for all server app objects
|
||||
* automating class constructor
|
||||
*
|
||||
* @param App $app the main app object, e.g. compute, image, network, etc.
|
||||
* @param App $app the main app object
|
||||
*
|
||||
* @return
|
||||
* @return automating Object
|
||||
*/
|
||||
public function __construct($app){
|
||||
$this->app = $app;
|
||||
|
@ -43,7 +53,7 @@ class automating{
|
|||
*
|
||||
* @param String $action name of another function of this class
|
||||
*
|
||||
* @return NULL
|
||||
* @return void
|
||||
*/
|
||||
public function action($action){
|
||||
$this->{$action.""}();
|
||||
|
@ -57,7 +67,7 @@ class automating{
|
|||
* @param String $serverName name ofthe new server
|
||||
* @param String $flavor kind of server
|
||||
*
|
||||
* @return NULL
|
||||
* @return void
|
||||
*/
|
||||
private function createPublicServer()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue