def make_client(reactor, cluster):
 control_node = cluster.control_node.address
 certificates_path = cluster.certificates_path
 cluster_cert = certificates_path.child('cluster.crt')
 user_cert = certificates_path.child('user.crt')
 user_key = certificates_path.child('user.key')
 return FlockerClient(reactor, control_node, REST_API_PORT, cluster_cert, user_cert, user_key)

def make_client ( reactor , cluster ) : control_node = cluster . control_node . address certificates_path = cluster . certificates_path cluster_cert = certificates_path . child ( 'cluster.crt' ) user_cert = certificates_path . child ( 'user.crt' ) user_key = certificates_path . child ( 'user.key' ) return FlockerClient ( reactor , control_node , REST_API_PORT , cluster_cert , user_cert , user_key )
create a :class:flockerclient object for accessing the given cluster .