Trait

com.krrrr38.mackerel4s.api

HostAPI

Related Doc: package api

Permalink

trait HostAPI extends AnyRef

Self Type
HostAPI with MackerelClientBase
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HostAPI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createHost(name: HostName, roleFullnames: Seq[RoleFullname] = Nil): CreateHostBuilder

    Permalink

    register a new host.

    register a new host.

    name

    host name

    roleFullnames

    set host roles which are constructed lik "<service-name>:<role-name>". (default Nil)

    See also

    http://help-ja.mackerel.io/entry/spec/api/v0#host-create

  7. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def getHost(hostId: HostID): GetHostBuilder

    Permalink

    get a host info.

  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. def listHosts(service: String, roles: Seq[RoleName] = Nil, statuses: Seq[HostStatus] = Nil): ListHostsBuilder

    Permalink

    get hosts info in a service.

    get hosts info in a service.

    service

    service name

    roles

    role name (default Nil)

    statuses

    host status list (default Nil)

    See also

    http://help-ja.mackerel.io/entry/spec/api/v0#hosts-list

  15. def listHosts(statuses: Seq[HostStatus]): ListHostsBuilder

    Permalink

    get hosts info.

    get hosts info.

    statuses

    host status list

    See also

    http://help-ja.mackerel.io/entry/spec/api/v0#hosts-list

  16. def listHosts: ListHostsBuilder

    Permalink

    get hosts info.

  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def retireHost(hostId: HostID): RetireHostBuilder

    Permalink

    retire a host

  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def updateHost(hostId: HostID, name: HostName, meta: JObject = JObject(), interfaces: Seq[Interface] = Nil, roleFullnames: Seq[RoleFullname] = Nil): CreateHostBuilder

    Permalink

    update a host info.

    update a host info.

    [NOTICE] name, meta and interfaces are overwritten. but if you set roleFullnames, just add them.

    hostId

    target host id

    name

    update host name

    meta

    update meta information

    interfaces

    update interfaces

    roleFullnames

    additional role names

    See also

    http://help-ja.mackerel.io/entry/spec/api/v0#host-update

  24. def updateHostStatus(hostId: HostID, status: HostStatus): UpdateHostStatusBuilder

    Permalink

    update a host status info.

    update a host status info.

    status

    "standby", "working", "maintenance" or "poweroff"

    See also

    http://help-ja.mackerel.io/entry/spec/api/v0#host-status-update

  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped