Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateFiles (0.07 sec)

  1. istioctl/pkg/validate/validate.go

    				un.GetKind(), un.GetNamespace(), un.GetName())))
    		}
    	}
    }
    
    func isFileFormatValid(file string) bool {
    	ext := filepath.Ext(file)
    	return slices.Contains(fileExtensions, ext)
    }
    
    func validateFiles(istioNamespace *string, defaultNamespace string, filenames []string, writer io.Writer) error {
    	if len(filenames) == 0 {
    		return errMissingFilename
    	}
    
    	v := &validator{}
    
    	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