Package io.fabric8.kubeapitest.junit
Class KubeConfigInjectionHandler
- java.lang.Object
-
- io.fabric8.kubeapitest.junit.KubeConfigInjectionHandler
-
- All Implemented Interfaces:
ClientInjectionHandler
public class KubeConfigInjectionHandler extends Object implements ClientInjectionHandler
-
-
Constructor Summary
Constructors Constructor Description KubeConfigInjectionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Field>getFieldForKubeConfigInjection(org.junit.jupiter.api.extension.ExtensionContext extensionContext, boolean staticField)voidinject(org.junit.jupiter.api.extension.ExtensionContext extensionContext, boolean staticField, KubeAPIServer kubeApiServer)booleanisTargetFieldAvailable(org.junit.jupiter.api.extension.ExtensionContext extensionContext, boolean staticField)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubeapitest.junit.ClientInjectionHandler
cleanup
-
-
-
-
Method Detail
-
isTargetFieldAvailable
public boolean isTargetFieldAvailable(org.junit.jupiter.api.extension.ExtensionContext extensionContext, boolean staticField)- Specified by:
isTargetFieldAvailablein interfaceClientInjectionHandler
-
inject
public void inject(org.junit.jupiter.api.extension.ExtensionContext extensionContext, boolean staticField, KubeAPIServer kubeApiServer)- Specified by:
injectin interfaceClientInjectionHandler
-
-