Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Initializer ¶
type Initializer struct { // HandlersVal is returned as the result of Handlers() HandlersVal map[cb.ConfigurationItem_ConfigurationType]configtx.Handler // PolicyManagerVal is returned as the result of PolicyManager() PolicyManagerVal policies.Manager // ChainConfigVal is returned as the result of ChainConfig() ChainConfigVal chainconfig.Descriptor // MSPManagerVal is returned as the result of MSPManager() MSPManagerVal msp.MSPManager }
func (*Initializer) ChainConfig ¶
func (i *Initializer) ChainConfig() chainconfig.Descriptor
Returns the ChainConfigVal
func (*Initializer) Handlers ¶
func (i *Initializer) Handlers() map[cb.ConfigurationItem_ConfigurationType]configtx.Handler
Returns the HandlersVal
func (*Initializer) MSPManager ¶
func (i *Initializer) MSPManager() msp.MSPManager
Returns the MSPManagerVal
func (*Initializer) PolicyManager ¶
func (i *Initializer) PolicyManager() policies.Manager
Returns the PolicyManagerVal
type Manager ¶
type Manager struct { Initializer // ChainIDVal is returned as the result of ChainID() ChainIDVal string // SequenceVal is returned as the result of Sequence() SequenceVal uint64 }
Manager is a mock implementation of configtx.Manager
func (*Manager) Apply ¶
func (cm *Manager) Apply(configtx *cb.ConfigurationEnvelope) error
Apply panics
Click to show internal directories.
Click to hide internal directories.