env

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

View Source
const (
	EnvFileVar   = "DEVNET_ENV_FILE"
	ChainNameVar = "DEVNET_CHAIN_NAME"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainConfig

type ChainConfig struct {
	// contains filtered or unexported fields
}

func (*ChainConfig) GetEnv

func (c *ChainConfig) GetEnv() (*ChainEnv, error)

type ChainEnv

type ChainEnv struct {
	Motd    string
	EnvVars map[string]string
}

type DevnetEnv

type DevnetEnv struct {
	// contains filtered or unexported fields
}

func LoadDevnetEnv

func LoadDevnetEnv(devnetFile string) (*DevnetEnv, error)

func (*DevnetEnv) GetChain

func (d *DevnetEnv) GetChain(chainName string) (*ChainConfig, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL