public class VolcanoServer
extends org.junit.rules.ExternalResource
| Modifier and Type | Field and Description |
|---|---|
protected VolcanoMockServer |
mock |
| Constructor and Description |
|---|
VolcanoServer() |
VolcanoServer(boolean https) |
VolcanoServer(boolean https,
boolean crudMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
io.fabric8.mockwebserver.dsl.MockServerExpectation |
expect() |
<T> void |
expectAndReturnAsJson(String path,
int code,
T body)
Deprecated.
|
void |
expectAndReturnAsString(String path,
int code,
String body)
Deprecated.
|
io.fabric8.volcano.client.VolcanoClient |
getVolcanoClient() |
protected VolcanoMockServer mock
public VolcanoServer()
public VolcanoServer(boolean https)
public VolcanoServer(boolean https,
boolean crudMode)
public void before()
before in class org.junit.rules.ExternalResourcepublic void after()
after in class org.junit.rules.ExternalResourcepublic io.fabric8.volcano.client.VolcanoClient getVolcanoClient()
public io.fabric8.mockwebserver.dsl.MockServerExpectation expect()
@Deprecated public <T> void expectAndReturnAsJson(String path, int code, T body)
@Deprecated public void expectAndReturnAsString(String path, int code, String body)
Copyright © 2015–2022 Red Hat. All rights reserved.