Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateFile (0.09 sec)

  1. istioctl/pkg/validate/validate.go

    			m, _, err := unstructured.NestedStringMap(template, "metadata", "labels")
    			if err != nil {
    				return nil, err
    			}
    			return m, nil
    		}
    	}
    	return nil, nil
    }
    
    func (v *validator) validateFile(path string, istioNamespace *string, defaultNamespace string, reader io.Reader, writer io.Writer,
    ) (validation.Warning, error) {
    	yamlReader := kubeyaml.NewYAMLReader(bufio.NewReader(reader))
    	var errs error
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top