Documentation ¶
Index ¶
- func Drivers() []string
- func GetFabricNetworkServiceProvider(sp view.ServiceProvider) driver.FabricNetworkServiceProvider
- func Register(name string, driver driver.Driver)
- type Config
- type ConfigProvider
- type FSNConfig
- type FSNProvider
- func (p *FSNProvider) DefaultName() string
- func (p *FSNProvider) FabricNetworkService(network string) (driver.FabricNetworkService, error)
- func (p *FSNProvider) InitFabricLogging()
- func (p *FSNProvider) InstallViews() error
- func (p *FSNProvider) Names() []string
- func (p *FSNProvider) Start(ctx context.Context) error
- func (p *FSNProvider) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Drivers ¶ added in v0.2.0
func Drivers() []string
Drivers returns a sorted list of the names of the registered drivers.
func GetFabricNetworkServiceProvider ¶
func GetFabricNetworkServiceProvider(sp view.ServiceProvider) driver.FabricNetworkServiceProvider
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func NewConfig ¶
func NewConfig(configProvider ConfigProvider) (*Config, error)
func (*Config) DefaultName ¶
type ConfigProvider ¶
type FSNProvider ¶
type FSNProvider struct {
// contains filtered or unexported fields
}
func NewFabricNetworkServiceProvider ¶
func NewFabricNetworkServiceProvider(sp view.ServiceProvider, config *Config) (*FSNProvider, error)
func (*FSNProvider) DefaultName ¶
func (p *FSNProvider) DefaultName() string
func (*FSNProvider) FabricNetworkService ¶
func (p *FSNProvider) FabricNetworkService(network string) (driver.FabricNetworkService, error)
func (*FSNProvider) InitFabricLogging ¶
func (p *FSNProvider) InitFabricLogging()
InitFabricLogging initializes the fabric logging system using the FSC configuration.
func (*FSNProvider) InstallViews ¶
func (p *FSNProvider) InstallViews() error
func (*FSNProvider) Names ¶
func (p *FSNProvider) Names() []string
func (*FSNProvider) Stop ¶
func (p *FSNProvider) Stop() error
Directories ¶
Path | Synopsis |
---|---|
msp/mock
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
vault/mocks
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.