Package org.jdrupes.vmoperator.common
Interface K8sGenericStub.GenericSupplier<O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject,R extends K8sGenericStub<O,L>>
- Type Parameters:
O
- the object typeL
- the object list typeR
- the result type
- Enclosing class:
K8sGenericStub<O extends io.kubernetes.client.common.KubernetesObject,
L extends io.kubernetes.client.common.KubernetesListObject>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface K8sGenericStub.GenericSupplier<O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject,R extends K8sGenericStub<O,L>>
A supplier for generic stubs.
-
Method Summary
-
Method Details
-
get
Gets a new stub.- Parameters:
client
- the clientnamespace
- the namespacename
- the name- Returns:
- the result
-