Class AbstractKubernetesResourceProvider
java.lang.Object
org.arquillian.cube.kubernetes.impl.enricher.AbstractKubernetesResourceProvider
- All Implemented Interfaces:
org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider
- Direct Known Subclasses:
ClientResourceProvider,ClientResourceProvider,DeploymentListResourceProvider,DeploymentResourceProvider,KuberntesServiceUrlResourceProvider,PodListResourceProvider,PodResourceProvider,ReplicaSetListResourceProvider,ReplicaSetResourceProvider,ReplicationControllerListResourceProvider,ReplicationControllerResourceProvider,ServiceListResourceProvider,ServiceResourceProvider,SessionResourceProvider
public abstract class AbstractKubernetesResourceProvider
extends Object
implements org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider
org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider.ClassInjection, org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider.MethodInjection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected io.fabric8.kubernetes.client.KubernetesClientgetLabels(Annotation... qualifiers) protected StringgetName(Annotation... qualifiers) protected StringgetNamespace(Annotation... qualifiers) protected StringinternalToUserType(String fqn) protected ClassTry to load a class using the current classloader (the one that loaded this class) or the thread context class loader.protected <I,O> O toUsersResource(I input) protected <I,O> O toUsersResource(I input, String className) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider
canProvide, lookup
-
Constructor Details
-
AbstractKubernetesResourceProvider
public AbstractKubernetesResourceProvider()
-
-
Method Details
-
getName
-
getNamespace
-
getLabels
-
internalToUserType
-
toUsersResource
protected <I,O> O toUsersResource(I input) -
toUsersResource
-
loadClass
Try to load a class using the current classloader (the one that loaded this class) or the thread context class loader.- Parameters:
className- The name of the class.- Returns:
- The class of throws IllegalStateException.
-
getClient
protected io.fabric8.kubernetes.client.KubernetesClient getClient() -
getSession
-