Class OperationContext
java.lang.Object
io.fabric8.kubernetes.client.dsl.base.OperationContext
- Direct Known Subclasses:
CustomResourceOperationContext,PodOperationContext,RollingOperationContext
public class OperationContext extends Object
-
Field Summary
Fields Modifier and Type Field Description protected StringapiGroupNameprotected StringapiGroupVersionprotected booleancascadingprotected okhttp3.OkHttpClientclientprotected Configconfigprotected Map<String,String>fieldsprotected Map<String,String[]>fieldsNotprotected longgracePeriodSecondsprotected Objectitemprotected Map<String,String>labelsprotected Map<String,String[]>labelsInprotected Map<String,String[]>labelsNotprotected Map<String,String[]>labelsNotInprotected Stringnameprotected Stringnamespaceprotected Stringpluralprotected io.fabric8.kubernetes.api.model.DeletionPropagationpropagationPolicyprotected booleanreloadingFromServerprotected StringresourceVersionprotected doublewatchRetryBackoffMultiplierprotected longwatchRetryInitialBackoffMillis -
Constructor Summary
Constructors Constructor Description OperationContext()OperationContext(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) -
Method Summary
-
Field Details
-
client
protected okhttp3.OkHttpClient client -
config
-
item
-
resourceVersion
-
plural
-
apiGroupName
-
apiGroupVersion
-
namespace
-
name
-
cascading
protected boolean cascading -
reloadingFromServer
protected boolean reloadingFromServer -
gracePeriodSeconds
protected long gracePeriodSeconds -
propagationPolicy
protected io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy -
watchRetryInitialBackoffMillis
protected long watchRetryInitialBackoffMillis -
watchRetryBackoffMultiplier
protected double watchRetryBackoffMultiplier -
labels
-
labelsNot
-
labelsIn
-
labelsNotIn
-
fields
-
fieldsNot
-
-
Constructor Details
-
OperationContext
public OperationContext() -
OperationContext
public OperationContext(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)
-
-
Method Details
-
getClient
public okhttp3.OkHttpClient getClient() -
getConfig
-
getPlural
-
getNamespace
-
getName
-
getApiGroupName
-
getApiGroupVersion
-
getCascading
public boolean getCascading() -
getItem
-
getLabels
-
getLabelsNot
-
getLabelsIn
-
getLabelsNotIn
-
getFields
-
getFieldsNot
-
getResourceVersion
-
getReloadingFromServer
public boolean getReloadingFromServer() -
getGracePeriodSeconds
public long getGracePeriodSeconds() -
getPropagationPolicy
public io.fabric8.kubernetes.api.model.DeletionPropagation getPropagationPolicy() -
getWatchRetryInitialBackoffMillis
public long getWatchRetryInitialBackoffMillis() -
getWatchRetryBackoffMultiplier
public double getWatchRetryBackoffMultiplier() -
withOkhttpClient
-
withConfig
-
withPlural
-
withNamespace
-
withName
-
withApiGroupName
-
withApiGroupVersion
-
withItem
-
withCascading
-
withLabels
-
withLabelsIn
-
withLabelsNot
-
withLabelsNotIn
-
withFields
-
withFieldsNot
-
withResourceVersion
-
withReloadingFromServer
-
withGracePeriodSeconds
-
withPropagationPolicy
public OperationContext withPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy) -
withWatchRetryInitialBackoffMillis
-
withWatchRetryBackoffMultiplier
-
withOperationContext
Returns an OperationContext object merged with current object- Parameters:
operationContext- object with modifications- Returns:
- a merged object between passed argument and current object
-