public class CustomResourceOperationContext extends OperationContext
Modifier and Type | Field and Description |
---|---|
protected Object |
crd |
protected Class |
doneableType |
protected Class |
listType |
protected Class |
type |
apiGroupName, apiGroupVersion, cascading, client, config, fields, fieldsNot, gracePeriodSeconds, item, labels, labelsIn, labelsNot, labelsNotIn, name, namespace, plural, propagationPolicy, reloadingFromServer, resourceVersion
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,
String propagationPolicy,
Object crd,
Class type,
Class listType,
Class doneableType) |
getApiGroupName, getApiGroupVersion, getCascading, getClient, getConfig, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getName, getNamespace, getPlural, getPropagationPolicy, getReloadingFromServer, getResourceVersion
protected Object crd
protected Class type
protected Class listType
protected Class doneableType
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, String propagationPolicy, Object crd, Class type, Class listType, Class doneableType)
public Object getCrd()
public Class getType()
public Class getListType()
public Class getDoneableType()
public CustomResourceOperationContext withOkhttpClient(okhttp3.OkHttpClient client)
withOkhttpClient
in class OperationContext
public CustomResourceOperationContext withConfig(Config config)
withConfig
in class OperationContext
public CustomResourceOperationContext withPlural(String plural)
withPlural
in class OperationContext
public CustomResourceOperationContext withNamespace(String namespace)
withNamespace
in class OperationContext
public CustomResourceOperationContext withName(String name)
withName
in class OperationContext
public CustomResourceOperationContext withApiGroupName(String apiGroupName)
withApiGroupName
in class OperationContext
public CustomResourceOperationContext withApiGroupVersion(String apiGroupVersion)
withApiGroupVersion
in class OperationContext
public CustomResourceOperationContext withItem(Object item)
withItem
in class OperationContext
public CustomResourceOperationContext withCascading(boolean cascading)
withCascading
in class OperationContext
public CustomResourceOperationContext withLabels(Map<String,String> labels)
withLabels
in class OperationContext
public CustomResourceOperationContext withLabelsIn(Map<String,String[]> labelsIn)
withLabelsIn
in class OperationContext
public CustomResourceOperationContext withLabelsNot(Map<String,String[]> labelsNot)
withLabelsNot
in class OperationContext
public CustomResourceOperationContext withLabelsNotIn(Map<String,String[]> labelsNotIn)
withLabelsNotIn
in class OperationContext
public CustomResourceOperationContext withFields(Map<String,String> fields)
withFields
in class OperationContext
public CustomResourceOperationContext withFieldsNot(Map<String,String[]> fieldsNot)
withFieldsNot
in class OperationContext
public CustomResourceOperationContext withResourceVersion(String resourceVersion)
withResourceVersion
in class OperationContext
public CustomResourceOperationContext withReloadingFromServer(boolean reloadingFromServer)
withReloadingFromServer
in class OperationContext
public CustomResourceOperationContext withGracePeriodSeconds(long gracePeriodSeconds)
withGracePeriodSeconds
in class OperationContext
public CustomResourceOperationContext withPropagationPolicy(String propagationPolicy)
withPropagationPolicy
in class OperationContext
public CustomResourceOperationContext withCrd(Object crd)
public CustomResourceOperationContext withType(Class type)
public CustomResourceOperationContext withListType(Class listType)
public CustomResourceOperationContext withDoneableType(Class doneableType)
Copyright © 2015–2019 Red Hat. All rights reserved.