class CreateOrPatchAction[T <: ObjectResource, O <: Patch] extends SingleResourceAction[T]
Ordering
- Alphabetic
- By Inheritance
Inherited
- CreateOrPatchAction
- SingleResourceAction
- ResourceAction
- Action
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CreateOrPatchAction(resource: T, patch: O, format: Format[T], patchWriter: Writes[O], resourceDefinition: ResourceDefinition[T])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
- CreateOrPatchAction → Action
-
def
executed: String
- Definition Classes
- SingleResourceAction → Action
-
def
executing: String
- Definition Classes
- SingleResourceAction → Action
- implicit val format: Format[T]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
name: String
The action name.
The action name.
- Definition Classes
- CreateOrPatchAction → Action
-
def
namespace: Some[String]
- Definition Classes
- SingleResourceAction → Action
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val patch: O
- implicit val patchWriter: Writes[O]
-
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
-
val
resource: T
The resource that is applied
The resource that is applied
- Definition Classes
- CreateOrPatchAction → SingleResourceAction
- implicit val resourceDefinition: ResourceDefinition[T]
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )