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 CustomResourceDefinitionContext
crdContext
protected Class
listType
protected Class
type
-
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:
withOkhttpClient
in classOperationContext
-
withConfig
public CustomResourceOperationContext withConfig(Config config)
- Overrides:
withConfig
in classOperationContext
-
withPlural
public CustomResourceOperationContext withPlural(String plural)
- Overrides:
withPlural
in classOperationContext
-
withNamespace
public CustomResourceOperationContext withNamespace(String namespace)
- Overrides:
withNamespace
in classOperationContext
-
withName
public CustomResourceOperationContext withName(String name)
- Overrides:
withName
in classOperationContext
-
withApiGroupName
public CustomResourceOperationContext withApiGroupName(String apiGroupName)
- Overrides:
withApiGroupName
in classOperationContext
-
withApiGroupVersion
public CustomResourceOperationContext withApiGroupVersion(String apiGroupVersion)
- Overrides:
withApiGroupVersion
in classOperationContext
-
withItem
public CustomResourceOperationContext withItem(Object item)
- Overrides:
withItem
in classOperationContext
-
withCascading
public CustomResourceOperationContext withCascading(boolean cascading)
- Overrides:
withCascading
in classOperationContext
-
withLabels
public CustomResourceOperationContext withLabels(Map<String,String> labels)
- Overrides:
withLabels
in classOperationContext
-
withLabelsIn
public CustomResourceOperationContext withLabelsIn(Map<String,String[]> labelsIn)
- Overrides:
withLabelsIn
in classOperationContext
-
withLabelsNot
public CustomResourceOperationContext withLabelsNot(Map<String,String[]> labelsNot)
- Overrides:
withLabelsNot
in classOperationContext
-
withLabelsNotIn
public CustomResourceOperationContext withLabelsNotIn(Map<String,String[]> labelsNotIn)
- Overrides:
withLabelsNotIn
in classOperationContext
-
withFields
public CustomResourceOperationContext withFields(Map<String,String> fields)
- Overrides:
withFields
in classOperationContext
-
withFieldsNot
public CustomResourceOperationContext withFieldsNot(Map<String,String[]> fieldsNot)
- Overrides:
withFieldsNot
in classOperationContext
-
withResourceVersion
public CustomResourceOperationContext withResourceVersion(String resourceVersion)
- Overrides:
withResourceVersion
in classOperationContext
-
withReloadingFromServer
public CustomResourceOperationContext withReloadingFromServer(boolean reloadingFromServer)
- Overrides:
withReloadingFromServer
in classOperationContext
-
withGracePeriodSeconds
public CustomResourceOperationContext withGracePeriodSeconds(long gracePeriodSeconds)
- Overrides:
withGracePeriodSeconds
in classOperationContext
-
withPropagationPolicy
public CustomResourceOperationContext withPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)
- Overrides:
withPropagationPolicy
in 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:
withDryRun
in classOperationContext
-
-