PodView can be used to list pods belonging to a deployment.
See examples folder to understand how to use the package.
Currently 2 methods are supported by this package to GET the pods:
-
GetPods() - Given the deployment name and namespace (optional), return all the pods belonging to the deployment.
-
GetPodsWithStatus(status) - Same as above method. Only difference is that this also takes in an argument called status (i.e. Running, Failed, Pending) and returns pods of the deployment having that status.