class K8sOperations extends ComponentBase

Wraps Kubernetes Operations

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. K8sOperations
  2. ComponentBase
  3. AkkaHelper
  4. Component
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new K8sOperations(config: Config, rootClient: KubernetesClient)(implicit akkaRuntime: AkkaRuntime)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def actorSystem: ActorSystem
    Attributes
    protected
    Definition Classes
    AkkaHelper
  5. def addShutdownHook(f: => Future[_]): Unit
    Attributes
    protected
    Definition Classes
    ComponentBase
  6. implicit val akkaRuntime: AkkaRuntime
    Attributes
    protected
    Definition Classes
    ComponentBase → Component
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def byName[T <: ObjectResource](namespace: Option[String], name: String)(implicit format: Format[T], resourceDefinition: ResourceDefinition[T]): Future[Option[T]]
  9. def clock: Clock
    Attributes
    protected
    Definition Classes
    AkkaHelper
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def clusterServer: Uri

    Figures out the name/ip of Kubernetes we are talking to.

    Figures out the name/ip of Kubernetes we are talking to. (For ingress interpolation)

  12. def config: com.typesafe.config.Config
    Attributes
    protected
    Definition Classes
    AkkaHelper
  13. def create[O <: ObjectResource](namespace: Option[String], obj: O)(implicit fmt: Format[O], rd: ResourceDefinition[O]): Future[O]

    Create an object in Kubernetes.

  14. def createOrReplace[O <: ObjectResource](namespace: Option[String], obj: O)(implicit fmt: Format[O], rd: ResourceDefinition[O]): Future[O]

    Creates or replaces

  15. def delete[O <: ObjectResource](namespace: Option[String], name: String, gracePeriodSecondsOverride: Option[Int] = None)(implicit rd: ResourceDefinition[O]): Future[Unit]

    Delete an object in Kubernetes.

  16. def deploymentSetReplicas(namespace: Option[String], deploymentName: String, replicas: Int): Future[Deployment]
  17. def ensureNamespace(namespace: String): Future[Namespace]

    Ensure the existence of a namespace, and returns a kubernetes client for this namespace.

  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def errorHandling[T](what: => String, silent: Boolean = false)(f: => Future[T]): Future[T]

    Retries an operation on Error 500 Errors.

    Retries an operation on Error 500 Errors.

    what

    name for the operation executed

    silent

    if true, when do not log on regular errors

    f

    the operation to run

  21. implicit def executionContext: ExecutionContext
    Attributes
    protected
    Definition Classes
    AkkaHelper
  22. def getAllManagedPendingPods(): Future[Map[String, List[Pod]]]

    Returns all Pods which are managed by this executor and which are in pending state.

  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def jsonPatch[O <: ObjectResource](namespace: Option[String], name: String, jsonRequest: JsValue)(implicit fmt: Format[O], rd: ResourceDefinition[O]): Future[O]
  27. def listSelected[T <: KListItem](namespace: Option[String], labelFilter: Seq[(String, String)])(implicit format: Format[ListResource[T]], rd: ResourceDefinition[ListResource[T]]): Future[ListResource[T]]
  28. final val logger: Logger
    Attributes
    protected
    Definition Classes
    ComponentBase
  29. implicit def materializer: Materializer
    Attributes
    protected
    Definition Classes
    AkkaHelper
  30. def maybeCreate[O <: ObjectResource](namespace: Option[String], maybeObj: Option[O])(implicit fmt: Format[O], rd: ResourceDefinition[O]): Future[Option[O]]

    Like create, but ignores argument if it's None.

  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def sendKillPatch[T <: ObjectResource](name: String, namespace: Option[String], reason: String)(implicit fmt: Format[T], rd: ResourceDefinition[T]): Future[Unit]

    Add Kill-Annotations to some items.

  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ComponentBase

Inherited from AkkaHelper

Inherited from Component

Inherited from AnyRef

Inherited from Any

Ungrouped