public class OpenShiftTopologyConnector extends Object implements org.jboss.msc.service.Service<OpenShiftTopologyConnector>, TopologyConnector
oc policy add-role-to-user -z default view
Relevant environment variables:
$KUBERNETES_SERVICE_HOST - the hostname of the Kube API
server, set automatically when running on OpenShift$KUBERNETES_SERVICE_PORT - the port of the Kube API
server, set automatically when running on OpenShift$KUBERNETES_NAMESPACE - the Kube namespace to use -
this is the project name when running on OpenShift. This will be
auto-detected in some cases and an error will be thrown if the value
can't be auto-detected and also is not set| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
OpenShiftTopologyConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
advertise(String name,
org.jboss.as.network.SocketBinding binding,
String... tags) |
org.jboss.msc.inject.Injector<TopologyManager> |
getTopologyManagerInjector() |
OpenShiftTopologyConnector |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
void |
unadvertise(String name,
org.jboss.as.network.SocketBinding binding) |
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<OpenShiftTopologyConnector>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<OpenShiftTopologyConnector>public void advertise(String name, org.jboss.as.network.SocketBinding binding, String... tags)
advertise in interface TopologyConnectorpublic void unadvertise(String name, org.jboss.as.network.SocketBinding binding)
unadvertise in interface TopologyConnectorpublic OpenShiftTopologyConnector getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<OpenShiftTopologyConnector>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.msc.inject.Injector<TopologyManager> getTopologyManagerInjector()
Copyright © 2016 JBoss by Red Hat. All rights reserved.