Skip to main content

validate_files

Function validate_files 

Source
pub fn validate_files(kc: &KustomizeConfig) -> Result<(), FilesError>
Expand description

Rejects files: on non-local paths and keys that leave the kustomization directory.

ยงErrors

Returns FilesError::NotSupported if path is a builtin or remote target, or FilesError::InvalidFileName if a key is not a bare file name.