Class DefaultKubernetesResourceLocator
java.lang.Object
org.arquillian.cube.kubernetes.impl.locator.DefaultKubernetesResourceLocator
- All Implemented Interfaces:
KubernetesResourceLocator,WithToImmutable<KubernetesResourceLocator>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]protected String[]locate()Locates the main kubernetes resource.Locate additional resources (such as ImageStreams) that should be created in the test namespace.Locates the kubernetes resource from target which is generated by embedded build of fabric8 maven plugin during test execution.
-
Constructor Details
-
DefaultKubernetesResourceLocator
public DefaultKubernetesResourceLocator()
-
-
Method Details
-
locate
Description copied from interface:KubernetesResourceLocatorLocates the main kubernetes resource.- Specified by:
locatein interfaceKubernetesResourceLocator- Returns:
- Returns the url that points to the resource.
-
locateFromTargetDir
Description copied from interface:KubernetesResourceLocatorLocates the kubernetes resource from target which is generated by embedded build of fabric8 maven plugin during test execution.- Specified by:
locateFromTargetDirin interfaceKubernetesResourceLocator- Returns:
- Returns the url that points to the resource.
-
locateAdditionalResources
Description copied from interface:KubernetesResourceLocatorLocate additional resources (such as ImageStreams) that should be created in the test namespace.- Specified by:
locateAdditionalResourcesin interfaceKubernetesResourceLocator- Returns:
- a collection of urls to additional resources.
-
getResourceNames
-
getAllowedSuffixes
-
toImmutable
- Specified by:
toImmutablein interfaceWithToImmutable<KubernetesResourceLocator>
-