Skip to main content

publicloadUrl

Callable


  • Loads a Kubernetes YAML file from url.

    @remarks

    By default, this function uses fetch API defined in the global scope. On Node.js, if global.fetch is undefined, node-fetch will be used instead.


    Parameters

    • url: RequestInfo

      URL to a Kubernetes YAML file.

    • options: LoadUrlOptions = {}

    Returns () => Promise<Manifest[]>