Esempio n. 1
0
<?php

require __DIR__ . '/../../../vendor/autoload.php';
use OpenStack\OpenStack;
$client = new OpenStack();
$objectStore = $client->objectStoreV2(['region' => 'RegionOne']);
Esempio n. 2
0
 public function test_it_supports_images_v2()
 {
     $this->builder->createService('Images\\v2', ['catalogName' => 'glance', 'catalogType' => 'image'])->shouldBeCalled()->willReturn($this->service(ImageServiceV2::class));
     $this->openstack->imagesV2();
 }