🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@stolostron/multicluster-sdk

Package Overview
Dependencies
Maintainers
5
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stolostron/multicluster-sdk

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

Source
npmnpm
Version
0.2.0-alpha.3
Version published
Weekly downloads
653
27.54%
Maintainers
5
Weekly downloads
 
Created
Source

Multicluster SDK for OpenShift Console

A React SDK for working with multicluster OpenShift/Kubernetes resources from the OpenShift Console.

This SDK provides extensions and APIs that dynamic plugins can use to leverage multicluster capabilities provided by Red Hat Advanced Cluster Management. It aims to provide similar functionality to the dynamic plugin(https://www.npmjs.com/package/@openshift-console/dynamic-plugin-sdk) SDK but for multicluster scenarios.

Prerequisites

  • Red Hat Advanced Cluster Management for Kubernetes 2.15+

Installation

npm install @stolostron/multicluster-sdk

Usage

The multicluster-sdk provides components and hooks that enable your dynamic plugins to work with resources across multiple clusters.

Basic Setup

// Example code will be added after API stabilization

Working with Resources

// Example code will be added after API stabilization

API Reference

Components

  • <FleetResourceLink>: Component for linking to the resource details page in ACM for a resource from a managed cluster, or to the OpenShift console resource page for a resource from the hub cluster

Hooks

  • useFleetK8sWatchResource: Watch Kubernetes resources across clusters
  • useFleetK8sAPIPath: Get the API path for a specific cluster
  • useHubClusterName: Get the name of the hub cluster
  • useFleetClusterNames: Get the list of managed cluster names

Utilities

  • Fleet resource typing support through TypeScript interfaces

Contributing

All contributions to the repository must be submitted under the terms of the Apache Public License 2.0. For contribution guidelines, see CONTRIBUTING.md.

Keywords

multicluster

FAQs

Package last updated on 19 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts