package action
- Alphabetic
- Public
- All
Type Members
-
sealed
trait
Action extends AnyRef
Captures an action to create, delete or update a Kubernetes resource.
-
case class
ActionException(action: Action, msg: String, cause: Throwable) extends Exception with Product with Serializable
Exception thrown when the action failed to make the appropriate change(s) for the application identified by
appId. -
trait
ActionExecutor extends AnyRef
Executes Kubernetes resource actions.
Executes Kubernetes resource actions. Any non-fatal exception in execute should result in a failure containing an ActionException
- final case class AkkaRunnerDefaults(resourceConstraints: ResourceConstraints, javaOptions: String, prometheusRules: String) extends RunnerDefaults with Product with Serializable
- final case class AppAction(action: Action, app: CR) extends Action with Product with Serializable
- case class CloudflowLabels(partOf: String, appVersion: String) extends Product with Serializable
- final case class CompositeAction[T <: ObjectResource](actions: Iterable[Action]) extends ResourceAction[T] with Product with Serializable
-
class
CreateOrPatchAction[T <: ObjectResource, O <: Patch] extends SingleResourceAction[T]
Captures the update of the resource.
-
class
CreateOrUpdateAction[T <: ObjectResource] extends SingleResourceAction[T]
Captures create or update of the resource.
Captures create or update of the resource. This action does not fail if the resource already exists. If the resource already exists, it will be updated.
-
final
case class
DeleteAction[T <: ObjectResource](resourceName: String, _namespace: String, resourceDefinition: ResourceDefinition[T]) extends ResourceAction[T] with Product with Serializable
Captures deletion of the resource.
-
case class
DeploymentContext(akkaRunnerDefaults: AkkaRunnerDefaults, sparkRunnerDefaults: SparkRunnerDefaults, flinkRunnerDefaults: FlinkRunnerDefaults, podName: String, podNamespace: String) extends Product with Serializable
Provides defaults for deployment.
- final case class FlinkJobManagerDefaults(replicas: Int, resources: FlinkPodResourceDefaults) extends Product with Serializable
- final case class FlinkPodResourceDefaults(cpuRequest: Option[Quantity] = None, memoryRequest: Option[Quantity] = None, cpuLimit: Option[Quantity] = None, memoryLimit: Option[Quantity] = None) extends Product with Serializable
- final case class FlinkRunnerDefaults(parallelism: Int, jobManagerDefaults: FlinkJobManagerDefaults, taskManagerDefaults: FlinkTaskManagerDefaults, prometheusRules: String) extends RunnerDefaults with Product with Serializable
- final case class FlinkTaskManagerDefaults(taskSlots: Int, resources: FlinkPodResourceDefaults) extends Product with Serializable
- class PatchAction[T <: ObjectResource, O <: Patch] extends SingleResourceAction[T]
- final class ProvidedAction[T <: ObjectResource] extends ResourceAction[T]
- final class ProvidedByLabelAction[T <: ObjectResource] extends ResourceAction[T]
- abstract class ResourceAction[+T <: ObjectResource] extends Action
- final case class ResourceConstraints(cpuRequests: Quantity, memoryRequests: Quantity, cpuLimits: Option[Quantity], memoryLimits: Option[Quantity]) extends Product with Serializable
- final case class Resources(request: String, limit: String) extends Product with Serializable
- sealed trait RunnerDefaults extends AnyRef
- abstract class SingleResourceAction[T <: ObjectResource] extends ResourceAction[T]
-
final
class
SkuberActionExecutor extends ActionExecutor
Executes Kubernetes resource actions using skuber KubernetesClients.
- final case class SparkPodDefaults(cores: Option[Quantity], memory: Option[Quantity], coreLimit: Option[Quantity], memoryOverhead: Option[Quantity], javaOptions: Option[String]) extends Product with Serializable
- final case class SparkRunnerDefaults(driverDefaults: SparkPodDefaults, executorDefaults: SparkPodDefaults, prometheusRules: String) extends RunnerDefaults with Product with Serializable
-
class
UpdateStatusAction[T <: ObjectResource] extends SingleResourceAction[T]
Captures the status subresource update of the resource.
Captures the status subresource update of the resource. The
resourceneeds to have the subresource set (for instance usingwithStatus)
Value Members
-
object
Action
Creates actions.
-
object
Actions
Creates sequences of resource Actions deployment and undeployment of applications.
Creates sequences of resource Actions deployment and undeployment of applications. The Actions record the required changes between an optional current application and a new application. The ActionExecutor executes these actions.
-
object
CloudflowApplication
CloudflowApplication Custom Resource.
- object CloudflowLabels extends Serializable
-
object
ConfigurationScopeLayering
Implementation of https://cloudflow.io/docs/current/develop/cloudflow-configuration.html
- object DeleteAction extends Serializable
-
object
EndpointActions
Creates a sequence of resource actions for the endpoint changes between a current application and a new application.
- object EventActions
-
object
Name
A collection of methods to apply names for common Kubernetes resources.
- object NoopAction extends ResourceAction[Nothing] with Product with Serializable
-
object
PrepareNamespaceActions
Creates a sequence of resource actions for preparing the namespace where the application is installed
- object ResourceAction
- object SkuberActionExecutor
-
object
TopicActions
Creates topic actions for managed topics.