public class RawCustomResourceOperationsImpl extends OperationSupport
apiGroupName, apiGroupVersion, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER
Constructor and Description |
---|
RawCustomResourceOperationsImpl(okhttp3.OkHttpClient client,
Config config,
CustomResourceDefinitionContext customResourceDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
create(InputStream objectAsStream) |
Map<String,Object> |
create(String objectAsString) |
Map<String,Object> |
create(String namespace,
InputStream objectAsStream) |
Map<String,Object> |
create(String namespace,
String objectAsString) |
Map<String,Object> |
delete(String namespace) |
Map<String,Object> |
delete(String namespace,
String name) |
Map<String,Object> |
edit(String name,
String objectAsString) |
Map<String,Object> |
edit(String namespace,
String name,
InputStream objectAsStream) |
Map<String,Object> |
edit(String namespace,
String name,
String objectAsString) |
Map<String,Object> |
get(String name) |
Map<String,Object> |
get(String namespace,
String name) |
Map<String,Object> |
list() |
Map<String,Object> |
list(String namespace) |
Map<String,Object> |
list(String namespace,
Map<String,String> labels) |
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceT, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleGet, handleGet, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, isResourceNamespaced, requestException, requestFailure, unmarshal, unmarshal, unmarshal
public RawCustomResourceOperationsImpl(okhttp3.OkHttpClient client, Config config, CustomResourceDefinitionContext customResourceDefinition)
public Map<String,Object> create(String objectAsString) throws IOException
IOException
public Map<String,Object> create(String namespace, String objectAsString) throws KubernetesClientException, IOException
KubernetesClientException
IOException
public Map<String,Object> create(InputStream objectAsStream) throws KubernetesClientException, IOException
KubernetesClientException
IOException
public Map<String,Object> create(String namespace, InputStream objectAsStream) throws KubernetesClientException, IOException
KubernetesClientException
IOException
public Map<String,Object> edit(String name, String objectAsString) throws IOException
IOException
public Map<String,Object> edit(String namespace, String name, String objectAsString) throws IOException
IOException
public Map<String,Object> edit(String namespace, String name, InputStream objectAsStream) throws IOException, KubernetesClientException
IOException
KubernetesClientException
Copyright © 2015–2019 Red Hat. All rights reserved.