java.lang.Object
io.fabric8.kubernetes.client.handlers.storage.v1beta1.CSINodeHandler
All Implemented Interfaces:
ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>

public class CSINodeHandler
extends Object
implements ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.ResourceHandler

    ResourceHandler.Key
  • Constructor Summary

    Constructors 
    Constructor Description
    CSINodeHandler()  
  • Method Summary

    Modifier and Type Method Description
    io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode create​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
    Create the specified resource.
    Boolean delete​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
    Delete the specified resource (if exists).
    io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder edit​(io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
    Edit the specified resource.
    String getApiVersion()  
    String getKind()  
    io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode reload​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
    Reload the specified resource (if exists).
    io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode replace​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
    Replace the specified resource.
    io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode waitUntilCondition​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, Predicate<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode> condition, long amount, TimeUnit timeUnit)  
    io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode waitUntilReady​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, long amount, TimeUnit timeUnit)
    Waits until the specified resource is Ready.
    Watch watch​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, io.fabric8.kubernetes.api.model.ListOptions options, Watcher<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode> watcher)
    Watches the specified resource for changes
    Watch watch​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, Watcher<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode> watcher)
    Watches the specified resource for changes.
    Watch watch​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, String resourceVersion, Watcher<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode> watcher)
    Watches the specified resource for changes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getKind

      public String getKind()
      Specified by:
      getKind in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
    • getApiVersion

      public String getApiVersion()
      Specified by:
      getApiVersion in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
    • create

      public io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode create​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
      Description copied from interface: ResourceHandler
      Create the specified resource.
      Specified by:
      create in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      client - An instance of the http client.
      config - The client config.
      namespace - The target namespace.
      item - The resource to create.
      Returns:
      The created resource.
    • replace

      public io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode replace​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
      Description copied from interface: ResourceHandler
      Replace the specified resource.
      Specified by:
      replace in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      client - An instance of the http client.
      config - The client config.
      namespace - The target namespace.
      item - The resource to replace.
      Returns:
      The created resource.
    • reload

      public io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode reload​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
      Description copied from interface: ResourceHandler
      Reload the specified resource (if exists).
      Specified by:
      reload in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      client - An instance of the http client.
      config - The client config.
      namespace - The target namespace.
      item - The resource to reload.
      Returns:
      The reloaded resource.
    • edit

      public io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder edit​(io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
      Description copied from interface: ResourceHandler
      Edit the specified resource.
      Specified by:
      edit in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      item - The resource to edit.
      Returns:
      The resource editor.
    • delete

      public Boolean delete​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item)
      Description copied from interface: ResourceHandler
      Delete the specified resource (if exists).
      Specified by:
      delete in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      client - An instance of the http client.
      config - The client config.
      namespace - The target namespace.
      propagationPolicy - Whether and how garbage collection will be performed.
      item - The resource to delete.
      Returns:
      The true if the resource was successfully deleted.
    • watch

      public Watch watch​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, Watcher<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode> watcher)
      Description copied from interface: ResourceHandler
      Watches the specified resource for changes.
      Specified by:
      watch in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      client - An instance of the http client.
      config - The client config.
      namespace - The target namespace.
      item - The resource to delete.
      watcher - The Watcher to use.
      Returns:
      The Watch
    • watch

      public Watch watch​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, String resourceVersion, Watcher<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode> watcher)
      Description copied from interface: ResourceHandler
      Watches the specified resource for changes.
      Specified by:
      watch in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      client - An instance of the http client.
      config - The client config.
      namespace - The target namespace.
      item - The resource to delete.
      resourceVersion - The resourceVersion of object
      watcher - The Watcher to use.
      Returns:
      The Watch
    • watch

      public Watch watch​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, io.fabric8.kubernetes.api.model.ListOptions options, Watcher<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode> watcher)
      Description copied from interface: ResourceHandler
      Watches the specified resource for changes
      Specified by:
      watch in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      client - An instance of http client.
      config - The client config.
      namespace - The target namespace.
      item - The resource to delete.
      options - The ListOptions for available options
      watcher - The Watcher to use.
      Returns:
      The Watch
    • waitUntilReady

      public io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode waitUntilReady​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, long amount, TimeUnit timeUnit) throws InterruptedException
      Description copied from interface: ResourceHandler
      Waits until the specified resource is Ready. For resources that 'readiness' is not applicable the method is equivalent to get.
      Specified by:
      waitUntilReady in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Parameters:
      client - An instance of the http client.
      config - The client config.
      namespace - The target namespace.
      item - The resource to wait.
      amount - The amount of time to wait
      timeUnit - The wait TimeUnit.
      Returns:
      The true if the resource was successfully deleted.
      Throws:
      InterruptedException - Interrupted Exception
    • waitUntilCondition

      public io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode waitUntilCondition​(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode item, Predicate<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode> condition, long amount, TimeUnit timeUnit) throws InterruptedException
      Specified by:
      waitUntilCondition in interface ResourceHandler<io.fabric8.kubernetes.api.model.storage.v1beta1.CSINode,​io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeBuilder>
      Throws:
      InterruptedException