Package org.arquillian.cube.istio.impl
Class IstioAssistant
java.lang.Object
org.arquillian.cube.istio.impl.IstioAssistant
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidawait(io.fabric8.kubernetes.client.http.HttpRequest request, Function<io.fabric8.kubernetes.client.http.HttpResponse<String>, Boolean> checker) voiddeployIstioResources(InputStream inputStream) deployIstioResources(String content) Deploy Istio definition provided as stringdeployIstioResources(URL... urls) deployIstioResources(Path directory) Deploys all y(a)ml and json files located at given directory.Deploys application reading resources from classpath, matching the given regular expression.voidundeployIstioResource(IstioResource istioResource) voidundeployIstioResources(List<IstioResource> istioResources)
-
Constructor Details
-
IstioAssistant
-
-
Method Details
-
deployIstioResources
-
undeployIstioResource
-
undeployIstioResources
-
deployIstioResources
- Throws:
IOException
-
deployIstioResourcesFromClasspathPattern
Deploys application reading resources from classpath, matching the given regular expression. For example istio/.*\\.json will deploy all resources ending with json placed at istio classpath directory.- Parameters:
pattern- to match the resources.
-
deployIstioResources
Deploys all y(a)ml and json files located at given directory.- Parameters:
directory- where resources files are stored- Throws:
IOException
-
deployIstioResources
Deploy Istio definition provided as string- Parameters:
content-- Returns:
-
await
public void await(URL url, Function<io.fabric8.kubernetes.client.http.HttpResponse<String>, Boolean> checker) throws URISyntaxException- Throws:
URISyntaxException
-
await
-