UNPKG

@spheron/protocol-sdk

Version:
18 lines 2.31 kB
declare enum Tier { One = 0, Two = 1, Three = 2, Four = 3, Five = 4, Six = 5, Seven = 6 } export declare const yamlToOrderDetails: (yamlString: string) => any; export declare const getKeysByTierValues: (tierValues: Tier[]) => string[]; export declare const getKeysForTiersString: (tiersString: string) => string[]; export declare const exportToYaml: (obj: any, orderServices: any) => string; export declare const getManifestIcl: (yamlInput: any) => any; export declare const sampleIcl = "# Welcome to the Spheron Network! \uD83D\uDE80\u2601\n# This file is called a Infrastructure Composition Language (ICL)\n# ICL is a human friendly data standard for declaring deployment attributes.\n# The ICL file is a \"form\" to request resources from the Network.\n# ICL is compatible with the YAML standard and similar to Docker Compose files.\n\n---\nversion: \"1.0\"\nservices:\n gpu-test:\n image: ghcr.io/open-webui/open-webui:ollama\n expose:\n - port: 8888\n as: 80\n to:\n - global: true\n env:\n - TEST=test\nprofiles:\n name: hello-world\n duration: 2min\n tier:\n - community\n compute:\n gpu-test:\n resources:\n cpu:\n units: 1\n memory:\n size: 20Gi\n storage:\n - size: 100Gi\n gpu:\n units: 1\n attributes:\n vendor:\n nvidia:\n - model: a40\n - model: a10\n - model: rtx4090\n - model: rtx3090Ti\n - model: rtx4080\n - model: rtx3090\n - model: h100\n - model: a100\n - model: v100\n - model: rtx3060\n - model: p100\n - model: rtx4000\n - model: rtxa4000\n - model: rtx2070\n - model: gtx1080\n - model: 1080Ti\n placement:\n westcoast:\n attributes:\n region: us-central\n pricing:\n gpu-test:\n denom: USDT\n amount: 50000000\ndeployment:\n gpu-test:\n westcoast:\n profile: gpu-test\n count: 1\n"; export declare const getRegion: (specs: any) => string | undefined; export {}; //# sourceMappingURL=deployment.d.ts.map