nc

package
v1.11.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 11 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 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