public interface ResourceHandler<T extends io.fabric8.kubernetes.api.model.HasMetadata,V extends io.fabric8.kubernetes.api.builder.VisitableBuilder<T,V>>
| Modifier and Type | Method and Description |
|---|---|
V |
edit(T item)
Edit the specified resource.
|
boolean |
hasOperation() |
<L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>> |
operation(okhttp3.OkHttpClient client,
Config config,
Class<L> listType)
Create the operation support for the current resource
|
V edit(T item)
item - The resource to edit.<L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>> HasMetadataOperation<T,L,Resource<T>> operation(okhttp3.OkHttpClient client, Config config, Class<L> listType)
client - An instance of the http client.config - The client config.listType - The list typeHasMetadataOperationboolean hasOperation()
Copyright © 2015–2020 Red Hat. All rights reserved.