public class IstioAssistant extends Object
| Constructor and Description |
|---|
IstioAssistant(me.snowdrop.istio.client.IstioClient istioClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
await(okhttp3.Request request,
Function<okhttp3.Response,Boolean> checker) |
void |
await(URL url,
Function<okhttp3.Response,Boolean> checker) |
List<me.snowdrop.istio.api.model.IstioResource> |
deployIstioResources(InputStream inputStream) |
List<me.snowdrop.istio.api.model.IstioResource> |
deployIstioResources(Path directory)
Deploys all y(a)ml and json files located at given directory.
|
List<me.snowdrop.istio.api.model.IstioResource> |
deployIstioResources(String content)
Deploy Istio definition provided as string
|
List<me.snowdrop.istio.api.model.IstioResource> |
deployIstioResources(URL... urls) |
List<me.snowdrop.istio.api.model.IstioResource> |
deployIstioResourcesFromClasspathPattern(String pattern)
Deploys application reading resources from classpath, matching the given regular expression.
|
void |
undeployIstioResources(List<me.snowdrop.istio.api.model.IstioResource> istioResources) |
public IstioAssistant(me.snowdrop.istio.client.IstioClient istioClient)
public List<me.snowdrop.istio.api.model.IstioResource> deployIstioResources(InputStream inputStream)
public void undeployIstioResources(List<me.snowdrop.istio.api.model.IstioResource> istioResources)
public List<me.snowdrop.istio.api.model.IstioResource> deployIstioResources(URL... urls) throws IOException
IOExceptionpublic List<me.snowdrop.istio.api.model.IstioResource> deployIstioResourcesFromClasspathPattern(String pattern)
pattern - to match the resources.public List<me.snowdrop.istio.api.model.IstioResource> deployIstioResources(Path directory) throws IOException
directory - where resources files are storedIOExceptionpublic List<me.snowdrop.istio.api.model.IstioResource> deployIstioResources(String content)
content - Copyright © 2018 JBoss by Red Hat. All rights reserved.