Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewYAMLReader (0.05 sec)

  1. istioctl/pkg/validate/validate.go

    	}
    	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
    	var warnings validation.Warning
    	for {
    		doc, err := yamlReader.Read()
    		if err == io.EOF {
    			return warnings, errs
    		}
    		if err != nil {
    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