-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: kubernetes parameters and buttons (not functional yet)
- Loading branch information
Showing
9 changed files
with
123 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
arc-web/src/main/java/fr/insee/arc/web/gui/maintenanceoperation/model/ViewKube.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package fr.insee.arc.web.gui.maintenanceoperation.model; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
import fr.insee.arc.web.gui.all.util.ConstantVObject; | ||
import fr.insee.arc.web.gui.all.util.ConstantVObject.ColumnRendering; | ||
import fr.insee.arc.web.gui.all.util.VObject; | ||
|
||
|
||
public class ViewKube extends VObject { | ||
|
||
private static final Map<String, ColumnRendering> columnMap= new HashMap<>(); | ||
|
||
static { | ||
columnMap.put("i", new ColumnRendering(false, "i", "0%", "text", null, false)); | ||
columnMap.put("key", new ColumnRendering(true, "label.key", "15%", "text", null, true)); | ||
columnMap.put("val", new ColumnRendering(true, "label.val", "15%", "text", null, true)); | ||
columnMap.put("description", new ColumnRendering(true, "label.description", "70%", "text", null, false)); | ||
|
||
} | ||
|
||
public ViewKube() { | ||
super(); | ||
this.setTitle("view.kube"); | ||
this.setSessionName("viewKube"); | ||
this.setDefaultPaginationSize(20); | ||
this.setConstantVObject(new ConstantVObject(columnMap)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters