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) |
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> load(InputStream fileInputStream) throws IOException
IOException
public Map<String,Object> load(String objectAsJsonString) throws IOException
IOException
public Map<String,Object> create(String objectAsString) throws IOException
IOException
public Map<String,Object> create(Map<String,Object> object) throws KubernetesClientException, IOException
KubernetesClientException
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> create(String namespace, Map<String,Object> object) throws KubernetesClientException, IOException
KubernetesClientException
IOException
public Map<String,Object> createOrReplace(String objectAsString) throws IOException
IOException
public Map<String,Object> createOrReplace(Map<String,Object> customResourceObject) throws IOException
IOException
public Map<String,Object> createOrReplace(InputStream inputStream) throws IOException
IOException
public Map<String,Object> createOrReplace(String namespace, String objectAsString) throws IOException
IOException
public Map<String,Object> createOrReplace(String namespace, Map<String,Object> customResourceObject) throws IOException
IOException
public Map<String,Object> createOrReplace(String namespace, InputStream objectAsString) throws IOException
IOException
public Map<String,Object> edit(String name, Map<String,Object> object) throws IOException
IOException
public Map<String,Object> edit(String name, String objectAsString) throws IOException
IOException
public Map<String,Object> edit(String namespace, String name, Map<String,Object> object) throws IOException
IOException
public Map<String,Object> edit(String namespace, String name, String objectAsString) throws IOException
IOException
public Map<String,Object> edit(String name, InputStream objectAsStream) throws IOException, KubernetesClientException
IOException
KubernetesClientException
public Map<String,Object> edit(String namespace, String name, InputStream objectAsStream) throws IOException, KubernetesClientException
IOException
KubernetesClientException
Copyright © 2015–2019 Red Hat. All rights reserved.