testutils

package
v1.9.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChannelStore added in v1.2.1

func NewChannelStore() *channelStore

Types

type ChannelOption added in v1.2.1

type ChannelOption func(*CreateChannelOptions)

func WithBatchSize added in v1.7.0

func WithBatchSize(batchSize *orderer.BatchSize) ChannelOption

func WithBatchTimeout added in v1.8.0

func WithBatchTimeout(batchTimeout time.Duration) ChannelOption

func WithConsenters added in v1.2.1

func WithConsenters(consenters ...Consenter) ChannelOption

func WithName added in v1.2.1

func WithName(name string) ChannelOption

func WithOrdererOrgs added in v1.2.1

func WithOrdererOrgs(ordererOrgs ...OrdererOrg) ChannelOption

func WithPeerOrgs added in v1.2.1

func WithPeerOrgs(peerOrgs ...PeerOrg) ChannelOption

type Consenter added in v1.2.1

type Consenter struct {
	// contains filtered or unexported fields
}

func CreateConsenter added in v1.2.1

func CreateConsenter(host string, port int, tlsCert *x509.Certificate) Consenter

type CreateChannelOptions added in v1.2.1

type CreateChannelOptions struct {
	// contains filtered or unexported fields
}

type OrdererOrg added in v1.2.1

type OrdererOrg struct {
	// contains filtered or unexported fields
}

func CreateOrdererOrg added in v1.2.1

func CreateOrdererOrg(mspID string, tlsRootCert *x509.Certificate, signRootCert *x509.Certificate, ordererUrls []string) OrdererOrg

type PeerOrg added in v1.2.1

type PeerOrg struct {
	// contains filtered or unexported fields
}

func CreatePeerOrg added in v1.2.1

func CreatePeerOrg(mspID string, tlsRootCert *x509.Certificate, signRootCert *x509.Certificate) PeerOrg

Jump to

Keyboard shortcuts

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