UNPKG

@zombienet/orchestrator

Version:

ZombieNet aim to be a testing framework for substrate based blockchains, providing a simple cli tool that allow users to spawn and test ephemeral Substrate based networks

35 lines (34 loc) 981 B
import { Client } from "../../client"; import { Container, Volume } from "./types"; export declare class TempoResource { private readonly namespace; private readonly configPath; private readonly dataPath; constructor(client: Client, namespace: string); generateSpec(): Promise<{ apiVersion: string; kind: string; metadata: { name: string; namespace: string; labels: { "zombie-role": string; app: string; "zombie-ns": string; }; }; spec: { hostname: string; restartPolicy: string; volumes: Volume[]; containers: Container[]; }; }>; private createVolumeDirectories; private generateTempoConfig; private generateVolumes; private generateVolumesMounts; private generateContainersPorts; private generateContainers; private generatePodSpec; }