Currently, our kn-workflow plugin relies on calls to kubectl subshell in order to interact with the cluster. Ideally, instead, we should use https://github.com/kubernetes/client-go. It's a native golang library and well-documented to connect and manage objects directly within the cluster.
This will easy future feature implementations such as validating if the Operator is installed or Knative is available.
Currently, our
kn-workflow
plugin relies on calls tokubectl
subshell in order to interact with the cluster. Ideally, instead, we should use https://github.com/kubernetes/client-go. It's a native golang library and well-documented to connect and manage objects directly within the cluster.This will easy future feature implementations such as validating if the Operator is installed or Knative is available.
Part of this epic:
kubectl
subshell (we might need to break this down into smaller tasks after evaluation)