c

cloudflow.operator.action

CreateOrPatchAction

class CreateOrPatchAction[T <: ObjectResource, O <: Patch] extends SingleResourceAction[T]

Captures the update of the resource.

Source
Action.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreateOrPatchAction
  2. SingleResourceAction
  3. ResourceAction
  4. Action
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CreateOrPatchAction(resource: T, patch: O, format: Format[T], patchWriter: Writes[O], resourceDefinition: ResourceDefinition[T])

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def execute(client: KubernetesClient)(implicit sys: ActorSystem, ec: ExecutionContext, lc: LoggingContext): Future[Action]

    Updates the resource, without changing the resourceVersion.

    Updates the resource, without changing the resourceVersion.

    Definition Classes
    CreateOrPatchActionAction
  9. def executed: String
    Definition Classes
    SingleResourceActionAction
  10. def executing: String
    Definition Classes
    SingleResourceActionAction
  11. implicit val format: Format[T]
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val name: String

    The action name.

    The action name.

    Definition Classes
    CreateOrPatchActionAction
  16. def namespace: Some[String]
    Definition Classes
    SingleResourceActionAction
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val patch: O
  21. implicit val patchWriter: Writes[O]
  22. def recoverFromError[O](future: Future[O], client: KubernetesClient, retries: Int, f: (KubernetesClient, Int) ⇒ Future[O])(implicit ec: ExecutionContext): Future[O]

    It is expected that f will always first get the resource in question to break out of the conflict, to avoid a fast recover loop.

    It is expected that f will always first get the resource in question to break out of the conflict, to avoid a fast recover loop.

    Attributes
    protected
    Definition Classes
    ResourceAction
  23. val resource: T

    The resource that is applied

    The resource that is applied

    Definition Classes
    CreateOrPatchActionSingleResourceAction
  24. implicit val resourceDefinition: ResourceDefinition[T]
  25. def resourceName: String

    The name of the resource that this action is applied to

    The name of the resource that this action is applied to

    Definition Classes
    SingleResourceAction
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from SingleResourceAction[T]

Inherited from ResourceAction[T]

Inherited from Action

Inherited from AnyRef

Inherited from Any

Ungrouped