public class CustomResourceOperationContext extends OperationContext
| Modifier and Type | Field and Description |
|---|---|
protected CustomResourceDefinitionContext |
crdContext |
protected Class |
listType |
protected Class |
type |
apiGroupName, apiGroupVersion, cascading, client, config, fields, fieldsNot, gracePeriodSeconds, item, labels, labelsIn, labelsNot, labelsNotIn, name, namespace, namespaceFromGlobalConfig, plural, propagationPolicy, reloadingFromServer, resourceVersion, watchRetryBackoffMultiplier, watchRetryInitialBackoffMillis| Constructor and Description |
|---|
CustomResourceOperationContext() |
CustomResourceOperationContext(okhttp3.OkHttpClient client,
Config config,
String plural,
String namespace,
String name,
String apiGroupName,
String apiGroupVersion,
boolean cascading,
Object item,
Map<String,String> labels,
Map<String,String[]> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields,
Map<String,String[]> fieldsNot,
String resourceVersion,
boolean reloadingFromServer,
long gracePeriodSeconds,
io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy,
long watchRetryInitialBackoffMillis,
double watchRetryBackoffMultiplier,
boolean namespaceFromGlobalConfig,
CustomResourceDefinitionContext crdContext,
Class type,
Class listType) |
getApiGroupName, getApiGroupVersion, getCascading, getClient, getConfig, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getName, getNamespace, getPlural, getPropagationPolicy, getReloadingFromServer, getResourceVersion, getWatchRetryBackoffMultiplier, getWatchRetryInitialBackoffMillis, isNamespaceFromGlobalConfig, withIsNamespaceConfiguredFromGlobalConfig, withOperationContext, withWatchRetryBackoffMultiplier, withWatchRetryInitialBackoffMillisprotected CustomResourceDefinitionContext crdContext
protected Class type
protected Class listType
public CustomResourceOperationContext()
public CustomResourceOperationContext(okhttp3.OkHttpClient client,
Config config,
String plural,
String namespace,
String name,
String apiGroupName,
String apiGroupVersion,
boolean cascading,
Object item,
Map<String,String> labels,
Map<String,String[]> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields,
Map<String,String[]> fieldsNot,
String resourceVersion,
boolean reloadingFromServer,
long gracePeriodSeconds,
io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy,
long watchRetryInitialBackoffMillis,
double watchRetryBackoffMultiplier,
boolean namespaceFromGlobalConfig,
CustomResourceDefinitionContext crdContext,
Class type,
Class listType)
public CustomResourceDefinitionContext getCrdContext()
public Class getType()
public Class getListType()
public CustomResourceOperationContext withOkhttpClient(okhttp3.OkHttpClient client)
withOkhttpClient in class OperationContextpublic CustomResourceOperationContext withConfig(Config config)
withConfig in class OperationContextpublic CustomResourceOperationContext withPlural(String plural)
withPlural in class OperationContextpublic CustomResourceOperationContext withNamespace(String namespace)
withNamespace in class OperationContextpublic CustomResourceOperationContext withName(String name)
withName in class OperationContextpublic CustomResourceOperationContext withApiGroupName(String apiGroupName)
withApiGroupName in class OperationContextpublic CustomResourceOperationContext withApiGroupVersion(String apiGroupVersion)
withApiGroupVersion in class OperationContextpublic CustomResourceOperationContext withItem(Object item)
withItem in class OperationContextpublic CustomResourceOperationContext withCascading(boolean cascading)
withCascading in class OperationContextpublic CustomResourceOperationContext withLabels(Map<String,String> labels)
withLabels in class OperationContextpublic CustomResourceOperationContext withLabelsIn(Map<String,String[]> labelsIn)
withLabelsIn in class OperationContextpublic CustomResourceOperationContext withLabelsNot(Map<String,String[]> labelsNot)
withLabelsNot in class OperationContextpublic CustomResourceOperationContext withLabelsNotIn(Map<String,String[]> labelsNotIn)
withLabelsNotIn in class OperationContextpublic CustomResourceOperationContext withFields(Map<String,String> fields)
withFields in class OperationContextpublic CustomResourceOperationContext withFieldsNot(Map<String,String[]> fieldsNot)
withFieldsNot in class OperationContextpublic CustomResourceOperationContext withResourceVersion(String resourceVersion)
withResourceVersion in class OperationContextpublic CustomResourceOperationContext withReloadingFromServer(boolean reloadingFromServer)
withReloadingFromServer in class OperationContextpublic CustomResourceOperationContext withGracePeriodSeconds(long gracePeriodSeconds)
withGracePeriodSeconds in class OperationContextpublic CustomResourceOperationContext withPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)
withPropagationPolicy in class OperationContext@Deprecated public CustomResourceOperationContext withCrd(io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinition crd)
withCrdContext(CustomResourceDefinitionContext) insteadcrd - The custom resource definition.public CustomResourceOperationContext withCrdContext(CustomResourceDefinitionContext crdContext)
public CustomResourceOperationContext withType(Class type)
public CustomResourceOperationContext withListType(Class listType)
Copyright © 2015–2021 Red Hat. All rights reserved.