Interface KubernetesPodActionBuilder
public interface KubernetesPodActionBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(String podName) Add annotation on pod instance.Add label on pod instance.delete()Delete all pods in current namespace.Delete given pod by its name in current namespace.Delete given pod identified by the label value expression.Verify that given pod is running.Verify that given pod is running.Watch pod logs for given pod identified by its name.Watch pod logs for given pod identified by label selector.
-
Method Details
-
verify
Verify that given pod is running.- Parameters:
podName- the name of the Camel K pod.
-
watchLogs
Watch pod logs for given pod identified by its name.- Parameters:
podName- the name of the Camel K pod.
-
watchLogs
Watch pod logs for given pod identified by label selector.- Parameters:
label- the name of the pod label to filter on.value- the value of the pod label to match.
-
addAnnotation
Add annotation on pod instance.- Parameters:
podName- the name of the Kubernetes pod.
-
addLabel
Add label on pod instance.- Parameters:
podName- the name of the Kubernetes pod.
-
verify
Verify that given pod is running.- Parameters:
label- the name of the pod label to filter on.value- the value of the pod label to match.
-
delete
KubernetesPodDeleteActionBuilder<?,?> delete()Delete all pods in current namespace. -
delete
Delete given pod by its name in current namespace. -
delete
Delete given pod identified by the label value expression.
-