use of io.fabric8.mockwebserver.ServerRequest in project flink by apache.
the class MixedKubernetesServer method before.
public void before() {
final HashMap<ServerRequest, Queue<ServerResponse>> response = new HashMap<>();
mock = crudMode ? new KubernetesMockServer(new Context(), mockWebServer, response, new MixedDispatcher(response), true) : new KubernetesMockServer(mockWebServer, response, https);
mock.init();
client = mock.createClient();
}
Aggregations