public class RegistryController extends Object
| Modifier and Type | Field and Description |
|---|---|
private okhttp3.OkHttpClient |
http |
private static org.slf4j.Logger |
LOGGER |
private io.fabric8.openshift.client.OpenShiftClient |
ocp |
private OpenShiftUtils |
ocpUtils |
private String |
project |
private io.apicurio.registry.operator.api.model.ApicurioRegistry |
registry |
| Constructor and Description |
|---|
RegistryController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry,
io.fabric8.openshift.client.OpenShiftClient ocp,
okhttp3.OkHttpClient http) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPublicRegistryAddress() |
String |
getRegistryAddress() |
String |
getRegistryApiAddress() |
private io.fabric8.kubernetes.api.model.Service |
getRegistryService() |
boolean |
undeployRegistry()
Undeploy this registry by deleted related ApicurioRegistry CR
|
private static final org.slf4j.Logger LOGGER
private final io.apicurio.registry.operator.api.model.ApicurioRegistry registry
private final io.fabric8.openshift.client.OpenShiftClient ocp
private final okhttp3.OkHttpClient http
private final String project
private final OpenShiftUtils ocpUtils
public RegistryController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry,
io.fabric8.openshift.client.OpenShiftClient ocp,
okhttp3.OkHttpClient http)
public String getRegistryAddress()
public String getRegistryApiAddress()
public String getPublicRegistryAddress()
private io.fabric8.kubernetes.api.model.Service getRegistryService()
public boolean undeployRegistry()
Copyright © 2021 JBoss by Red Hat. All rights reserved.