nc

package
v1.10.0-beta14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CA

type CA struct {
	Name         string
	URL          string
	EnrollID     string
	EnrollSecret string
	CAName       string
	TLSCert      string
}

type NetworkConfigResponse

type NetworkConfigResponse struct {
	NetworkConfig string
}

func GenerateNetworkConfig

func GenerateNetworkConfig(channel *hlfv1alpha1.FabricMainChannel, kubeClientset *kubernetes.Clientset, hlfClientSet *operatorv1.Clientset, mspID string) (*NetworkConfigResponse, error)

func GenerateNetworkConfigForFollower

func GenerateNetworkConfigForFollower(channel *hlfv1alpha1.FabricFollowerChannel, kubeClientset *kubernetes.Clientset, hlfClientSet *operatorv1.Clientset, mspID string) (*NetworkConfigResponse, error)

type Orderer

type Orderer struct {
	URL       string
	Name      string
	TLSCACert string
}

type Org

type Org struct {
	MSPID     string
	CertAuths []string
	Peers     []string
	Orderers  []string
}

type Organization

type Organization struct {
	Type         helpers.OrganizationType
	MspID        string
	OrdererNodes []*helpers.ClusterOrdererNode
	Peers        []*helpers.ClusterPeer
	CertAuths    []*helpers.ClusterCA
}

type Peer

type Peer struct {
	Name      string
	URL       string
	TLSCACert string
}

Jump to

Keyboard shortcuts

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