Class BaseOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>,D extends io.fabric8.kubernetes.api.model.Doneable<T>,R extends Resource<T,D>>
java.lang.Object
io.fabric8.kubernetes.client.dsl.base.OperationSupport
io.fabric8.kubernetes.client.dsl.base.BaseOperation<T,L,D,R>
- All Implemented Interfaces:
AnyNamespaceable<FilterWatchListMultiDeletable<T,L,Boolean,Watch,Watcher<T>>>,Cascading<EditReplacePatchDeletable<T,T,D,Boolean>>,CascadingEditReplacePatchDeletable<T,T,D,Boolean>,Createable<T,T,D>,CreateFromServerGettable<T,T,D>,CreateOrReplaceable<T,T,D>,Deletable<Boolean>,Editable<D>,EditReplacePatchable<T,T,D>,EditReplacePatchDeletable<T,T,D,Boolean>,Filterable<FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>>,FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>,FilterWatchListMultiDeletable<T,L,Boolean,Watch,Watcher<T>>,FromServerable<Gettable<T>>,Gettable<T>,Listable<L>,Loadable<R>,Lockable<Replaceable<T,T>>,MixedOperation<T,L,D,R>,MultiDeleteable<T,Boolean>,Nameable<R>,Namespaceable<NonNamespaceOperation<T,L,D,R>>,NonNamespaceOperation<T,L,D,R>,Operation<T,L,D,R>,Patchable<T,T>,Readiable,Replaceable<T,T>,Requirable<T>,Resource<T,D>,StatusUpdatable<T>,Versionable<Watchable<Watch,Watcher<T>>>,VersionWatchable<Watch,Watcher<T>>,Waitable<T,T>,Watchable<Watch,Watcher<T>>,WatchListDeletable<T,L,Boolean,Watch,Watcher<T>>,FromServerGettable<T>,GracePeriodConfigurable<Deletable<Boolean>>,OperationInfo,PropagationPolicyConfigurable<EditReplacePatchDeletable<T,T,D,Boolean>>
- Direct Known Subclasses:
HasMetadataOperation,SharedInformerFactory
public class BaseOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>,D extends io.fabric8.kubernetes.api.model.Doneable<T>,R extends Resource<T,D>> extends OperationSupport implements OperationInfo, MixedOperation<T,L,D,R>, Resource<T,D>
-
Field Summary
Fields Modifier and Type Field Description protected StringapiVersionprotected Class<D>doneableTypeprotected Class<L>listTypeprotected Class<T>typeFields inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
apiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPERFields inherited from interface io.fabric8.kubernetes.client.dsl.Waitable
DEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLIS -
Constructor Summary
Constructors Modifier Constructor Description protectedBaseOperation(OperationContext ctx) -
Method Summary
Modifier and Type Method Description EditReplacePatchDeletable<T,T,D,Boolean>cascading(boolean cascading)deletes dependent resources.Tcreate(T resource)Tcreate(T... resources)DcreateNew()TcreateOrReplace(T... items)DcreateOrReplaceWithNew()Booleandelete()Deletes resource and all managed resources, returns null or false if not found.Booleandelete(List<T> items)Booleandelete(T... items)Dedit()protected URLfetchListUrl(URL url, io.fabric8.kubernetes.api.model.ListOptions listOptions)OperationInfoforOperationType(String type)Gettable<T>fromServer()Tget()StringgetApiVersion()protected Class<? extends Config>getConfigType()Class<D>getDoneableType()StringgetFieldQueryParam()protected Map<String,String>getFields()protected Map<String,String[]>getFieldsNot()LonggetGracePeriodSeconds()TgetItem()StringgetKind()StringgetLabelQueryParam()protected Map<String,String>getLabels()protected Map<String,String[]>getLabelsIn()protected Map<String,String[]>getLabelsNot()protected Map<String,String[]>getLabelsNotIn()Class<L>getListType()TgetMandatory()StringgetOperationType()io.fabric8.kubernetes.api.model.DeletionPropagationgetPropagationPolicy()BooleangetReloadingFromServer()Deprecated.StringgetResourceT()StringgetResourceVersion()io.fabric8.kubernetes.api.model.RootPathsgetRootPaths()Class<T>getType()protected ThandleCreate(T resource)protected io.fabric8.kubernetes.api.model.StatushandleDeploymentRollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback deploymentRollback)protected ThandleGet(URL resourceUrl)protected ThandlePatch(T current, Map<String,Object> patchedUpdate)protected ThandlePatch(T current, T updated)protected ThandleReplace(T updated)protected ThandleResponse(okhttp3.Request.Builder requestBuilder)protected io.fabric8.kubernetes.api.model.autoscaling.v1.ScalehandleScale(io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scaleParam)NonNamespaceOperation<T,L,D,R>inAnyNamespace()NonNamespaceOperation<T,L,D,R>inNamespace(String namespace)booleanisApiGroup()Return true if this is an API Group where the versions include a slash in themBooleanisCascading()BooleanisReady()BooleanisReloadingFromServer()booleanisResourceNamespaced()Llist()Llist(io.fabric8.kubernetes.api.model.ListOptions listOptions)List resource from Kubernetes API server.Llist(Integer limitVal, String continueVal)List resources from APIServer.Rload(File file)Load from aFile.Rload(InputStream is)Load from anInputStream.Rload(String path)Load from path.Rload(URL url)Load from aURL.Replaceable<T,T>lockResourceVersion(String resourceVersion)BaseOperation<T,L,D,R>newInstance(OperationContext context)Tpatch(T item)Treplace(T item)Trequire()protected TsendPatchedObject(T oldObject, T updatedObject)voidsetListType(Class<L> listType)voidsetNamespace(String namespace)voidsetType(Class<T> type)protected voidupdateApiVersion(io.fabric8.kubernetes.api.model.HasMetadata hasMetadata)Updates the resource if it has missing or default apiGroupVersion values and the resource is currently using API Groups with custom version stringsprotected voidupdateApiVersion(io.fabric8.kubernetes.api.model.KubernetesResourceList list)Updates the list items if they have missing or default apiGroupVersion values and the resource is currently using API Groups with custom version stringsprotected voidupdateApiVersionResource(Object resource)Updates the list or single item if it has a missing or incorrect apiGroupVersionTupdateStatus(T item)When the status subresource is enabled, the /status subresource for the custom resource is exposed.TwaitUntilCondition(Predicate<T> condition, long amount, TimeUnit timeUnit)TwaitUntilReady(long amount, TimeUnit timeUnit)Watchwatch(io.fabric8.kubernetes.api.model.ListOptions options, Watcher<T> watcher)Watch returnsWatchableinterface that watches requested resourceWatchwatch(Watcher<T> watcher)Watch returnsWatchableinterface that watches requested resourceWatchwatch(String resourceVersion, Watcher<T> watcher)Watch returnsWatchableinterface that watches requested resource from specified resourceVersionFilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withField(String key, String value)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withFields(Map<String,String> fields)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withGracePeriod(long gracePeriodSeconds)The duration in seconds before the object should be deleted.BaseOperation<T,L,D,R>withItem(T item)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withLabel(String key)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withLabel(String key, String value)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withLabelIn(String key, String... values)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withLabelNotIn(String key, String... values)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withLabels(Map<String,String> labels)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)RwithName(String name)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withoutField(String key, String value)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withoutFields(Map<String,String> fields)Deprecated.FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withoutLabel(String key)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withoutLabel(String key, String value)FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>>withoutLabels(Map<String,String> labels)Deprecated.EditReplacePatchDeletable<T,T,D,Boolean>withPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)Whether and how garbage collection will be performed.Watchable<Watch,Watcher<T>>withResourceVersion(String resourceVersion)BaseOperation<T,L,D,R>withWaitRetryBackoff(long initialBackoff, TimeUnit backoffUnit, double backoffMultiplier)Configure the backoff strategy to use when waiting for conditions, in case the watcher encounters a retryable error.Methods inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshal
-
Field Details
-
Constructor Details
-
Method Details
-
newInstance
-
fetchListUrl
protected URL fetchListUrl(URL url, io.fabric8.kubernetes.api.model.ListOptions listOptions) throws MalformedURLException- Throws:
MalformedURLException
-
get
-
require
- Specified by:
requirein interfaceRequirable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Returns:
- the item or throws an exception if the item doesn't exist.
- Throws:
ResourceNotFoundException- if resource is absent
-
getMandatory
-
getRootPaths
public io.fabric8.kubernetes.api.model.RootPaths getRootPaths() -
edit
- Specified by:
editin interfaceEditable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Throws:
KubernetesClientException
-
withName
-
lockResourceVersion
- Specified by:
lockResourceVersionin interfaceLockable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
inNamespace
- Specified by:
inNamespacein interfaceNamespaceable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
inAnyNamespace
- Specified by:
inAnyNamespacein interfaceAnyNamespaceable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
cascading
Description copied from interface:Cascadingdeletes dependent resources. Sets `orphanDependents` field to `false` when set `true` -
load
Description copied from interface:LoadableLoad from anInputStream. -
load
Description copied from interface:LoadableLoad from aURL. -
load
Description copied from interface:LoadableLoad from aFile. -
load
Description copied from interface:LoadableLoad from path. -
fromServer
- Specified by:
fromServerin interfaceFromServerable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
create
- Specified by:
createin interfaceCreateable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>,D extends io.fabric8.kubernetes.api.model.Doneable<T>>- Throws:
KubernetesClientException
-
create
-
createNew
- Specified by:
createNewin interfaceCreateable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>,D extends io.fabric8.kubernetes.api.model.Doneable<T>>- Throws:
KubernetesClientException
-
createOrReplaceWithNew
- Specified by:
createOrReplaceWithNewin interfaceCreateOrReplaceable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>,D extends io.fabric8.kubernetes.api.model.Doneable<T>>- Throws:
KubernetesClientException
-
createOrReplace
- Specified by:
createOrReplacein interfaceCreateOrReplaceable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>,D extends io.fabric8.kubernetes.api.model.Doneable<T>>
-
withLabels
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withLabels(Map<String,String> labels)- Specified by:
withLabelsin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
withLabelSelector
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)- Specified by:
withLabelSelectorin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
withoutLabels
@Deprecated public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withoutLabels(Map<String,String> labels) throws KubernetesClientExceptionDeprecated.- Specified by:
withoutLabelsin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Throws:
KubernetesClientException
-
withLabelIn
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withLabelIn(String key, String... values) throws KubernetesClientException- Specified by:
withLabelInin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Throws:
KubernetesClientException
-
withLabelNotIn
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withLabelNotIn(String key, String... values) throws KubernetesClientException- Specified by:
withLabelNotInin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Throws:
KubernetesClientException
-
withLabel
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withLabel(String key, String value)- Specified by:
withLabelin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
withLabel
- Specified by:
withLabelin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
withoutLabel
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withoutLabel(String key, String value)- Specified by:
withoutLabelin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
withoutLabel
- Specified by:
withoutLabelin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
withFields
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withFields(Map<String,String> fields)- Specified by:
withFieldsin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
withField
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withField(String key, String value)- Specified by:
withFieldin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
withoutFields
@Deprecated public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withoutFields(Map<String,String> fields) throws KubernetesClientExceptionDeprecated.- Specified by:
withoutFieldsin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Throws:
KubernetesClientException
-
withoutField
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withoutField(String key, String value)- Specified by:
withoutFieldin interfaceFilterable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
getLabelQueryParam
-
getFieldQueryParam
-
list
- Specified by:
listin interfaceListable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Throws:
KubernetesClientException
-
list
Description copied from interface:ListableList resources from APIServer. -
list
Description copied from interface:ListableList resource from Kubernetes API server. -
delete
Description copied from interface:DeletableDeletes resource and all managed resources, returns null or false if not found. -
delete
- Specified by:
deletein interfaceMultiDeleteable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>
-
delete
- Specified by:
deletein interfaceMultiDeleteable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>
-
updateStatus
Description copied from interface:StatusUpdatableWhen the status subresource is enabled, the /status subresource for the custom resource is exposed. It does a PUT requests to the /status subresource take a resource object and ignore changes to anything except the status stanza.- Specified by:
updateStatusin interfaceStatusUpdatable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Parameters:
item- kubernetes object- Returns:
- updated object
-
withItem
-
withResourceVersion
- Specified by:
withResourceVersionin interfaceVersionable<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
watch
Description copied from interface:WatchableWatch returnsWatchableinterface that watches requested resource -
watch
Description copied from interface:WatchableWatch returnsWatchableinterface that watches requested resource from specified resourceVersion- Specified by:
watchin interfaceWatchable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>- Parameters:
resourceVersion- resource version from where to start watchwatcher- Watcher interface of Kubernetes resource- Returns:
- watch interface
Watchable
-
watch
Description copied from interface:WatchableWatch returnsWatchableinterface that watches requested resource- Specified by:
watchin interfaceWatchable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>- Parameters:
options- options available for watch operationwatcher- Watcher interface of Kubernetes resource- Returns:
- watch interface
Watchable
-
replace
- Specified by:
replacein interfaceReplaceable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>
-
patch
-
isResourceNamespaced
public boolean isResourceNamespaced()- Overrides:
isResourceNamespacedin classOperationSupport
-
handleResponse
protected T handleResponse(okhttp3.Request.Builder requestBuilder) throws ExecutionException, InterruptedException, KubernetesClientException, IOException -
handleCreate
protected T handleCreate(T resource) throws ExecutionException, InterruptedException, KubernetesClientException, IOException -
handleReplace
protected T handleReplace(T updated) throws ExecutionException, InterruptedException, KubernetesClientException, IOException -
handlePatch
protected T handlePatch(T current, T updated) throws ExecutionException, InterruptedException, KubernetesClientException, IOException -
handlePatch
protected T handlePatch(T current, Map<String,Object> patchedUpdate) throws ExecutionException, InterruptedException, IOException -
sendPatchedObject
-
handleScale
protected io.fabric8.kubernetes.api.model.autoscaling.v1.Scale handleScale(io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scaleParam) -
handleDeploymentRollback
protected io.fabric8.kubernetes.api.model.Status handleDeploymentRollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback deploymentRollback) -
handleGet
protected T handleGet(URL resourceUrl) throws InterruptedException, ExecutionException, IOException -
isCascading
-
getItem
-
getResourceVersion
-
getReloadingFromServer
Deprecated. -
isReloadingFromServer
-
getGracePeriodSeconds
-
getPropagationPolicy
public io.fabric8.kubernetes.api.model.DeletionPropagation getPropagationPolicy() -
getResourceT
- Overrides:
getResourceTin classOperationSupport
-
getType
-
getListType
-
getDoneableType
-
getLabels
-
getLabelsNot
-
getLabelsIn
-
getLabelsNotIn
-
getFields
-
getFieldsNot
-
getKind
- Specified by:
getKindin interfaceOperationInfo
-
getOperationType
- Specified by:
getOperationTypein interfaceOperationInfo
-
forOperationType
- Specified by:
forOperationTypein interfaceOperationInfo
-
withGracePeriod
public FilterWatchListDeletable<T,L,Boolean,Watch,Watcher<T>> withGracePeriod(long gracePeriodSeconds)Description copied from interface:GracePeriodConfigurableThe duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.- Specified by:
withGracePeriodin interfaceGracePeriodConfigurable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Parameters:
gracePeriodSeconds- grace period integer value in seconds- Returns:
- the object for which grace period is configured
-
withPropagationPolicy
public EditReplacePatchDeletable<T,T,D,Boolean> withPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)Description copied from interface:PropagationPolicyConfigurableWhether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both.The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
Acceptable values are:
'Orphan' - orphan the dependents;
'Background' - allow the garbage collector to delete the dependents in the background;
'Foreground' - a cascading policy that deletes all dependents in the foreground.- Specified by:
withPropagationPolicyin interfacePropagationPolicyConfigurable<T extends io.fabric8.kubernetes.api.model.HasMetadata>- Parameters:
propagationPolicy- propagation policy in form of stringDeletionPropagation- Returns:
- resource
-
withWaitRetryBackoff
public BaseOperation<T,L,D,R> withWaitRetryBackoff(long initialBackoff, TimeUnit backoffUnit, double backoffMultiplier)Description copied from interface:WaitableConfigure the backoff strategy to use when waiting for conditions, in case the watcher encounters a retryable error.- Specified by:
withWaitRetryBackoffin interfaceWaitable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>- Parameters:
initialBackoff- the value for the initial backoff on first errorbackoffUnit- the TimeUnit for the initial backoff valuebackoffMultiplier- what to multiply the backoff by on each subsequent error- Returns:
-
getConfigType
-
updateApiVersionResource
Updates the list or single item if it has a missing or incorrect apiGroupVersion- Parameters:
resource- resource object
-
updateApiVersion
protected void updateApiVersion(io.fabric8.kubernetes.api.model.KubernetesResourceList list)Updates the list items if they have missing or default apiGroupVersion values and the resource is currently using API Groups with custom version strings- Parameters:
list- Kubernetes resource list
-
updateApiVersion
protected void updateApiVersion(io.fabric8.kubernetes.api.model.HasMetadata hasMetadata)Updates the resource if it has missing or default apiGroupVersion values and the resource is currently using API Groups with custom version strings- Parameters:
hasMetadata- object whose api version needs to be updated
-
getApiVersion
-
isApiGroup
public boolean isApiGroup()Return true if this is an API Group where the versions include a slash in them- Returns:
- boolean value indicating whether API group or not
-
isReady
-
waitUntilReady
- Specified by:
waitUntilReadyin interfaceWaitable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>- Throws:
InterruptedException
-
waitUntilCondition
public T waitUntilCondition(Predicate<T> condition, long amount, TimeUnit timeUnit) throws InterruptedException- Specified by:
waitUntilConditionin interfaceWaitable<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>- Throws:
InterruptedException
-
setType
-
setListType
-
setNamespace
-