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)

AddDevConfigPath adds the DevConfigDir to the viper path.

func GetDevConfigDir Uses

func GetDevConfigDir() string

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

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 6 packages. Updated 2019-12-02. Refresh now. Tools for package owners.