Package

skuber.examples

guestbook

Permalink

package guestbook

Visibility
  1. Public
  2. All

Type Members

  1. class CreateResultHandler extends ServiceResultHandler

    Permalink
  2. class GuestbookActor extends Actor with ActorLogging

    Permalink

  3. class KubernetesProxyActor extends Actor with ActorLogging

    Permalink
  4. class RemoveResultHandler extends ServiceResultHandler

    Permalink
  5. class ScaleResultHandler extends ServiceResultHandler

    Permalink
  6. class ScalerActor extends Actor with ActorLogging

    Permalink
  7. class ServiceActor extends Actor with ActorLogging

    Permalink
  8. abstract class ServiceResultHandler extends Actor with ActorLogging

    Permalink
  9. class StopResultHandler extends ServiceResultHandler

    Permalink
  10. case class Watching(watch: Future[Source[K8SWatchEvent[ReplicationController], _]], watchers: Set[ActorRef]) extends Product with Serializable

    Permalink

Value Members

  1. object CreateResultHandler

    Permalink
  2. object Guestbook extends App

    Permalink

  3. object GuestbookActor

    Permalink
  4. object KubernetesProxyActor

    Permalink

    A KubernetesProxyActor proxies all requests from the Guestbook actors to Kubernetes.

    A KubernetesProxyActor proxies all requests from the Guestbook actors to Kubernetes. It is a slim wrapper around the skuber API, and enables sharing of skuber resources (e.g. underlying WS client connections, watches etc.) by all calling actors. It supports request messages to create/delete/get Service and Replication Controller resources on Kubernetes. For each of the above the actor simply creates and invokes a skuber request, and pipes the (future) response back to a result handler actor specified in the request message.

    It also supports a WatchReplicationController message that puts a reactive watch on a specified replication controller that forwards any updates received via the watch to one or more a specified actor. Multiple actors may watch the same controller - they reuse the same underlying watch. These watches are used by ScalerActor for monitoring the progress of scaling up/down of Guestbook services on the cluster.

  5. object RemoveResultHandler

    Permalink
  6. object ScaleResultHandler

    Permalink
  7. object ScalerActor

    Permalink

    The scaler actor is responsible for scaling a replica count up/down for a Guestbook service One scaler actor handles a single scaling request

  8. object ServiceActor

    Permalink
  9. object StopResultHandler

    Permalink
  10. package model

    Permalink

Ungrouped