Interface KubernetesCommandActionBuilder<T extends TestAction,R,O,B extends KubernetesCommandActionBuilder<T,R,O,B>>

All Superinterfaces:
TestActionBuilder<T>
All Known Subinterfaces:
KubernetesInfoCommandActionBuilder<T,R,O,B>, KubernetesNamedCommandActionBuilder<T,R,O,B>, KubernetesNamespacedCommandActionBuilder<T,R,O,B>

public interface KubernetesCommandActionBuilder<T extends TestAction,R,O,B extends KubernetesCommandActionBuilder<T,R,O,B>> extends TestActionBuilder<T>
  • Method Details

    • result

      B result(String result)
      Adds expected command result.
    • validate

      B validate(String path, Object value)
      Adds JsonPath command result validation.
    • validate

      B validate(KubernetesCommandResultCallback<O> callback)
      Adds command result callback.
    • label

      B label(String key, String value)
      Sets the label parameter.
    • label

      B label(String key)
      Sets the label parameter.
    • withoutLabel

      B withoutLabel(String key, String value)
      Sets the without label parameter.
    • withoutLabel

      B withoutLabel(String key)
      Sets the without label parameter.