/** * Returns a map indexed by replicationController id of the replicationControllers */ public static Map<String, ReplicationControllerSchema> toReplicationControllerMap(ReplicationControllerListSchema replicationControllerSchema) { return toReplicationControllerMap(replicationControllerSchema != null ? replicationControllerSchema.getItems() : null); }
public static Map<String, ReplicationControllerSchema> getReplicationControllerMap(Kubernetes kubernetes) { return toReplicationControllerMap(kubernetes.getReplicationControllers()); }