fabric: github.com/hyperledger/fabric/integration/pluggable Index | Files

package pluggable

import "github.com/hyperledger/fabric/integration/pluggable"

Index

Package Files

plugin_activation.go

Constants

const (
    EndorsementPluginEnvVar = "ENDORSEMENT_PLUGIN_ENV_VAR"
    ValidationPluginEnvVar  = "VALIDATION_PLUGIN_ENV_VAR"
)

func CountEndorsementPluginActivations Uses

func CountEndorsementPluginActivations() int

CountEndorsementPluginActivations returns the number of peers that activated the endorsement plugin

func CountValidationPluginActivations Uses

func CountValidationPluginActivations() int

CountValidationPluginActivations returns the number of peers that activated the validation plugin

func EndorsementPluginActivationFolder Uses

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 Uses

func PublishEndorsementPluginActivation()

PublishEndorsementPluginActivation makes it known that the endorsement plugin was activated for the peer that is invoking this function

func PublishValidationPluginActivation Uses

func PublishValidationPluginActivation()

PublishValidationPluginActivation makes it known that the validation plugin was activated for the peer that is invoking this function

func SetEndorsementPluginActivationFolder Uses

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

func SetValidationPluginActivationFolder Uses

func SetValidationPluginActivationFolder(path string)

SetValidationPluginActivationFolder sets the name of the folder that if the file of the peer's id in it exists - it indicates that the validation plugin was activated for that peer

func ValidationPluginActivationFolder Uses

func ValidationPluginActivationFolder() string

ValidationPluginActivationFilePath returns the name of the folder that if the file of the peer's id in it exists - it indicates that the validation plugin was activated for that peer

Package pluggable imports 5 packages (graph). Updated 2019-01-04. Refresh now. Tools for package owners.