示例#1
0
 /**
  * @return \OpenStack\Identity\v3\Service
  */
 private function getService()
 {
     if (null === $this->service) {
         $this->service = Utils::getOpenStack()->identityV3();
     }
     return $this->service;
 }
示例#2
0
 /**
  * @return \OpenStack\BlockStorage\v2\Service
  */
 private function getService()
 {
     if (null === $this->service) {
         $this->service = Utils::getOpenStack()->blockStorageV2();
     }
     return $this->service;
 }
示例#3
0
 /**
  * @return \OpenStack\ObjectStore\v1\Service
  */
 protected function getService()
 {
     if (null === $this->service) {
         $this->service = Utils::getOpenStack()->objectStoreV1();
     }
     return $this->service;
 }
示例#4
0
 private function getService()
 {
     if (null === $this->service) {
         $this->service = Utils::getOpenStack()->networkingV2();
     }
     return $this->service;
 }
示例#5
0
 private function getBlockStorageService()
 {
     if (!$this->blockStorageService) {
         $this->blockStorageService = Utils::getOpenStack()->blockStorageV2();
     }
     return $this->blockStorageService;
 }