Class

io.buoyant.namerd.storage

K8sDtabStore

Related Doc: package storage

Permalink

class K8sDtabStore extends DtabStore

A DtabStore using the Kubernetes third-party API (in beta as of Kubernetes 1.2) to store Dtabs. Note that usage of this store will require some setup:

kubectl create namerd/examples/k8s/3rdparty.yaml

This creates a third-party resource at: /apis/buoyant.io/v1/dtabs.

TODO: add tests: unit, end-to-end

Linear Supertypes
DtabStore, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. K8sDtabStore
  2. DtabStore
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new K8sDtabStore(client: Client, dst: String, namespace: String)

    Permalink

    client

    a fully configured client which will be used to access the Kubernetes API

    dst

    the destination which will be used to construct a service from the client

    namespace

    the Kubernetes namespace being read/written by this store (note that this differs from Dtab namespaces)

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val api: NsApi

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def create(ns: String, dtab: Dtab): Future[Unit]

    Permalink

    Create a new dtab.

    Create a new dtab. Returns a DtabNamespaceAlreadyExistsException if a dtab already exists with that namespace.

    Definition Classes
    K8sDtabStore → DtabStore
  8. def delete(ns: String): Future[Unit]

    Permalink

    Deletes a dtab.

    Deletes a dtab. Returns a DtabNamespaceDoesNotExistException if the namespace does not exist.

    Definition Classes
    K8sDtabStore → DtabStore
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def list(): Activity[Set[Ns]]

    Permalink

    List all Dtab namespaces

    List all Dtab namespaces

    Definition Classes
    K8sDtabStore → DtabStore
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def observe(ns: String): Activity[Option[VersionedDtab]]

    Permalink

    Watch a dtab and its version.

    Watch a dtab and its version.

    Definition Classes
    K8sDtabStore → DtabStore
  20. def put(ns: String, dtab: Dtab): Future[Unit]

    Permalink

    Update an existing dtab regardless of the current version or create a new dtab if one doesn't already exist.

    Update an existing dtab regardless of the current version or create a new dtab if one doesn't already exist.

    Definition Classes
    K8sDtabStore → DtabStore
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def update(ns: String, dtab: Dtab, version: Buf): Future[Unit]

    Permalink

    Update an existing dtab.

    Update an existing dtab. Returns a DtabVersionMismatchException if the supplied version doesn't match the current version.

    Definition Classes
    K8sDtabStore → DtabStore
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val watchApi: NsApi

    Permalink

Inherited from DtabStore

Inherited from AnyRef

Inherited from Any

Ungrouped