Class ArbitraryResourceApi<T>

java.lang.Object
de.predic8.kubernetesclient.genericapi.ArbitraryResourceApi<T>

public class ArbitraryResourceApi<T> extends Object
  • Constructor Details

    • ArbitraryResourceApi

      public ArbitraryResourceApi(io.kubernetes.client.openapi.ApiClient apiClient, io.kubernetes.client.openapi.ApiClient slowApiClient, String apiGroup, String version, String plural)
  • Method Details

    • create

      public T create(String namespace, T body, String pretty) throws io.kubernetes.client.openapi.ApiException
      Throws:
      io.kubernetes.client.openapi.ApiException
    • createWithHttpInfo

      public io.kubernetes.client.openapi.ApiResponse<T> createWithHttpInfo(String namespace, T body, String pretty) throws io.kubernetes.client.openapi.ApiException
      Throws:
      io.kubernetes.client.openapi.ApiException
    • createCall

      public okhttp3.Call createCall(String namespace, T body, String pretty, io.kubernetes.client.openapi.ApiCallback apiCallback) throws io.kubernetes.client.openapi.ApiException
      Throws:
      io.kubernetes.client.openapi.ApiException
    • deleteCollectionCall

      public okhttp3.Call deleteCollectionCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, io.kubernetes.client.openapi.ApiCallback apiCallback) throws io.kubernetes.client.openapi.ApiException
      Build call for deleteCollectionCustomResourceDefinition
      Parameters:
      pretty - If 'true', then the output is pretty printed. (optional)
      _continue - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional)
      fieldSelector - A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
      includeUninitialized - If true, partially initialized resources are included in the response. (optional)
      labelSelector - A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)
      limit - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional)
      resourceVersion - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional)
      timeoutSeconds - Timeout for the list/watch call. (optional)
      watch - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional)
      Returns:
      Call to execute
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to serialize the request body object
    • deleteCollection

      public io.kubernetes.client.openapi.models.V1Status deleteCollection(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws io.kubernetes.client.openapi.ApiException
      delete collection of CustomResourceDefinition
      Parameters:
      pretty - If 'true', then the output is pretty printed. (optional)
      _continue - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional)
      fieldSelector - A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
      includeUninitialized - If true, partially initialized resources are included in the response. (optional)
      labelSelector - A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)
      limit - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional)
      resourceVersion - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional)
      timeoutSeconds - Timeout for the list/watch call. (optional)
      watch - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional)
      Returns:
      V1Status
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteCollectionWithHttpInfo

      public io.kubernetes.client.openapi.ApiResponse<io.kubernetes.client.openapi.models.V1Status> deleteCollectionWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws io.kubernetes.client.openapi.ApiException
      delete collection of CustomResourceDefinition
      Parameters:
      pretty - If 'true', then the output is pretty printed. (optional)
      _continue - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional)
      fieldSelector - A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
      includeUninitialized - If true, partially initialized resources are included in the response. (optional)
      labelSelector - A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)
      limit - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional)
      resourceVersion - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional)
      timeoutSeconds - Timeout for the list/watch call. (optional)
      watch - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional)
      Returns:
      ApiResponse<V1Status>
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteCollectionAsync

      public okhttp3.Call deleteCollectionAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, io.kubernetes.client.openapi.ApiCallback<io.kubernetes.client.openapi.models.V1Status> callback) throws io.kubernetes.client.openapi.ApiException
      (asynchronously) delete collection of CustomResourceDefinition
      Parameters:
      pretty - If 'true', then the output is pretty printed. (optional)
      _continue - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional)
      fieldSelector - A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
      includeUninitialized - If true, partially initialized resources are included in the response. (optional)
      labelSelector - A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)
      limit - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional)
      resourceVersion - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional)
      timeoutSeconds - Timeout for the list/watch call. (optional)
      watch - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteCall

      public okhttp3.Call deleteCall(String namespace, String name, io.kubernetes.client.openapi.models.V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, io.kubernetes.client.openapi.ApiCallback apiCallback) throws io.kubernetes.client.openapi.ApiException
      Build call for deleteCustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      gracePeriodSeconds - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional)
      orphanDependents - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional)
      propagationPolicy - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional)
      Returns:
      Call to execute
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to serialize the request body object
    • delete

      public io.kubernetes.client.openapi.models.V1Status delete(String namespace, String name, io.kubernetes.client.openapi.models.V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws io.kubernetes.client.openapi.ApiException
      delete a CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      gracePeriodSeconds - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional)
      orphanDependents - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional)
      propagationPolicy - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional)
      Returns:
      V1Status
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteWithHttpInfo

      public io.kubernetes.client.openapi.ApiResponse<io.kubernetes.client.openapi.models.V1Status> deleteWithHttpInfo(String namespace, String name, io.kubernetes.client.openapi.models.V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws io.kubernetes.client.openapi.ApiException
      delete a CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      gracePeriodSeconds - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional)
      orphanDependents - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional)
      propagationPolicy - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional)
      Returns:
      ApiResponse<V1Status>
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteAsync

      public okhttp3.Call deleteAsync(String namespace, String name, io.kubernetes.client.openapi.models.V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, io.kubernetes.client.openapi.ApiCallback<io.kubernetes.client.openapi.models.V1Status> callback) throws io.kubernetes.client.openapi.ApiException
      (asynchronously) delete a CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      gracePeriodSeconds - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional)
      orphanDependents - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional)
      propagationPolicy - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to process the API call, e.g. serializing the request body object
    • listCall

      public okhttp3.Call listCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, io.kubernetes.client.openapi.ApiCallback apiCallback) throws io.kubernetes.client.openapi.ApiException
      Build call for listCustomResourceDefinition
      Parameters:
      pretty - If 'true', then the output is pretty printed. (optional)
      _continue - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional)
      fieldSelector - A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
      includeUninitialized - If true, partially initialized resources are included in the response. (optional)
      labelSelector - A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)
      limit - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional)
      resourceVersion - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional)
      timeoutSeconds - Timeout for the list/watch call. (optional)
      watch - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional)
      Returns:
      Call to execute
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to serialize the request body object
    • list

      public ARList<T> list(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws io.kubernetes.client.openapi.ApiException
      list or watch objects of kind CustomResourceDefinition
      Parameters:
      pretty - If 'true', then the output is pretty printed. (optional)
      _continue - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional)
      fieldSelector - A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
      includeUninitialized - If true, partially initialized resources are included in the response. (optional)
      labelSelector - A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)
      limit - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional)
      resourceVersion - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional)
      timeoutSeconds - Timeout for the list/watch call. (optional)
      watch - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional)
      Returns:
      V1CustomResourceDefinitionList
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • listWithHttpInfo

      public io.kubernetes.client.openapi.ApiResponse<ARList<T>> listWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws io.kubernetes.client.openapi.ApiException
      list or watch objects of kind CustomResourceDefinition
      Parameters:
      pretty - If 'true', then the output is pretty printed. (optional)
      _continue - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional)
      fieldSelector - A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
      includeUninitialized - If true, partially initialized resources are included in the response. (optional)
      labelSelector - A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)
      limit - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional)
      resourceVersion - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional)
      timeoutSeconds - Timeout for the list/watch call. (optional)
      watch - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional)
      Returns:
      ApiResponse<V1CustomResourceDefinitionList>
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • listAsync

      public okhttp3.Call listAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, io.kubernetes.client.openapi.ApiCallback<ARList<T>> callback) throws io.kubernetes.client.openapi.ApiException
      Throws:
      io.kubernetes.client.openapi.ApiException
    • patchCall

      public okhttp3.Call patchCall(String namespace, String name, Object body, String pretty, io.kubernetes.client.openapi.ApiCallback apiCallback) throws io.kubernetes.client.openapi.ApiException
      Build call for patchCustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      Call to execute
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to serialize the request body object
    • patch

      public T patch(String namespace, String name, Object body, String pretty) throws io.kubernetes.client.openapi.ApiException
      partially update the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      V1CustomResourceDefinition
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • patchWithHttpInfo

      public io.kubernetes.client.openapi.ApiResponse<T> patchWithHttpInfo(String namespace, String name, Object body, String pretty) throws io.kubernetes.client.openapi.ApiException
      partially update the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      ApiResponse<V1CustomResourceDefinition>
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • patchAsync

      public okhttp3.Call patchAsync(String namespace, String name, Object body, String pretty, io.kubernetes.client.openapi.ApiCallback<T> callback) throws io.kubernetes.client.openapi.ApiException
      (asynchronously) partially update the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to process the API call, e.g. serializing the request body object
    • readCall

      public okhttp3.Call readCall(String namespace, String name, String pretty, Boolean exact, Boolean export, io.kubernetes.client.openapi.ApiCallback apiCallback) throws io.kubernetes.client.openapi.ApiException
      Build call for readCustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      exact - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional)
      export - Should this value be exported. Export strips fields that a user can not specify. (optional)
      Returns:
      Call to execute
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to serialize the request body object
    • read

      public T read(String namespace, String name, String pretty, Boolean exact, Boolean export) throws io.kubernetes.client.openapi.ApiException
      read the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      exact - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional)
      export - Should this value be exported. Export strips fields that a user can not specify. (optional)
      Returns:
      V1CustomResourceDefinition
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • readWithHttpInfo

      public io.kubernetes.client.openapi.ApiResponse<T> readWithHttpInfo(String namespace, String name, String pretty, Boolean exact, Boolean export) throws io.kubernetes.client.openapi.ApiException
      read the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      exact - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional)
      export - Should this value be exported. Export strips fields that a user can not specify. (optional)
      Returns:
      ApiResponse<V1CustomResourceDefinition>
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • readAsync

      public okhttp3.Call readAsync(String namespace, String name, String pretty, Boolean exact, Boolean export, io.kubernetes.client.openapi.ApiCallback<T> callback) throws io.kubernetes.client.openapi.ApiException
      (asynchronously) read the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      exact - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional)
      export - Should this value be exported. Export strips fields that a user can not specify. (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to process the API call, e.g. serializing the request body object
    • replaceCall

      public okhttp3.Call replaceCall(String namespace, String name, T body, String pretty, io.kubernetes.client.openapi.ApiCallback apiCallback) throws io.kubernetes.client.openapi.ApiException
      Build call for replaceCustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      Call to execute
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to serialize the request body object
    • replace

      public T replace(String namespace, String name, T body, String pretty) throws io.kubernetes.client.openapi.ApiException
      replace the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      V1CustomResourceDefinition
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • replaceWithHttpInfo

      public io.kubernetes.client.openapi.ApiResponse<T> replaceWithHttpInfo(String namespace, String name, T body, String pretty) throws io.kubernetes.client.openapi.ApiException
      replace the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      ApiResponse<V1CustomResourceDefinition>
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • replaceAsync

      public okhttp3.Call replaceAsync(String namespace, String name, T body, String pretty, io.kubernetes.client.openapi.ApiCallback<T> callback) throws io.kubernetes.client.openapi.ApiException
      (asynchronously) replace the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to process the API call, e.g. serializing the request body object
    • replaceStatusCall

      public okhttp3.Call replaceStatusCall(String namespace, String name, T body, String pretty, io.kubernetes.client.openapi.ApiCallback apiCallback) throws io.kubernetes.client.openapi.ApiException
      Build call for replaceStatus
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      Call to execute
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to serialize the request body object
    • replaceStatus

      public T replaceStatus(String namespace, String name, T body, String pretty) throws io.kubernetes.client.openapi.ApiException
      replace status of the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      V1CustomResourceDefinition
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • replaceStatusWithHttpInfo

      public io.kubernetes.client.openapi.ApiResponse<T> replaceStatusWithHttpInfo(String namespace, String name, T body, String pretty) throws io.kubernetes.client.openapi.ApiException
      replace status of the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      Returns:
      ApiResponse<V1CustomResourceDefinition>
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • replaceStatusAsync

      public okhttp3.Call replaceStatusAsync(String namespace, String name, T body, String pretty, io.kubernetes.client.openapi.ApiCallback<T> callback) throws io.kubernetes.client.openapi.ApiException
      (asynchronously) replace status of the specified CustomResourceDefinition
      Parameters:
      name - name of the CustomResourceDefinition (required)
      body - (required)
      pretty - If 'true', then the output is pretty printed. (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      io.kubernetes.client.openapi.ApiException - If fail to process the API call, e.g. serializing the request body object
    • replaceIfNotModified

      public T replaceIfNotModified(String namespace, String name, T item) throws io.kubernetes.client.openapi.ApiException
      Throws:
      io.kubernetes.client.openapi.ApiException
    • watchAsync

      public AsyncWatcher watchAsync(String namespace, String resourceVersion, Class<T> clazz, Watcher<T> watcher) throws io.kubernetes.client.openapi.ApiException
      Throws:
      io.kubernetes.client.openapi.ApiException
    • watchAsync

      public AsyncWatcher watchAsync(String namespace, String resourceVersion, Class<T> clazz, String fieldSelector, String labelSelector, Watcher<T> watcher) throws io.kubernetes.client.openapi.ApiException
      Throws:
      io.kubernetes.client.openapi.ApiException