Interface Kubectl.Executable<OUTPUT>
- Type Parameters:
OUTPUT- the type parameter
- All Known Implementing Classes:
KubectlAnnotate,KubectlApiResources,KubectlApply,KubectlCopy,KubectlCordon,KubectlCreate,KubectlDelete,KubectlDrain,KubectlExec,KubectlGet,KubectlGet.KubectlGetSingle,KubectlLabel,KubectlLog,KubectlPatch,KubectlPortForward,KubectlReplace,KubectlScale,KubectlTaint,KubectlTop,KubectlVersion
- Enclosing class:
- Kubectl
public static interface Kubectl.Executable<OUTPUT>
Executable executes a kubectl helper.
-
Method Summary
-
Method Details
-
execute
Run and retrieve the output from the kubectl helpers.- Returns:
- the output, can be Void
- Throws:
KubectlException- the kubectl exception
-