Class ContainerExecProc
- java.lang.Object
-
- hudson.Proc
-
- org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecProc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.Proc
Proc.LocalProc, Proc.ProcWithJenkins23271Patch, Proc.RemoteProc
-
-
Constructor Summary
Constructors Constructor Description ContainerExecProc(io.fabric8.kubernetes.client.dsl.ExecWatch watch, AtomicBoolean alive, CountDownLatch finished, ByteArrayOutputStream error)
Deprecated.ContainerExecProc(io.fabric8.kubernetes.client.dsl.ExecWatch watch, AtomicBoolean alive, CountDownLatch finished, OutputStream stdin)
ContainerExecProc(io.fabric8.kubernetes.client.dsl.ExecWatch watch, AtomicBoolean alive, CountDownLatch finished, OutputStream stdin, ByteArrayOutputStream error)
Deprecated.ContainerExecProc(io.fabric8.kubernetes.client.dsl.ExecWatch watch, AtomicBoolean alive, CountDownLatch finished, Callable<Integer> exitCode)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
InputStream
getStderr()
OutputStream
getStdin()
InputStream
getStdout()
boolean
isAlive()
int
join()
void
kill()
void
run()
-
Methods inherited from class hudson.Proc
joinWithTimeout
-
-
-
-
Constructor Detail
-
ContainerExecProc
@Deprecated public ContainerExecProc(io.fabric8.kubernetes.client.dsl.ExecWatch watch, AtomicBoolean alive, CountDownLatch finished, Callable<Integer> exitCode)
Deprecated.
-
ContainerExecProc
@Deprecated public ContainerExecProc(io.fabric8.kubernetes.client.dsl.ExecWatch watch, AtomicBoolean alive, CountDownLatch finished, ByteArrayOutputStream error)
Deprecated.
-
ContainerExecProc
@Deprecated public ContainerExecProc(io.fabric8.kubernetes.client.dsl.ExecWatch watch, AtomicBoolean alive, CountDownLatch finished, OutputStream stdin, ByteArrayOutputStream error)
Deprecated.
-
ContainerExecProc
public ContainerExecProc(io.fabric8.kubernetes.client.dsl.ExecWatch watch, AtomicBoolean alive, CountDownLatch finished, OutputStream stdin)
-
-
Method Detail
-
kill
public void kill() throws IOException, InterruptedException
- Specified by:
kill
in classProc
- Throws:
IOException
InterruptedException
-
join
public int join() throws IOException, InterruptedException
- Specified by:
join
in classProc
- Throws:
IOException
InterruptedException
-
getStdout
public InputStream getStdout()
-
getStderr
public InputStream getStderr()
-
getStdin
public OutputStream getStdin()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-