Overview
  • Namespace
  • Class

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CDN
      • Resource
    • CloudMonitoring
      • Collection
      • 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
      • Collection
      • Enum
      • Resource
    • Networking
      • Resource
    • ObjectStore
      • Constants
      • Enum
      • Exception
      • Resource
      • Upload
    • Orchestration
      • Resource
    • Queues
      • Collection
      • Exception
      • Resource
    • Volume
      • Resource

Classes

  • AbstractTransfer
  • ConcurrentTransfer
  • ConsecutiveTransfer
  • ContainerMigration
  • DirectorySync
  • TransferBuilder
  • TransferPart
  • TransferState

Class ContainerMigration

Class responsible for migrating the contents of one container to another

Namespace: OpenCloud\ObjectStore\Upload
Package: OpenCloud\ObjectStore\Upload
Located at OpenCloud/ObjectStore/Upload/ContainerMigration.php

Methods summary

public static OpenCloud\ObjectStore\Upload\ContainerMigration
# factory( OpenCloud\ObjectStore\Resource\Container $old, OpenCloud\ObjectStore\Resource\Container $new, array $options = array() )

Parameters

$old
Source container
$new
Target container
$options
Options that configure process

Returns

OpenCloud\ObjectStore\Upload\ContainerMigration
public
# setOldContainer( OpenCloud\ObjectStore\Resource\Container $old )

Parameters

$old
public OpenCloud\ObjectStore\Resource\Container
# getOldContainer( )

Returns

OpenCloud\ObjectStore\Resource\Container
public
# setNewContainer( OpenCloud\ObjectStore\Resource\Container $new )

Parameters

$new
public OpenCloud\ObjectStore\Resource\Container
# getNewContainer( )

Returns

OpenCloud\ObjectStore\Resource\Container
public
# setOptions( array $options )

Parameters

$options
public Guzzle\Common\Collection
# getOptions( )

Returns

Guzzle\Common\Collection
public
# setupReadQueue( )

Set the read queue as a \Guzzle\Batch\Batch queue using the \Guzzle\Batch\BatchBuilder

Set the read queue as a \Guzzle\Batch\Batch queue using the \Guzzle\Batch\BatchBuilder

public
# setupWriteQueue( )

Set the write queue as a \Guzzle\Batch\Batch queue using the \Guzzle\Batch\BatchBuilder

Set the write queue as a \Guzzle\Batch\Batch queue using the \Guzzle\Batch\BatchBuilder

public array
# transfer( )

Initiate the transfer process

Initiate the transfer process

Returns

array
PUT responses
API documentation generated by ApiGen