@Override
    public List<ManifestSnippet> build(ServiceMetadata serviceMetadata, LoadBalancer loadBalancer) throws HyscaleException {
        logger.debug("Building Manifests for Istio LB Resources");
        List<ManifestSnippet> manifestSnippets = new ArrayList<>();
        for(IstioResourcesManifestGenerator istioManifestGenerator: istioManifestGenerators){
            manifestSnippets.add(istioManifestGenerator.generateManifest(serviceMetadata, loadBalancer));
        }
        return manifestSnippets;
    }
This class is responsible for creating manifests of Istio resources(Gateway,Virtual Service, Destination rule) for the load balancer configuration provided in hspec.
manifest-generator/generator-services/src/main/java/io/hyscale/generator/services/builder/IstioManifestBuilder.java