mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-26 11:16:29 +00:00
Reformat
This commit is contained in:
+5
-1
@@ -54,7 +54,11 @@ public class IncusContainerConsoleActionProvider implements HubLeafProvider<Incu
|
||||
var d = (IncusContainerStore) ref.getStore();
|
||||
var view = new IncusCommandView(
|
||||
d.getInstall().getStore().getHost().getStore().getOrStartSession());
|
||||
TerminalLaunch.builder().entry(ref.get()).title("Console").command(view.console(d.getName())).launch();
|
||||
TerminalLaunch.builder()
|
||||
.entry(ref.get())
|
||||
.title("Console")
|
||||
.command(view.console(d.getName()))
|
||||
.launch();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-1
@@ -59,7 +59,11 @@ public class IncusContainerEditConfigActionProvider implements HubLeafProvider<I
|
||||
var d = (IncusContainerStore) ref.getStore();
|
||||
var view = new IncusCommandView(
|
||||
d.getInstall().getStore().getHost().getStore().getOrStartSession());
|
||||
TerminalLaunch.builder().entry(ref.get()).title("Config").command(view.configEdit(d.getName())).launch();
|
||||
TerminalLaunch.builder()
|
||||
.entry(ref.get())
|
||||
.title("Config")
|
||||
.command(view.configEdit(d.getName()))
|
||||
.launch();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-1
@@ -54,7 +54,11 @@ public class LxdContainerConsoleActionProvider implements HubLeafProvider<LxdCon
|
||||
var d = ref.getStore();
|
||||
var view = new LxdCommandView(
|
||||
d.getCmd().getStore().getHost().getStore().getOrStartSession());
|
||||
TerminalLaunch.builder().entry(ref.get()).title("Console").command(view.console(d.getName())).launch();
|
||||
TerminalLaunch.builder()
|
||||
.entry(ref.get())
|
||||
.title("Console")
|
||||
.command(view.console(d.getName()))
|
||||
.launch();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-1
@@ -59,7 +59,11 @@ public class LxdContainerEditConfigActionProvider implements HubLeafProvider<Lxd
|
||||
var d = ref.getStore();
|
||||
var view = new LxdCommandView(
|
||||
d.getCmd().getStore().getHost().getStore().getOrStartSession());
|
||||
TerminalLaunch.builder().entry(ref.get()).title("Config").command(view.configEdit(d.getName())).launch();
|
||||
TerminalLaunch.builder()
|
||||
.entry(ref.get())
|
||||
.title("Config")
|
||||
.command(view.configEdit(d.getName()))
|
||||
.launch();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-1
@@ -47,7 +47,11 @@ public class PodmanContainerAttachActionProvider implements HubLeafProvider<Podm
|
||||
public void executeImpl() throws Exception {
|
||||
var d = ref.getStore();
|
||||
var view = d.commandView(d.getCmd().getStore().getHost().getStore().getOrStartSession());
|
||||
TerminalLaunch.builder().entry(ref.get()).title("Attach").command(view.attach(d.getContainerName())).launch();
|
||||
TerminalLaunch.builder()
|
||||
.entry(ref.get())
|
||||
.title("Attach")
|
||||
.command(view.attach(d.getContainerName()))
|
||||
.launch();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-1
@@ -48,7 +48,11 @@ public class PodmanContainerLogsActionProvider implements HubLeafProvider<Podman
|
||||
public void executeImpl() throws Exception {
|
||||
var d = (PodmanContainerStore) ref.getStore();
|
||||
var view = d.commandView(d.getCmd().getStore().getHost().getStore().getOrStartSession());
|
||||
TerminalLaunch.builder().entry(ref.get()).title("Logs").command(view.logs(d.getContainerName())).launch();
|
||||
TerminalLaunch.builder()
|
||||
.entry(ref.get())
|
||||
.title("Logs")
|
||||
.command(view.logs(d.getContainerName()))
|
||||
.launch();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user