Skip to main content

KubernetesBuilder

Home > @backstage/plugin-kubernetes-backend > KubernetesBuilder

Warning: This API is now obsolete.

Please migrate to the new backend system as this will be removed in the future.

Signature:

class KubernetesBuilder 

Constructors

Constructor

Modifiers

Description

(constructor)(env)

Constructs a new instance of the KubernetesBuilder class

Properties

Property

Modifiers

Type

Description

env

protected

readonly

KubernetesEnvironment

Methods

Method

Modifiers

Description

addAuthStrategy(key, strategy)

build()

buildAuthStrategyMap()

protected

buildCatalogRelationServiceLocator(clusterSupplier)

protected

buildClusterSupplier(refreshInterval)

protected

buildCustomResources()

protected

buildFetcher()

protected

buildHttpServiceLocator(_clusterSupplier)

protected

buildMultiTenantServiceLocator(clusterSupplier)

protected

buildObjectsProvider(options)

protected

buildProxy(logger, clusterSupplier, discovery, httpAuth)

protected

buildRouter(objectsProvider, clusterSupplier, catalogApi, proxy, permissionApi, authService, httpAuth)

protected

buildServiceLocator(method, clusterSupplier)

protected

buildSingleTenantServiceLocator(clusterSupplier)

protected

createBuilder(env)

static

fetchClusterDetails(clusterSupplier, options)

protected

getAuthStrategyMap()

protected

getClusterSupplier()

protected

getFetcher()

protected

getObjectsProvider(options)

protected

getObjectTypesToFetch()

protected

getProxy(logger, clusterSupplier, discovery, httpAuth)

protected

getServiceLocator()

protected

getServiceLocatorMethod()

protected

setAuthStrategyMap(authStrategyMap)

setClusterSupplier(clusterSupplier)

setDefaultClusterRefreshInterval(refreshInterval)

setFetcher(fetcher)

setObjectsProvider(objectsProvider)

setProxy(proxy)

setServiceLocator(serviceLocator)