Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Log
      • Resource
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Collection
      • Resource
    • Identity
      • Constants
      • Resource
    • Image
      • Enum
      • Resource
        • JsonPatch
        • Schema
    • LoadBalancer
      • Enum
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • Service
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Service

Service class that represents OpenStack Glance / Rackspace Cloud Images

OpenCloud\Common\Base
Extended by OpenCloud\Common\Service\AbstractService implements OpenCloud\Common\Service\ServiceInterface
Extended by OpenCloud\Common\Service\CatalogService
Extended by OpenCloud\Image\Service
Namespace: OpenCloud\Image
Package: OpenCloud\Images
Located at OpenCloud/Image/Service.php
Methods summary
public array
# getPatchHeaders( )

Get the default headers to send for PATCH requests

Get the default headers to send for PATCH requests

Returns

array
public OpenCloud\Common\Collection\PaginatedIterator
# listImages( array $params = array() )

This operation returns images you created, shared images that you accepted, and standard images.

This operation returns images you created, shared images that you accepted, and standard images.

Parameters

$params
array
$params

Returns

OpenCloud\Common\Collection\PaginatedIterator
public object
# getImage( mixed $imageId )

Returns details for a specific image.

Returns details for a specific image.

Parameters

$imageId
mixed
$imageId

Returns

object
public object
# image( mixed $data )

For iterator use only.

For iterator use only.

Parameters

$data
mixed
$data

Returns

object
protected Guzzle\Http\Url
# getSchemaUrl( mixed $path )

A convenience method which returns the URL needed to retrieve schemas.

A convenience method which returns the URL needed to retrieve schemas.

Parameters

$path
mixed
$path

Returns

Guzzle\Http\Url
public OpenCloud\Image\Resource\Schema\Schema
# getImagesSchema( )

Return a JSON schema for a collection of image resources

Return a JSON schema for a collection of image resources

Returns

OpenCloud\Image\Resource\Schema\Schema
public OpenCloud\Image\Resource\Schema\Schema
# getImageSchema( )

Return a JSON schema for an individual image resource

Return a JSON schema for an individual image resource

Returns

OpenCloud\Image\Resource\Schema\Schema
public OpenCloud\Image\Resource\Schema\Schema
# getMembersSchema( )

Return a JSON schema for a collection of member resources

Return a JSON schema for a collection of member resources

Returns

OpenCloud\Image\Resource\Schema\Schema
public OpenCloud\Image\Resource\Schema\Schema
# getMemberSchema( )

Return a JSON schema for an individual member resource

Return a JSON schema for an individual member resource

Returns

OpenCloud\Image\Resource\Schema\Schema
Methods inherited from OpenCloud\Common\Service\CatalogService
__construct(), getBaseUrl(), getExtensions(), getName(), getRegion(), getType(), getUrl(), getUrlType(), limits()
Methods inherited from OpenCloud\Common\Service\AbstractService
collection(), getClient(), getCurrentNamespace(), getEndpoint(), getNamespaces(), getResources(), resolveResourceClass(), resource(), resourceList(), setClient(), setEndpoint()
Methods inherited from OpenCloud\Common\Base
__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Constants summary
string DEFAULT_TYPE 'image'
#
string DEFAULT_NAME 'cloudImages'
#
string PATCH_CONTENT_TYPE 'application/openstack-images-v2.1-json-patch'
#
Constants inherited from OpenCloud\Common\Service\CatalogService
DEFAULT_URL_TYPE
Properties inherited from OpenCloud\Common\Service\CatalogService
$regionless
Properties inherited from OpenCloud\Common\Service\AbstractService
$client, $endpoint, $namespaces, $resources
Properties inherited from OpenCloud\Common\Base
$aliases
PHP OpenCloud API API documentation generated by ApiGen 2.8.0