nc

package
v1.11.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 GenerateNetworkConfigForChaincodeApprove added in v1.11.0

func GenerateNetworkConfigForChaincodeApprove(chInstall *hlfv1alpha1.FabricChaincodeApprove, kubeClientset *kubernetes.Clientset, hlfClientSet *operatorv1.Clientset, mspID string) (*NetworkConfigResponse, error)

func GenerateNetworkConfigForChaincodeCommit added in v1.11.0

func GenerateNetworkConfigForChaincodeCommit(chCommit *hlfv1alpha1.FabricChaincodeCommit, kubeClientset *kubernetes.Clientset, hlfClientSet *operatorv1.Clientset, mspID string) (*NetworkConfigResponse, error)

func GenerateNetworkConfigForChaincodeInstall added in v1.11.0

func GenerateNetworkConfigForChaincodeInstall(chInstall *hlfv1alpha1.FabricChaincodeInstall, kubeClientset *kubernetes.Clientset, hlfClientSet *operatorv1.Clientset, mspID string) (*NetworkConfigResponse, error)

func GenerateNetworkConfigForFollower

func GenerateNetworkConfigForFollower(chInstall *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