getDockerServerIp: Get the server IP and port

Description Usage Arguments Value

Description

Get the server public/private IPs. The IPs will be used by the cluster to make connections between server and worker, server and client. If the server does not have the public or private IP, its value can be set to character(0) and port can be set to integer(0). If the IP has not been assigned yet, this function should wait until the IP is available. If the server is not provided by the cloud provider, this function will not be called. There is no default method for this generic. The return value should be a name list with four elements publicIp, publicPort, privateIp and privatePort. If the server does not have the public endpoint, public IP and port can be NULL.

Usage

1
getDockerServerIp(provider, cluster, verbose)

Arguments

provider

S4 CloudProvider object. The service provider.

cluster

S4 DockerCluster object.

verbose

Integer. The verbose level, default 1.

Value

a name list with four elements publicIp, publicPort, privateIp and privatePort.


DockerParallel documentation built on June 23, 2021, 5:07 p.m.