UNPKG

@stolostron/multicluster-sdk

Version:

Provides extensions and APIs that dynamic plugins can use to leverage multicluster capabilities provided by Red Hat Advanced Cluster Management.

11 lines 604 B
/** * Hook that determines if the fleet support is available. * * Checks if the feature flag with the name corresponding to the `REQUIRED_PROVIDER_FLAG` constant is enabled. * Red Hat Advanced Cluster Management enables this feature flag in versions that provide all of the dependencies * required by this version of the multicluster SDK. * * @returns `true` if a version of Red Hat Advanced Cluster Management that is compatible with the multicluster SDK is available; `false` otherwise */ export declare function useIsFleetAvailable(): boolean; //# sourceMappingURL=useIsFleetAvailable.d.ts.map