Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ApplyNamespace (0.3 sec)

  1. pkg/test/util/yml/apply.go

    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    // ApplyNamespace applies the given namespaces to the resources in the yamlText if not set.
    func ApplyNamespace(yamlText, ns string) (string, error) {
    	chunks := SplitString(yamlText)
    
    	toJoin := make([]string, 0, len(chunks))
    	for _, chunk := range chunks {
    		chunk, err := applyNamespace(chunk, ns)
    		if err != nil {
    			return "", err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top