fabric: github.com/hyperledger/fabric/core/config/configtest Index | Files

package configtest

import "github.com/hyperledger/fabric/core/config/configtest"

Index

Package Files

config.go

func AddDevConfigPath Uses

func AddDevConfigPath(v *viper.Viper) error

AddDevConfigPath adds the DevConfigDir to the viper path.

func GetDevConfigDir Uses

func GetDevConfigDir() (string, error)

GetDevConfigDir gets the path to the default configuration that is maintained with the source tree. This should only be used in a test/development context.

func GetDevMspDir Uses

func GetDevMspDir() (string, error)

GetDevMspDir gets the path to the sampleconfig/msp tree that is maintained with the source tree. This should only be used in a test/development context.

func SetDevFabricConfigPath Uses

func SetDevFabricConfigPath(t *testing.T) (cleanup func())

Package configtest imports 6 packages (graph) and is imported by 4 packages. Updated 2019-01-10. Refresh now. Tools for package owners.