public class PatchUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PatchUtils.PatchCallFunc
The Patch call func returns an okhttp call object.
|
Constructor and Description |
---|
PatchUtils() |
Modifier and Type | Method and Description |
---|---|
static <ApiType> ApiType |
patch(Class<ApiType> apiTypeClass,
PatchUtils.PatchCallFunc callFunc,
String patchFormat)
Patches the resource with the patch format specified.
|
static <ApiType> ApiType |
patch(Class<ApiType> apiTypeClass,
PatchUtils.PatchCallFunc callFunc,
String patchFormat,
io.kubernetes.client.openapi.ApiClient apiClient)
Patches the resource with the patch format and
ApiClient
specified. |
public static <ApiType> ApiType patch(Class<ApiType> apiTypeClass, PatchUtils.PatchCallFunc callFunc, String patchFormat) throws io.kubernetes.client.openapi.ApiException
ApiType
- the type parameterapiTypeClass
- the api type classcallFunc
- the call func returns a okhttp call object that wraps the http requestpatchFormat
- the patch formatio.kubernetes.client.openapi.ApiException
- the api exceptionpublic static <ApiType> ApiType patch(Class<ApiType> apiTypeClass, PatchUtils.PatchCallFunc callFunc, String patchFormat, io.kubernetes.client.openapi.ApiClient apiClient) throws io.kubernetes.client.openapi.ApiException
ApiClient
specified.ApiType
- the type parameterapiTypeClass
- the api type classcallFunc
- the call func returns a okhttp call object that wraps the http requestpatchFormat
- the patch formatapiClient
- the api clientio.kubernetes.client.openapi.ApiException
- the api exceptionCopyright © 2020. All rights reserved.