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 Address string NodeKey string StaticNodes string Port int RPCPort int PrometheusPort int IP string EthStats string Name string DockerImageId string UseFastHttp bool NetworkId int NodeType string AddPrivKey bool }
func NewValidator ¶
Click to show internal directories.
Click to hide internal directories.