Package io.kubernetes.client.util
Interface CallGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The interface Call generator. It's for homogenizing client interface so that we can invoke a
generized adaptor interface elsewhere.
For example, we can adapt list-node interface from CoreV1Api package like:
(CallGeneratorParams params) -> { return coreV1Api.listNodeCall( null, null, null, null, null, params.resourceVersion, params.timeoutSeconds, params.watch, null, null); },
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
generate
(CallGeneratorParams params) Generate call.
-
Method Details
-
generate
Generate call.- Parameters:
params
- the params- Returns:
- the call
- Throws:
io.kubernetes.client.openapi.ApiException
- the api exception
-