Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { RootDir() string ReservePort() uint16 AddPlatform(platform Platform) PlatformByName(name string) Platform PlatformsByType(typ string) []Platform AddExtension(id string, extension ExtensionName, s string) ExtensionsByPeerID(name string) Extensions PortsByPeerID(prefix string, id string) Ports SetPortsByPeerID(prefix string, id string, ports Ports) HostByPeerID(prefix string, id string) string SetHostByPeerID(prefix string, id string, host string) PortsByOrdererID(prefix string, id string) Ports SetPortsByOrdererID(prefix string, id string, ports Ports) HostByOrdererID(prefix string, id string) string SetHostByOrdererID(prefix string, id string, host string) AddIdentityAlias(name string, alias string) TopologyByName(name string) Topology SetConnectionConfig(name string, cc *grpc.ConnectionConfig) SetClientSigningIdentity(name string, id view.SigningIdentity) SetAdminSigningIdentity(name string, id view.SigningIdentity) SetViewIdentity(name string, cert []byte) ConnectionConfig(name string) *grpc.ConnectionConfig ClientSigningIdentity(name string) view.SigningIdentity SetViewClient(name string, c GRPCClient) SetWebClient(name string, c WebClient) SetCLI(name string, client ViewClient) GetViewIdentityAliases(name string) []string AdminSigningIdentity(name string) view.SigningIdentity IgnoreSigHUP() bool }
type ExtensionName ¶
type ExtensionName string
const ( FabricExtension ExtensionName = "FabricExtension" OrionExtension ExtensionName = "OrionExtension" )
type Extensions ¶
type Extensions map[ExtensionName][]string
type GRPCClient ¶ added in v0.3.0
type PlatformFactory ¶
type Topologies ¶
type Topologies struct {
Topologies []Topology `yaml:"topologies,omitempty"`
}
func (*Topologies) Export ¶
func (t *Topologies) Export() ([]byte, error)
type Topology ¶
type Topology interface { Name() string // Type returns the type of network this topology refers to Type() string }
Topology represents a topology of a given network type (fabric, fsc, etc...)
type ViewClient ¶
Click to show internal directories.
Click to hide internal directories.