e2e

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCertAndKeys

func GenerateCertAndKeys(key, cert *os.File) error

func GenerateConfigFile

func GenerateConfigFile(fileName string, values Values)

func GeneratePolicy added in v0.2.0

func GeneratePolicy(policyFile *os.File) error

Types

type NodeSpec

type NodeSpec struct {
	Addr    string
	MtlsCrt string
	MtlsKey string
	Mtls    bool
}

type Values

type Values struct {
	PrivSk          string
	SignCert        string
	MtlsCrt         string
	MtlsKey         string
	Mtls            bool
	PeersAddrs      []string
	OrdererAddr     string
	PeersNodeSpecs  []NodeSpec
	CommitThreshold int
	PolicyFile      string
}

func (Values) Load

func (va Values) Load() Values

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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