Packages

c

cloudflow.operator.action.runner

RawCustomResourceOperationsImpl

class RawCustomResourceOperationsImpl extends OperationSupport

This class simple does basic operations for custom defined resources without demanding the POJOs for custom resources. It is serializing/deserializing objects to plain hash map(String, Object).

Right now it supports basic operations like GET, POST, PUT, DELETE.

Linear Supertypes
OperationSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RawCustomResourceOperationsImpl
  2. OperationSupport
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RawCustomResourceOperationsImpl(client: OkHttpClient, config: Config, customResourceDefinition: CustomResourceDefinitionContext, objectMapper: ObjectMapper)
  2. new RawCustomResourceOperationsImpl(client: OkHttpClient, config: Config, customResourceDefinition: CustomResourceDefinitionContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def assertResponseCode(arg0: Request, arg1: Response): Unit
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
  6. def checkName[T <: AnyRef](arg0: T): String
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
  7. def checkNamespace[T <: AnyRef](arg0: T): String
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def create(namespace: String, object: Map[String, AnyRef]): Map[String, AnyRef]

    Create a custom resource which is a namespaced object.

    Create a custom resource which is a namespaced object.

    namespace

    namespace in which we want object to be created.

    object

    object as a HashMap

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of problems faced while serializing HashMap

  10. def create(namespace: String, objectAsStream: InputStream): Map[String, AnyRef]

    Create a custom resource which is a namespaced object.

    Create a custom resource which is a namespaced object.

    namespace

    namespace in which we want object to be created

    objectAsStream

    object as file input stream

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of problems while reading file

  11. def create(objectAsStream: InputStream): Map[String, AnyRef]

    Create a custom resource which is non-namespaced object.

    Create a custom resource which is non-namespaced object.

    objectAsStream

    object as a file input stream

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of problems while reading file

  12. def create(namespace: String, objectAsString: String): Map[String, AnyRef]

    Create a custom resource which is a namespaced object.

    Create a custom resource which is a namespaced object.

    namespace

    namespace in which we want object to be created.

    objectAsString

    Object as JSON string

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of problems while reading JSON object

  13. def create(object: Map[String, AnyRef]): Map[String, AnyRef]

    Create a custom resource which is non-namespaced.

    Create a custom resource which is non-namespaced.

    object

    object a HashMap

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of problems while reading HashMap

  14. def create(objectAsString: String): Map[String, AnyRef]

    Create a custom resource which is a non-namespaced object.

    Create a custom resource which is a non-namespaced object.

    objectAsString

    object as JSON string

    returns

    Object as HashMap

    Exceptions thrown

    IOException exception in case of any network/read problems

  15. def createOrReplace(namespace: String, objectAsStream: InputStream): Map[String, AnyRef]

    Create or replace a custom resource which is namespaced object.

    Create or replace a custom resource which is namespaced object.

    namespace

    desired namespace

    objectAsStream

    object as file input stream

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  16. def createOrReplace(namespace: String, customResourceObject: Map[String, AnyRef]): Map[String, AnyRef]

    Create or replace a custom resource which is namespaced object.

    Create or replace a custom resource which is namespaced object.

    namespace

    desired namespace

    customResourceObject

    object as HashMap

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  17. def createOrReplace(namespace: String, objectAsString: String): Map[String, AnyRef]

    Create or replace a custom resource which is namespaced object.

    Create or replace a custom resource which is namespaced object.

    namespace

    desired namespace

    objectAsString

    object as JSON String

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  18. def createOrReplace(inputStream: InputStream): Map[String, AnyRef]

    Create or replace a custom resource which is non-namespaced object.

    Create or replace a custom resource which is non-namespaced object.

    inputStream

    object as file input stream

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  19. def createOrReplace(customResourceObject: Map[String, AnyRef]): Map[String, AnyRef]

    Create or replace a custom resource which is a non-namespced object.

    Create or replace a custom resource which is a non-namespced object.

    customResourceObject

    object as HashMap

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  20. def createOrReplace(objectAsString: String): Map[String, AnyRef]

    Create or replace a custom resource which is a non-namespaced object.

    Create or replace a custom resource which is a non-namespaced object.

    objectAsString

    object as JSON string

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serializiation failures or failures from Kuberntes API

  21. def delete(namespace: String, name: String, deleteOptions: DeleteOptions): Map[String, AnyRef]

    Delete a custom resource in a specific namespace

    Delete a custom resource in a specific namespace

    namespace

    required namespace

    name

    name of custom resource

    deleteOptions

    object provided by Kubernetes API for more fine grained control over deletion. For more information please see https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#deleteoptions-v1-meta

    returns

    deleted object as HashMap

    Exceptions thrown

    IOException in case of any network/object parse exception

  22. def delete(namespace: String, name: String, propagationPolicy: String): Map[String, AnyRef]

    Delete a custom resource in a specific namespace

    Delete a custom resource in a specific namespace

    namespace

    required namespace

    name

    required name of custom resource

    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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.

    returns

    deleted object as HashMap

    Exceptions thrown

    IOException in case of network/object parse exception

  23. def delete(namespace: String, name: String, cascading: Boolean): Map[String, AnyRef]

    Delete a custom resource in a specific namespace

    Delete a custom resource in a specific namespace

    namespace

    required namespace

    name

    required name of custom resource

    cascading

    whether dependent object need to be orphaned or not. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list.

    returns

    deleted objects as HashMap

    Exceptions thrown

    IOException exception related to network/object parsing

  24. def delete(namespace: String, name: String): Map[String, AnyRef]

    Delete a custom resource in a specific namespace

    Delete a custom resource in a specific namespace

    namespace

    desired namespace

    name

    custom resource's name

    returns

    object as HashMap

    Exceptions thrown

    IOException in case of any network/object parse problems

  25. def delete(namespace: String, deleteOptions: DeleteOptions): Map[String, AnyRef]

    Delete all custom resources in a specific namespace

    Delete all custom resources in a specific namespace

    namespace

    desired namespace

    deleteOptions

    object provided by Kubernetes API for more fine grained control over deletion. For more information please see https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#deleteoptions-v1-meta

    returns

    deleted object as HashMap

    Exceptions thrown

    IOException in case of any network/object parse problems

  26. def delete(namespace: String, cascading: Boolean): Map[String, AnyRef]

    Delete all custom resources in a specific namespace

    Delete all custom resources in a specific namespace

    namespace

    desired namespace

    cascading

    whether dependent object need to be orphaned or not. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list.

    returns

    deleted objects as HashMap

    Exceptions thrown

    IOException in case of any network/parsing exception

  27. def delete(namespace: String): Map[String, AnyRef]

    Delete all custom resources in a specific namespace

    Delete all custom resources in a specific namespace

    namespace

    desired namespace

    returns

    deleted objects as HashMap

  28. def edit(namespace: String, name: String, objectAsStream: InputStream): Map[String, AnyRef]

    Edit a custom resource object which is a namespaced object.

    Edit a custom resource object which is a namespaced object.

    namespace

    desired namespace

    name

    name of the custom resource

    objectAsStream

    new object as a file input stream

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  29. def edit(name: String, objectAsStream: InputStream): Map[String, AnyRef]

    Edit a custom resource object which is a non-namespaced object.

    Edit a custom resource object which is a non-namespaced object.

    name

    name of the custom resource

    objectAsStream

    new object as a file input stream

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  30. def edit(namespace: String, name: String, objectAsString: String): Map[String, AnyRef]

    Edit a custom resource object which is a namespaced object.

    Edit a custom resource object which is a namespaced object.

    namespace

    desired namespace

    name

    name of the custom resource

    objectAsString

    new object as a JSON string

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  31. def edit(namespace: String, name: String, object: Map[String, AnyRef]): Map[String, AnyRef]

    Edit a custom resource object which is a namespaced object.

    Edit a custom resource object which is a namespaced object.

    namespace

    desired namespace

    name

    name of the custom resource

    object

    new object as a HashMap

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  32. def edit(name: String, objectAsString: String): Map[String, AnyRef]

    Edit a custom resource object which is a non-namespaced object.

    Edit a custom resource object which is a non-namespaced object.

    name

    name of the custom resource

    objectAsString

    new object as a JSON String

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  33. def edit(name: String, object: Map[String, AnyRef]): Map[String, AnyRef]

    Edit a custom resource object which is a non-namespaced object.

    Edit a custom resource object which is a non-namespaced object.

    name

    name of the custom resource

    object

    new object as a HashMap

    returns

    Object as HashMap

    Exceptions thrown

    IOException in case of network/serialization failures or failures from Kubernetes API

  34. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  36. def fetchWatchUrl(namespace: String, name: String, labels: Map[String, String], options: ListOptions): Builder
    Attributes
    protected[runner]
  37. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  38. def get(namespace: String, name: String): Map[String, AnyRef]

    Get a custom resource from the cluster which is namespaced.

    Get a custom resource from the cluster which is namespaced.

    namespace

    desired namespace

    name

    name of custom resource

    returns

    Object as HashMap

  39. def get(name: String): Map[String, AnyRef]

    Get a custom resource from the cluster which is non-namespaced.

    Get a custom resource from the cluster which is non-namespaced.

    name

    name of custom resource

    returns

    Object as HashMap

  40. def getAPIGroup(): String
    Definition Classes
    OperationSupport
  41. def getAPIVersion(): String
    Definition Classes
    OperationSupport
  42. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  43. def getConfig(): Config
    Definition Classes
    OperationSupport
  44. def getName(): String
    Definition Classes
    OperationSupport
  45. def getNamespace(): String
    Definition Classes
    OperationSupport
  46. def getNamespacedUrl[T <: AnyRef](arg0: T): URL
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.net.MalformedURLException])
  47. def getNamespacedUrl(): URL
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.net.MalformedURLException])
  48. def getNamespacedUrl(arg0: String): URL
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.net.MalformedURLException])
  49. def getResourceT(): String
    Definition Classes
    OperationSupport
  50. def getResourceUrl(): URL
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.net.MalformedURLException])
  51. def getResourceUrl(arg0: String, arg1: String): URL
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.net.MalformedURLException])
  52. def getRootUrl(): URL
    Definition Classes
    OperationSupport
  53. def handleCreate[T <: AnyRef, I <: AnyRef](arg0: I, arg1: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  54. def handleDelete(arg0: URL, arg1: Long, arg2: DeletionPropagation, arg3: Boolean): Unit
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  55. def handleDelete[T <: AnyRef](arg0: T, arg1: Long, arg2: DeletionPropagation, arg3: Boolean): Unit
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  56. def handleDeploymentRollback(arg0: String, arg1: DeploymentRollback): Status
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  57. def handleGet[T <: AnyRef](arg0: URL, arg1: Class[T], arg2: Map[String, String]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  58. def handleGet[T <: AnyRef](arg0: URL, arg1: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  59. def handleMetric[T <: AnyRef](arg0: String, arg1: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException]) @throws(classOf[java.util.concurrent.ExecutionException])
  60. def handlePatch[T <: AnyRef](arg0: T, arg1: Map[String, AnyRef], arg2: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  61. def handlePatch[T <: AnyRef](arg0: T, arg1: T, arg2: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  62. def handleReplace[T <: AnyRef](arg0: T, arg1: Class[T], arg2: Map[String, String]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  63. def handleReplace[T <: AnyRef](arg0: T, arg1: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  64. def handleResponse[T <: AnyRef](arg0: OkHttpClient, arg1: Builder, arg2: Class[T], arg3: Map[String, String]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  65. def handleResponse[T <: AnyRef](arg0: OkHttpClient, arg1: Builder, arg2: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  66. def handleResponse[T <: AnyRef](arg0: Builder, arg1: Class[T], arg2: Map[String, String]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  67. def handleResponse[T <: AnyRef](arg0: Builder, arg1: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  68. def handleScale(arg0: String, arg1: Scale): Scale
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.io.IOException])
  69. def handleStatusUpdate[T <: AnyRef](arg0: T, arg1: Class[T]): T
    Attributes
    protected[base]
    Definition Classes
    OperationSupport
    Annotations
    @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.lang.InterruptedException]) @throws(classOf[io.fabric8.kubernetes.client.KubernetesClientException]) @throws(classOf[java.io.IOException])
  70. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  71. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  72. def isResourceNamespaced(): Boolean
    Definition Classes
    OperationSupport
  73. def list(namespace: String, labels: Map[String, String]): Map[String, AnyRef]

    List all custom resources in a specific namespace with some labels

    List all custom resources in a specific namespace with some labels

    namespace

    desired namespace

    labels

    labels as a HashMap

    returns

    list of custom resources as HashMap

  74. def list(namespace: String): Map[String, AnyRef]

    List all custom resources in a specific namespace

    List all custom resources in a specific namespace

    namespace

    desired namespace

    returns

    list of custom resources as HashMap

  75. def list(): Map[String, AnyRef]

    List all custom resources in all namespaces

    List all custom resources in all namespaces

    returns

    list of custom resources as HashMap

  76. def load(objectAsJsonString: String): Map[String, AnyRef]

    Load a custom resource object from a JSON string into a HashMap

    Load a custom resource object from a JSON string into a HashMap

    objectAsJsonString

    object as JSON string

    returns

    custom resource as HashMap

    Exceptions thrown

    IOException exception in case any problem in reading json.

  77. def load(fileInputStream: InputStream): Map[String, AnyRef]

    Load a custom resource object from an inputstream into a HashMap

    Load a custom resource object from an inputstream into a HashMap

    fileInputStream

    file input stream

    returns

    custom resource as HashMap

    Exceptions thrown

    IOException exception in case any read operation fails.

  78. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  79. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  80. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  81. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  82. def toString(): String
    Definition Classes
    AnyRef → Any
  83. def updateStatus(namespace: String, name: String, objectAsJsonString: String): Map[String, AnyRef]

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    namespace

    namespace of CustomResource

    name

    name of CustomResource

    objectAsJsonString

    CustomResource object as a JSON string

    returns

    updated CustomResource as a HashMap

    Exceptions thrown

    IOException in case any failure to parse Map

  84. def updateStatus(namespace: String, name: String, objectAsStream: InputStream): Map[String, AnyRef]

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    namespace

    namespace of CustomResource

    name

    name of CustomResource

    objectAsStream

    CustomResource object as a stream

    returns

    updated CustomResource as a HashMap

    Exceptions thrown

    IOException in case any failure to parse Map

  85. def updateStatus(name: String, objectAsStream: InputStream): Map[String, AnyRef]

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    name

    name of CustomResource

    objectAsStream

    stream pointing to CustomResource

    returns

    updated CustomResource as a HashMap

    Exceptions thrown

    IOException in case any failure to parse Map

  86. def updateStatus(namespace: String, name: String, objectAsMap: Map[String, AnyRef]): Map[String, AnyRef]

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    namespace

    namespace of CustomResource

    name

    name of CustomResource

    objectAsMap

    CustomResource as a HashMap

    returns

    updated CustomResource as a HashMap

    Exceptions thrown

    IOException in case any failure to parse Map

  87. def updateStatus(name: String, objectAsJsonString: String): Map[String, AnyRef]

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    name

    name of CustomResource

    objectAsJsonString

    CustomResource as a JSON string

    returns

    updated CustomResource as a HashMap

    Exceptions thrown

    IOException in case any failure to parse Map

  88. def updateStatus(name: String, objectAsMap: Map[String, AnyRef]): Map[String, AnyRef]

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    Update status related to a CustomResource, this method does a PUT request on /status endpoint related to the CustomResource

    name

    name of custom resource

    objectAsMap

    custom resource as a HashMap

    returns

    updated CustomResource as HashMap

    Exceptions thrown

    IOException in case any failure to parse Map

  89. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  90. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  91. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  92. def watch(namespace: String, name: String, labels: Map[String, String], options: ListOptions, watcher: Watcher[String]): Watch

    Watch custom resources in the parameters specified.

    Watch custom resources in the parameters specified.

    Most of the parameters except watcher are optional, they would be skipped if passed null. Here watcher is provided for string type only. User has to deserialize the object itself.

    namespace

    namespace to watch (optional

    name

    name of custom resource (optional)

    labels

    HashMap containing labels (optional)

    options

    ListOptions list options for watch

    watcher

    watcher object which reports events

    returns

    watch object for watching resource

    Exceptions thrown

    IOException in case of network error

  93. def watch(namespace: String, name: String, labels: Map[String, String], resourceVersion: String, watcher: Watcher[String]): Watch

    Watch custom resources in the parameters specified.

    Watch custom resources in the parameters specified.

    Most of the parameters except watcher are optional, they would be skipped if passed null. Here watcher is provided for string type only. User has to deserialize the object itself.

    namespace

    namespace to watch (optional

    name

    name of custom resource (optional)

    labels

    HashMap containing labels (optional)

    resourceVersion

    resource version to start watch from

    watcher

    watcher object which reports events

    returns

    watch object for watching resource

    Exceptions thrown

    IOException in case of network error

  94. def watch(watcher: Watcher[String]): Unit

    Watchers custom resources across all namespaces.

    Watchers custom resources across all namespaces. Here watcher is provided for string type only. User has to deserialize object itself.

    watcher

    watcher object which reports events

    Exceptions thrown

    IOException in case of network error

  95. def watch(namespace: String, options: ListOptions, watcher: Watcher[String]): Unit

    Watch a custom resource in a specific namespace with some resourceVersion.

    Watch a custom resource in a specific namespace with some resourceVersion. Here watcher is provided from string type only. User has to deserialize object itself.

    namespace

    namespace to watch

    options

    ListOptions list options for watching

    watcher

    watcher object which reports updates

    Exceptions thrown

    IOException in case of network error

  96. def watch(namespace: String, resourceVersion: String, watcher: Watcher[String]): Unit

    Watch a custom resource in a specific namespace with some resourceVersion.

    Watch a custom resource in a specific namespace with some resourceVersion. Here watcher is provided from string type only. User has to deserialize object itself.

    namespace

    namespace to watch

    resourceVersion

    resource version since when to watch

    watcher

    watcher object which reports updates

    Exceptions thrown

    IOException in case of network error

  97. def watch(namespace: String, watcher: Watcher[String]): Unit

    Watch custom resources in a specific namespace.

    Watch custom resources in a specific namespace. Here Watcher is provided for string type only. User has to deserialize object itself.

    namespace

    namespace to watch

    watcher

    watcher object which reports updates with object

    Exceptions thrown

    IOException in case of network error

Inherited from OperationSupport

Inherited from AnyRef

Inherited from Any

Ungrouped