Class CustomResourceOperationContext
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.base.OperationContext
-
- io.fabric8.kubernetes.client.dsl.internal.CustomResourceOperationContext
-
public class CustomResourceOperationContext extends OperationContext
-
-
Field Summary
Fields Modifier and Type Field Description protected CustomResourceDefinitionContextcrdContextprotected ClasslistTypeprotected Classtype-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.OperationContext
apiGroupName, apiGroupVersion, cascading, client, config, dryRun, fields, fieldsNot, gracePeriodSeconds, item, labels, labelsIn, labelsNot, labelsNotIn, name, namespace, namespaceFromGlobalConfig, plural, propagationPolicy, reloadingFromServer, resourceVersion, watchRetryBackoffMultiplier, watchRetryInitialBackoffMillis
-
-
Constructor Summary
Constructors Constructor 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, boolean dryRun)
-
Method Summary
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.OperationContext
getApiGroupName, getApiGroupVersion, getCascading, getClient, getConfig, getDryRun, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getName, getNamespace, getPlural, getPropagationPolicy, getResourceVersion, getWatchRetryBackoffMultiplier, getWatchRetryInitialBackoffMillis, isNamespaceFromGlobalConfig, isReloadingFromServer, withIsNamespaceConfiguredFromGlobalConfig, withOperationContext, withWatchRetryBackoffMultiplier, withWatchRetryInitialBackoffMillis
-
-
-
-
Field Detail
-
crdContext
protected CustomResourceDefinitionContext crdContext
-
type
protected Class type
-
listType
protected Class listType
-
-
Constructor Detail
-
CustomResourceOperationContext
public CustomResourceOperationContext()
-
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, boolean dryRun)
-
-
Method Detail
-
getCrdContext
public CustomResourceDefinitionContext getCrdContext()
-
getType
public Class getType()
-
getListType
public Class getListType()
-
withOkhttpClient
public CustomResourceOperationContext withOkhttpClient(okhttp3.OkHttpClient client)
- Overrides:
withOkhttpClientin classOperationContext
-
withConfig
public CustomResourceOperationContext withConfig(Config config)
- Overrides:
withConfigin classOperationContext
-
withPlural
public CustomResourceOperationContext withPlural(String plural)
- Overrides:
withPluralin classOperationContext
-
withNamespace
public CustomResourceOperationContext withNamespace(String namespace)
- Overrides:
withNamespacein classOperationContext
-
withName
public CustomResourceOperationContext withName(String name)
- Overrides:
withNamein classOperationContext
-
withApiGroupName
public CustomResourceOperationContext withApiGroupName(String apiGroupName)
- Overrides:
withApiGroupNamein classOperationContext
-
withApiGroupVersion
public CustomResourceOperationContext withApiGroupVersion(String apiGroupVersion)
- Overrides:
withApiGroupVersionin classOperationContext
-
withItem
public CustomResourceOperationContext withItem(Object item)
- Overrides:
withItemin classOperationContext
-
withCascading
public CustomResourceOperationContext withCascading(boolean cascading)
- Overrides:
withCascadingin classOperationContext
-
withLabels
public CustomResourceOperationContext withLabels(Map<String,String> labels)
- Overrides:
withLabelsin classOperationContext
-
withLabelsIn
public CustomResourceOperationContext withLabelsIn(Map<String,String[]> labelsIn)
- Overrides:
withLabelsInin classOperationContext
-
withLabelsNot
public CustomResourceOperationContext withLabelsNot(Map<String,String[]> labelsNot)
- Overrides:
withLabelsNotin classOperationContext
-
withLabelsNotIn
public CustomResourceOperationContext withLabelsNotIn(Map<String,String[]> labelsNotIn)
- Overrides:
withLabelsNotInin classOperationContext
-
withFields
public CustomResourceOperationContext withFields(Map<String,String> fields)
- Overrides:
withFieldsin classOperationContext
-
withFieldsNot
public CustomResourceOperationContext withFieldsNot(Map<String,String[]> fieldsNot)
- Overrides:
withFieldsNotin classOperationContext
-
withResourceVersion
public CustomResourceOperationContext withResourceVersion(String resourceVersion)
- Overrides:
withResourceVersionin classOperationContext
-
withReloadingFromServer
public CustomResourceOperationContext withReloadingFromServer(boolean reloadingFromServer)
- Overrides:
withReloadingFromServerin classOperationContext
-
withGracePeriodSeconds
public CustomResourceOperationContext withGracePeriodSeconds(long gracePeriodSeconds)
- Overrides:
withGracePeriodSecondsin classOperationContext
-
withPropagationPolicy
public CustomResourceOperationContext withPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)
- Overrides:
withPropagationPolicyin classOperationContext
-
withCrd
@Deprecated public CustomResourceOperationContext withCrd(io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinition crd)
Deprecated.usewithCrdContext(CustomResourceDefinitionContext)instead- Parameters:
crd- The custom resource definition.- Returns:
- The operation context.
-
withCrdContext
public CustomResourceOperationContext withCrdContext(CustomResourceDefinitionContext crdContext)
-
withType
public CustomResourceOperationContext withType(Class type)
-
withListType
public CustomResourceOperationContext withListType(Class listType)
-
withDryRun
public CustomResourceOperationContext withDryRun(boolean dryRun)
- Overrides:
withDryRunin classOperationContext
-
-