public class NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableImpl extends OperationSupport implements NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata,Boolean>, Waitable<io.fabric8.kubernetes.api.model.HasMetadata>, Readiable
apiGroup, apiVersion, client, config, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER
Constructor and Description |
---|
NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableImpl(okhttp3.OkHttpClient client,
Config config,
String namespace,
String explicitNamespace,
Boolean fromServer,
Boolean deletingExisting,
List<io.fabric8.kubernetes.api.builder.Visitor> visitors,
InputStream is,
Boolean cascading) |
NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableImpl(okhttp3.OkHttpClient client,
Config config,
String namespace,
String explicitNamespace,
Boolean fromServer,
Boolean deletingExisting,
List<io.fabric8.kubernetes.api.builder.Visitor> visitors,
Object item,
long gracePeriodSeconds,
Boolean cascading) |
Modifier and Type | Method and Description |
---|---|
VisitFromServerGetWatchDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata,Boolean> |
accept(io.fabric8.kubernetes.api.builder.Visitor visitor) |
io.fabric8.kubernetes.api.model.HasMetadata |
apply() |
Deletable<Boolean> |
cascading(boolean cascading) |
io.fabric8.kubernetes.api.model.HasMetadata |
createOrReplace() |
Waitable<io.fabric8.kubernetes.api.model.HasMetadata> |
createOrReplaceAnd() |
Boolean |
delete()
Deletes resource & all managed resources, returns null or false if not found.
|
Applicable<io.fabric8.kubernetes.api.model.HasMetadata> |
deletingExisting() |
Gettable<io.fabric8.kubernetes.api.model.HasMetadata> |
fromServer() |
io.fabric8.kubernetes.api.model.HasMetadata |
get() |
VisitFromServerGetWatchDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata,Boolean> |
inNamespace(String explicitNamespace) |
Boolean |
isReady() |
io.fabric8.kubernetes.api.model.HasMetadata |
waitUntilReady(long amount,
TimeUnit timeUnit) |
Watch |
watch(String resourceVersion,
Watcher<io.fabric8.kubernetes.api.model.HasMetadata> watcher) |
Watch |
watch(Watcher<io.fabric8.kubernetes.api.model.HasMetadata> watcher) |
CascadingDeletable<Boolean> |
withGracePeriod(long gracePeriodSeconds) |
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceT, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleGet, handleGet, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, isResourceNamespaced, requestException, requestFailure, unmarshal, unmarshal, unmarshal
public NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableImpl(okhttp3.OkHttpClient client, Config config, String namespace, String explicitNamespace, Boolean fromServer, Boolean deletingExisting, List<io.fabric8.kubernetes.api.builder.Visitor> visitors, InputStream is, Boolean cascading)
public NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableImpl(okhttp3.OkHttpClient client, Config config, String namespace, String explicitNamespace, Boolean fromServer, Boolean deletingExisting, List<io.fabric8.kubernetes.api.builder.Visitor> visitors, Object item, long gracePeriodSeconds, Boolean cascading)
public io.fabric8.kubernetes.api.model.HasMetadata apply()
apply
in interface Applicable<io.fabric8.kubernetes.api.model.HasMetadata>
public io.fabric8.kubernetes.api.model.HasMetadata createOrReplace()
createOrReplace
in interface Applicable<io.fabric8.kubernetes.api.model.HasMetadata>
public Waitable<io.fabric8.kubernetes.api.model.HasMetadata> createOrReplaceAnd()
createOrReplaceAnd
in interface ApplicableAnd<Waitable<io.fabric8.kubernetes.api.model.HasMetadata>>
public Boolean delete()
Deletable
public io.fabric8.kubernetes.api.model.HasMetadata get()
public VisitFromServerGetWatchDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata,Boolean> inNamespace(String explicitNamespace)
inNamespace
in interface Namespaceable<VisitFromServerGetWatchDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata,Boolean>>
public Gettable<io.fabric8.kubernetes.api.model.HasMetadata> fromServer()
fromServer
in interface FromServerable<Gettable<io.fabric8.kubernetes.api.model.HasMetadata>>
public Applicable<io.fabric8.kubernetes.api.model.HasMetadata> deletingExisting()
deletingExisting
in interface Recreateable<Applicable<io.fabric8.kubernetes.api.model.HasMetadata>>
public VisitFromServerGetWatchDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata,Boolean> accept(io.fabric8.kubernetes.api.builder.Visitor visitor)
accept
in interface io.fabric8.kubernetes.api.builder.Visitable<VisitFromServerGetWatchDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata,Boolean>>
public CascadingDeletable<Boolean> withGracePeriod(long gracePeriodSeconds)
withGracePeriod
in interface GracePeriodConfigurable<CascadingDeletable<Boolean>>
public Watch watch(String resourceVersion, Watcher<io.fabric8.kubernetes.api.model.HasMetadata> watcher)
public io.fabric8.kubernetes.api.model.HasMetadata waitUntilReady(long amount, TimeUnit timeUnit) throws InterruptedException
waitUntilReady
in interface Waitable<io.fabric8.kubernetes.api.model.HasMetadata>
InterruptedException
Copyright © 2015–2017 Red Hat. All rights reserved.