c

cloudflow.operator.action

UpdateStatusAction

class UpdateStatusAction[T <: ObjectResource] extends SingleResourceAction[T]

Captures the status subresource update of the resource. The resource needs to have the subresource set (for instance using withStatus)

Source
Action.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateStatusAction
  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 UpdateStatusAction(resource: T, format: Format[T], resourceDefinition: ResourceDefinition[T], statusEv: HasStatusSubresource[T], editor: ObjectEditor[T], predicateForUpdate: (Option[T], T) ⇒ Boolean = (_: Option[T], _: T) => true)

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. val editor: ObjectEditor[T]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def execute(client: KubernetesClient)(implicit sys: ActorSystem, ec: ExecutionContext, lc: LoggingContext): Future[Action]

    Updates the resource status subresource, without changing the resourceVersion.

    Updates the resource status subresource, without changing the resourceVersion.

    Definition Classes
    UpdateStatusActionAction
  10. def executeUpdateStatus(client: KubernetesClient, retries: Int = 60)(implicit sys: ActorSystem, ec: ExecutionContext, lc: LoggingContext): Future[T]
  11. def executed: String
    Definition Classes
    SingleResourceActionAction
  12. def executing: String
    Definition Classes
    SingleResourceActionAction
  13. implicit val format: Format[T]
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val name: String

    The action name.

    The action name.

    Definition Classes
    UpdateStatusActionAction
  18. def namespace: Some[String]
    Definition Classes
    SingleResourceActionAction
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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
    UpdateStatusActionSingleResourceAction
  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. implicit val statusEv: HasStatusSubresource[T]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. 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