@FunctionalInterface public interface CallGenerator
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); },
Modifier and Type | Method and Description |
---|---|
okhttp3.Call |
generate(CallGeneratorParams params)
Generate call.
|
okhttp3.Call generate(CallGeneratorParams params) throws io.kubernetes.client.openapi.ApiException
params
- the paramsio.kubernetes.client.openapi.ApiException
- the api exceptionCopyright © 2020. All rights reserved.