public interface ResourceHandler<T,V extends io.fabric8.kubernetes.api.builder.VisitableBuilder<T,V>>
| Modifier and Type | Method and Description |
|---|---|
T |
create(com.squareup.okhttp.OkHttpClient client,
Config config,
String namespace,
T item)
Create the specified resource.
|
Boolean |
delete(com.squareup.okhttp.OkHttpClient client,
Config config,
String namespace,
T item)
Delete the specified resource (if exists).
|
V |
edit(T item)
Edit the specified resource.
|
String |
getKind() |
T |
reload(com.squareup.okhttp.OkHttpClient client,
Config config,
String namespace,
T item)
Reload the specified resource (if exists).
|
T |
replace(com.squareup.okhttp.OkHttpClient client,
Config config,
String namespace,
T item)
Replace the specified resource.
|
String getKind()
T create(com.squareup.okhttp.OkHttpClient client, Config config, String namespace, T item)
client - An instance of the http client.config - The client config.namespace - The target namespace.item - The resource to create.T replace(com.squareup.okhttp.OkHttpClient client, Config config, String namespace, T item)
client - An instance of the http client.config - The client config.namespace - The target namespace.item - The resource to replace.T reload(com.squareup.okhttp.OkHttpClient client, Config config, String namespace, T item)
client - An instance of the http client.config - The client config.namespace - The target namespace.item - The resource to reload.V edit(T item)
item - The resource to edit.Boolean delete(com.squareup.okhttp.OkHttpClient client, Config config, String namespace, T item)
client - An instance of the http client.config - The client config.namespace - The target namespace.item - The resource to delete.Copyright © 2015–2016 Red Hat. All rights reserved.