pluggable

package
v1.4.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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

func SetValidationPluginActivationFolder

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL