@stolostron/multicluster-sdk
Version:
Provides extensions and APIs that dynamic plugins can use to leverage multicluster capabilities provided by Red Hat Advanced Cluster Management.
8 lines • 356 B
TypeScript
/**
* Hook that provides the k8s API path for the fleet.
*
* @param cluster - The cluster name.
* @returns Array with `k8sAPIPath`, `loaded` and `error` values.
*/
export declare function useFleetK8sAPIPath(cluster?: string): [k8sAPIPath: string | undefined, loaded: boolean, error: Error | undefined];
//# sourceMappingURL=useFleetK8sAPIPath.d.ts.map