WithClusterName specifies the name of the cluster this Instance belongs to
(clusterName string)
| 468 | |
| 469 | // WithClusterName specifies the name of the cluster this Instance belongs to |
| 470 | func (instance *Instance) WithClusterName(clusterName string) *Instance { |
| 471 | instance.clusterName = clusterName |
| 472 | return instance |
| 473 | } |
| 474 | |
| 475 | // RetryUntilServerAvailable is the default retry configuration that is used |
| 476 | // to wait for a successful connection to a certain server |
no outgoing calls