k8sListResource

Lists the resources as an array in the cluster, based on provided options. It returns a promise that resolves to the response.

Parameter Name Description

options

Which are passed as key-value pairs in the map

options.model

k8s model

options.queryParams

The query parameters to be included in the URL and can pass label selector’s as well with key "labelSelector".

options.requestInit

The fetch init object to use. This can have request headers, method, redirect, and so on. See Interface RequestInit for more.