Versions in this module Expand all Collapse all v0 v0.3.0 Oct 5, 2023 Changes in this version + type Monitoring struct + MetricsType string + TLS bool + TracingEndpoint string + TracingType string + type Templates struct + Core string + Crypto string + Node string + func (t *Templates) CoreTemplate() string + func (t *Templates) CryptoTemplate() string + func (t *Templates) NodeTemplate() string type Topology + Monitoring Monitoring + Templates Templates + func (t *Topology) DisablePrometheusTLS() + func (t *Topology) EnableOPTLTracing() v0.2.0 Dec 7, 2022 Changes in this version type Topology + func (t *Topology) AddSDK(sdk api.SDK) v0.1.0 Nov 16, 2022 Changes in this version + const ListenPort + const P2PPort + const TopologyName + const ViewPort + const WebPort + func GetKVSOrionCreator(peer *node2.Peer) string + func GetKVSOrionDatabase(peer *node2.Peer) string + func GetKVSOrionNetwork(peer *node2.Peer) string + func GetPersistenceType(peer *node2.Peer) string + func PeerPortNames() []api.PortName + func WithAlias(alias string) node2.Option + func WithOrionPersistence(network, db, creator string) node.Option + type Builder struct + func (c *Builder) Build(path string) string + func (c *Builder) FSCCLI() string + type BuilderClient interface + Build func(path string) string + type Logging struct + Format string + Spec string + type Platform struct + Builder *Builder + Context api.Context + EventuallyTimeout time.Duration + NetworkID string + Organizations []*node2.Organization + Peers []*node2.Peer + Resolvers []*Resolver + Topology *Topology + func NewPlatform(Registry api.Context, t api.Topology, builderClient BuilderClient) *Platform + func (p *Platform) AdminLocalMSPIdentityCert(peer *node2.Peer) string + func (p *Platform) AdminLocalMSPPrivateKey(peer *node2.Peer) string + func (p *Platform) BootstrapNode(me *node2.Peer) string + func (p *Platform) BootstrapViewNodeGroupRunner() ifrit.Runner + func (p *Platform) CACertsBundlePath() string + func (p *Platform) CheckTopology() + func (p *Platform) Cleanup() + func (p *Platform) ClientAuthRequired() bool + func (p *Platform) ConcatenateTLSCACertificates() + func (p *Platform) CryptoConfigPath() string + func (p *Platform) CryptoPath() string + func (p *Platform) Cryptogen(command common.Command) (*gexec.Session, error) + func (p *Platform) FSCCLI(command common.Command) (*gexec.Session, error) + func (p *Platform) FSCNodeGroupRunner() ifrit.Runner + func (p *Platform) FSCNodeRunner(node *node2.Peer, env ...string) *runner2.Runner + func (p *Platform) GenerateArtifacts() + func (p *Platform) GenerateCmd(output io.Writer, node *node2.Peer) string + func (p *Platform) GenerateConfigTree() + func (p *Platform) GenerateCoreConfig(peer *node2.Peer) + func (p *Platform) GenerateCryptoConfig() + func (p *Platform) GenerateResolverMap() + func (p *Platform) GetAdminSigningIdentity(peer *node2.Peer) (view.SigningIdentity, error) + func (p *Platform) GetSigningIdentity(peer *node2.Peer) (view.SigningIdentity, error) + func (p *Platform) InitClients() + func (p *Platform) Load() + func (p *Platform) LocalMSPIdentityCert(peer *node2.Peer) string + func (p *Platform) LocalMSPPrivateKey(peer *node2.Peer) string + func (p *Platform) Members() []grouper.Member + func (p *Platform) MetricsAggregator() *runner2.Runner + func (p *Platform) Name() string + func (p *Platform) NodeClientConfigPath(peer *node2.Peer) string + func (p *Platform) NodeCmdDir(peer *node2.Peer) string + func (p *Platform) NodeCmdPackage(peer *node2.Peer) string + func (p *Platform) NodeCmdPath(peer *node2.Peer) string + func (p *Platform) NodeConfigPath(peer *node2.Peer) string + func (p *Platform) NodeDir(peer *node2.Peer) string + func (p *Platform) NodeKVSDir(peer *node2.Peer) string + func (p *Platform) NodeLocalCertPath(node *node2.Peer) string + func (p *Platform) NodeLocalPrivateKeyPath(node *node2.Peer) string + func (p *Platform) NodeLocalTLSDir(peer *node2.Peer) string + func (p *Platform) NodePort(node *node2.Peer, portName api.PortName) uint16 + func (p *Platform) OperationAddress(peer *node2.Peer) string + func (p *Platform) Organization(orgName string) *node2.Organization + func (p *Platform) Peer(orgName, peerName string) *node2.Peer + func (p *Platform) PeerAddress(peer *node2.Peer, portName api.PortName) string + func (p *Platform) PeerOrgs() []*node2.Organization + func (p *Platform) PeerPort(peer *node2.Peer, portName api.PortName) uint16 + func (p *Platform) PeersInOrg(orgName string) []*node2.Peer + func (p *Platform) PostRun(bool) + func (p *Platform) StartSession(cmd *exec.Cmd, name string) (*gexec.Session, error) + func (p *Platform) Type() string + type Resolver struct + Addresses map[api.PortName]string + Aliases []string + Domain string + Identity ResolverIdentity + Name string + Port int + type ResolverIdentity struct + ID string + Path string + type Topology struct + GRPCLogging bool + LogToFile bool + Logging *Logging + MetricsProvider string + Nodes []*node.Node + TopologyName string + TopologyType string + TraceAggregator string + TracingProvider string + func NewTopology() *Topology + func (t *Topology) AddNodeByName(name string) *node.Node + func (t *Topology) AddNodeFromTemplate(name string, template *node.Node) *node.Node + func (t *Topology) EnableLogToFile() + func (t *Topology) EnablePrometheusMetrics() + func (t *Topology) EnableUDPTracing() + func (t *Topology) ListNodes(ids ...string) []*node.Node + func (t *Topology) Name() string + func (t *Topology) NewTemplate(name string) *node.Node + func (t *Topology) SetBootstrapNode(n *node.Node) + func (t *Topology) SetLogging(spec, format string) + func (t *Topology) Type() string