public class Console extends Object implements IConsole
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Console.OpenShiftConsoleResourceUrls |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGMAP_CONSOLE_PUBLIC |
static String |
CONFIGMAP_DATA_CONSOLE_URL |
static String |
NAMESPACE_OPENSHIFT_CONFIG_MANAGED |
| Modifier and Type | Method and Description |
|---|---|
String |
getConsoleUrl()
Returns the console url
|
<R extends IResource> |
getConsoleUrl(R resource)
Returns the url in the console for the given resource
|
String |
getName()
Well known name of the capability
|
protected String |
getOpenShiftResourceURL(IResource resource,
java.util.stream.Stream<Console.OpenShiftConsoleResourceUrls> resourceUrls) |
boolean |
isSupported()
Allow the implementation of the capability to determine if it is supported on
the OpenShift server.
|
public static final String CONFIGMAP_DATA_CONSOLE_URL
public static final String NAMESPACE_OPENSHIFT_CONFIG_MANAGED
public static final String CONFIGMAP_CONSOLE_PUBLIC
public Console(IClient client)
public boolean isSupported()
ICapabilityisSupported in interface ICapabilitypublic String getName()
ICapabilitygetName in interface ICapabilitypublic String getConsoleUrl()
IConsolegetConsoleUrl in interface IConsolepublic <R extends IResource> String getConsoleUrl(R resource)
IConsolegetConsoleUrl in interface IConsoleprotected String getOpenShiftResourceURL(IResource resource, java.util.stream.Stream<Console.OpenShiftConsoleResourceUrls> resourceUrls)
Copyright © 2020 Red Hat, Inc. All Rights Reserved.