@FunctionalInterface public interface KubernetesCrudDispatcherHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_UNPROCESSABLE_ENTITY |
static String |
KIND |
static String |
STATUS |
| Modifier and Type | Method and Description |
|---|---|
default okhttp3.mockwebserver.MockResponse |
handle(okhttp3.mockwebserver.RecordedRequest request) |
okhttp3.mockwebserver.MockResponse |
handle(String path,
String contentType,
String requestBody) |
static boolean |
isStatusPath(String path) |
static void |
setStatus(com.fasterxml.jackson.databind.JsonNode source,
com.fasterxml.jackson.databind.JsonNode status) |
default void |
validatePath(AttributeSet query,
com.fasterxml.jackson.databind.JsonNode updatedResource) |
default io.fabric8.kubernetes.api.model.GenericKubernetesResource |
validateRequestBody(String requestBody) |
default void |
validateResourceVersion(com.fasterxml.jackson.databind.JsonNode currentResource,
com.fasterxml.jackson.databind.JsonNode updatedResource) |
static final int HTTP_UNPROCESSABLE_ENTITY
static final String KIND
static final String STATUS
default okhttp3.mockwebserver.MockResponse handle(okhttp3.mockwebserver.RecordedRequest request)
throws KubernetesCrudDispatcherException
okhttp3.mockwebserver.MockResponse handle(String path, String contentType, String requestBody) throws KubernetesCrudDispatcherException
default void validatePath(AttributeSet query, com.fasterxml.jackson.databind.JsonNode updatedResource) throws KubernetesCrudDispatcherException
default void validateResourceVersion(com.fasterxml.jackson.databind.JsonNode currentResource,
com.fasterxml.jackson.databind.JsonNode updatedResource)
throws KubernetesCrudDispatcherException
default io.fabric8.kubernetes.api.model.GenericKubernetesResource validateRequestBody(String requestBody) throws KubernetesCrudDispatcherException
static boolean isStatusPath(String path)
static void setStatus(com.fasterxml.jackson.databind.JsonNode source,
com.fasterxml.jackson.databind.JsonNode status)
Copyright © 2015–2024 Red Hat. All rights reserved.