Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for handleNamespace (0.17 sec)

  1. istioctl/pkg/validate/validate.go

    	// we can't complain about.
    
    	return nil, nil
    }
    
    func (v *validator) validateServicePortPrefix(istioNamespace string, un *unstructured.Unstructured) error {
    	var errs error
    	if un.GetNamespace() == handleNamespace(istioNamespace) {
    		return nil
    	}
    	spec := un.Object["spec"].(map[string]any)
    	if _, ok := spec["ports"]; ok {
    		ports := spec["ports"].([]any)
    		for _, port := range ports {
    			p := port.(map[string]any)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top