Versions in this module Expand all Collapse all v1 v1.3.3 Mar 28, 2024 Changes in this version + var ErrConsensusClientNotValid = errors.New("invalid consensus client") + var ErrEmptyData = errors.New("data is nil") + var ErrExecutionClientNotValid = errors.New("invalid execution client") + var ErrTemplateNotFound = errors.New("template not found") + var ErrUnableToGetClientsInfo = errors.New("unable to get clients information") + var ErrValidatorClientNotValid = errors.New("invalid validator client") + func CleanDockerCompose(dockerComposePath string) error + func CleanEnvFile(envFilePath string) error + func CleanGenerated(genPath string) error + func ComposeFile(gd *GenData, at io.Writer) error + func EnvFile(gd *GenData, at io.Writer) error + type ComposeData struct + Networks *Networks + Services *Services + Version string + func ParseCompose(path string) (*ComposeData, error) + type ConfigConsensus struct + Command []string + ContainerName string + Image string + Logging *Logging + Volumes []string + type Consensus struct + Command []string + ContainerName string + Expose []int + Image string + Logging *Logging + Networks []string + Ports []string + Restart string + StopGracePeriod string + Volumes []string + type CustomConfigsSources struct + ChainSpecSrc string + DeployBlockSrc string + GenesisSrc string + NetworkConfigSrc string + type CustomNetworkConfigsData struct + ChainSpecPath string + DeployBlockPath string + GenesisPath string + NetworkConfigPath string + func CustomNetworkConfigs(generationPath, network string, sources CustomConfigsSources) (CustomNetworkConfigsData, error) + type DependsOn struct + ValidatorImport *ValidatorImportDependsOn + type DockerComposeData struct + CCBootnodes string + CCBootnodesList []string + CheckpointSyncUrl string + ClAdditionalApiPort uint16 + ClApiPort uint16 + ClCheckpointSyncUrl bool + ClDiscoveryPort uint16 + ClExtraFlags []string + ClMetricsPort uint16 + ContainerTag string + CustomChainSpecPath string + CustomConsensusConfigs bool + CustomDeployBlock bool + CustomDeployBlockPath string + CustomGenesisPath string + CustomNetwork bool + CustomNetworkConfigPath string + ECBootnodes string + ElApiPort uint16 + ElAuthPort uint16 + ElDiscoveryPort uint16 + ElExtraFlags []string + ElMetricsPort uint16 + ElWsPort uint16 + FallbackELUrls []string + FeeRecipient string + GID int + LoggingDriver string + MapAllPorts bool + Mev bool + MevBoostEndpoint string + MevBoostOnValidator bool + MevImage string + MevPort uint16 + Network string + Services []string + SplittedNetwork bool + UID int + VLStartGracePeriod uint + VlExtraFlags []string + VlMetricsPort uint16 + XeeVersion bool + func (d DockerComposeData) WithConsensusClient() bool + func (d DockerComposeData) WithValidatorClient() bool + type EnvData struct + CcDataDir string + CcImage string + CheckpointSyncUrl string + ConsensusAdditionalApiURL string + ConsensusApiURL string + ConsensusClientName string + ElDataDir string + ElImage string + ExecutionApiURL string + ExecutionAuthURL string + ExecutionEngineName string + FeeRecipient string + Graffiti string + JWTSecretPath string + KeystoreDir string + Mev bool + RelayURLs string + Services []string + VlDataDir string + VlImage string + func (d EnvData) WithMevBoostClient() bool + type Execution struct + Command []string + ContainerName string + Expose []int + Image string + Logging *Logging + Networks []string + Ports []string + Restart string + StopGracePeriod string + Volumes []string + type GenData struct + CCBootnodes []string + CheckpointSyncUrl string + ClExtraFlags []string + ConsensusApiUrl string + ConsensusClient *clients.Client + ContainerTag string + CustomChainSpecPath string + CustomDeployBlock string + CustomDeployBlockPath string + CustomGenesisPath string + CustomNetworkConfigPath string + ECBootnodes []string + ElExtraFlags []string + ExecutionApiUrl string + ExecutionAuthUrl string + ExecutionClient *clients.Client + FallbackELUrls []string + FeeRecipient string + Graffiti string + JWTSecretPath string + LatestVersion bool + LoggingDriver string + MapAllPorts bool + Mev bool + MevBoostEndpoint string + MevBoostOnValidator bool + MevBoostService bool + MevImage string + Network string + Ports map[string]uint16 + RelayURLs []string + Services []string + VLStartGracePeriod uint + ValidatorClient *clients.Client + VlExtraFlags []string + type Logging struct + Driver string + Options *Options + type Mevboost struct + ContainerName string + Entrypoint []string + Image string + Networks []string + Restart string + type Networks struct + Sedge *Sedge + type Options struct + MaxFile string + MaxSize string + type Sedge struct + Name string + type Services struct + ConfigConsensus *ConfigConsensus + Consensus *Consensus + Execution *Execution + Mevboost *Mevboost + Validator *Validator + ValidatorBlocker *ValidatorBlocker + type Validator struct + Command []string + ContainerName string + DependsOn *DependsOn + Image string + Logging *Logging + Networks []string + Ports []string + Volumes []string + type ValidatorBlocker struct + Command string + ContainerName string + Image string + type ValidatorImportDependsOn struct + Condition string