1 | <?php |
||
13 | class OpenStack |
||
14 | { |
||
15 | /** @var Builder */ |
||
16 | private $builder; |
||
17 | |||
18 | /** |
||
19 | * @param array $options User-defined options |
||
20 | * |
||
21 | * $options['username'] = (string) Your OpenStack username [REQUIRED] |
||
22 | * ['password'] = (string) Your OpenStack password [REQUIRED] |
||
23 | * ['tenantId'] = (string) Your tenant ID [REQUIRED if tenantName omitted] |
||
24 | * ['tenantName'] = (string) Your tenant name [REQUIRED if tenantId omitted] |
||
25 | * ['authUrl'] = (string) The Keystone URL [REQUIRED] |
||
26 | * ['debug'] = (bool) Whether to enable HTTP logging [OPTIONAL] |
||
27 | */ |
||
28 | 6 | public function __construct(array $options = [], Builder $builder = null) |
|
32 | |||
33 | /** |
||
34 | * Creates a new Compute v2 service. |
||
35 | * |
||
36 | * @param array $options Options that will be used in configuring the service. |
||
37 | * |
||
38 | * @return \OpenStack\Compute\v2\Service |
||
39 | */ |
||
40 | 1 | public function computeV2(array $options = []) |
|
45 | |||
46 | /** |
||
47 | * Creates a new Networking v2 service. |
||
48 | * |
||
49 | * @param array $options Options that will be used in configuring the service. |
||
50 | * |
||
51 | * @return \OpenStack\Networking\v2\Service |
||
52 | */ |
||
53 | 1 | public function networkingV2(array $options = []) |
|
58 | |||
59 | /** |
||
60 | * Creates a new Identity v2 service. |
||
61 | * |
||
62 | * @param array $options Options that will be used in configuring the service. |
||
63 | * |
||
64 | * @return \OpenStack\Identity\v2\Service |
||
65 | */ |
||
66 | 1 | public function identityV2(array $options = []) |
|
71 | |||
72 | /** |
||
73 | * Creates a new Identity v3 service. |
||
74 | * |
||
75 | * @param array $options Options that will be used in configuring the service. |
||
76 | * |
||
77 | * @return \OpenStack\Identity\v3\Service |
||
78 | */ |
||
79 | 1 | public function identityV3(array $options = []) |
|
84 | |||
85 | /** |
||
86 | * Creates a new Object Store v1 service. |
||
87 | * |
||
88 | * @param array $options Options that will be used in configuring the service. |
||
89 | * |
||
90 | * @return \OpenStack\ObjectStore\v1\Service |
||
91 | */ |
||
92 | 1 | public function objectStoreV1(array $options = []) |
|
97 | |||
98 | /** |
||
99 | * Creates a new Block Storage v2 service. |
||
100 | * |
||
101 | * @param array $options Options that will be used in configuring the service. |
||
102 | * |
||
103 | * @return \OpenStack\BlockStorage\v2\Service |
||
104 | */ |
||
105 | 1 | public function blockStorageV2(array $options = []) |
|
110 | } |
||
111 |