fromRobot static method

DiscoveryClient fromRobot(
  1. RobotClient robot,
  2. String name
)

Get the DiscoveryClient named name from the provided robot.

Implementation

static DiscoveryClient fromRobot(RobotClient robot, String name) {
  return robot.getResource(DiscoveryClient.getResourceName(name));
}