Documentation ¶
Index ¶
Constants ¶
View Source
const ( GenesisFilename = "genesis.json" PVStateFilename = "priv_validator_state.json" PVKeyFilename = "priv_validator_key.json" NodeKeyFilename = "node_key.json" ConfigDir = "config" DataDir = "data" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { WithName(string) Builder WithPath(string) Builder WithCount(uint) Builder WithAkashGenesis(*types.Genesis) Builder Create() (Context, error) }
Builder is the config builder
type Context ¶
type Context interface { Name() string Path() string Nodes() []*Node Genesis() *tmtypes.GenesisDoc }
func NewContext ¶
func NewContext(name, path string, genesis *tmtypes.GenesisDoc, nodes ...*Node) Context
type Node ¶ added in v0.0.10
type Node struct { Name string //FilePV is file pvs FilePV *privval.FilePV NodeKey *p2p.NodeKey Peers []*Node }
Node represents an Akash node
type Writer ¶
type Writer interface {
Write() error
}
func NewDirWriter ¶
func NewHelmWriter ¶
func NewMultiDirWriter ¶
func NewMultiHelmWriter ¶
Click to show internal directories.
Click to hide internal directories.