feat(stackable-operator): Add a utility for creating Java runtime arguments
@NickLarsenNZ ci sta già lavorando.
Dal 16/8/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
idea (non-blocker): we could have a utility type for making properties. It might make this a little easier for humans to parse.
Originally posted by @NickLarsenNZ in https://github.com/stackabletech/spark-k8s-operator/pull/451#discussion_r1719540578
Maybe we already have something available, but this helps close the comment on the linked PR so it can be merged.
I'm thinking something like:
pub struct Properties(BTreeMap);
impl Display for JreProperties {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
todo!("iterate over the properties in self.0 and make -Dproperty=value joined by space");
// write!(f, "{}", self.0)
}
}
impl DerefMut for Properties {
...
}
See: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html#BABDJJFI
- Lingua principale
- Rust
- Stelle
- 167
- Fork
- 19
- Merge medio
- 1g 6h
- PR unite (30g)
- 9
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di stackabletech/operator-rs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
stackabletech/operator-rs#1273 · 1 commento ·
-
Improve label mechanisms Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
stackabletech/operator-rs#1077 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
stackabletech/operator-rs#1063 ·
-
stackable-versioned: Require inner module definitions to have the same visibility as the parent Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
stackabletech/operator-rs#1028 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
stackabletech/operator-rs#965 ·
Tutte le issue di stackabletech/operator-rs
Issue simili
-
Browser (wasm) relay client cannot connect to relays whose URL has a trailing-dot FQDN hostname Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
n0-computer/iroh#4550 ·
-
impl detach for native Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
paritytech/zombienet-sdk#591 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
farion1231/cc-switch#7638 · 1 commento ·
-
onnx-ir re-exports ModelProto and GraphProto but not NodeProto, AttributeProto and AttributeType Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100