public class Caches extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE_INDEX
NAMESPACE_INDEX is the default index function for caching objects
|
| Constructor and Description |
|---|
Caches() |
| Modifier and Type | Method and Description |
|---|---|
static <ApiType extends io.kubernetes.client.common.KubernetesObject> |
deletionHandlingMetaNamespaceKeyFunc(ApiType object)
deletionHandlingMetaNamespaceKeyFunc checks for DeletedFinalStateUnknown objects before calling
metaNamespaceKeyFunc.
|
static List<String> |
metaNamespaceIndexFunc(io.kubernetes.client.common.KubernetesObject obj)
metaNamespaceIndexFunc is a default index function that indexes based on an object's namespace.
|
static String |
metaNamespaceKeyFunc(io.kubernetes.client.common.KubernetesObject obj)
MetaNamespaceKeyFunc is a convenient default KeyFunc which knows how to make keys for API
objects which implement HasMetadata Interface.
|
public static final String NAMESPACE_INDEX
public static <ApiType extends io.kubernetes.client.common.KubernetesObject> String deletionHandlingMetaNamespaceKeyFunc(ApiType object)
ApiType - the type parameterobject - specific objectpublic static String metaNamespaceKeyFunc(io.kubernetes.client.common.KubernetesObject obj)
obj - specific objectCopyright © 2022. All rights reserved.