UNPKG

@starship-ci/generator

Version:

Kubernetes manifest generator for Starship deployments

23 lines (22 loc) 802 B
import { Chain, StarshipConfig } from '@starship-ci/types'; import { StatefulSet } from 'kubernetesjs'; import { IGenerator } from '../../../types'; /** * Generates the StatefulSet for Ethereum chain * Based on the Helm template: chains/eth/statefulsets.yaml */ export declare class EthereumStatefulSetGenerator implements IGenerator { private config; private chain; constructor(chain: Chain, config: StarshipConfig); generate(): Array<StatefulSet>; private createInitContainers; private createInitGenesisBeaconContainer; private createInitGenesisExecutionContainer; private createMainContainers; private createGethContainer; private createBeaconChainContainer; private createValidatorContainer; private createVolumes; private getNodeResources; }