pub fn analyze(path: &Path, config: &K8sOptimizeConfig) -> OptimizationResultExpand description
Analyze Kubernetes manifests from a path.
The path can be:
- A single YAML file
- A single Terraform (.tf) file
- A directory containing YAML and/or Terraform files
- A Helm chart directory
- A Kustomize directory