interface Ingresses {
    listForAllNamespaces(): Promise<string[]>;
    update(
        namespace: NamespaceName,
        name: string,
        patch: object,
    ): Promise<void>;
}

Implemented by

Methods

  • listForAllNamespaces lists all Ingresses in all namespaces.

    Returns Promise<string[]>

    a list of Ingress names.

    ResourceReadError if the Ingresses could not be listed.

  • Update an existing Ingress.

    Parameters

    • namespace: NamespaceName

      the namespace of the Ingress.

    • name: string

      the name of the Ingress.

    • patch: object

      the patch to apply to the Ingress.

    Returns Promise<void>

    SoloError if the Ingress could not be updated.

    ResourceUpdateError if the Ingress could not be updated.