configtest

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDevConfigPath

func AddDevConfigPath(v *viper.Viper) error

AddDevConfigPath adds the DevConfigDir to the viper path.

func GetDevConfigDir

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

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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