Options
All
  • Public
  • Public/Protected
  • All
Menu

Module ingress

Index

Functions

domainToCertName

  • domainToCertName(d: string, isSubdomain?: boolean): string
  • Converts a domain to a dash-separated form (e.g. abc-def-org), optionally removing the subdomain.

    Parameters

    • d: string

      the domain as a string

    • isSubdomain: boolean = false

      true if the url is a subdomain of a domain that already has a certificate; default to false if unspecified.

    Returns string

removeSubdomain

  • removeSubdomain(d: string, isSubdomain?: boolean): string
  • Removes the subdomain from an url if isSubdomain is true

    Parameters

    • d: string

      the domain as a string

    • isSubdomain: boolean = false

      true if the url is a subdomain of a domain that already has a certificate; default to false if unspecified.

    Returns string

Generated using TypeDoc