@kosko/yamlFunctionsloadUrlpublicloadUrl CallableloadUrl(url: RequestInfo, options?: LoadUrlOptions): () => Promise<Manifest[]>Loads a Kubernetes YAML file from url.@remarksBy 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.Parametersurl: RequestInfoURL to a Kubernetes YAML file.options: LoadUrlOptions = {}Returns () => Promise<Manifest[]>(): Promise<Manifest[]>Returns Promise<Manifest[]>
Loads a Kubernetes YAML file from
url
.By default, this function uses
fetch
API defined in the global scope. On Node.js, ifglobal.fetch
is undefined, node-fetch will be used instead.