public class KubernetesExtension extends Object implements org.junit.jupiter.api.extension.ExecutionCondition, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback, WithKubernetesIntegrationTestConfig, WithPod, WithKubernetesClient, WithKubernetesResources, WithEvents, WithProject, WithKubernetesConfig, WithImageConfig
DEFAULT_KUBERNETES_INTEGRATION_TEST_CONFIGKUBERNETES_CONFIG_PATHCLOSABLESKUBERNETES_LIST, MANIFEST_PATHKUBERNETES_CONFIG_PATHCONFIG_PATH, DEKORATE_ROOT| Constructor and Description |
|---|
KubernetesExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterAll(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
displayDiagnostics(org.junit.jupiter.api.extension.ExtensionContext context) |
org.junit.jupiter.api.extension.ConditionEvaluationResult |
evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context) |
String |
getName()
Returns the configured name.
|
void |
postProcessTestInstance(Object testInstance,
org.junit.jupiter.api.extension.ExtensionContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKubernetesIntegrationTestConfiginjectPod, namedAnnotation, podForNamegetBaseConfig, getBaseConfigcloseAll, getCloseablesfromManifest, getKubernetesResources, injectKubernetesResourcesgetEventsgetKubernetesConfig, getKubernetesConfig, hasKubernetesConfiggetImageConfig, hasImageConfig, streampublic org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context)
evaluateExecutionCondition in interface org.junit.jupiter.api.extension.ExecutionConditionpublic void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context)
throws Exception
beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallbackExceptionpublic void postProcessTestInstance(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
postProcessTestInstance in interface WithKubernetesResourcespostProcessTestInstance in interface WithKubernetesClientpostProcessTestInstance in interface WithPodpostProcessTestInstance in interface org.junit.jupiter.api.extension.TestInstancePostProcessorExceptionpublic void afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
afterAll in interface org.junit.jupiter.api.extension.AfterAllCallbackpublic void displayDiagnostics(org.junit.jupiter.api.extension.ExtensionContext context)
Copyright © 2018–2020 Red Hat. All rights reserved.