public class DefaultKubernetesResourceLocator extends Object implements KubernetesResourceLocator
| Constructor and Description |
|---|
DefaultKubernetesResourceLocator() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getAllowedSuffixes() |
protected String[] |
getResourceNames() |
URL |
locate()
Locates the main kubernetes resource.
|
Collection<URL> |
locateAdditionalResources()
Locate additional resources (such as ImageStreams) that
should be created in the test namespace.
|
URL |
locateFromTargetDir()
Locates the kubernetes resource from target which is generated by
embedded build of fabric8 maven plugin during test execution.
|
KubernetesResourceLocator |
toImmutable() |
public URL locate()
KubernetesResourceLocatorlocate in interface KubernetesResourceLocatorpublic URL locateFromTargetDir()
KubernetesResourceLocatorlocateFromTargetDir in interface KubernetesResourceLocatorpublic Collection<URL> locateAdditionalResources()
KubernetesResourceLocatorlocateAdditionalResources in interface KubernetesResourceLocatorprotected String[] getResourceNames()
protected String[] getAllowedSuffixes()
public KubernetesResourceLocator toImmutable()
toImmutable in interface WithToImmutable<KubernetesResourceLocator>Copyright © 2018 JBoss by Red Hat. All rights reserved.