Script move_instance :: Class RapiClientFactory
[hide private]
[frames] | no frames]

Class RapiClientFactory


Factory class for creating RAPI clients.

Instance Methods [hide private]
 
__init__(self, options, src_cluster_name, dest_cluster_name)
Initializes this class.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
  GetDestClient
Callable returning new client for destination cluster
  GetSourceClient
Callable returning new client for source cluster
  dest_cluster_name
Destination cluster name
  src_cluster_name
Source cluster name
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, options, src_cluster_name, dest_cluster_name)
(Constructor)

 

Initializes this class.

Parameters:
  • options - Program options
  • src_cluster_name (string) - Source cluster name
  • dest_cluster_name (string) - Destination cluster name
Overrides: object.__init__