Documentation ¶
Index ¶
- Constants
- type CryptoMaterialGenerator
- func (d *CryptoMaterialGenerator) Cryptogen(command common.Command) (*gexec.Session, error)
- func (d *CryptoMaterialGenerator) Generate(tms *topology.TMS, n *node.Node, wallet string, names ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) GenerateArtifacts(output string)
- func (d *CryptoMaterialGenerator) GenerateAuditorIdentities(tms *topology.TMS, n *node.Node, auditors ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) GenerateCertifierIdentities(tms *topology.TMS, n *node.Node, certifiers ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) GenerateCryptoConfig(output string, layout *Layout)
- func (d *CryptoMaterialGenerator) GenerateIssuerIdentities(tms *topology.TMS, n *node.Node, issuers ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) GenerateOwnerIdentities(tms *topology.TMS, n *node.Node, owners ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) NextColor() string
- func (d *CryptoMaterialGenerator) Setup(tms *topology.TMS) (string, error)
- func (d *CryptoMaterialGenerator) StartSession(cmd *exec.Cmd, name string) (*gexec.Session, error)
- type FSCPlatform
- type Layout
- type Peer
Constants ¶
View Source
const (
DefaultCryptoTemplate = `` /* 617-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptoMaterialGenerator ¶
type CryptoMaterialGenerator struct { TokenPlatform generators.TokenPlatform EventuallyTimeout time.Duration ColorIndex int Builder *components.Builder }
func NewCryptoMaterialGenerator ¶
func NewCryptoMaterialGenerator(tokenPlatform generators.TokenPlatform, builder api.Builder) *CryptoMaterialGenerator
func (*CryptoMaterialGenerator) Generate ¶ added in v0.3.0
func (d *CryptoMaterialGenerator) Generate(tms *topology.TMS, n *node.Node, wallet string, names ...string) []generators.Identity
func (*CryptoMaterialGenerator) GenerateArtifacts ¶
func (d *CryptoMaterialGenerator) GenerateArtifacts(output string)
func (*CryptoMaterialGenerator) GenerateAuditorIdentities ¶
func (d *CryptoMaterialGenerator) GenerateAuditorIdentities(tms *topology.TMS, n *node.Node, auditors ...string) []generators.Identity
func (*CryptoMaterialGenerator) GenerateCertifierIdentities ¶
func (d *CryptoMaterialGenerator) GenerateCertifierIdentities(tms *topology.TMS, n *node.Node, certifiers ...string) []generators.Identity
func (*CryptoMaterialGenerator) GenerateCryptoConfig ¶
func (d *CryptoMaterialGenerator) GenerateCryptoConfig(output string, layout *Layout)
func (*CryptoMaterialGenerator) GenerateIssuerIdentities ¶
func (d *CryptoMaterialGenerator) GenerateIssuerIdentities(tms *topology.TMS, n *node.Node, issuers ...string) []generators.Identity
func (*CryptoMaterialGenerator) GenerateOwnerIdentities ¶
func (d *CryptoMaterialGenerator) GenerateOwnerIdentities(tms *topology.TMS, n *node.Node, owners ...string) []generators.Identity
func (*CryptoMaterialGenerator) NextColor ¶
func (d *CryptoMaterialGenerator) NextColor() string
func (*CryptoMaterialGenerator) Setup ¶
func (d *CryptoMaterialGenerator) Setup(tms *topology.TMS) (string, error)
func (*CryptoMaterialGenerator) StartSession ¶
type FSCPlatform ¶
type FSCPlatform interface {
PeerOrgs() []*node.Organization
}
type Layout ¶
type Layout struct { Orgs []ftopology.Organization Peers []Peer }
func (*Layout) PeerOrgs ¶
func (l *Layout) PeerOrgs() []ftopology.Organization
func (*Layout) PeersInOrg ¶
Click to show internal directories.
Click to hide internal directories.