Function: apiFactory()
function apiFactory<ResourceType>(...args: ApiFactoryArguments): ApiClient<ResourceType>
Creates an API client for a single or multiple Kubernetes resources.
Type Parameters
| Type Parameter | Default type |
|---|---|
ResourceType extends KubeObjectInterface | KubeObjectInterface |
Parameters
| Parameter | Type | Description |
|---|---|---|
...args | ApiFactoryArguments | The arguments to pass to either singleApiFactory or multipleApiFactory. |
Returns
ApiClient<ResourceType>
An API client for the specified Kubernetes resource(s).