Documentation ¶
Index ¶
- Constants
- func CountEndorsementPluginActivations() int
- func CountValidationPluginActivations() int
- func EndorsementPluginActivationFolder() string
- func PublishEndorsementPluginActivation()
- func PublishValidationPluginActivation()
- func SetEndorsementPluginActivationFolder(path string)
- func SetValidationPluginActivationFolder(path string)
- func ValidationPluginActivationFolder() string
Constants ¶
const ( EndorsementPluginEnvVar = "ENDORSEMENT_PLUGIN_ENV_VAR" ValidationPluginEnvVar = "VALIDATION_PLUGIN_ENV_VAR" )
Variables ¶
This section is empty.
Functions ¶
func CountEndorsementPluginActivations ¶
func CountEndorsementPluginActivations() int
CountEndorsementPluginActivations returns the number of peers that activated the endorsement plugin
func CountValidationPluginActivations ¶
func CountValidationPluginActivations() int
CountValidationPluginActivations returns the number of peers that activated the validation plugin
func EndorsementPluginActivationFolder ¶
func EndorsementPluginActivationFolder() string
EndorsementPluginActivationFolder returns the name of the folder that if the file of the peer's id in it exists - it indicates that the endorsement plugin was activated for that peer
func PublishEndorsementPluginActivation ¶
func PublishEndorsementPluginActivation()
PublishEndorsementPluginActivation makes it known that the endorsement plugin was activated for the peer that is invoking this function
func PublishValidationPluginActivation ¶
func PublishValidationPluginActivation()
PublishValidationPluginActivation makes it known that the validation plugin was activated for the peer that is invoking this function
func SetEndorsementPluginActivationFolder ¶
func SetEndorsementPluginActivationFolder(path string)
SetEndorsementPluginActivationFolder sets the name of the folder that if the file of the peer's id in it exists - it indicates that the endorsement plugin was activated for that peer
Types ¶
This section is empty.