@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 |
|---|---|
com.squareup.okhttp.Call |
generate(CallGeneratorParams params)
Generate call.
|
com.squareup.okhttp.Call generate(CallGeneratorParams params) throws io.kubernetes.client.ApiException
params - the paramsio.kubernetes.client.ApiException - the api exceptionCopyright © 2019. All rights reserved.