Search in sources :

Example 1 with RestServer

use of oracle.kubernetes.operator.rest.RestServer in project weblogic-kubernetes-operator by oracle.

the class Main method startRestServer.

private static void startRestServer(String principal, Collection<String> targetNamespaces) throws Exception {
    restServer = new RestServer(new RestConfigImpl(principal, targetNamespaces));
    restServer.start(container);
}
Also used : RestServer(oracle.kubernetes.operator.rest.RestServer) RestConfigImpl(oracle.kubernetes.operator.rest.RestConfigImpl)

Aggregations

RestConfigImpl (oracle.kubernetes.operator.rest.RestConfigImpl)1 RestServer (oracle.kubernetes.operator.rest.RestServer)1