export

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExportCmd

func NewExportCmd(stdOut io.Writer, stdErr io.Writer) *cobra.Command

Types

type FabricNodeOus

type FabricNodeOus struct {
	AdminOuIdentifier   FabricOrgOUIdentifier `json:"admin_ou_identifier"`
	ClientOuIdentifier  FabricOrgOUIdentifier `json:"client_ou_identifier"`
	Enable              bool                  `json:"enable"`
	OrdererOuIdentifier FabricOrgOUIdentifier `json:"orderer_ou_identifier"`
	PeerOuIdentifier    FabricOrgOUIdentifier `json:"peer_ou_identifier"`
}

type FabricOperationsCA

type FabricOperationsCA struct {
	DisplayName   string `json:"display_name"`
	ApiUrl        string `json:"api_url"`
	OperationsUrl string `json:"operations_url"`
	CaUrl         string `json:"ca_url"`
	Type          string `json:"type"`
	CaName        string `json:"ca_name"`
	TlscaName     string `json:"tlsca_name"`
	TlsCert       string `json:"tls_cert"`
	Name          string `json:"name"`
}

type FabricOperationsMSP

type FabricOperationsMSP struct {
	Component FabricPeerComponentMSP `json:"component"`
	CA        FabricPeerMSPCA        `json:"ca"`
	TLSCA     FabricPeerMSPCA        `json:"tlsca"`
}

type FabricOperationsOrderer

type FabricOperationsOrderer struct {
	DisplayName   string              `json:"display_name"`
	GrpcwpUrl     string              `json:"grpcwp_url"`
	ApiUrl        string              `json:"api_url"`
	OperationsUrl string              `json:"operations_url"`
	Type          string              `json:"type"`
	MspId         string              `json:"msp_id"`
	ClusterId     string              `json:"cluster_id"`
	ClusterName   string              `json:"cluster_name"`
	Name          string              `json:"name"`
	Msp           FabricOperationsMSP `json:"msp"`
	Pem           string              `json:"pem"`
	OSNAdminURL   string              `json:"osnadmin_url"`
	Systemless    bool                `json:"systemless"`
	TlsCert       string              `json:"tls_cert"`
	TlsCaRootCert string              `json:"tls_ca_root_cert"`
	FeatureFlags  FeatureFlagsOrderer `json:"feature_flags"`
}

type FabricOperationsOrg

type FabricOperationsOrg struct {
	DisplayName   string        `json:"display_name"`
	MspId         string        `json:"msp_id"`
	Type          string        `json:"type"`
	Admins        []string      `json:"admins"`
	RootCerts     []string      `json:"root_certs"`
	TlsRootCerts  []string      `json:"tls_root_certs"`
	FabricNodeOus FabricNodeOus `json:"fabric_node_ous"`
	HostUrl       string        `json:"host_url,omitempty"`
	Name          string        `json:"name"`
}

type FabricOperationsPeer

type FabricOperationsPeer struct {
	DisplayName   string              `json:"display_name"`
	GrpcwpUrl     string              `json:"grpcwp_url"`
	ApiUrl        string              `json:"api_url"`
	OperationsUrl string              `json:"operations_url"`
	MspId         string              `json:"msp_id"`
	Name          string              `json:"name"`
	Type          string              `json:"type"`
	Msp           FabricOperationsMSP `json:"msp"`
	Pem           string              `json:"pem"`
	TlsCert       string              `json:"tls_cert"`
	TlsCaRootCert string              `json:"tls_ca_root_cert"`
}

type FabricOrgOUIdentifier

type FabricOrgOUIdentifier struct {
	Certificate                  string `json:"certificate"`
	OrganizationalUnitIdentifier string `json:"organizational_unit_identifier"`
}

type FabricOrgResult

type FabricOrgResult struct {
	CAName                    string `json:"CAName"`
	CAChain                   string `json:"CAChain"`
	IssuerPublicKey           string `json:"IssuerPublicKey"`
	IssuerRevocationPublicKey string `json:"IssuerRevocationPublicKey"`
	Version                   string `json:"Version"`
}

type FabricPeerComponentMSP

type FabricPeerComponentMSP struct {
	AdminCerts []interface{} `json:"admin_certs"`
	TlsCert    string        `json:"tls_cert"`
}

type FabricPeerMSPCA

type FabricPeerMSPCA struct {
	RootCerts []string `json:"root_certs"`
}

type FabricUnused

type FabricUnused struct {
	Result FabricOrgResult `json:"result"`
}

type FeatureFlagsOrderer

type FeatureFlagsOrderer struct {
	OSNAdminFeatsEnabled bool `json:"osnadmin_feats_enabled"`
}

type MapFabricOperationsOrderer

type MapFabricOperationsOrderer struct {
	ClusterID   string
	ClusterName string
	OSNAdminURL string
}

type MapFabricOperationsOrg

type MapFabricOperationsOrg struct {
	MSPID   string
	HostURL string
}

Jump to

Keyboard shortcuts

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