Example #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);
 }
Example #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;
 }
Example #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'];
 }
Example #4
0
 public function __construct(APIInterface $api, $bucket_name)
 {
     parent::__construct($api);
     $this->name = $bucket_name;
 }
Example #5
0
 public function __construct(APIInterface $api, $cluster_name)
 {
     parent::__construct($api);
     $this->cluster_name = $cluster_name;
 }
Example #6
0
 public function __construct(APIInterface $api, $job_info)
 {
     parent::__construct($api);
     $this->updateParameters($job_info);
 }
Example #7
0
 public function __construct(APIInterface $api)
 {
     parent::__construct($api);
 }