Skip to main content

KubernetesObjectsProviderFactory

Home > @backstage/plugin-kubernetes-node > KubernetesObjectsProviderFactory

A factory function for creating a KubernetesObjectsProvider.

Signature:

export type KubernetesObjectsProviderFactory = (opts: {
getDefault: () => Promise<KubernetesObjectsProvider>;
clusterSupplier: KubernetesClustersSupplier;
serviceLocator: KubernetesServiceLocator;
customResources: CustomResource[];
objectTypesToFetch?: ObjectToFetch[];
authStrategy: AuthenticationStrategy;
}) => Promise<KubernetesObjectsProvider>;

References: KubernetesObjectsProvider, KubernetesClustersSupplier, KubernetesServiceLocator, CustomResource, ObjectToFetch, AuthenticationStrategy