- Type Parameters:
I
- The input for the operations (usually corresponds to the resource type).
T
- The output of the operations (usually corresponds to the resource type). In most cases its the same as the input.
D
- The "Inlineable / Doneable" type of the resource.
B
- The return type for Deletable
operations (e.g. Boolean, Future, resource type etc).
H
- The type of Watch
.
W
- The type of Watcher
.
- All Superinterfaces:
- Cascading<EditReplaceDeletable<I,T,D,B>>, CascadingEditReplaceDeletable<I,T,D,B>, Createable<I,T,D>, CreateGettable<I,T,D>, Deletable<B>, Editable<D>, EditReplaceable<I,T,D>, EditReplaceDeletable<I,T,D,B>, Gettable<T>, Replaceable<I,T>, Updateable<I,T>, Versionable<Watchable<H,W>>, VersionWatchable<H,W>, Watchable<H,W>
- All Known Subinterfaces:
- ClientMixedOperation<T,L,D,R>, ClientPodResource<T,D>, ClientResource<T,D>, ClientRollableScallableResource<T,D>, ClientScaleableResource<T,D>, LoggableResource<I,T,D,B,S,L,H,W>, ScaleableResource<I,T,D,B,H,W>
- All Known Implementing Classes:
- BaseOperation, DeploymentOperationsImpl, EndpointsOperationsImpl, EventOperationsImpl, HasMetadataOperation, IngressOperationsImpl, JobOperationsImpl, NamespaceOperationsImpl, NodeOperationsImpl, PersistentVolumeClaimOperationsImpl, PersistentVolumeOperationsImpl, PodOperationsImpl, ReplicationControllerOperationsImpl, ResourceQuotaOperationsImpl, SecretOperationsImpl, SecurityContextConstraintsOperationsImpl, ServiceAccountOperationsImpl, ServiceOperationsImpl
public interface Resource<I,T,D,B,H,W>
extends CreateGettable<I,T,D>, Updateable<I,T>, CascadingEditReplaceDeletable<I,T,D,B>, VersionWatchable<H,W>
Interface that describes the operation that can be done on a Kubernetes resource (e.g. Pod, Service etc).
This is intended to act as the common denominator of resource operations. To accomodate resources with more specialized operations, this interface should be used as a base.