| 1 |
#! /usr/bin/python3 |
| 2 |
from typing import Optional, Union, Tuple, Dict, List |
| 3 |
|
| 4 |
def decodes(text: Optional[str]) -> Optional[str]: ... |
| 5 |
def decodes_(text: str) -> str: ... |
| 6 |
def output3(cmd : Union[str, List[str]], shell: bool = True, debug: bool = True) -> Tuple[str, str, int]: ... |
| 7 |
def major(version: str) -> str: ... |
| 8 |
def onlyversion(image: str) -> str: ... |
| 9 |
|
| 10 |
class DockerMirror: |
| 11 |
def __init__(self, cname: str, image: str, hosts: List[str]) -> None: ... |
| 12 |
|
| 13 |
class DockerMirrorPackagesRepo: |
| 14 |
def __init__(self, image : Optional[str] = None) -> None: |
| 15 |
self._image : Optional[str] |
| 16 |
def host_system_image(self) -> str: ... |
| 17 |
def detect_etc_image(self, etc: str) -> Tuple[str, str]: ... |
| 18 |
def detect_base_image(self, image: str) -> str: ... |
| 19 |
def detect_base_image_from(self, cname: str, tempdir: str) -> Tuple[str, str]: ... |
| 20 |
def get_docker_latest_image(self, image: str) -> str: ... |
| 21 |
def get_docker_latest_version(self, image: str) -> str: ... |
| 22 |
def get_docker_mirror(self, image : str) -> Optional[DockerMirror]: ... |
| 23 |
def get_docker_mirrors(self, image : str) -> List[DockerMirror]: |
| 24 |
mirrors: List[DockerMirror] |
| 25 |
def get_ubuntu_latest(self, image: str, default: Optional[str] = None) -> str: ... |
| 26 |
def get_ubuntu_latest_version(self, version: str) -> str: ... |
| 27 |
def get_ubuntu_docker_mirror(self, image : str) -> DockerMirror: ... |
| 28 |
def get_ubuntu_docker_mirrors(self, image : str) -> List[DockerMirror]: ... |
| 29 |
def get_centos_latest(self, image: str, default: Optional[str] = None) -> str: ... |
| 30 |
def get_centos_latest_version(self, version: str) -> str: ... |
| 31 |
def get_centos_docker_mirror(self, image : str) -> DockerMirror: ... |
| 32 |
def get_centos_docker_mirrors(self, image : str) -> List[DockerMirror]: ... |
| 33 |
def get_opensuse_latest(self, image: str, default: Optional[str] = None) -> str: ... |
| 34 |
def get_opensuse_latest_version(self, version: str) -> str: ... |
| 35 |
def get_opensuse_docker_mirror(self, image : str) -> DockerMirror: ... |
| 36 |
def get_opensuse_docker_mirrors(self, image : str) -> List[DockerMirror]: ... |
| 37 |
def docker_mirror(self, rmi : str, rep : str, ver : str, *hosts : str) -> DockerMirror: ... |
| 38 |
def get_extra_mirrors(self, image : str) -> List[DockerMirror]: |
| 39 |
mirrors: List[DockerMirror] |
| 40 |
def get_epel_docker_mirrors(self, image : str) -> List[DockerMirror]: ... |
| 41 |
def get_epel_docker_mirror(self, image : str) -> DockerMirror: ... |
| 42 |
def ip_container(self, name: str) -> Optional[str]: ... |
| 43 |
def start_containers(self, image : str) -> Dict[str, Optional[str]]: |
| 44 |
done: Dict[str, Optional[str]] |
| 45 |
def start_container(self, image : str, container : str) -> Optional[str]: ... |
| 46 |
def stop_containers(self, image : str) -> Dict[str, str]: |
| 47 |
done: Dict[str, str] |
| 48 |
def stop_container(self, image : str, container : str) -> str: ... |
| 49 |
def info_containers(self, image: str) -> Dict[str, Optional[str]]: ... |
| 50 |
def info_container(self, image: str, container: str) -> Optional[str]: ... |
| 51 |
def get_containers(self, image: str) -> List[str]: ... |
| 52 |
def inspect_containers(self, image: str) -> Dict[str, Optional[str]]: |
| 53 |
done: Dict[str, Optional[str]] |
| 54 |
def add_hosts(self, image: str, done: Dict[str, Optional[str]] = {}) -> List[str]: |
| 55 |
args: List[str] |
| 56 |
def helps(self) -> str: ... |
| 57 |
def detect(self, image: Optional[str] = None) -> str: ... |
| 58 |
def epel(self, image: Optional[str] = None) -> str: ... |
| 59 |
def repo(self, image: Optional[str] = None) -> str: ... |
| 60 |
def repos(self, image: Optional[str] = None) -> str: ... |
| 61 |
def facts(self, image: Optional[str] = None) -> str: ... |
| 62 |
def starts(self, image: Optional[str] = None) -> str: ... |
| 63 |
def stops(self, image: Optional[str] = None) -> str: ... |
| 64 |
def infos(self, image: Optional[str] = None) -> str: ... |
| 65 |
def containers(self, image: Optional[str] = None) -> str: ... |
| 66 |
def inspects(self, image: Optional[str] = None) -> str: ... |