use of com.redhat.devtools.intellij.tektoncd.ui.toolwindow.debug.CustomPodOperationsImpl in project intellij-tekton by redhat-developer.
the class TknCli method customExecCommandInContainer.
public ExecWatch customExecCommandInContainer(Pod pod, String containerId, String... command) {
Config config = new ConfigBuilder().build();
CustomPodOperationsImpl podOperations = new CustomPodOperationsImpl(HttpClientUtils.createHttpClient(config), config);
return podOperations.inNamespace(pod.getMetadata().getNamespace()).withName(pod.getMetadata().getName()).inContainer(containerId).redirectingInput().redirectingOutput().redirectingError().withTTY().exec(command);
}
Aggregations