Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClusterWaiter

Hierarchy

  • ClusterWaiter

Constructors

Properties

Methods

Constructors

constructor

Properties

Private client

Private Optional Readonly config

Methods

forCluster

  • Waits forCluster till it reaches any of the provided states

    Parameters

    • request: GetClusterRequest

      the request to send

    • Rest ...targetStates: LifecycleStates[]

      the desired states to wait for. The waiter will return once the resource reaches any of the provided states

    Returns Promise<GetClusterResponse | null>

    response returns GetClusterResponse | null (null in case of 404 response)