MCPcopy
hub / github.com/certbot/certbot / join

Function join

certbot/src/certbot/_internal/san.py:108–110  ·  view source on GitHub ↗

Combine a list of DNS names and a list of IP addresses.

(dns_names: Iterable[DNSName], ip_addresses: Iterable[IPAddress])

Source from the content-addressed store, hash-verified

106 return domains, ip_addresses
107
108def join(dns_names: Iterable[DNSName], ip_addresses: Iterable[IPAddress]) -> list[SAN]:
109 """Combine a list of DNS names and a list of IP addresses."""
110 return list(dns_names) + list(ip_addresses)
111
112def display(sans: Iterable[SAN]) -> str:
113 """Return the list of SANs in string form, separated by comma and space."""

Callers 15

build_remote.pyFile · 0.85
_execute_buildFunction · 0.85
_build_snapFunction · 0.85
_dump_failed_build_logsFunction · 0.85
mainFunction · 0.85
certbot_versionFunction · 0.85

Calls

no outgoing calls