package model

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class GrpcProxy(proxyUrl: Option[String] = scala.None) extends Product with Serializable

    Defines an GrpcProxy needed to communicate with MNP Nodes

    Defines an GrpcProxy needed to communicate with MNP Nodes

    proxyUrl

    if set, a proxy is needed in order to talk to nodes. If None, MNP Nodes can be talked to directly

  2. case class ListWorkerRequest(nameFilter: Option[String] = scala.None, idFilter: Option[String] = scala.None) extends Product with Serializable

    Request current workers.

  3. case class ListWorkerResponse(workers: Seq[ListWorkerResponseElement]) extends Product with Serializable

    Response for ListWorkerRequest

  4. case class ListWorkerResponseElement(nodeName: String, id: String, container: Option[Container], state: WorkerState, type: WorkerType, externalUrl: Option[String]) extends Product with Serializable
  5. case class MnpPipelineDefinition(definition: Json) extends WorkerDefinition with Product with Serializable

    An MNP Pipeline

    An MNP Pipeline

    definition

    JSON definition of Pipeline Helper (Must match Golang Definition)

  6. case class MnpWorkerDefinition(container: Container, initializer: Option[ByteString] = None) extends WorkerDefinition with Product with Serializable

    An MNP Worker

    An MNP Worker

    initializer

    initializing code for ready to use Nodes.

  7. case class PublishServiceRequest(serviceName: String, port: Int, externalName: String, externalPort: Int) extends Product with Serializable

    Request for publishing an external service.

    Request for publishing an external service.

    serviceName

    name of the service

    port

    port (inside kubernetes)

    externalName

    external name or IP-Address

    externalPort

    external port

  8. case class PublishServiceResponse(name: String) extends Product with Serializable

    Response for publishing an external service.

    Response for publishing an external service.

    name

    name from the sense of kubernetes.

  9. case class StartWorkerRequest(id: String, definition: WorkerDefinition, keepRunning: Boolean = false, nameHint: Option[String] = scala.None, ingressName: Option[String] = scala.None) extends Product with Serializable

    Request for starting a MNP worker

    Request for starting a MNP worker

    id

    user specified id to give to the worker

    definition

    definition of the worker

    keepRunning

    if true, keep the worker running

    nameHint

    if given, try to give the worker a name similar to this given name

    ingressName

    if given, make the worker accessible from the outside

  10. case class StartWorkerResponse(nodeName: String, externalUrl: Option[String] = scala.None) extends Product with Serializable

    Response for StartWorkerRequest

    Response for StartWorkerRequest

    nodeName

    name of the Node (usually container or service name)

    externalUrl

    an URL under which the Node is reachable from the outside.

  11. case class StopWorkerRequest(nameFilter: Option[String] = scala.None, idFilter: Option[String] = scala.None, remove: StringWrapped[Boolean] = ...) extends Product with Serializable

    Request for stopping workers.

    Request for stopping workers.

    nameFilter

    if set, only remove workers of a given node name

    idFilter

    if set, only remove workers of a given user id

    remove

    if true, remove the workers completely

  12. case class StopWorkerResponse(removed: Seq[StopWorkerResponseElement]) extends Product with Serializable

    Response for stopping workers.

  13. case class StopWorkerResponseElement(id: String, name: String) extends Product with Serializable

    Element for removing workers.

  14. case class StringWrapped[T](value: T) extends Product with Serializable

    Wraps some plain type in a way that it's serialized as a string.

    Wraps some plain type in a way that it's serialized as a string. Used for encoding values in Strings (e.g. Query Parameters)

  15. sealed trait WorkerDefinition extends AnyRef
  16. sealed trait WorkerState extends AnyRef
  17. sealed trait WorkerType extends AnyRef

Ungrouped