public class PodChaosHandler extends Object implements ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>
ResourceHandler.Key| Constructor and Description |
|---|
PodChaosHandler() |
| Modifier and Type | Method and Description |
|---|---|
io.fabric8.chaosmesh.v1alpha1.PodChaos |
create(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item) |
Boolean |
delete(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy,
io.fabric8.chaosmesh.v1alpha1.PodChaos item) |
io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder |
edit(io.fabric8.chaosmesh.v1alpha1.PodChaos item) |
String |
getApiVersion() |
String |
getKind() |
io.fabric8.chaosmesh.v1alpha1.PodChaos |
reload(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item) |
io.fabric8.chaosmesh.v1alpha1.PodChaos |
replace(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item) |
io.fabric8.chaosmesh.v1alpha1.PodChaos |
waitUntilCondition(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item,
Predicate<io.fabric8.chaosmesh.v1alpha1.PodChaos> condition,
long amount,
TimeUnit timeUnit) |
io.fabric8.chaosmesh.v1alpha1.PodChaos |
waitUntilReady(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item,
long amount,
TimeUnit timeUnit) |
Watch |
watch(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item,
io.fabric8.kubernetes.api.model.ListOptions listOptions,
Watcher<io.fabric8.chaosmesh.v1alpha1.PodChaos> watcher) |
Watch |
watch(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item,
String resourceVersion,
Watcher<io.fabric8.chaosmesh.v1alpha1.PodChaos> watcher) |
Watch |
watch(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item,
Watcher<io.fabric8.chaosmesh.v1alpha1.PodChaos> watcher) |
public String getKind()
getKind in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public String getApiVersion()
getApiVersion in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public io.fabric8.chaosmesh.v1alpha1.PodChaos create(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item)
create in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public io.fabric8.chaosmesh.v1alpha1.PodChaos replace(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item)
replace in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public io.fabric8.chaosmesh.v1alpha1.PodChaos reload(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item)
reload in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder edit(io.fabric8.chaosmesh.v1alpha1.PodChaos item)
edit in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public Boolean delete(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy, io.fabric8.chaosmesh.v1alpha1.PodChaos item)
delete in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.chaosmesh.v1alpha1.PodChaos item, Watcher<io.fabric8.chaosmesh.v1alpha1.PodChaos> watcher)
watch in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.chaosmesh.v1alpha1.PodChaos item, String resourceVersion, Watcher<io.fabric8.chaosmesh.v1alpha1.PodChaos> watcher)
watch in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.chaosmesh.v1alpha1.PodChaos item, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<io.fabric8.chaosmesh.v1alpha1.PodChaos> watcher)
watch in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>public io.fabric8.chaosmesh.v1alpha1.PodChaos waitUntilReady(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item,
long amount,
TimeUnit timeUnit)
throws InterruptedException
waitUntilReady in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>InterruptedExceptionpublic io.fabric8.chaosmesh.v1alpha1.PodChaos waitUntilCondition(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.chaosmesh.v1alpha1.PodChaos item,
Predicate<io.fabric8.chaosmesh.v1alpha1.PodChaos> condition,
long amount,
TimeUnit timeUnit)
throws InterruptedException
waitUntilCondition in interface ResourceHandler<io.fabric8.chaosmesh.v1alpha1.PodChaos,io.fabric8.chaosmesh.v1alpha1.PodChaosBuilder>InterruptedExceptionCopyright © 2015–2022 Red Hat. All rights reserved.