Package io.fabric8.kubernetes.client.dsl
Interface AnyNamespaceOperation<T,L,R>
-
- All Superinterfaces:
Deletable,DeletableWithOptions,Filterable<FilterWatchListDeletable<T,L,R>>,FilterWatchListDeletable<T,L,R>,GracePeriodConfigurable<PropagationPolicyConfigurable<? extends Deletable>>,Informable<T>,ItemReplacable<T>,ItemWritableOperation<T>,Listable<L>,PropagationPolicyConfigurable<GracePeriodConfigurable<? extends Deletable>>,Timeoutable,Waitable<T,T>,Watchable<T>,WatchAndWaitable<T>
- All Known Subinterfaces:
MixedOperation<T,L,R>,NonNamespaceOperation<T,L,R>,ParameterMixedOperation<T,L,R>
public interface AnyNamespaceOperation<T,L,R> extends FilterWatchListDeletable<T,L,R>, ItemWritableOperation<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description booleandelete(List<T> items)Deprecated.useKubernetesClient.resourceList(java.util.Collection)delete insteaddefault booleandelete(T... items)Deprecated.useKubernetesClient.resourceList(java.util.Collection)delete insteadItemWritableOperation<T>dryRun()Deprecated.use Resource.dryRun()ItemWritableOperation<T>dryRun(boolean isDryRun)Deprecated.use Resource.dryRun()Rload(File file)Load from aFile.Rload(InputStream is)Load from anInputStream.Rload(String path)Load from path.Rload(URL url)Load from aURL.Rresource(T item)Provide aResourcefor the given item-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Deletable
delete, withTimeout, withTimeoutInMillis
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Filterable
withField, withFields, withInvolvedObject, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.FilterWatchListDeletable
resources, withNewFilter
-
Methods inherited from interface io.fabric8.kubernetes.client.GracePeriodConfigurable
withGracePeriod
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Informable
inform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimit
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemReplacable
replace, replaceStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemWritableOperation
create, createOrReplace, delete, patchStatus, updateStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.PropagationPolicyConfigurable
withPropagationPolicy
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Waitable
waitUntilCondition, waitUntilReady
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.WatchAndWaitable
withResourceVersion
-
-
-
-
Method Detail
-
dryRun
@Deprecated ItemWritableOperation<T> dryRun()
Deprecated.use Resource.dryRun()Indicates that modifications should not be persisted. All dry run stages will be processed. the request is still processed as typical request: the fields are defaulted, the object is validated, it goes through the validation admission chain, and through the mutating admission chain, and then the final object is returned to the user as it normally would, without being persisted.- Returns:
- write operations which are applicable for dry run
-
dryRun
@Deprecated ItemWritableOperation<T> dryRun(boolean isDryRun)
Deprecated.use Resource.dryRun()Indicates whether modifications should not be persisted or not. If enabled, All dry run stages will be processed. the request is still processed as typical request: the fields are defaulted, the object is validated, it goes through the validation admission chain, and through the mutating admission chain, and then the final object is returned to the user as it normally would, without being persisted.- Parameters:
isDryRun- whether dry run is enabled or disabled- Returns:
- write operations which are applicable for dry run
-
delete
@Deprecated default boolean delete(T... items)
Deprecated.useKubernetesClient.resourceList(java.util.Collection)delete insteadDelete the given items.- Parameters:
items-- Returns:
- true
-
delete
@Deprecated boolean delete(List<T> items)
Deprecated.useKubernetesClient.resourceList(java.util.Collection)delete insteadDelete the given items.- Parameters:
items-- Returns:
- true
-
load
R load(InputStream is)
Load from anInputStream.- Parameters:
is- The input stream.- Returns:
- returns de-serialized object
-
load
R load(URL url)
Load from aURL.- Parameters:
url- The url.- Returns:
- returns de-serialized object
-
load
R load(File file)
Load from aFile.- Parameters:
file- The file.- Returns:
- returns de-serialized object
-
load
R load(String path)
Load from path.- Parameters:
path- The path.- Returns:
- returns de-serialized object
-
-