getNetworkRunnersHostnamesAndIPs method

Map<String, Map<String, String>> getNetworkRunnersHostnamesAndIPs(
  1. String? network
)

Implementation

Map<String, Map<String, String>> getNetworkRunnersHostnamesAndIPs(
        String? network) =>
    Map.fromEntries(_runners.values
        .where(
            (r) => r.network == network && r.hostname != null && r.ip != null)
        .map((r) => MapEntry(r.containerName, {r.hostname!: r.ip!})));