Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeList

Holds result of nodes query

Hierarchy

  • NodeList

Index

Constructors

constructor

  • Returns NodeList

  • Parameters

    Returns NodeList

Methods

getIndex

  • getIndex(): number
  • Set Consul index, a unique identifier representing the current state of the requested list of nodes

    Returns number

getList

  • Set list of nodes

    Returns Node[]

setIndex

  • Set Consul index, a unique identifier representing the current state of the requested list of nodes

    Parameters

    • index: number

    Returns NodeList

setList

  • Set list of nodes

    Parameters

    Returns NodeList

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc