Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unstructureIstioType (0.08 sec)

  1. istioctl/pkg/workload/workload.go

    	})
    	return createCmd
    }
    
    func generateWorkloadGroupYAML(u *unstructured.Unstructured, spec *networkingv1alpha3.WorkloadGroup) ([]byte, error) {
    	iSpec, err := unstructureIstioType(spec)
    	if err != nil {
    		return nil, err
    	}
    	u.Object["spec"] = iSpec
    
    	wgYAML, err := yaml.Marshal(u.Object)
    	if err != nil {
    		return nil, err
    	}
    	return wgYAML, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top