class CheckOptions extends AnyRef

Options used to register checks in Consul.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CheckOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CheckOptions(_asJava: ext.consul.CheckOptions)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asJava: ext.consul.CheckOptions
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getDeregisterAfter: String
  12. def getGrpc: String
  13. def getHttp: String
  14. def getId: String
  15. def getInterval: String
  16. def getName: String
  17. def getNotes: String
  18. def getScriptArgs: Buffer[String]
  19. def getServiceId: String
  20. def getStatus: CheckStatus
  21. def getTcp: String
  22. def getTtl: String
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def isGrpcTls: Boolean
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isTlsSkipVerify: Boolean
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def setDeregisterAfter(value: String): CheckOptions

    Set deregister timeout.

    Set deregister timeout. This is optional field, which is a timeout in the same time format as Interval and TTL. If a check is associated with a service and has the critical state for more than this configured value, then its associated service (and all of its associated checks) will automatically be deregistered. The minimum timeout is 1 minute, and the process that reaps critical services runs every 30 seconds, so it may take slightly longer than the configured timeout to trigger the deregistration. This should generally be configured with a timeout that's much, much longer than any expected recoverable outage for the given service.

  31. def setGrpc(value: String): CheckOptions

    Specifies a gRPC check's endpoint that supports the standard gRPC health checking protocol.

    Specifies a gRPC check's endpoint that supports the standard gRPC health checking protocol. The state of the check will be updated at the given Interval by probing the configured endpoint. The endpoint must be represented as address:port/service

  32. def setGrpcTls(value: Boolean): CheckOptions

    Specifies whether to use TLS for this gRPC health check.

    Specifies whether to use TLS for this gRPC health check. If TLS is enabled, then by default, a valid TLS certificate is expected. Certificate verification can be turned off by setting TLSSkipVerify to true.

  33. def setHttp(value: String): CheckOptions

    Set HTTP address to check.

    Set HTTP address to check. Also you should set checking interval

  34. def setId(value: String): CheckOptions

    Set check ID

  35. def setInterval(value: String): CheckOptions

    Set checking interval

  36. def setName(value: String): CheckOptions

    Set check name.

    Set check name. This is mandatory field

  37. def setNotes(value: String): CheckOptions

    Set check notes

  38. def setScriptArgs(value: Buffer[String]): CheckOptions

    Set scriptArgs.

    Set scriptArgs. Also you should set checking interval

  39. def setServiceId(value: String): CheckOptions

    Set the service ID to associate the registered check with an existing service provided by the agent.

  40. def setStatus(value: CheckStatus): CheckOptions

    Set the check status to specify the initial state of the health check.

  41. def setTcp(value: String): CheckOptions

    Set TCP address to check.

    Set TCP address to check. Also you should set checking interval

  42. def setTlsSkipVerify(value: Boolean): CheckOptions

    Specifies if the certificate for an HTTPS check should not be verified.

  43. def setTtl(value: String): CheckOptions

    Set Time to Live of check.

  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped