UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

12 lines (11 loc) 538 B
import { IResponse, IContext } from '../../types'; import { IKubernetesClusterNodePool } from '..'; export interface IGetNodePoolApiResponse { node_pool: IKubernetesClusterNodePool; } export interface IGetNodePoolApiRequest { kubernetes_cluster_id: string; node_pool_id: string; } export type GetNodePoolResponse = IResponse<IGetNodePoolApiResponse>; export declare const getNodePool: ({ httpClient, }: IContext) => ({ kubernetes_cluster_id, node_pool_id, }: IGetNodePoolApiRequest) => Promise<Readonly<GetNodePoolResponse>>;