There are four Kubernetes certifications:
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import os | |
| from pathlib import Path | |
| from typing import List, Set | |
| def tree(dir_path: Path, indent: str = '', exclude: Set[str] = None): | |
| if exclude is None: | |
| exclude = set() | |
| # Get the list of all files and directories in the given directory, sorted naturally | |
| items = sorted([item for item in dir_path.iterdir() if item.name not in exclude], key=lambda s: s.name.lower()) |