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(ClientContext clientContext,
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(ClientContext clientContext, Class<L> listType)
clientContext
- The client statelistType
- The list typeHasMetadataOperation
boolean hasOperation()
Copyright © 2015–2020 Red Hat. All rights reserved.