Constructor and Description |
---|
TaskRunLogWatch(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
io.fabric8.tekton.client.TektonClient tektonClient,
io.fabric8.tekton.pipeline.v1beta1.TaskRun taskRun,
OutputStream consoleLogger) |
Modifier and Type | Method and Description |
---|---|
Exception |
getException() |
protected void |
logMessage(String text) |
protected void |
logPodFailures(io.fabric8.kubernetes.api.model.Pod pod)
Lets check if the pod completed successfully otherwise log a failure message
|
protected void |
logTaskRunFailure(io.fabric8.tekton.pipeline.v1beta1.TaskRun taskRun)
Lets log any failures in the task run
|
void |
run() |
public TaskRunLogWatch(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient, io.fabric8.tekton.client.TektonClient tektonClient, io.fabric8.tekton.pipeline.v1beta1.TaskRun taskRun, OutputStream consoleLogger)
public Exception getException()
protected void logTaskRunFailure(io.fabric8.tekton.pipeline.v1beta1.TaskRun taskRun)
taskRun
- the task run to logprotected void logPodFailures(io.fabric8.kubernetes.api.model.Pod pod)
pod
- the pod to logprotected void logMessage(String text)
Copyright © 2016–2021. All rights reserved.