UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

20 lines 639 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createNodePool = void 0; const createNodePool = ({ httpClient, }) => ({ auto_scale, count, kubernetes_cluster_id, labels, max_nodes, min_nodes, name, size, tags, taints, }) => { const url = `/kubernetes/clusters/${kubernetes_cluster_id}/node_pools`; const body = { auto_scale, count, labels, max_nodes, min_nodes, name, size, tags, taints, }; return httpClient.post(url, body); }; exports.createNodePool = createNodePool; //# sourceMappingURL=create-node-pool.js.map