public static List<V1Pod> getPods(TroubleshootingContext context) {
        List<V1Pod> podList = Collections.emptyList();
        if (context == null || context.getResourceInfos() == null) {
            return podList;
        }
        List<TroubleshootingContext.ResourceInfo> resourceInfos = context.getResourceInfos()
                .get(ResourceKind.POD.getKind());
        if (resourceInfos == null || resourceInfos.isEmpty()) {
            return podList;
        }
        podList = resourceInfos.stream().filter(each -> each != null && each.getResource() instanceof V1Pod)
                .map(pod -> (V1Pod) pod.getResource()).collect(Collectors.toList());

        return podList;
    }
@param context
@return list of pods from context resource info
deployer/troubleshooting-integration/src/main/java/io/hyscale/troubleshooting/integration/util/ConditionUtil.java