public function getEndpoints($serviceType)
	{
		if (is_null($this->token)) {
			throw new OpenstackException('Unauthenticated');
		}
		$serviceEndpoints = array();
		foreach ($this->serviceCatalog as $value) {
			if ($value['type'] == $serviceType) {
				$serviceEndpoints = $value['endpoints'];
			}
		}
		return $serviceEndpoints;
	}
public function getEndpoints($serviceType)
	{
		if (is_null($this->token)) {
			throw new OpenstackException('Unauthenticated');
		}
		$serviceEndpoints = array();
		foreach ($this->serviceCatalog as $value) {
			if ($value['type'] == $serviceType) {
				$serviceEndpoints = $value['endpoints'];
			}
		}
		return $serviceEndpoints;
	}
public function getEndpoints ( $ serviceType ) { if ( is_null ( $ this -> token ) ) { throw new OpenstackException ( 'Unauthenticated' ) ; } $ serviceEndpoints = array ( ) ; foreach ( $ this -> serviceCatalog as $ value ) { if ( $ value [ 'type' ] == $ serviceType ) { $ serviceEndpoints = $ value [ 'endpoints' ] ; } } return $ serviceEndpoints ; }
Get endpoints for the service type for all regions

@param string $serviceType

@return array
Get endpoints for the service type for all regions