Package org.guvnor.ala.openshift.access
Interface OpenShiftAccessInterface
-
- All Superinterfaces:
org.uberfire.commons.lifecycle.Disposable
- All Known Implementing Classes:
OpenShiftAccessInterfaceImpl
public interface OpenShiftAccessInterface extends org.uberfire.commons.lifecycle.DisposableThis interface abstracts the OpenShift client creation and caching (per provider id).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenShiftClientgetOpenShiftClient(org.guvnor.ala.runtime.providers.ProviderId providerId)Gets the OpenShift Client for the provided ProviderId.OpenShiftClientnewOpenShiftClient(org.guvnor.ala.config.ProviderConfig providerConfig)Always creates a new OpenShiftClient with the provided Provider configuration.
-
-
-
Method Detail
-
getOpenShiftClient
OpenShiftClient getOpenShiftClient(org.guvnor.ala.runtime.providers.ProviderId providerId)
Gets the OpenShift Client for the provided ProviderId.- Parameters:
providerId- the ProviderId- Returns:
- OpenShiftClient for the ProviderId; if it doesn't exist, it creates a new OpenshiftClient
- See Also:
the (potentially cached) OpenShiftClient
-
newOpenShiftClient
OpenShiftClient newOpenShiftClient(org.guvnor.ala.config.ProviderConfig providerConfig)
Always creates a new OpenShiftClient with the provided Provider configuration.- Parameters:
providerConfig- the Provider configuration- Returns:
- the OpenShiftClient
- See Also:
the (not-cached) OpenShiftClient
-
-