Ejemplo n.º 1
0
 public function __construct(APIInterface $api, $cluster_name, $database_name, $params = [])
 {
     parent::__construct($api);
     $this->cluster_name = $cluster_name;
     $this->database_name = $database_name;
     $this->loadTableInfo($params);
 }
Ejemplo n.º 2
0
 public function __construct(APIInterface $api, $bucket_name, $object_name, $opts = [])
 {
     parent::__construct($api);
     $this->bucket_name = $bucket_name;
     $this->name = $object_name;
     $this->opts = $opts;
 }
Ejemplo n.º 3
0
 public function __construct(APIInterface $api, $cluster)
 {
     parent::__construct($api);
     $this->cluster_name = @$cluster['name'];
     $this->name = @$cluster['name'];
     $this->status = @$cluster['status'];
     $this->type = @$cluster['type'];
     $this->instances = @$cluster['instances'];
     $this->debug = @$cluster['debug'];
 }
Ejemplo n.º 4
0
 public function __construct(APIInterface $api, $bucket_name)
 {
     parent::__construct($api);
     $this->name = $bucket_name;
 }
Ejemplo n.º 5
0
 public function __construct(APIInterface $api, $cluster_name)
 {
     parent::__construct($api);
     $this->cluster_name = $cluster_name;
 }
Ejemplo n.º 6
0
 public function __construct(APIInterface $api, $job_info)
 {
     parent::__construct($api);
     $this->updateParameters($job_info);
 }
Ejemplo n.º 7
0
 public function __construct(APIInterface $api)
 {
     parent::__construct($api);
 }