Package io.fabric8.kubernetes.client.dsl
Interface Execable
-
- All Known Subinterfaces:
ContainerResource,ExecListenable,PodResource,TtyExecable,TtyExecErrorable,TtyExecErrorChannelable,TtyExecOutputErrorable
public interface Execable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecWatchattach()Attach to the main process of a containerExecWatchexec(String... input)Execute a command in a containerExecablewithReadyWaitTimeout(Integer timeout)How long shall we wait until a Pod is ready or terminal before attaching or execing
-
-
-
Method Detail
-
exec
ExecWatch exec(String... input)
Execute a command in a container- Parameters:
input- the command to run- Returns:
- container with stdin, stdout, stderr streams (if redirectingInput(), redirectingOutput(), redirectingError() were called respectively)
-
attach
ExecWatch attach()
Attach to the main process of a container- Returns:
- container with stdin, stdout, stderr streams (if redirectingInput(), redirectingOutput(), redirectingError() were called respectively)
-
-