Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constellation ¶
type Constellation struct { Identity int Name string IP string Port int OtherNodes string PublicKey string PrivateKey string SocketPath string ConfigPath string Folder string KeyPath string }
func (Constellation) Host ¶
func (c Constellation) Host() string
func (*Constellation) SetOtherNodes ¶
func (c *Constellation) SetOtherNodes(nodes []string)
func (Constellation) String ¶
func (c Constellation) String() string
type GrafanaService ¶
type GrafanaService struct {
IP string
}
func NewGrafanaService ¶
func NewGrafanaService(ip string) *GrafanaService
func (GrafanaService) String ¶
func (gf GrafanaService) String() string
type KlayStats ¶
func NewEthStats ¶
type PrometheusConfig ¶
type PrometheusConfig struct {
Targets []string
}
prometheus server config
func NewPrometheusConfig ¶
func NewPrometheusConfig(targetHostNames []string) PrometheusConfig
func (PrometheusConfig) String ¶
func (promConfig PrometheusConfig) String() string
type PrometheusService ¶
type PrometheusService struct { Config PrometheusConfig Name string IP string }
docker-compose service
func NewPrometheusService ¶
func NewPrometheusService(ip string, targetHostNames []string) *PrometheusService
func (PrometheusService) String ¶
func (prom PrometheusService) String() string
type TxGenOption ¶
type TxGenService ¶
type TxGenService struct { Name string IP string TargetUrl string Rate int ThreadSize int ConnSize int Duration string }
func NewTxGenService ¶
func NewTxGenService(ip string, targetUrl string, opt TxGenOption) *TxGenService
func (TxGenService) String ¶
func (s TxGenService) String() string
type Validator ¶
type Validator struct { Identity int Genesis string SCGenesis string Address string NodeKey string StaticNodes string BridgeNodes string Port int RPCPort int PrometheusPort int IP string EthStats string Name string DockerImageId string UseFastHttp bool NetworkId int ParentChainId int NodeType string AddPrivKey bool }
func NewValidator ¶
func NewValidator(identity int, genesis, scGenesis string, nodeAddress string, nodeKey string, staticNodes, bridgeNodes string, port int, rpcPort int, prometheusPort int, ethStats string, ip string, dockerImageId string, useFastHttp bool, networkId, parentChainId int, namePrefix string, nodeType string, addPrivKey bool) *Validator
Click to show internal directories.
Click to hide internal directories.