Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func NewPlatformFactory() *platformFactory
 - type Extension
 - type Platform
 - func (p *Platform) AddExtension(ex Extension)
 - func (p *Platform) Cleanup()
 - func (p *Platform) ConfigDir() string
 - func (p *Platform) GenerateArtifacts()
 - func (p *Platform) GenerateConfigTree()
 - func (p *Platform) GetContext() api.Context
 - func (p *Platform) GrafanaPort() int
 - func (p *Platform) HyperledgerExplorer() bool
 - func (p *Platform) HyperledgerExplorerPort() int
 - func (p *Platform) JaegerAPI() api_v2.QueryServiceClient
 - func (p *Platform) Load()
 - func (p *Platform) Members() []grouper.Member
 - func (p *Platform) Name() string
 - func (p *Platform) NetworkID() string
 - func (p *Platform) OPTL() bool
 - func (p *Platform) OPTLPort() int
 - func (p *Platform) PostRun(load bool)
 - func (p *Platform) PrometheusAPI() prom_v1.API
 - func (p *Platform) PrometheusGrafana() bool
 - func (p *Platform) PrometheusPort() int
 - func (p *Platform) Type() string
 
- type Topology
 - func (t *Topology) EnableHyperledgerExplorer()
 - func (t *Topology) EnableOPTL()
 - func (t *Topology) EnablePrometheusGrafana()
 - func (t *Topology) Name() string
 - func (t *Topology) SetGrafanaPort(port int)
 - func (t *Topology) SetHyperledgerExplorerPort(port int)
 - func (t *Topology) SetOPTLPort(port int)
 - func (t *Topology) SetPrometheusPort(port int)
 - func (t *Topology) Type() string
 
Constants ¶
      View Source
      
  
const (
	TopologyName = "monitoring"
)
    Variables ¶
This section is empty.
Functions ¶
func NewPlatformFactory ¶
func NewPlatformFactory() *platformFactory
Types ¶
type Extension ¶
type Extension interface {
	CheckTopology()
	GenerateArtifacts()
	PostRun(load bool)
}
    type Platform ¶
type Platform struct {
	Context api.Context
	RootDir    string
	Prefix     string
	Extensions []Extension
	// contains filtered or unexported fields
}
    func (*Platform) AddExtension ¶
func (*Platform) GenerateArtifacts ¶
func (p *Platform) GenerateArtifacts()
func (*Platform) GenerateConfigTree ¶
func (p *Platform) GenerateConfigTree()
func (*Platform) GetContext ¶
func (*Platform) GrafanaPort ¶
func (*Platform) HyperledgerExplorer ¶
func (*Platform) HyperledgerExplorerPort ¶
func (*Platform) JaegerAPI ¶ added in v0.4.1
func (p *Platform) JaegerAPI() api_v2.QueryServiceClient
func (*Platform) PrometheusAPI ¶ added in v0.4.0
func (*Platform) PrometheusGrafana ¶
func (*Platform) PrometheusPort ¶
type Topology ¶
type Topology struct {
	TopologyName            string `yaml:"name,omitempty"`
	TopologyType            string `yaml:"type,omitempty"`
	HyperledgerExplorer     bool   `yaml:"hyperledger-explorer,omitempty"`
	HyperledgerExplorerPort int    `yaml:"hyperledger-explorer-port,omitempty"`
	PrometheusGrafana       bool   `yaml:"prometheus-grafana,omitempty"`
	PrometheusPort          int    `yaml:"prometheus-port,omitempty"`
	GrafanaPort             int    `yaml:"grafana-port,omitempty"`
	OPTL                    bool   `yaml:"optl,omitempty"`
	OPTLPort                int    `yaml:"optl-port,omitempty"`
	JaegerQueryPort         int    `yaml:"jaeger-query-port"`
}
    func NewTopology ¶
func NewTopology() *Topology
func (*Topology) EnableHyperledgerExplorer ¶
func (t *Topology) EnableHyperledgerExplorer()
func (*Topology) EnableOPTL ¶ added in v0.3.0
func (t *Topology) EnableOPTL()
func (*Topology) EnablePrometheusGrafana ¶
func (t *Topology) EnablePrometheusGrafana()
func (*Topology) SetGrafanaPort ¶
func (*Topology) SetHyperledgerExplorerPort ¶
func (*Topology) SetOPTLPort ¶ added in v0.3.0
func (*Topology) SetPrometheusPort ¶
 Click to show internal directories. 
   Click to hide internal directories.