public class ValidatingWebhookConfigurationHandler extends Object implements ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
ResourceHandler.Key
Constructor and Description |
---|
ValidatingWebhookConfigurationHandler() |
Modifier and Type | Method and Description |
---|---|
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration |
create(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item,
boolean dryRun)
Create the specified resource
|
Boolean |
delete(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy,
long gracePeriodSeconds,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item,
boolean dryRun)
Delete the specified resource (if exists).
|
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder |
edit(io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item)
Edit the specified resource.
|
String |
getApiVersion() |
String |
getKind() |
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration |
reload(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item)
Reload the specified resource (if exists).
|
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration |
replace(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item,
boolean dryRun)
Replace the specified resource
|
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration |
waitUntilCondition(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item,
Predicate<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration> condition,
long amount,
TimeUnit timeUnit) |
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration |
waitUntilReady(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item,
long amount,
TimeUnit timeUnit)
Waits until the specified resource is Ready.
|
Watch |
watch(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item,
io.fabric8.kubernetes.api.model.ListOptions options,
Watcher<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration> watcher)
Watches the specified resource for changes
|
Watch |
watch(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item,
String resourceVersion,
Watcher<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration> watcher)
Watches the specified resource for changes.
|
Watch |
watch(okhttp3.OkHttpClient client,
Config config,
String namespace,
io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item,
Watcher<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration> watcher)
Watches the specified resource for changes.
|
public ValidatingWebhookConfigurationHandler()
public String getKind()
getKind
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
public String getApiVersion()
getApiVersion
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
public io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration create(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item, boolean dryRun)
ResourceHandler
create
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
client
- An instance of the http client.config
- The client config.namespace
- The target namespace.item
- The resource to create.dryRun
- Enable dry runpublic io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration replace(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item, boolean dryRun)
ResourceHandler
replace
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
client
- An instance of the http client.config
- The client config.namespace
- The target namespace.item
- The resource to replace.dryRun
- Enable dry runpublic io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration reload(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item)
ResourceHandler
reload
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
client
- An instance of the http client.config
- The client config.namespace
- The target namespace.item
- The resource to reload.public io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder edit(io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item)
ResourceHandler
edit
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
item
- The resource to edit.public Boolean delete(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy, long gracePeriodSeconds, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item, boolean dryRun)
ResourceHandler
delete
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
client
- An instance of the http client.config
- The client config.namespace
- The target namespace.propagationPolicy
- Whether and how garbage collection will be performed.gracePeriodSeconds
- The duration in seconds before the object should be deleted.item
- The resource to delete.dryRun
- enable dry runpublic Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item, Watcher<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration> watcher)
ResourceHandler
watch
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
client
- An instance of the http client.config
- The client config.namespace
- The target namespace.item
- The resource to delete.watcher
- The Watcher
to use.Watch
public Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item, String resourceVersion, Watcher<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration> watcher)
ResourceHandler
watch
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
client
- An instance of the http client.config
- The client config.namespace
- The target namespace.item
- The resource to delete.resourceVersion
- The resourceVersion of objectwatcher
- The Watcher
to use.Watch
public Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item, io.fabric8.kubernetes.api.model.ListOptions options, Watcher<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration> watcher)
ResourceHandler
watch
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
client
- An instance of http client.config
- The client config.namespace
- The target namespace.item
- The resource to delete.options
- The ListOptions
for available optionswatcher
- The Watcher
to use.Watch
public io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration waitUntilReady(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item, long amount, TimeUnit timeUnit) throws InterruptedException
ResourceHandler
waitUntilReady
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
client
- An instance of the http client.config
- The client config.namespace
- The target namespace.item
- The resource to wait.amount
- The amount of time to waittimeUnit
- The wait TimeUnit
.InterruptedException
- Interrupted Exceptionpublic io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration waitUntilCondition(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration item, Predicate<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration> condition, long amount, TimeUnit timeUnit) throws InterruptedException
waitUntilCondition
in interface ResourceHandler<io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration,io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationBuilder>
InterruptedException
Copyright © 2015–2022 Red Hat. All rights reserved.