Documentation ¶
Overview ¶
Package blockchainv3 : Operations and models for the BlockchainV3 service
Index ¶
- Constants
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalActionEnroll(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalActionReenroll(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalActionRenew(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalActionsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalArchiveResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalBccsp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalBccspPKCS11(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalBccspSW(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCaResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCaResponseResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCaResponseStorage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCacheData(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCacheFlushResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalClientAuth(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCAAffiliations(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACfg(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACfgIdentities(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACors(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACreate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACrl(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACsr(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACsrCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACsrKeyrequest(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCACsrNamesItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCADb(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCADbTls(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCADbTlsClient(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCAIdemix(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCAIntermediate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCAIntermediateEnrollment(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCAIntermediateParentserver(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCAIntermediateTls(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCAIntermediateTlsClient(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCARegistry(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCARegistryIdentitiesItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCASigning(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCASigningDefault(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCASigningProfiles(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCASigningProfilesCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCASigningProfilesCaCaconstraint(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCASigningProfilesTls(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCATls(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCATlsClientauth(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigCAUpdate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererAuthentication(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererCreate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererDebug(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererGeneral(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererGeneralUpdate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererKeepalive(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererMetrics(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererMetricsStatsd(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigOrdererUpdate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerAdminService(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerAuthentication(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerChaincode(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerChaincodeExternalBuildersItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerChaincodeGolang(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerChaincodeLogging(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerChaincodeSystem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerClient(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerCreate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerCreatePeer(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerDeliveryclient(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerDeliveryclientAddressOverridesItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerDiscovery(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerGateway(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerGossip(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerGossipElection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerGossipPvtData(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerGossipState(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerKeepalive(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerKeepaliveClient(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerKeepaliveDeliveryClient(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerLimits(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerLimitsConcurrency(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerUpdate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigPeerUpdatePeer(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCpuHealthStats(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCpuHealthStatsTimes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateCaBodyConfigOverride(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateCaBodyResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateCaBodyStorage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateOrdererRaftBodyResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateOrdererRaftBodyStorage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateOrdererResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreatePeerBodyStorage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCryptoEnrollmentComponent(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCryptoObject(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCryptoObjectEnrollment(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCryptoObjectEnrollmentCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCryptoObjectEnrollmentTlsca(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCryptoObjectMsp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDeleteAllNotificationsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDeleteAllSessionsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDeleteComponentResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDeleteMultiComponentsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDeleteSignatureCollectionResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEditAdminCertsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEditAdminCertsResponseSetAdminCertsItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEditLogSettingsBody(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEditSettingsBodyInactivityTimeouts(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalFabVersionObject(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalFabricVersionDictionary(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericComponentResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericComponentResponseMsp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericComponentResponseMspCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericComponentResponseMspComponent(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericComponentResponseMspTlsca(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericComponentResponseResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericComponentResponseStorage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericResourceLimits(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericResourcesRequests(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetAthenaHealthStatsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetAthenaHealthStatsResponseOPTOOLS(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetAthenaHealthStatsResponseOPTOOLSMemoryUsage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetAthenaHealthStatsResponseOS(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetFabricVersionsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetFabricVersionsResponseVersions(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetMSPCertificateResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetMultiComponentsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetNotificationsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetPublicSettingsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetPublicSettingsResponseCLUSTERDATA(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetPublicSettingsResponseCRN(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetPublicSettingsResponseFABRICCAPABILITIES(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetPublicSettingsResponseFILELOGGING(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetPublicSettingsResponseINACTIVITYTIMEOUTS(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGetPublicSettingsResponseVERSIONS(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalHsm(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalIdentityAttrs(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportCaBodyMsp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportCaBodyMspCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportCaBodyMspComponent(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportCaBodyMspTlsca(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalLogSettingsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalLoggingSettingsClient(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalLoggingSettingsServer(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMetrics(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMetricsStatsd(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMspCryptoCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMspCryptoComp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMspCryptoField(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMspCryptoFieldCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMspCryptoFieldComponent(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMspCryptoFieldTlsca(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMspPublicData(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMspResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalNodeOu(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalNodeOuGeneral(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalNotificationData(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalOrdererResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalOrdererResponseResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalOrdererResponseStorage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPeerResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPeerResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPeerResponseResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPeerResponseStorage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRemoveMultiComponentsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceLimits(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceObject(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceObjectCouchDb(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceObjectFabV1(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceObjectFabV2(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceRequests(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRestartAthenaResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSettingsTimestampData(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalStorageObject(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateCaBodyConfigOverride(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateCaBodyResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateEnrollmentCryptoField(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateEnrollmentCryptoFieldCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateEnrollmentCryptoFieldTlsca(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateMspCryptoField(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateMspCryptoFieldCa(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateMspCryptoFieldComponent(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateMspCryptoFieldTlsca(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateOrdererBodyCrypto(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateOrdererBodyResources(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdatePeerBodyCrypto(m map[string]json.RawMessage, result interface{}) (err error)
- type ActionEnroll
- type ActionReenroll
- type ActionRenew
- type ActionsResponse
- type ArchiveNotificationsOptions
- type ArchiveResponse
- type Bccsp
- type BccspPKCS11
- type BccspSW
- type BlockchainV3
- func (blockchain *BlockchainV3) ArchiveNotifications(archiveNotificationsOptions *ArchiveNotificationsOptions) (result *ArchiveResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ArchiveNotificationsWithContext(ctx context.Context, archiveNotificationsOptions *ArchiveNotificationsOptions) (result *ArchiveResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) CaAction(caActionOptions *CaActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) CaActionWithContext(ctx context.Context, caActionOptions *CaActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ClearCaches(clearCachesOptions *ClearCachesOptions) (result *CacheFlushResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ClearCachesWithContext(ctx context.Context, clearCachesOptions *ClearCachesOptions) (result *CacheFlushResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) Clone() *BlockchainV3
- func (blockchain *BlockchainV3) CreateCa(createCaOptions *CreateCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) CreateCaWithContext(ctx context.Context, createCaOptions *CreateCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) CreateOrderer(createOrdererOptions *CreateOrdererOptions) (result *CreateOrdererResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) CreateOrdererWithContext(ctx context.Context, createOrdererOptions *CreateOrdererOptions) (result *CreateOrdererResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) CreatePeer(createPeerOptions *CreatePeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) CreatePeerWithContext(ctx context.Context, createPeerOptions *CreatePeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) DeleteAllComponents(deleteAllComponentsOptions *DeleteAllComponentsOptions) (result *DeleteMultiComponentsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) DeleteAllComponentsWithContext(ctx context.Context, deleteAllComponentsOptions *DeleteAllComponentsOptions) (result *DeleteMultiComponentsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) DeleteAllNotifications(deleteAllNotificationsOptions *DeleteAllNotificationsOptions) (result *DeleteAllNotificationsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) DeleteAllNotificationsWithContext(ctx context.Context, ...) (result *DeleteAllNotificationsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) DeleteAllSessions(deleteAllSessionsOptions *DeleteAllSessionsOptions) (result *DeleteAllSessionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) DeleteAllSessionsWithContext(ctx context.Context, deleteAllSessionsOptions *DeleteAllSessionsOptions) (result *DeleteAllSessionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) DeleteComponent(deleteComponentOptions *DeleteComponentOptions) (result *DeleteComponentResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) DeleteComponentWithContext(ctx context.Context, deleteComponentOptions *DeleteComponentOptions) (result *DeleteComponentResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) DeleteComponentsByTag(deleteComponentsByTagOptions *DeleteComponentsByTagOptions) (result *DeleteMultiComponentsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) DeleteComponentsByTagWithContext(ctx context.Context, ...) (result *DeleteMultiComponentsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) DeleteSigTx(deleteSigTxOptions *DeleteSigTxOptions) (result *DeleteSignatureCollectionResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) DeleteSigTxWithContext(ctx context.Context, deleteSigTxOptions *DeleteSigTxOptions) (result *DeleteSignatureCollectionResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) DisableRetries()
- func (blockchain *BlockchainV3) EditAdminCerts(editAdminCertsOptions *EditAdminCertsOptions) (result *EditAdminCertsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditAdminCertsWithContext(ctx context.Context, editAdminCertsOptions *EditAdminCertsOptions) (result *EditAdminCertsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditCa(editCaOptions *EditCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditCaWithContext(ctx context.Context, editCaOptions *EditCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditMsp(editMspOptions *EditMspOptions) (result *MspResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditMspWithContext(ctx context.Context, editMspOptions *EditMspOptions) (result *MspResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditOrderer(editOrdererOptions *EditOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditOrdererWithContext(ctx context.Context, editOrdererOptions *EditOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditPeer(editPeerOptions *EditPeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditPeerWithContext(ctx context.Context, editPeerOptions *EditPeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditSettings(editSettingsOptions *EditSettingsOptions) (result *GetPublicSettingsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EditSettingsWithContext(ctx context.Context, editSettingsOptions *EditSettingsOptions) (result *GetPublicSettingsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (blockchain *BlockchainV3) GetComponent(getComponentOptions *GetComponentOptions) (result *GenericComponentResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetComponentWithContext(ctx context.Context, getComponentOptions *GetComponentOptions) (result *GenericComponentResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetComponentsByTag(getComponentsByTagOptions *GetComponentsByTagOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetComponentsByTagWithContext(ctx context.Context, getComponentsByTagOptions *GetComponentsByTagOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetComponentsByType(getComponentsByTypeOptions *GetComponentsByTypeOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetComponentsByTypeWithContext(ctx context.Context, getComponentsByTypeOptions *GetComponentsByTypeOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetEnableGzipCompression() bool
- func (blockchain *BlockchainV3) GetFabVersions(getFabVersionsOptions *GetFabVersionsOptions) (result *GetFabricVersionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetFabVersionsWithContext(ctx context.Context, getFabVersionsOptions *GetFabVersionsOptions) (result *GetFabricVersionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetHealth(getHealthOptions *GetHealthOptions) (result *GetAthenaHealthStatsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) GetHealthWithContext(ctx context.Context, getHealthOptions *GetHealthOptions) (result *GetAthenaHealthStatsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) GetMspCertificate(getMspCertificateOptions *GetMspCertificateOptions) (result *GetMSPCertificateResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetMspCertificateWithContext(ctx context.Context, getMspCertificateOptions *GetMspCertificateOptions) (result *GetMSPCertificateResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetPostman(getPostmanOptions *GetPostmanOptions) (response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetPostmanWithContext(ctx context.Context, getPostmanOptions *GetPostmanOptions) (response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetServiceURL() string
- func (blockchain *BlockchainV3) GetSettings(getSettingsOptions *GetSettingsOptions) (result *GetPublicSettingsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetSettingsWithContext(ctx context.Context, getSettingsOptions *GetSettingsOptions) (result *GetPublicSettingsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetSwagger(getSwaggerOptions *GetSwaggerOptions) (result *string, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) GetSwaggerWithContext(ctx context.Context, getSwaggerOptions *GetSwaggerOptions) (result *string, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ImportCa(importCaOptions *ImportCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ImportCaWithContext(ctx context.Context, importCaOptions *ImportCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ImportMsp(importMspOptions *ImportMspOptions) (result *MspResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ImportMspWithContext(ctx context.Context, importMspOptions *ImportMspOptions) (result *MspResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ImportOrderer(importOrdererOptions *ImportOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ImportOrdererWithContext(ctx context.Context, importOrdererOptions *ImportOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ImportPeer(importPeerOptions *ImportPeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ImportPeerWithContext(ctx context.Context, importPeerOptions *ImportPeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ListComponents(listComponentsOptions *ListComponentsOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ListComponentsWithContext(ctx context.Context, listComponentsOptions *ListComponentsOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ListNotifications(listNotificationsOptions *ListNotificationsOptions) (result *GetNotificationsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) ListNotificationsWithContext(ctx context.Context, listNotificationsOptions *ListNotificationsOptions) (result *GetNotificationsResponse, response *core.DetailedResponse, err error)
- func (*BlockchainV3) NewArchiveNotificationsOptions(notificationIds []string) *ArchiveNotificationsOptions
- func (*BlockchainV3) NewBccspPKCS11(label string, pin string) (model *BccspPKCS11, err error)
- func (*BlockchainV3) NewBccspSW(hash string, security float64) (model *BccspSW, err error)
- func (*BlockchainV3) NewCaActionOptions(id string) *CaActionOptions
- func (*BlockchainV3) NewClearCachesOptions() *ClearCachesOptions
- func (*BlockchainV3) NewConfigCACfg(identities *ConfigCACfgIdentities) (model *ConfigCACfg, err error)
- func (*BlockchainV3) NewConfigCACfgIdentities(passwordattempts float64) (model *ConfigCACfgIdentities, err error)
- func (*BlockchainV3) NewConfigCACors(enabled bool, origins []string) (model *ConfigCACors, err error)
- func (*BlockchainV3) NewConfigCACreate(registry *ConfigCARegistry) (model *ConfigCACreate, err error)
- func (*BlockchainV3) NewConfigCACrl(expiry string) (model *ConfigCACrl, err error)
- func (*BlockchainV3) NewConfigCACsr(cn string, names []ConfigCACsrNamesItem, ca *ConfigCACsrCa) (model *ConfigCACsr, err error)
- func (*BlockchainV3) NewConfigCACsrKeyrequest(algo string, size float64) (model *ConfigCACsrKeyrequest, err error)
- func (*BlockchainV3) NewConfigCACsrNamesItem(c string, sT string, o string) (model *ConfigCACsrNamesItem, err error)
- func (*BlockchainV3) NewConfigCADb(typeVar string, datasource string) (model *ConfigCADb, err error)
- func (*BlockchainV3) NewConfigCADbTlsClient(certfile string, keyfile string) (model *ConfigCADbTlsClient, err error)
- func (*BlockchainV3) NewConfigCAIdemix(rhpoolsize float64, nonceexpiration string, noncesweepinterval string) (model *ConfigCAIdemix, err error)
- func (*BlockchainV3) NewConfigCAIntermediate(parentserver *ConfigCAIntermediateParentserver) (model *ConfigCAIntermediate, err error)
- func (*BlockchainV3) NewConfigCAIntermediateEnrollment(hosts string, profile string, label string) (model *ConfigCAIntermediateEnrollment, err error)
- func (*BlockchainV3) NewConfigCAIntermediateParentserver(url string, caname string) (model *ConfigCAIntermediateParentserver, err error)
- func (*BlockchainV3) NewConfigCAIntermediateTls(certfiles []string) (model *ConfigCAIntermediateTls, err error)
- func (*BlockchainV3) NewConfigCAIntermediateTlsClient(certfile string, keyfile string) (model *ConfigCAIntermediateTlsClient, err error)
- func (*BlockchainV3) NewConfigCARegistry(maxenrollments float64, identities []ConfigCARegistryIdentitiesItem) (model *ConfigCARegistry, err error)
- func (*BlockchainV3) NewConfigCARegistryIdentitiesItem(name string, pass string, typeVar string) (model *ConfigCARegistryIdentitiesItem, err error)
- func (*BlockchainV3) NewConfigCATls(keyfile string, certfile string) (model *ConfigCATls, err error)
- func (*BlockchainV3) NewConfigCATlsClientauth(typeVar string, certfiles []string) (model *ConfigCATlsClientauth, err error)
- func (*BlockchainV3) NewConfigPeerAdminService(listenAddress string) (model *ConfigPeerAdminService, err error)
- func (*BlockchainV3) NewConfigPeerAuthentication(timewindow string) (model *ConfigPeerAuthentication, err error)
- func (*BlockchainV3) NewConfigPeerClient(connTimeout string) (model *ConfigPeerClient, err error)
- func (*BlockchainV3) NewCreateCaBodyConfigOverride(ca *ConfigCACreate) (model *CreateCaBodyConfigOverride, err error)
- func (*BlockchainV3) NewCreateCaBodyResources(ca *ResourceObject) (model *CreateCaBodyResources, err error)
- func (*BlockchainV3) NewCreateCaBodyStorage(ca *StorageObject) (model *CreateCaBodyStorage, err error)
- func (*BlockchainV3) NewCreateCaOptions(displayName string, configOverride *CreateCaBodyConfigOverride) *CreateCaOptions
- func (*BlockchainV3) NewCreateOrdererOptions(ordererType string, mspID string, displayName string, crypto []CryptoObject) *CreateOrdererOptions
- func (*BlockchainV3) NewCreateOrdererRaftBodyResources(orderer *ResourceObject) (model *CreateOrdererRaftBodyResources, err error)
- func (*BlockchainV3) NewCreateOrdererRaftBodyStorage(orderer *StorageObject) (model *CreateOrdererRaftBodyStorage, err error)
- func (*BlockchainV3) NewCreatePeerBodyStorage(peer *StorageObject) (model *CreatePeerBodyStorage, err error)
- func (*BlockchainV3) NewCreatePeerOptions(mspID string, displayName string, crypto *CryptoObject) *CreatePeerOptions
- func (*BlockchainV3) NewCryptoObjectEnrollment(component *CryptoEnrollmentComponent, ca *CryptoObjectEnrollmentCa, ...) (model *CryptoObjectEnrollment, err error)
- func (*BlockchainV3) NewCryptoObjectEnrollmentCa(host string, port float64, name string, tlsCert string, enrollID string, ...) (model *CryptoObjectEnrollmentCa, err error)
- func (*BlockchainV3) NewCryptoObjectEnrollmentTlsca(host string, port float64, name string, tlsCert string, enrollID string, ...) (model *CryptoObjectEnrollmentTlsca, err error)
- func (*BlockchainV3) NewCryptoObjectMsp(component *MspCryptoComp, ca *MspCryptoCa, tlsca *MspCryptoCa) (model *CryptoObjectMsp, err error)
- func (*BlockchainV3) NewDeleteAllComponentsOptions() *DeleteAllComponentsOptions
- func (*BlockchainV3) NewDeleteAllNotificationsOptions() *DeleteAllNotificationsOptions
- func (*BlockchainV3) NewDeleteAllSessionsOptions() *DeleteAllSessionsOptions
- func (*BlockchainV3) NewDeleteComponentOptions(id string) *DeleteComponentOptions
- func (*BlockchainV3) NewDeleteComponentsByTagOptions(tag string) *DeleteComponentsByTagOptions
- func (*BlockchainV3) NewDeleteSigTxOptions(id string) *DeleteSigTxOptions
- func (*BlockchainV3) NewEditAdminCertsOptions(id string) *EditAdminCertsOptions
- func (*BlockchainV3) NewEditCaOptions(id string) *EditCaOptions
- func (*BlockchainV3) NewEditMspOptions(id string) *EditMspOptions
- func (*BlockchainV3) NewEditOrdererOptions(id string) *EditOrdererOptions
- func (*BlockchainV3) NewEditPeerOptions(id string) *EditPeerOptions
- func (*BlockchainV3) NewEditSettingsOptions() *EditSettingsOptions
- func (*BlockchainV3) NewGetComponentOptions(id string) *GetComponentOptions
- func (*BlockchainV3) NewGetComponentsByTagOptions(tag string) *GetComponentsByTagOptions
- func (*BlockchainV3) NewGetComponentsByTypeOptions(typeVar string) *GetComponentsByTypeOptions
- func (*BlockchainV3) NewGetFabVersionsOptions() *GetFabVersionsOptions
- func (*BlockchainV3) NewGetHealthOptions() *GetHealthOptions
- func (*BlockchainV3) NewGetMspCertificateOptions(mspID string) *GetMspCertificateOptions
- func (*BlockchainV3) NewGetPostmanOptions(authType string) *GetPostmanOptions
- func (*BlockchainV3) NewGetSettingsOptions() *GetSettingsOptions
- func (*BlockchainV3) NewGetSwaggerOptions() *GetSwaggerOptions
- func (*BlockchainV3) NewHsm(pkcs11endpoint string) (model *Hsm, err error)
- func (*BlockchainV3) NewImportCaBodyMsp(ca *ImportCaBodyMspCa, tlsca *ImportCaBodyMspTlsca, ...) (model *ImportCaBodyMsp, err error)
- func (*BlockchainV3) NewImportCaBodyMspCa(name string) (model *ImportCaBodyMspCa, err error)
- func (*BlockchainV3) NewImportCaBodyMspComponent(tlsCert string) (model *ImportCaBodyMspComponent, err error)
- func (*BlockchainV3) NewImportCaBodyMspTlsca(name string) (model *ImportCaBodyMspTlsca, err error)
- func (*BlockchainV3) NewImportCaOptions(displayName string, apiURL string, msp *ImportCaBodyMsp) *ImportCaOptions
- func (*BlockchainV3) NewImportMspOptions(mspID string, displayName string, rootCerts []string) *ImportMspOptions
- func (*BlockchainV3) NewImportOrdererOptions(clusterName string, displayName string, grpcwpURL string, msp *MspCryptoField, ...) *ImportOrdererOptions
- func (*BlockchainV3) NewImportPeerOptions(displayName string, grpcwpURL string, msp *MspCryptoField, mspID string) *ImportPeerOptions
- func (*BlockchainV3) NewListComponentsOptions() *ListComponentsOptions
- func (*BlockchainV3) NewListNotificationsOptions() *ListNotificationsOptions
- func (*BlockchainV3) NewMetrics(provider string) (model *Metrics, err error)
- func (*BlockchainV3) NewMetricsStatsd(network string, address string, writeInterval string, prefix string) (model *MetricsStatsd, err error)
- func (*BlockchainV3) NewMspCryptoCa(rootCerts []string) (model *MspCryptoCa, err error)
- func (*BlockchainV3) NewMspCryptoComp(ekey string, ecert string, tlsKey string, tlsCert string) (model *MspCryptoComp, err error)
- func (*BlockchainV3) NewMspCryptoField(tlsca *MspCryptoFieldTlsca, component *MspCryptoFieldComponent) (model *MspCryptoField, err error)
- func (*BlockchainV3) NewMspCryptoFieldComponent(tlsCert string) (model *MspCryptoFieldComponent, err error)
- func (*BlockchainV3) NewMspCryptoFieldTlsca(rootCerts []string) (model *MspCryptoFieldTlsca, err error)
- func (*BlockchainV3) NewOrdererActionOptions(id string) *OrdererActionOptions
- func (*BlockchainV3) NewPeerActionOptions(id string) *PeerActionOptions
- func (*BlockchainV3) NewRemoveComponentOptions(id string) *RemoveComponentOptions
- func (*BlockchainV3) NewRemoveComponentsByTagOptions(tag string) *RemoveComponentsByTagOptions
- func (*BlockchainV3) NewResourceObject(requests *ResourceRequests) (model *ResourceObject, err error)
- func (*BlockchainV3) NewResourceObjectCouchDb(requests *ResourceRequests) (model *ResourceObjectCouchDb, err error)
- func (*BlockchainV3) NewResourceObjectFabV1(requests *ResourceRequests) (model *ResourceObjectFabV1, err error)
- func (*BlockchainV3) NewResourceObjectFabV2(requests *ResourceRequests) (model *ResourceObjectFabV2, err error)
- func (*BlockchainV3) NewRestartOptions() *RestartOptions
- func (*BlockchainV3) NewSubmitBlockOptions(id string) *SubmitBlockOptions
- func (*BlockchainV3) NewUpdateCaBodyConfigOverride(ca *ConfigCAUpdate) (model *UpdateCaBodyConfigOverride, err error)
- func (*BlockchainV3) NewUpdateCaBodyResources(ca *ResourceObject) (model *UpdateCaBodyResources, err error)
- func (*BlockchainV3) NewUpdateCaOptions(id string) *UpdateCaOptions
- func (*BlockchainV3) NewUpdateOrdererOptions(id string) *UpdateOrdererOptions
- func (*BlockchainV3) NewUpdatePeerOptions(id string) *UpdatePeerOptions
- func (blockchain *BlockchainV3) OrdererAction(ordererActionOptions *OrdererActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) OrdererActionWithContext(ctx context.Context, ordererActionOptions *OrdererActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) PeerAction(peerActionOptions *PeerActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) PeerActionWithContext(ctx context.Context, peerActionOptions *PeerActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) RemoveComponent(removeComponentOptions *RemoveComponentOptions) (result *DeleteComponentResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) RemoveComponentWithContext(ctx context.Context, removeComponentOptions *RemoveComponentOptions) (result *DeleteComponentResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) RemoveComponentsByTag(removeComponentsByTagOptions *RemoveComponentsByTagOptions) (result *RemoveMultiComponentsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) RemoveComponentsByTagWithContext(ctx context.Context, ...) (result *RemoveMultiComponentsResponse, response *core.DetailedResponse, ...)
- func (blockchain *BlockchainV3) Restart(restartOptions *RestartOptions) (result *RestartAthenaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) RestartWithContext(ctx context.Context, restartOptions *RestartOptions) (result *RestartAthenaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) SetDefaultHeaders(headers http.Header)
- func (blockchain *BlockchainV3) SetEnableGzipCompression(enableGzip bool)
- func (blockchain *BlockchainV3) SetServiceURL(url string) error
- func (blockchain *BlockchainV3) SubmitBlock(submitBlockOptions *SubmitBlockOptions) (result *GenericComponentResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) SubmitBlockWithContext(ctx context.Context, submitBlockOptions *SubmitBlockOptions) (result *GenericComponentResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) UpdateCa(updateCaOptions *UpdateCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) UpdateCaWithContext(ctx context.Context, updateCaOptions *UpdateCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) UpdateOrderer(updateOrdererOptions *UpdateOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) UpdateOrdererWithContext(ctx context.Context, updateOrdererOptions *UpdateOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) UpdatePeer(updatePeerOptions *UpdatePeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
- func (blockchain *BlockchainV3) UpdatePeerWithContext(ctx context.Context, updatePeerOptions *UpdatePeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
- type BlockchainV3Options
- type CaActionOptions
- func (options *CaActionOptions) SetHeaders(param map[string]string) *CaActionOptions
- func (options *CaActionOptions) SetID(id string) *CaActionOptions
- func (options *CaActionOptions) SetRenew(renew *ActionRenew) *CaActionOptions
- func (options *CaActionOptions) SetRestart(restart bool) *CaActionOptions
- type CaResponse
- type CaResponseResources
- type CaResponseStorage
- type CacheData
- type CacheFlushResponse
- type ClearCachesOptions
- type ClientAuth
- type ConfigCAAffiliations
- type ConfigCACa
- type ConfigCACfg
- type ConfigCACfgIdentities
- type ConfigCACors
- type ConfigCACreate
- type ConfigCACrl
- type ConfigCACsr
- type ConfigCACsrCa
- type ConfigCACsrKeyrequest
- type ConfigCACsrNamesItem
- type ConfigCADb
- type ConfigCADbTls
- type ConfigCADbTlsClient
- type ConfigCAIdemix
- type ConfigCAIntermediate
- type ConfigCAIntermediateEnrollment
- type ConfigCAIntermediateParentserver
- type ConfigCAIntermediateTls
- type ConfigCAIntermediateTlsClient
- type ConfigCARegistry
- type ConfigCARegistryIdentitiesItem
- type ConfigCASigning
- type ConfigCASigningDefault
- type ConfigCASigningProfiles
- type ConfigCASigningProfilesCa
- type ConfigCASigningProfilesCaCaconstraint
- type ConfigCASigningProfilesTls
- type ConfigCATls
- type ConfigCATlsClientauth
- type ConfigCAUpdate
- type ConfigOrdererAuthentication
- type ConfigOrdererCreate
- type ConfigOrdererDebug
- type ConfigOrdererGeneral
- type ConfigOrdererGeneralUpdate
- type ConfigOrdererKeepalive
- type ConfigOrdererMetrics
- type ConfigOrdererMetricsStatsd
- type ConfigOrdererUpdate
- type ConfigPeerAdminService
- type ConfigPeerAuthentication
- type ConfigPeerChaincode
- type ConfigPeerChaincodeExternalBuildersItem
- type ConfigPeerChaincodeGolang
- type ConfigPeerChaincodeLogging
- type ConfigPeerChaincodeSystem
- type ConfigPeerClient
- type ConfigPeerCreate
- type ConfigPeerCreatePeer
- type ConfigPeerDeliveryclient
- type ConfigPeerDeliveryclientAddressOverridesItem
- type ConfigPeerDiscovery
- type ConfigPeerGateway
- type ConfigPeerGossip
- type ConfigPeerGossipElection
- type ConfigPeerGossipPvtData
- type ConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy
- type ConfigPeerGossipState
- type ConfigPeerKeepalive
- type ConfigPeerKeepaliveClient
- type ConfigPeerKeepaliveDeliveryClient
- type ConfigPeerLimits
- type ConfigPeerLimitsConcurrency
- type ConfigPeerUpdate
- type ConfigPeerUpdatePeer
- type CpuHealthStats
- type CpuHealthStatsTimes
- type CreateCaBodyConfigOverride
- type CreateCaBodyResources
- type CreateCaBodyStorage
- type CreateCaOptions
- func (options *CreateCaOptions) SetConfigOverride(configOverride *CreateCaBodyConfigOverride) *CreateCaOptions
- func (options *CreateCaOptions) SetDisplayName(displayName string) *CreateCaOptions
- func (options *CreateCaOptions) SetHeaders(param map[string]string) *CreateCaOptions
- func (options *CreateCaOptions) SetHsm(hsm *Hsm) *CreateCaOptions
- func (options *CreateCaOptions) SetID(id string) *CreateCaOptions
- func (options *CreateCaOptions) SetRegion(region string) *CreateCaOptions
- func (options *CreateCaOptions) SetReplicas(replicas float64) *CreateCaOptions
- func (options *CreateCaOptions) SetResources(resources *CreateCaBodyResources) *CreateCaOptions
- func (options *CreateCaOptions) SetStorage(storage *CreateCaBodyStorage) *CreateCaOptions
- func (options *CreateCaOptions) SetTags(tags []string) *CreateCaOptions
- func (options *CreateCaOptions) SetVersion(version string) *CreateCaOptions
- func (options *CreateCaOptions) SetZone(zone string) *CreateCaOptions
- type CreateOrdererOptions
- func (options *CreateOrdererOptions) SetClusterID(clusterID string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetClusterName(clusterName string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetConfigOverride(configOverride []ConfigOrdererCreate) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetCrypto(crypto []CryptoObject) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetDisplayName(displayName string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetExternalAppend(externalAppend bool) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetHeaders(param map[string]string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetHsm(hsm *Hsm) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetID(id string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetMspID(mspID string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetOrdererType(ordererType string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetRegion(region []string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetResources(resources *CreateOrdererRaftBodyResources) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetStorage(storage *CreateOrdererRaftBodyStorage) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetSystemChannelID(systemChannelID string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetTags(tags []string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetVersion(version string) *CreateOrdererOptions
- func (options *CreateOrdererOptions) SetZone(zone []string) *CreateOrdererOptions
- type CreateOrdererRaftBodyResources
- type CreateOrdererRaftBodyStorage
- type CreateOrdererResponse
- type CreatePeerBodyStorage
- type CreatePeerOptions
- func (options *CreatePeerOptions) SetConfigOverride(configOverride *ConfigPeerCreate) *CreatePeerOptions
- func (options *CreatePeerOptions) SetCrypto(crypto *CryptoObject) *CreatePeerOptions
- func (options *CreatePeerOptions) SetDisplayName(displayName string) *CreatePeerOptions
- func (options *CreatePeerOptions) SetHeaders(param map[string]string) *CreatePeerOptions
- func (options *CreatePeerOptions) SetHsm(hsm *Hsm) *CreatePeerOptions
- func (options *CreatePeerOptions) SetID(id string) *CreatePeerOptions
- func (options *CreatePeerOptions) SetMspID(mspID string) *CreatePeerOptions
- func (options *CreatePeerOptions) SetRegion(region string) *CreatePeerOptions
- func (options *CreatePeerOptions) SetResources(resources *PeerResources) *CreatePeerOptions
- func (options *CreatePeerOptions) SetStateDb(stateDb string) *CreatePeerOptions
- func (options *CreatePeerOptions) SetStorage(storage *CreatePeerBodyStorage) *CreatePeerOptions
- func (options *CreatePeerOptions) SetTags(tags []string) *CreatePeerOptions
- func (options *CreatePeerOptions) SetVersion(version string) *CreatePeerOptions
- func (options *CreatePeerOptions) SetZone(zone string) *CreatePeerOptions
- type CryptoEnrollmentComponent
- type CryptoObject
- type CryptoObjectEnrollment
- type CryptoObjectEnrollmentCa
- type CryptoObjectEnrollmentTlsca
- type CryptoObjectMsp
- type DeleteAllComponentsOptions
- type DeleteAllNotificationsOptions
- type DeleteAllNotificationsResponse
- type DeleteAllSessionsOptions
- type DeleteAllSessionsResponse
- type DeleteComponentOptions
- type DeleteComponentResponse
- type DeleteComponentsByTagOptions
- type DeleteMultiComponentsResponse
- type DeleteSigTxOptions
- type DeleteSignatureCollectionResponse
- type EditAdminCertsOptions
- func (options *EditAdminCertsOptions) SetAppendAdminCerts(appendAdminCerts []string) *EditAdminCertsOptions
- func (options *EditAdminCertsOptions) SetHeaders(param map[string]string) *EditAdminCertsOptions
- func (options *EditAdminCertsOptions) SetID(id string) *EditAdminCertsOptions
- func (options *EditAdminCertsOptions) SetRemoveAdminCerts(removeAdminCerts []string) *EditAdminCertsOptions
- type EditAdminCertsResponse
- type EditAdminCertsResponseSetAdminCertsItem
- type EditCaOptions
- func (options *EditCaOptions) SetApiURL(apiURL string) *EditCaOptions
- func (options *EditCaOptions) SetCaName(caName string) *EditCaOptions
- func (options *EditCaOptions) SetDisplayName(displayName string) *EditCaOptions
- func (options *EditCaOptions) SetHeaders(param map[string]string) *EditCaOptions
- func (options *EditCaOptions) SetID(id string) *EditCaOptions
- func (options *EditCaOptions) SetLocation(location string) *EditCaOptions
- func (options *EditCaOptions) SetOperationsURL(operationsURL string) *EditCaOptions
- func (options *EditCaOptions) SetTags(tags []string) *EditCaOptions
- type EditLogSettingsBody
- type EditMspOptions
- func (options *EditMspOptions) SetAdmins(admins []string) *EditMspOptions
- func (options *EditMspOptions) SetDisplayName(displayName string) *EditMspOptions
- func (options *EditMspOptions) SetHeaders(param map[string]string) *EditMspOptions
- func (options *EditMspOptions) SetID(id string) *EditMspOptions
- func (options *EditMspOptions) SetIntermediateCerts(intermediateCerts []string) *EditMspOptions
- func (options *EditMspOptions) SetMspID(mspID string) *EditMspOptions
- func (options *EditMspOptions) SetRootCerts(rootCerts []string) *EditMspOptions
- func (options *EditMspOptions) SetTlsRootCerts(tlsRootCerts []string) *EditMspOptions
- type EditOrdererOptions
- func (options *EditOrdererOptions) SetApiURL(apiURL string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetClusterName(clusterName string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetConsenterProposalFin(consenterProposalFin bool) *EditOrdererOptions
- func (options *EditOrdererOptions) SetDisplayName(displayName string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetGrpcwpURL(grpcwpURL string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetHeaders(param map[string]string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetID(id string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetLocation(location string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetMspID(mspID string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetOperationsURL(operationsURL string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetSystemChannelID(systemChannelID string) *EditOrdererOptions
- func (options *EditOrdererOptions) SetTags(tags []string) *EditOrdererOptions
- type EditPeerOptions
- func (options *EditPeerOptions) SetApiURL(apiURL string) *EditPeerOptions
- func (options *EditPeerOptions) SetDisplayName(displayName string) *EditPeerOptions
- func (options *EditPeerOptions) SetGrpcwpURL(grpcwpURL string) *EditPeerOptions
- func (options *EditPeerOptions) SetHeaders(param map[string]string) *EditPeerOptions
- func (options *EditPeerOptions) SetID(id string) *EditPeerOptions
- func (options *EditPeerOptions) SetLocation(location string) *EditPeerOptions
- func (options *EditPeerOptions) SetMspID(mspID string) *EditPeerOptions
- func (options *EditPeerOptions) SetOperationsURL(operationsURL string) *EditPeerOptions
- func (options *EditPeerOptions) SetTags(tags []string) *EditPeerOptions
- type EditSettingsBodyInactivityTimeouts
- type EditSettingsOptions
- func (options *EditSettingsOptions) SetFabricGeneralTimeoutMs(fabricGeneralTimeoutMs float64) *EditSettingsOptions
- func (options *EditSettingsOptions) SetFabricGetBlockTimeoutMs(fabricGetBlockTimeoutMs float64) *EditSettingsOptions
- func (options *EditSettingsOptions) SetFabricInstallCcTimeoutMs(fabricInstallCcTimeoutMs float64) *EditSettingsOptions
- func (options *EditSettingsOptions) SetFabricInstantiateTimeoutMs(fabricInstantiateTimeoutMs float64) *EditSettingsOptions
- func (options *EditSettingsOptions) SetFabricJoinChannelTimeoutMs(fabricJoinChannelTimeoutMs float64) *EditSettingsOptions
- func (options *EditSettingsOptions) SetFabricLcGetCcTimeoutMs(fabricLcGetCcTimeoutMs float64) *EditSettingsOptions
- func (options *EditSettingsOptions) SetFabricLcInstallCcTimeoutMs(fabricLcInstallCcTimeoutMs float64) *EditSettingsOptions
- func (options *EditSettingsOptions) SetFileLogging(fileLogging *EditLogSettingsBody) *EditSettingsOptions
- func (options *EditSettingsOptions) SetHeaders(param map[string]string) *EditSettingsOptions
- func (options *EditSettingsOptions) SetInactivityTimeouts(inactivityTimeouts *EditSettingsBodyInactivityTimeouts) *EditSettingsOptions
- func (options *EditSettingsOptions) SetMaxReqPerMin(maxReqPerMin float64) *EditSettingsOptions
- func (options *EditSettingsOptions) SetMaxReqPerMinAk(maxReqPerMinAk float64) *EditSettingsOptions
- type FabVersionObject
- type FabricVersionDictionary
- type GenericComponentResponse
- type GenericComponentResponseMsp
- type GenericComponentResponseMspCa
- type GenericComponentResponseMspComponent
- type GenericComponentResponseMspTlsca
- type GenericComponentResponseResources
- type GenericComponentResponseStorage
- type GenericResourceLimits
- type GenericResources
- type GenericResourcesRequests
- type GetAthenaHealthStatsResponse
- type GetAthenaHealthStatsResponseOPTOOLS
- type GetAthenaHealthStatsResponseOPTOOLSMemoryUsage
- type GetAthenaHealthStatsResponseOS
- type GetComponentOptions
- func (options *GetComponentOptions) SetCaAttrs(caAttrs string) *GetComponentOptions
- func (options *GetComponentOptions) SetCache(cache string) *GetComponentOptions
- func (options *GetComponentOptions) SetDeploymentAttrs(deploymentAttrs string) *GetComponentOptions
- func (options *GetComponentOptions) SetHeaders(param map[string]string) *GetComponentOptions
- func (options *GetComponentOptions) SetID(id string) *GetComponentOptions
- func (options *GetComponentOptions) SetParsedCerts(parsedCerts string) *GetComponentOptions
- type GetComponentsByTagOptions
- func (options *GetComponentsByTagOptions) SetCache(cache string) *GetComponentsByTagOptions
- func (options *GetComponentsByTagOptions) SetDeploymentAttrs(deploymentAttrs string) *GetComponentsByTagOptions
- func (options *GetComponentsByTagOptions) SetHeaders(param map[string]string) *GetComponentsByTagOptions
- func (options *GetComponentsByTagOptions) SetParsedCerts(parsedCerts string) *GetComponentsByTagOptions
- func (options *GetComponentsByTagOptions) SetTag(tag string) *GetComponentsByTagOptions
- type GetComponentsByTypeOptions
- func (options *GetComponentsByTypeOptions) SetCache(cache string) *GetComponentsByTypeOptions
- func (options *GetComponentsByTypeOptions) SetDeploymentAttrs(deploymentAttrs string) *GetComponentsByTypeOptions
- func (options *GetComponentsByTypeOptions) SetHeaders(param map[string]string) *GetComponentsByTypeOptions
- func (options *GetComponentsByTypeOptions) SetParsedCerts(parsedCerts string) *GetComponentsByTypeOptions
- func (options *GetComponentsByTypeOptions) SetType(typeVar string) *GetComponentsByTypeOptions
- type GetFabVersionsOptions
- type GetFabricVersionsResponse
- type GetFabricVersionsResponseVersions
- type GetHealthOptions
- type GetMSPCertificateResponse
- type GetMspCertificateOptions
- type GetMultiComponentsResponse
- type GetNotificationsResponse
- type GetPostmanOptions
- func (options *GetPostmanOptions) SetApiKey(apiKey string) *GetPostmanOptions
- func (options *GetPostmanOptions) SetAuthType(authType string) *GetPostmanOptions
- func (options *GetPostmanOptions) SetHeaders(param map[string]string) *GetPostmanOptions
- func (options *GetPostmanOptions) SetPassword(password string) *GetPostmanOptions
- func (options *GetPostmanOptions) SetToken(token string) *GetPostmanOptions
- func (options *GetPostmanOptions) SetUsername(username string) *GetPostmanOptions
- type GetPublicSettingsResponse
- type GetPublicSettingsResponseCLUSTERDATA
- type GetPublicSettingsResponseCRN
- type GetPublicSettingsResponseFABRICCAPABILITIES
- type GetPublicSettingsResponseFILELOGGING
- type GetPublicSettingsResponseINACTIVITYTIMEOUTS
- type GetPublicSettingsResponseVERSIONS
- type GetSettingsOptions
- type GetSwaggerOptions
- type Hsm
- type IdentityAttrs
- type ImportCaBodyMsp
- type ImportCaBodyMspCa
- type ImportCaBodyMspComponent
- type ImportCaBodyMspTlsca
- type ImportCaOptions
- func (options *ImportCaOptions) SetApiURL(apiURL string) *ImportCaOptions
- func (options *ImportCaOptions) SetDisplayName(displayName string) *ImportCaOptions
- func (options *ImportCaOptions) SetHeaders(param map[string]string) *ImportCaOptions
- func (options *ImportCaOptions) SetID(id string) *ImportCaOptions
- func (options *ImportCaOptions) SetLocation(location string) *ImportCaOptions
- func (options *ImportCaOptions) SetMsp(msp *ImportCaBodyMsp) *ImportCaOptions
- func (options *ImportCaOptions) SetOperationsURL(operationsURL string) *ImportCaOptions
- func (options *ImportCaOptions) SetTags(tags []string) *ImportCaOptions
- func (options *ImportCaOptions) SetTlsCert(tlsCert string) *ImportCaOptions
- type ImportMspOptions
- func (options *ImportMspOptions) SetAdmins(admins []string) *ImportMspOptions
- func (options *ImportMspOptions) SetDisplayName(displayName string) *ImportMspOptions
- func (options *ImportMspOptions) SetHeaders(param map[string]string) *ImportMspOptions
- func (options *ImportMspOptions) SetIntermediateCerts(intermediateCerts []string) *ImportMspOptions
- func (options *ImportMspOptions) SetMspID(mspID string) *ImportMspOptions
- func (options *ImportMspOptions) SetRootCerts(rootCerts []string) *ImportMspOptions
- func (options *ImportMspOptions) SetTlsRootCerts(tlsRootCerts []string) *ImportMspOptions
- type ImportOrdererOptions
- func (options *ImportOrdererOptions) SetApiURL(apiURL string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetClusterID(clusterID string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetClusterName(clusterName string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetDisplayName(displayName string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetGrpcwpURL(grpcwpURL string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetHeaders(param map[string]string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetID(id string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetLocation(location string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetMsp(msp *MspCryptoField) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetMspID(mspID string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetOperationsURL(operationsURL string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetSystemChannelID(systemChannelID string) *ImportOrdererOptions
- func (options *ImportOrdererOptions) SetTags(tags []string) *ImportOrdererOptions
- type ImportPeerOptions
- func (options *ImportPeerOptions) SetApiURL(apiURL string) *ImportPeerOptions
- func (options *ImportPeerOptions) SetDisplayName(displayName string) *ImportPeerOptions
- func (options *ImportPeerOptions) SetGrpcwpURL(grpcwpURL string) *ImportPeerOptions
- func (options *ImportPeerOptions) SetHeaders(param map[string]string) *ImportPeerOptions
- func (options *ImportPeerOptions) SetID(id string) *ImportPeerOptions
- func (options *ImportPeerOptions) SetLocation(location string) *ImportPeerOptions
- func (options *ImportPeerOptions) SetMsp(msp *MspCryptoField) *ImportPeerOptions
- func (options *ImportPeerOptions) SetMspID(mspID string) *ImportPeerOptions
- func (options *ImportPeerOptions) SetOperationsURL(operationsURL string) *ImportPeerOptions
- func (options *ImportPeerOptions) SetTags(tags []string) *ImportPeerOptions
- type ListComponentsOptions
- func (options *ListComponentsOptions) SetCaAttrs(caAttrs string) *ListComponentsOptions
- func (options *ListComponentsOptions) SetCache(cache string) *ListComponentsOptions
- func (options *ListComponentsOptions) SetDeploymentAttrs(deploymentAttrs string) *ListComponentsOptions
- func (options *ListComponentsOptions) SetHeaders(param map[string]string) *ListComponentsOptions
- func (options *ListComponentsOptions) SetParsedCerts(parsedCerts string) *ListComponentsOptions
- type ListNotificationsOptions
- func (options *ListNotificationsOptions) SetComponentID(componentID string) *ListNotificationsOptions
- func (options *ListNotificationsOptions) SetHeaders(param map[string]string) *ListNotificationsOptions
- func (options *ListNotificationsOptions) SetLimit(limit float64) *ListNotificationsOptions
- func (options *ListNotificationsOptions) SetSkip(skip float64) *ListNotificationsOptions
- type LogSettingsResponse
- type LoggingSettingsClient
- type LoggingSettingsServer
- type Metrics
- type MetricsStatsd
- type MspCryptoCa
- type MspCryptoComp
- type MspCryptoField
- type MspCryptoFieldCa
- type MspCryptoFieldComponent
- type MspCryptoFieldTlsca
- type MspPublicData
- type MspResponse
- type NodeOu
- type NodeOuGeneral
- type NotificationData
- type OrdererActionOptions
- func (options *OrdererActionOptions) SetEnroll(enroll *ActionEnroll) *OrdererActionOptions
- func (options *OrdererActionOptions) SetHeaders(param map[string]string) *OrdererActionOptions
- func (options *OrdererActionOptions) SetID(id string) *OrdererActionOptions
- func (options *OrdererActionOptions) SetReenroll(reenroll *ActionReenroll) *OrdererActionOptions
- func (options *OrdererActionOptions) SetRestart(restart bool) *OrdererActionOptions
- type OrdererResponse
- type OrdererResponseResources
- type OrdererResponseStorage
- type PeerActionOptions
- func (options *PeerActionOptions) SetEnroll(enroll *ActionEnroll) *PeerActionOptions
- func (options *PeerActionOptions) SetHeaders(param map[string]string) *PeerActionOptions
- func (options *PeerActionOptions) SetID(id string) *PeerActionOptions
- func (options *PeerActionOptions) SetReenroll(reenroll *ActionReenroll) *PeerActionOptions
- func (options *PeerActionOptions) SetRestart(restart bool) *PeerActionOptions
- func (options *PeerActionOptions) SetUpgradeDbs(upgradeDbs bool) *PeerActionOptions
- type PeerResources
- type PeerResponse
- type PeerResponseResources
- type PeerResponseStorage
- type RemoveComponentOptions
- type RemoveComponentsByTagOptions
- type RemoveMultiComponentsResponse
- type ResourceLimits
- type ResourceObject
- type ResourceObjectCouchDb
- type ResourceObjectFabV1
- type ResourceObjectFabV2
- type ResourceRequests
- type RestartAthenaResponse
- type RestartOptions
- type SettingsTimestampData
- type StorageObject
- type SubmitBlockOptions
- type UpdateCaBodyConfigOverride
- type UpdateCaBodyResources
- type UpdateCaOptions
- func (options *UpdateCaOptions) SetConfigOverride(configOverride *UpdateCaBodyConfigOverride) *UpdateCaOptions
- func (options *UpdateCaOptions) SetHeaders(param map[string]string) *UpdateCaOptions
- func (options *UpdateCaOptions) SetID(id string) *UpdateCaOptions
- func (options *UpdateCaOptions) SetReplicas(replicas float64) *UpdateCaOptions
- func (options *UpdateCaOptions) SetResources(resources *UpdateCaBodyResources) *UpdateCaOptions
- func (options *UpdateCaOptions) SetVersion(version string) *UpdateCaOptions
- func (options *UpdateCaOptions) SetZone(zone string) *UpdateCaOptions
- type UpdateEnrollmentCryptoField
- type UpdateEnrollmentCryptoFieldCa
- type UpdateEnrollmentCryptoFieldTlsca
- type UpdateMspCryptoField
- type UpdateMspCryptoFieldCa
- type UpdateMspCryptoFieldComponent
- type UpdateMspCryptoFieldTlsca
- type UpdateOrdererBodyCrypto
- type UpdateOrdererBodyResources
- type UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetAdminCerts(adminCerts []string) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetConfigOverride(configOverride *ConfigOrdererUpdate) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetCrypto(crypto *UpdateOrdererBodyCrypto) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetHeaders(param map[string]string) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetID(id string) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetNodeOu(nodeOu *NodeOu) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetReplicas(replicas float64) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetResources(resources *UpdateOrdererBodyResources) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetVersion(version string) *UpdateOrdererOptions
- func (options *UpdateOrdererOptions) SetZone(zone string) *UpdateOrdererOptions
- type UpdatePeerBodyCrypto
- type UpdatePeerOptions
- func (options *UpdatePeerOptions) SetAdminCerts(adminCerts []string) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetConfigOverride(configOverride *ConfigPeerUpdate) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetCrypto(crypto *UpdatePeerBodyCrypto) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetHeaders(param map[string]string) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetID(id string) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetNodeOu(nodeOu *NodeOu) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetReplicas(replicas float64) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetResources(resources *PeerResources) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetVersion(version string) *UpdatePeerOptions
- func (options *UpdatePeerOptions) SetZone(zone string) *UpdatePeerOptions
Constants ¶
const ( Bccsp_Default_Pkcs11 = "PKCS11" Bccsp_Default_Sw = "SW" )
Constants associated with the Bccsp.Default property. The name of the crypto library implementation to use for the BlockChain Crypto Service Provider (bccsp). Defaults to `SW`.
const ( CacheFlushResponse_Flushed_CouchCache = "couch_cache" CacheFlushResponse_Flushed_IamCache = "iam_cache" CacheFlushResponse_Flushed_ProxyCache = "proxy_cache" CacheFlushResponse_Flushed_SessionCache = "session_cache" )
Constants associated with the CacheFlushResponse.Flushed property.
const ( ConfigCARegistryIdentitiesItem_Type_Admin = "admin" ConfigCARegistryIdentitiesItem_Type_Client = "client" ConfigCARegistryIdentitiesItem_Type_Orderer = "orderer" ConfigCARegistryIdentitiesItem_Type_Peer = "peer" ConfigCARegistryIdentitiesItem_Type_User = "user" )
Constants associated with the ConfigCARegistryIdentitiesItem.Type property. The type of identity.
const ( ConfigCADb_Type_Mysql = "mysql" ConfigCADb_Type_Postgres = "postgres" ConfigCADb_Type_Sqlite3 = "sqlite3" )
Constants associated with the ConfigCADb.Type property. The type of database. Either 'sqlite3', 'postgres', 'mysql'. Defaults 'sqlite3'.
const ( ConfigOrdererMetricsStatsd_Network_Tcp = "tcp" ConfigOrdererMetricsStatsd_Network_Udp = "udp" )
Constants associated with the ConfigOrdererMetricsStatsd.Network property. Network protocol to use.
const ( ConfigOrdererMetrics_Provider_Disabled = "disabled" ConfigOrdererMetrics_Provider_Prometheus = "prometheus" ConfigOrdererMetrics_Provider_Statsd = "statsd" )
Constants associated with the ConfigOrdererMetrics.Provider property. The metrics provider to use.
const ( ConfigPeerChaincodeLogging_Level_Debug = "debug" ConfigPeerChaincodeLogging_Level_Error = "error" ConfigPeerChaincodeLogging_Level_Fatal = "fatal" ConfigPeerChaincodeLogging_Level_Info = "info" ConfigPeerChaincodeLogging_Level_Panic = "panic" ConfigPeerChaincodeLogging_Level_Warning = "warning" )
Constants associated with the ConfigPeerChaincodeLogging.Level property. Default logging level for loggers within chaincode containers.
const ( ConfigPeerChaincodeLogging_Shim_Debug = "debug" ConfigPeerChaincodeLogging_Shim_Error = "error" ConfigPeerChaincodeLogging_Shim_Fatal = "fatal" ConfigPeerChaincodeLogging_Shim_Info = "info" ConfigPeerChaincodeLogging_Shim_Panic = "panic" ConfigPeerChaincodeLogging_Shim_Warning = "warning" )
Constants associated with the ConfigPeerChaincodeLogging.Shim property. Override default level for the 'shim' logger.
const ( CreatePeerOptions_StateDb_Couchdb = "couchdb" CreatePeerOptions_StateDb_Leveldb = "leveldb" )
Constants associated with the CreatePeerOptions.StateDb property. Select the state database for the peer. Can be either "couchdb" or "leveldb". The default is "couchdb".
const ( GenericComponentResponse_Type_FabricCa = "fabric-ca" GenericComponentResponse_Type_FabricOrderer = "fabric-orderer" GenericComponentResponse_Type_FabricPeer = "fabric-peer" )
Constants associated with the GenericComponentResponse.Type property. The type of this component [Available on all component types].
const ( GetComponentOptions_DeploymentAttrs_Included = "included" GetComponentOptions_DeploymentAttrs_Omitted = "omitted" )
Constants associated with the GetComponentOptions.DeploymentAttrs property. Set to 'included' if the response should include Kubernetes deployment attributes such as 'resources', 'storage', 'zone', 'region', 'admin_certs', etc. Default responses will not include these fields.
**This parameter will not work on *imported* components.**
It's recommended to use `cache=skip` as well if up-to-date deployment data is needed.
const ( GetComponentOptions_ParsedCerts_Included = "included" GetComponentOptions_ParsedCerts_Omitted = "omitted" )
Constants associated with the GetComponentOptions.ParsedCerts property. Set to 'included' if the response should include parsed PEM data along with base 64 encoded PEM string. Parsed certificate data will include fields such as the serial number, issuer, expiration, subject, subject alt names, etc. Default responses will not include these fields.
const ( GetComponentOptions_Cache_Skip = "skip" GetComponentOptions_Cache_Use = "use" )
Constants associated with the GetComponentOptions.Cache property. Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response times if the cache is skipped. Default responses will use the cache.
const ( GetComponentOptions_CaAttrs_Included = "included" GetComponentOptions_CaAttrs_Omitted = "omitted" )
Constants associated with the GetComponentOptions.CaAttrs property. Set to 'included' if the response should fetch CA attributes, inspect certificates, and append extra fields to CA and MSP component responses. - CA components will have fields appended/updated with data fetched from the `/cainfo?ca=ca` endpoint of a CA, such as: `ca_name`, `root_cert`, `fabric_version`, `issuer_public_key` and `issued_known_msps`. The field `issued_known_msps` indicates imported IBP MSPs that this CA has issued. Meaning the MSP's root cert contains a signature that is derived from this CA's root cert. Only imported MSPs are checked. Default responses will not include these fields. - MSP components will have the field `issued_by_ca_id` appended. This field indicates the id of an IBP console CA that issued this MSP. Meaning the MSP's root cert contains a signature that is derived from this CA's root cert. Only imported/created CAs are checked. Default responses will not include these fields.
const ( GetComponentsByTagOptions_DeploymentAttrs_Included = "included" GetComponentsByTagOptions_DeploymentAttrs_Omitted = "omitted" )
Constants associated with the GetComponentsByTagOptions.DeploymentAttrs property. Set to 'included' if the response should include Kubernetes deployment attributes such as 'resources', 'storage', 'zone', 'region', 'admin_certs', etc. Default responses will not include these fields.
**This parameter will not work on *imported* components.**
It's recommended to use `cache=skip` as well if up-to-date deployment data is needed.
const ( GetComponentsByTagOptions_ParsedCerts_Included = "included" GetComponentsByTagOptions_ParsedCerts_Omitted = "omitted" )
Constants associated with the GetComponentsByTagOptions.ParsedCerts property. Set to 'included' if the response should include parsed PEM data along with base 64 encoded PEM string. Parsed certificate data will include fields such as the serial number, issuer, expiration, subject, subject alt names, etc. Default responses will not include these fields.
const ( GetComponentsByTagOptions_Cache_Skip = "skip" GetComponentsByTagOptions_Cache_Use = "use" )
Constants associated with the GetComponentsByTagOptions.Cache property. Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response times if the cache is skipped. Default responses will use the cache.
const ( GetComponentsByTypeOptions_Type_FabricCa = "fabric-ca" GetComponentsByTypeOptions_Type_FabricOrderer = "fabric-orderer" GetComponentsByTypeOptions_Type_FabricPeer = "fabric-peer" GetComponentsByTypeOptions_Type_Msp = "msp" )
Constants associated with the GetComponentsByTypeOptions.Type property. The type of component to filter components on.
const ( GetComponentsByTypeOptions_DeploymentAttrs_Included = "included" GetComponentsByTypeOptions_DeploymentAttrs_Omitted = "omitted" )
Constants associated with the GetComponentsByTypeOptions.DeploymentAttrs property. Set to 'included' if the response should include Kubernetes deployment attributes such as 'resources', 'storage', 'zone', 'region', 'admin_certs', etc. Default responses will not include these fields.
**This parameter will not work on *imported* components.**
It's recommended to use `cache=skip` as well if up-to-date deployment data is needed.
const ( GetComponentsByTypeOptions_ParsedCerts_Included = "included" GetComponentsByTypeOptions_ParsedCerts_Omitted = "omitted" )
Constants associated with the GetComponentsByTypeOptions.ParsedCerts property. Set to 'included' if the response should include parsed PEM data along with base 64 encoded PEM string. Parsed certificate data will include fields such as the serial number, issuer, expiration, subject, subject alt names, etc. Default responses will not include these fields.
const ( GetComponentsByTypeOptions_Cache_Skip = "skip" GetComponentsByTypeOptions_Cache_Use = "use" )
Constants associated with the GetComponentsByTypeOptions.Cache property. Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response times if the cache is skipped. Default responses will use the cache.
const ( GetFabVersionsOptions_Cache_Skip = "skip" GetFabVersionsOptions_Cache_Use = "use" )
Constants associated with the GetFabVersionsOptions.Cache property. Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response times if the cache is skipped. Default responses will use the cache.
const ( GetMspCertificateOptions_Cache_Skip = "skip" GetMspCertificateOptions_Cache_Use = "use" )
Constants associated with the GetMspCertificateOptions.Cache property. Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response times if the cache is skipped. Default responses will use the cache.
const ( GetPostmanOptions_AuthType_ApiKey = "api_key" GetPostmanOptions_AuthType_Basic = "basic" GetPostmanOptions_AuthType_Bearer = "bearer" )
Constants associated with the GetPostmanOptions.AuthType property. - **bearer** - IAM Bearer Auth - *[Available on IBM Cloud]* - The same bearer token used to authenticate this request will be copied into the Postman collection examples. The query parameter `token` must also be set with your IAM bearer/access token value. - **api_key** - IAM Api Key Auth - *[Available on IBM Cloud]* - The IAM api key will be copied into the Postman collection examples. The query parameter `api_key` must also be set with your IAM API Key value. - **basic** - Basic Auth - *[Available on OpenShift & IBM Cloud Private]* - A basic auth username and password will be copied into the Postman collection examples. The query parameters `username` & `password` must also be set with your IBP api key credentials. The IBP api key is the username and the api secret is the password.
const ( ListComponentsOptions_DeploymentAttrs_Included = "included" ListComponentsOptions_DeploymentAttrs_Omitted = "omitted" )
Constants associated with the ListComponentsOptions.DeploymentAttrs property. Set to 'included' if the response should include Kubernetes deployment attributes such as 'resources', 'storage', 'zone', 'region', 'admin_certs', etc. Default responses will not include these fields.
**This parameter will not work on *imported* components.**
It's recommended to use `cache=skip` as well if up-to-date deployment data is needed.
const ( ListComponentsOptions_ParsedCerts_Included = "included" ListComponentsOptions_ParsedCerts_Omitted = "omitted" )
Constants associated with the ListComponentsOptions.ParsedCerts property. Set to 'included' if the response should include parsed PEM data along with base 64 encoded PEM string. Parsed certificate data will include fields such as the serial number, issuer, expiration, subject, subject alt names, etc. Default responses will not include these fields.
const ( ListComponentsOptions_Cache_Skip = "skip" ListComponentsOptions_Cache_Use = "use" )
Constants associated with the ListComponentsOptions.Cache property. Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response times if the cache is skipped. Default responses will use the cache.
const ( ListComponentsOptions_CaAttrs_Included = "included" ListComponentsOptions_CaAttrs_Omitted = "omitted" )
Constants associated with the ListComponentsOptions.CaAttrs property. Set to 'included' if the response should fetch CA attributes, inspect certificates, and append extra fields to CA and MSP component responses. - CA components will have fields appended/updated with data fetched from the `/cainfo?ca=ca` endpoint of a CA, such as: `ca_name`, `root_cert`, `fabric_version`, `issuer_public_key` and `issued_known_msps`. The field `issued_known_msps` indicates imported IBP MSPs that this CA has issued. Meaning the MSP's root cert contains a signature that is derived from this CA's root cert. Only imported MSPs are checked. Default responses will not include these fields. - MSP components will have the field `issued_by_ca_id` appended. This field indicates the id of an IBP console CA that issued this MSP. Meaning the MSP's root cert contains a signature that is derived from this CA's root cert. Only imported/created CAs are checked. Default responses will not include these fields.
const ( LoggingSettingsClient_Level_Debug = "debug" LoggingSettingsClient_Level_Error = "error" LoggingSettingsClient_Level_Info = "info" LoggingSettingsClient_Level_Silly = "silly" LoggingSettingsClient_Level_Verbose = "verbose" LoggingSettingsClient_Level_Warn = "warn" )
Constants associated with the LoggingSettingsClient.Level property. Valid log levels: "error", "warn", "info", "verbose", "debug", or "silly".
const ( LoggingSettingsServer_Level_Debug = "debug" LoggingSettingsServer_Level_Error = "error" LoggingSettingsServer_Level_Info = "info" LoggingSettingsServer_Level_Silly = "silly" LoggingSettingsServer_Level_Verbose = "verbose" LoggingSettingsServer_Level_Warn = "warn" )
Constants associated with the LoggingSettingsServer.Level property. Valid log levels: "error", "warn", "info", "verbose", "debug", or "silly".
const ( Metrics_Provider_Disabled = "disabled" Metrics_Provider_Prometheus = "prometheus" Metrics_Provider_Statsd = "statsd" )
Constants associated with the Metrics.Provider property. Metrics provider to use. Can be either 'statsd', 'prometheus', or 'disabled'.
const ( MetricsStatsd_Network_Tcp = "tcp" MetricsStatsd_Network_Udp = "udp" )
Constants associated with the MetricsStatsd.Network property. Either UDP or TCP.
const ( PeerResponse_StateDb_Couchdb = "couchdb" PeerResponse_StateDb_Leveldb = "leveldb" )
Constants associated with the PeerResponse.StateDb property. Select the state database for the peer. Can be either "couchdb" or "leveldb". The default is "couchdb".
const (
CreateOrdererOptions_OrdererType_Raft = "raft"
)
Constants associated with the CreateOrdererOptions.OrdererType property. The type of Fabric orderer. Currently, only the type `"raft"` is supported. etcd/raft(/docs/blockchain?topic=blockchain-ibp-console-build-network#ibp-console-build-network-ordering-console).
const DefaultServiceName = "blockchain"
DefaultServiceName is the default key used to find external configuration information.
const (
OrdererResponse_OrdererType_Raft = "raft"
)
Constants associated with the OrdererResponse.OrdererType property. The type of Fabric orderer. Currently, only the type `"raft"` is supported. etcd/raft(/docs/blockchain?topic=blockchain-ibp-console-build-network#ibp-console-build-network-ordering-console).
Variables ¶
This section is empty.
Functions ¶
func GetServiceURLForRegion ¶
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalActionEnroll ¶
func UnmarshalActionEnroll(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalActionEnroll unmarshals an instance of ActionEnroll from the specified map of raw messages.
func UnmarshalActionReenroll ¶
func UnmarshalActionReenroll(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalActionReenroll unmarshals an instance of ActionReenroll from the specified map of raw messages.
func UnmarshalActionRenew ¶
func UnmarshalActionRenew(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalActionRenew unmarshals an instance of ActionRenew from the specified map of raw messages.
func UnmarshalActionsResponse ¶
func UnmarshalActionsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalActionsResponse unmarshals an instance of ActionsResponse from the specified map of raw messages.
func UnmarshalArchiveResponse ¶
func UnmarshalArchiveResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalArchiveResponse unmarshals an instance of ArchiveResponse from the specified map of raw messages.
func UnmarshalBccsp ¶
func UnmarshalBccsp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalBccsp unmarshals an instance of Bccsp from the specified map of raw messages.
func UnmarshalBccspPKCS11 ¶
func UnmarshalBccspPKCS11(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalBccspPKCS11 unmarshals an instance of BccspPKCS11 from the specified map of raw messages.
func UnmarshalBccspSW ¶
func UnmarshalBccspSW(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalBccspSW unmarshals an instance of BccspSW from the specified map of raw messages.
func UnmarshalCaResponse ¶
func UnmarshalCaResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCaResponse unmarshals an instance of CaResponse from the specified map of raw messages.
func UnmarshalCaResponseResources ¶
func UnmarshalCaResponseResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCaResponseResources unmarshals an instance of CaResponseResources from the specified map of raw messages.
func UnmarshalCaResponseStorage ¶
func UnmarshalCaResponseStorage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCaResponseStorage unmarshals an instance of CaResponseStorage from the specified map of raw messages.
func UnmarshalCacheData ¶
func UnmarshalCacheData(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCacheData unmarshals an instance of CacheData from the specified map of raw messages.
func UnmarshalCacheFlushResponse ¶
func UnmarshalCacheFlushResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCacheFlushResponse unmarshals an instance of CacheFlushResponse from the specified map of raw messages.
func UnmarshalClientAuth ¶
func UnmarshalClientAuth(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalClientAuth unmarshals an instance of ClientAuth from the specified map of raw messages.
func UnmarshalConfigCAAffiliations ¶
func UnmarshalConfigCAAffiliations(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCAAffiliations unmarshals an instance of ConfigCAAffiliations from the specified map of raw messages.
func UnmarshalConfigCACa ¶
func UnmarshalConfigCACa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACa unmarshals an instance of ConfigCACa from the specified map of raw messages.
func UnmarshalConfigCACfg ¶
func UnmarshalConfigCACfg(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACfg unmarshals an instance of ConfigCACfg from the specified map of raw messages.
func UnmarshalConfigCACfgIdentities ¶
func UnmarshalConfigCACfgIdentities(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACfgIdentities unmarshals an instance of ConfigCACfgIdentities from the specified map of raw messages.
func UnmarshalConfigCACors ¶
func UnmarshalConfigCACors(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACors unmarshals an instance of ConfigCACors from the specified map of raw messages.
func UnmarshalConfigCACreate ¶
func UnmarshalConfigCACreate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACreate unmarshals an instance of ConfigCACreate from the specified map of raw messages.
func UnmarshalConfigCACrl ¶
func UnmarshalConfigCACrl(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACrl unmarshals an instance of ConfigCACrl from the specified map of raw messages.
func UnmarshalConfigCACsr ¶
func UnmarshalConfigCACsr(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACsr unmarshals an instance of ConfigCACsr from the specified map of raw messages.
func UnmarshalConfigCACsrCa ¶
func UnmarshalConfigCACsrCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACsrCa unmarshals an instance of ConfigCACsrCa from the specified map of raw messages.
func UnmarshalConfigCACsrKeyrequest ¶
func UnmarshalConfigCACsrKeyrequest(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACsrKeyrequest unmarshals an instance of ConfigCACsrKeyrequest from the specified map of raw messages.
func UnmarshalConfigCACsrNamesItem ¶
func UnmarshalConfigCACsrNamesItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCACsrNamesItem unmarshals an instance of ConfigCACsrNamesItem from the specified map of raw messages.
func UnmarshalConfigCADb ¶
func UnmarshalConfigCADb(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCADb unmarshals an instance of ConfigCADb from the specified map of raw messages.
func UnmarshalConfigCADbTls ¶
func UnmarshalConfigCADbTls(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCADbTls unmarshals an instance of ConfigCADbTls from the specified map of raw messages.
func UnmarshalConfigCADbTlsClient ¶
func UnmarshalConfigCADbTlsClient(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCADbTlsClient unmarshals an instance of ConfigCADbTlsClient from the specified map of raw messages.
func UnmarshalConfigCAIdemix ¶
func UnmarshalConfigCAIdemix(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCAIdemix unmarshals an instance of ConfigCAIdemix from the specified map of raw messages.
func UnmarshalConfigCAIntermediate ¶
func UnmarshalConfigCAIntermediate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCAIntermediate unmarshals an instance of ConfigCAIntermediate from the specified map of raw messages.
func UnmarshalConfigCAIntermediateEnrollment ¶
func UnmarshalConfigCAIntermediateEnrollment(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCAIntermediateEnrollment unmarshals an instance of ConfigCAIntermediateEnrollment from the specified map of raw messages.
func UnmarshalConfigCAIntermediateParentserver ¶
func UnmarshalConfigCAIntermediateParentserver(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCAIntermediateParentserver unmarshals an instance of ConfigCAIntermediateParentserver from the specified map of raw messages.
func UnmarshalConfigCAIntermediateTls ¶
func UnmarshalConfigCAIntermediateTls(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCAIntermediateTls unmarshals an instance of ConfigCAIntermediateTls from the specified map of raw messages.
func UnmarshalConfigCAIntermediateTlsClient ¶
func UnmarshalConfigCAIntermediateTlsClient(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCAIntermediateTlsClient unmarshals an instance of ConfigCAIntermediateTlsClient from the specified map of raw messages.
func UnmarshalConfigCARegistry ¶
func UnmarshalConfigCARegistry(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCARegistry unmarshals an instance of ConfigCARegistry from the specified map of raw messages.
func UnmarshalConfigCARegistryIdentitiesItem ¶
func UnmarshalConfigCARegistryIdentitiesItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCARegistryIdentitiesItem unmarshals an instance of ConfigCARegistryIdentitiesItem from the specified map of raw messages.
func UnmarshalConfigCASigning ¶
func UnmarshalConfigCASigning(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCASigning unmarshals an instance of ConfigCASigning from the specified map of raw messages.
func UnmarshalConfigCASigningDefault ¶
func UnmarshalConfigCASigningDefault(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCASigningDefault unmarshals an instance of ConfigCASigningDefault from the specified map of raw messages.
func UnmarshalConfigCASigningProfiles ¶
func UnmarshalConfigCASigningProfiles(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCASigningProfiles unmarshals an instance of ConfigCASigningProfiles from the specified map of raw messages.
func UnmarshalConfigCASigningProfilesCa ¶
func UnmarshalConfigCASigningProfilesCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCASigningProfilesCa unmarshals an instance of ConfigCASigningProfilesCa from the specified map of raw messages.
func UnmarshalConfigCASigningProfilesCaCaconstraint ¶
func UnmarshalConfigCASigningProfilesCaCaconstraint(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCASigningProfilesCaCaconstraint unmarshals an instance of ConfigCASigningProfilesCaCaconstraint from the specified map of raw messages.
func UnmarshalConfigCASigningProfilesTls ¶
func UnmarshalConfigCASigningProfilesTls(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCASigningProfilesTls unmarshals an instance of ConfigCASigningProfilesTls from the specified map of raw messages.
func UnmarshalConfigCATls ¶
func UnmarshalConfigCATls(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCATls unmarshals an instance of ConfigCATls from the specified map of raw messages.
func UnmarshalConfigCATlsClientauth ¶
func UnmarshalConfigCATlsClientauth(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCATlsClientauth unmarshals an instance of ConfigCATlsClientauth from the specified map of raw messages.
func UnmarshalConfigCAUpdate ¶
func UnmarshalConfigCAUpdate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigCAUpdate unmarshals an instance of ConfigCAUpdate from the specified map of raw messages.
func UnmarshalConfigOrdererAuthentication ¶
func UnmarshalConfigOrdererAuthentication(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererAuthentication unmarshals an instance of ConfigOrdererAuthentication from the specified map of raw messages.
func UnmarshalConfigOrdererCreate ¶
func UnmarshalConfigOrdererCreate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererCreate unmarshals an instance of ConfigOrdererCreate from the specified map of raw messages.
func UnmarshalConfigOrdererDebug ¶
func UnmarshalConfigOrdererDebug(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererDebug unmarshals an instance of ConfigOrdererDebug from the specified map of raw messages.
func UnmarshalConfigOrdererGeneral ¶
func UnmarshalConfigOrdererGeneral(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererGeneral unmarshals an instance of ConfigOrdererGeneral from the specified map of raw messages.
func UnmarshalConfigOrdererGeneralUpdate ¶
func UnmarshalConfigOrdererGeneralUpdate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererGeneralUpdate unmarshals an instance of ConfigOrdererGeneralUpdate from the specified map of raw messages.
func UnmarshalConfigOrdererKeepalive ¶
func UnmarshalConfigOrdererKeepalive(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererKeepalive unmarshals an instance of ConfigOrdererKeepalive from the specified map of raw messages.
func UnmarshalConfigOrdererMetrics ¶
func UnmarshalConfigOrdererMetrics(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererMetrics unmarshals an instance of ConfigOrdererMetrics from the specified map of raw messages.
func UnmarshalConfigOrdererMetricsStatsd ¶
func UnmarshalConfigOrdererMetricsStatsd(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererMetricsStatsd unmarshals an instance of ConfigOrdererMetricsStatsd from the specified map of raw messages.
func UnmarshalConfigOrdererUpdate ¶
func UnmarshalConfigOrdererUpdate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigOrdererUpdate unmarshals an instance of ConfigOrdererUpdate from the specified map of raw messages.
func UnmarshalConfigPeerAdminService ¶
func UnmarshalConfigPeerAdminService(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerAdminService unmarshals an instance of ConfigPeerAdminService from the specified map of raw messages.
func UnmarshalConfigPeerAuthentication ¶
func UnmarshalConfigPeerAuthentication(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerAuthentication unmarshals an instance of ConfigPeerAuthentication from the specified map of raw messages.
func UnmarshalConfigPeerChaincode ¶
func UnmarshalConfigPeerChaincode(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerChaincode unmarshals an instance of ConfigPeerChaincode from the specified map of raw messages.
func UnmarshalConfigPeerChaincodeExternalBuildersItem ¶
func UnmarshalConfigPeerChaincodeExternalBuildersItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerChaincodeExternalBuildersItem unmarshals an instance of ConfigPeerChaincodeExternalBuildersItem from the specified map of raw messages.
func UnmarshalConfigPeerChaincodeGolang ¶
func UnmarshalConfigPeerChaincodeGolang(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerChaincodeGolang unmarshals an instance of ConfigPeerChaincodeGolang from the specified map of raw messages.
func UnmarshalConfigPeerChaincodeLogging ¶
func UnmarshalConfigPeerChaincodeLogging(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerChaincodeLogging unmarshals an instance of ConfigPeerChaincodeLogging from the specified map of raw messages.
func UnmarshalConfigPeerChaincodeSystem ¶
func UnmarshalConfigPeerChaincodeSystem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerChaincodeSystem unmarshals an instance of ConfigPeerChaincodeSystem from the specified map of raw messages.
func UnmarshalConfigPeerClient ¶
func UnmarshalConfigPeerClient(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerClient unmarshals an instance of ConfigPeerClient from the specified map of raw messages.
func UnmarshalConfigPeerCreate ¶
func UnmarshalConfigPeerCreate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerCreate unmarshals an instance of ConfigPeerCreate from the specified map of raw messages.
func UnmarshalConfigPeerCreatePeer ¶
func UnmarshalConfigPeerCreatePeer(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerCreatePeer unmarshals an instance of ConfigPeerCreatePeer from the specified map of raw messages.
func UnmarshalConfigPeerDeliveryclient ¶
func UnmarshalConfigPeerDeliveryclient(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerDeliveryclient unmarshals an instance of ConfigPeerDeliveryclient from the specified map of raw messages.
func UnmarshalConfigPeerDeliveryclientAddressOverridesItem ¶
func UnmarshalConfigPeerDeliveryclientAddressOverridesItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerDeliveryclientAddressOverridesItem unmarshals an instance of ConfigPeerDeliveryclientAddressOverridesItem from the specified map of raw messages.
func UnmarshalConfigPeerDiscovery ¶
func UnmarshalConfigPeerDiscovery(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerDiscovery unmarshals an instance of ConfigPeerDiscovery from the specified map of raw messages.
func UnmarshalConfigPeerGateway ¶
func UnmarshalConfigPeerGateway(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerGateway unmarshals an instance of ConfigPeerGateway from the specified map of raw messages.
func UnmarshalConfigPeerGossip ¶
func UnmarshalConfigPeerGossip(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerGossip unmarshals an instance of ConfigPeerGossip from the specified map of raw messages.
func UnmarshalConfigPeerGossipElection ¶
func UnmarshalConfigPeerGossipElection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerGossipElection unmarshals an instance of ConfigPeerGossipElection from the specified map of raw messages.
func UnmarshalConfigPeerGossipPvtData ¶
func UnmarshalConfigPeerGossipPvtData(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerGossipPvtData unmarshals an instance of ConfigPeerGossipPvtData from the specified map of raw messages.
func UnmarshalConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy ¶
func UnmarshalConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy unmarshals an instance of ConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy from the specified map of raw messages.
func UnmarshalConfigPeerGossipState ¶
func UnmarshalConfigPeerGossipState(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerGossipState unmarshals an instance of ConfigPeerGossipState from the specified map of raw messages.
func UnmarshalConfigPeerKeepalive ¶
func UnmarshalConfigPeerKeepalive(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerKeepalive unmarshals an instance of ConfigPeerKeepalive from the specified map of raw messages.
func UnmarshalConfigPeerKeepaliveClient ¶
func UnmarshalConfigPeerKeepaliveClient(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerKeepaliveClient unmarshals an instance of ConfigPeerKeepaliveClient from the specified map of raw messages.
func UnmarshalConfigPeerKeepaliveDeliveryClient ¶
func UnmarshalConfigPeerKeepaliveDeliveryClient(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerKeepaliveDeliveryClient unmarshals an instance of ConfigPeerKeepaliveDeliveryClient from the specified map of raw messages.
func UnmarshalConfigPeerLimits ¶
func UnmarshalConfigPeerLimits(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerLimits unmarshals an instance of ConfigPeerLimits from the specified map of raw messages.
func UnmarshalConfigPeerLimitsConcurrency ¶
func UnmarshalConfigPeerLimitsConcurrency(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerLimitsConcurrency unmarshals an instance of ConfigPeerLimitsConcurrency from the specified map of raw messages.
func UnmarshalConfigPeerUpdate ¶
func UnmarshalConfigPeerUpdate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerUpdate unmarshals an instance of ConfigPeerUpdate from the specified map of raw messages.
func UnmarshalConfigPeerUpdatePeer ¶
func UnmarshalConfigPeerUpdatePeer(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigPeerUpdatePeer unmarshals an instance of ConfigPeerUpdatePeer from the specified map of raw messages.
func UnmarshalCpuHealthStats ¶
func UnmarshalCpuHealthStats(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCpuHealthStats unmarshals an instance of CpuHealthStats from the specified map of raw messages.
func UnmarshalCpuHealthStatsTimes ¶
func UnmarshalCpuHealthStatsTimes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCpuHealthStatsTimes unmarshals an instance of CpuHealthStatsTimes from the specified map of raw messages.
func UnmarshalCreateCaBodyConfigOverride ¶
func UnmarshalCreateCaBodyConfigOverride(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateCaBodyConfigOverride unmarshals an instance of CreateCaBodyConfigOverride from the specified map of raw messages.
func UnmarshalCreateCaBodyResources ¶
func UnmarshalCreateCaBodyResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateCaBodyResources unmarshals an instance of CreateCaBodyResources from the specified map of raw messages.
func UnmarshalCreateCaBodyStorage ¶
func UnmarshalCreateCaBodyStorage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateCaBodyStorage unmarshals an instance of CreateCaBodyStorage from the specified map of raw messages.
func UnmarshalCreateOrdererRaftBodyResources ¶
func UnmarshalCreateOrdererRaftBodyResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateOrdererRaftBodyResources unmarshals an instance of CreateOrdererRaftBodyResources from the specified map of raw messages.
func UnmarshalCreateOrdererRaftBodyStorage ¶
func UnmarshalCreateOrdererRaftBodyStorage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateOrdererRaftBodyStorage unmarshals an instance of CreateOrdererRaftBodyStorage from the specified map of raw messages.
func UnmarshalCreateOrdererResponse ¶
func UnmarshalCreateOrdererResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateOrdererResponse unmarshals an instance of CreateOrdererResponse from the specified map of raw messages.
func UnmarshalCreatePeerBodyStorage ¶
func UnmarshalCreatePeerBodyStorage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreatePeerBodyStorage unmarshals an instance of CreatePeerBodyStorage from the specified map of raw messages.
func UnmarshalCryptoEnrollmentComponent ¶
func UnmarshalCryptoEnrollmentComponent(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCryptoEnrollmentComponent unmarshals an instance of CryptoEnrollmentComponent from the specified map of raw messages.
func UnmarshalCryptoObject ¶
func UnmarshalCryptoObject(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCryptoObject unmarshals an instance of CryptoObject from the specified map of raw messages.
func UnmarshalCryptoObjectEnrollment ¶
func UnmarshalCryptoObjectEnrollment(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCryptoObjectEnrollment unmarshals an instance of CryptoObjectEnrollment from the specified map of raw messages.
func UnmarshalCryptoObjectEnrollmentCa ¶
func UnmarshalCryptoObjectEnrollmentCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCryptoObjectEnrollmentCa unmarshals an instance of CryptoObjectEnrollmentCa from the specified map of raw messages.
func UnmarshalCryptoObjectEnrollmentTlsca ¶
func UnmarshalCryptoObjectEnrollmentTlsca(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCryptoObjectEnrollmentTlsca unmarshals an instance of CryptoObjectEnrollmentTlsca from the specified map of raw messages.
func UnmarshalCryptoObjectMsp ¶
func UnmarshalCryptoObjectMsp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCryptoObjectMsp unmarshals an instance of CryptoObjectMsp from the specified map of raw messages.
func UnmarshalDeleteAllNotificationsResponse ¶
func UnmarshalDeleteAllNotificationsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDeleteAllNotificationsResponse unmarshals an instance of DeleteAllNotificationsResponse from the specified map of raw messages.
func UnmarshalDeleteAllSessionsResponse ¶
func UnmarshalDeleteAllSessionsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDeleteAllSessionsResponse unmarshals an instance of DeleteAllSessionsResponse from the specified map of raw messages.
func UnmarshalDeleteComponentResponse ¶
func UnmarshalDeleteComponentResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDeleteComponentResponse unmarshals an instance of DeleteComponentResponse from the specified map of raw messages.
func UnmarshalDeleteMultiComponentsResponse ¶
func UnmarshalDeleteMultiComponentsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDeleteMultiComponentsResponse unmarshals an instance of DeleteMultiComponentsResponse from the specified map of raw messages.
func UnmarshalDeleteSignatureCollectionResponse ¶
func UnmarshalDeleteSignatureCollectionResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDeleteSignatureCollectionResponse unmarshals an instance of DeleteSignatureCollectionResponse from the specified map of raw messages.
func UnmarshalEditAdminCertsResponse ¶
func UnmarshalEditAdminCertsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEditAdminCertsResponse unmarshals an instance of EditAdminCertsResponse from the specified map of raw messages.
func UnmarshalEditAdminCertsResponseSetAdminCertsItem ¶
func UnmarshalEditAdminCertsResponseSetAdminCertsItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEditAdminCertsResponseSetAdminCertsItem unmarshals an instance of EditAdminCertsResponseSetAdminCertsItem from the specified map of raw messages.
func UnmarshalEditLogSettingsBody ¶
func UnmarshalEditLogSettingsBody(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEditLogSettingsBody unmarshals an instance of EditLogSettingsBody from the specified map of raw messages.
func UnmarshalEditSettingsBodyInactivityTimeouts ¶
func UnmarshalEditSettingsBodyInactivityTimeouts(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEditSettingsBodyInactivityTimeouts unmarshals an instance of EditSettingsBodyInactivityTimeouts from the specified map of raw messages.
func UnmarshalFabVersionObject ¶
func UnmarshalFabVersionObject(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalFabVersionObject unmarshals an instance of FabVersionObject from the specified map of raw messages.
func UnmarshalFabricVersionDictionary ¶
func UnmarshalFabricVersionDictionary(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalFabricVersionDictionary unmarshals an instance of FabricVersionDictionary from the specified map of raw messages.
func UnmarshalGenericComponentResponse ¶
func UnmarshalGenericComponentResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericComponentResponse unmarshals an instance of GenericComponentResponse from the specified map of raw messages.
func UnmarshalGenericComponentResponseMsp ¶
func UnmarshalGenericComponentResponseMsp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericComponentResponseMsp unmarshals an instance of GenericComponentResponseMsp from the specified map of raw messages.
func UnmarshalGenericComponentResponseMspCa ¶
func UnmarshalGenericComponentResponseMspCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericComponentResponseMspCa unmarshals an instance of GenericComponentResponseMspCa from the specified map of raw messages.
func UnmarshalGenericComponentResponseMspComponent ¶
func UnmarshalGenericComponentResponseMspComponent(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericComponentResponseMspComponent unmarshals an instance of GenericComponentResponseMspComponent from the specified map of raw messages.
func UnmarshalGenericComponentResponseMspTlsca ¶
func UnmarshalGenericComponentResponseMspTlsca(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericComponentResponseMspTlsca unmarshals an instance of GenericComponentResponseMspTlsca from the specified map of raw messages.
func UnmarshalGenericComponentResponseResources ¶
func UnmarshalGenericComponentResponseResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericComponentResponseResources unmarshals an instance of GenericComponentResponseResources from the specified map of raw messages.
func UnmarshalGenericComponentResponseStorage ¶
func UnmarshalGenericComponentResponseStorage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericComponentResponseStorage unmarshals an instance of GenericComponentResponseStorage from the specified map of raw messages.
func UnmarshalGenericResourceLimits ¶
func UnmarshalGenericResourceLimits(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericResourceLimits unmarshals an instance of GenericResourceLimits from the specified map of raw messages.
func UnmarshalGenericResources ¶
func UnmarshalGenericResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericResources unmarshals an instance of GenericResources from the specified map of raw messages.
func UnmarshalGenericResourcesRequests ¶
func UnmarshalGenericResourcesRequests(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericResourcesRequests unmarshals an instance of GenericResourcesRequests from the specified map of raw messages.
func UnmarshalGetAthenaHealthStatsResponse ¶
func UnmarshalGetAthenaHealthStatsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetAthenaHealthStatsResponse unmarshals an instance of GetAthenaHealthStatsResponse from the specified map of raw messages.
func UnmarshalGetAthenaHealthStatsResponseOPTOOLS ¶
func UnmarshalGetAthenaHealthStatsResponseOPTOOLS(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetAthenaHealthStatsResponseOPTOOLS unmarshals an instance of GetAthenaHealthStatsResponseOPTOOLS from the specified map of raw messages.
func UnmarshalGetAthenaHealthStatsResponseOPTOOLSMemoryUsage ¶
func UnmarshalGetAthenaHealthStatsResponseOPTOOLSMemoryUsage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetAthenaHealthStatsResponseOPTOOLSMemoryUsage unmarshals an instance of GetAthenaHealthStatsResponseOPTOOLSMemoryUsage from the specified map of raw messages.
func UnmarshalGetAthenaHealthStatsResponseOS ¶
func UnmarshalGetAthenaHealthStatsResponseOS(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetAthenaHealthStatsResponseOS unmarshals an instance of GetAthenaHealthStatsResponseOS from the specified map of raw messages.
func UnmarshalGetFabricVersionsResponse ¶
func UnmarshalGetFabricVersionsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetFabricVersionsResponse unmarshals an instance of GetFabricVersionsResponse from the specified map of raw messages.
func UnmarshalGetFabricVersionsResponseVersions ¶
func UnmarshalGetFabricVersionsResponseVersions(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetFabricVersionsResponseVersions unmarshals an instance of GetFabricVersionsResponseVersions from the specified map of raw messages.
func UnmarshalGetMSPCertificateResponse ¶
func UnmarshalGetMSPCertificateResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetMSPCertificateResponse unmarshals an instance of GetMSPCertificateResponse from the specified map of raw messages.
func UnmarshalGetMultiComponentsResponse ¶
func UnmarshalGetMultiComponentsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetMultiComponentsResponse unmarshals an instance of GetMultiComponentsResponse from the specified map of raw messages.
func UnmarshalGetNotificationsResponse ¶
func UnmarshalGetNotificationsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetNotificationsResponse unmarshals an instance of GetNotificationsResponse from the specified map of raw messages.
func UnmarshalGetPublicSettingsResponse ¶
func UnmarshalGetPublicSettingsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetPublicSettingsResponse unmarshals an instance of GetPublicSettingsResponse from the specified map of raw messages.
func UnmarshalGetPublicSettingsResponseCLUSTERDATA ¶
func UnmarshalGetPublicSettingsResponseCLUSTERDATA(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetPublicSettingsResponseCLUSTERDATA unmarshals an instance of GetPublicSettingsResponseCLUSTERDATA from the specified map of raw messages.
func UnmarshalGetPublicSettingsResponseCRN ¶
func UnmarshalGetPublicSettingsResponseCRN(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetPublicSettingsResponseCRN unmarshals an instance of GetPublicSettingsResponseCRN from the specified map of raw messages.
func UnmarshalGetPublicSettingsResponseFABRICCAPABILITIES ¶
func UnmarshalGetPublicSettingsResponseFABRICCAPABILITIES(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetPublicSettingsResponseFABRICCAPABILITIES unmarshals an instance of GetPublicSettingsResponseFABRICCAPABILITIES from the specified map of raw messages.
func UnmarshalGetPublicSettingsResponseFILELOGGING ¶
func UnmarshalGetPublicSettingsResponseFILELOGGING(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetPublicSettingsResponseFILELOGGING unmarshals an instance of GetPublicSettingsResponseFILELOGGING from the specified map of raw messages.
func UnmarshalGetPublicSettingsResponseINACTIVITYTIMEOUTS ¶
func UnmarshalGetPublicSettingsResponseINACTIVITYTIMEOUTS(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetPublicSettingsResponseINACTIVITYTIMEOUTS unmarshals an instance of GetPublicSettingsResponseINACTIVITYTIMEOUTS from the specified map of raw messages.
func UnmarshalGetPublicSettingsResponseVERSIONS ¶
func UnmarshalGetPublicSettingsResponseVERSIONS(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGetPublicSettingsResponseVERSIONS unmarshals an instance of GetPublicSettingsResponseVERSIONS from the specified map of raw messages.
func UnmarshalHsm ¶
func UnmarshalHsm(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalHsm unmarshals an instance of Hsm from the specified map of raw messages.
func UnmarshalIdentityAttrs ¶
func UnmarshalIdentityAttrs(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalIdentityAttrs unmarshals an instance of IdentityAttrs from the specified map of raw messages.
func UnmarshalImportCaBodyMsp ¶
func UnmarshalImportCaBodyMsp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportCaBodyMsp unmarshals an instance of ImportCaBodyMsp from the specified map of raw messages.
func UnmarshalImportCaBodyMspCa ¶
func UnmarshalImportCaBodyMspCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportCaBodyMspCa unmarshals an instance of ImportCaBodyMspCa from the specified map of raw messages.
func UnmarshalImportCaBodyMspComponent ¶
func UnmarshalImportCaBodyMspComponent(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportCaBodyMspComponent unmarshals an instance of ImportCaBodyMspComponent from the specified map of raw messages.
func UnmarshalImportCaBodyMspTlsca ¶
func UnmarshalImportCaBodyMspTlsca(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportCaBodyMspTlsca unmarshals an instance of ImportCaBodyMspTlsca from the specified map of raw messages.
func UnmarshalLogSettingsResponse ¶
func UnmarshalLogSettingsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalLogSettingsResponse unmarshals an instance of LogSettingsResponse from the specified map of raw messages.
func UnmarshalLoggingSettingsClient ¶
func UnmarshalLoggingSettingsClient(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalLoggingSettingsClient unmarshals an instance of LoggingSettingsClient from the specified map of raw messages.
func UnmarshalLoggingSettingsServer ¶
func UnmarshalLoggingSettingsServer(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalLoggingSettingsServer unmarshals an instance of LoggingSettingsServer from the specified map of raw messages.
func UnmarshalMetrics ¶
func UnmarshalMetrics(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMetrics unmarshals an instance of Metrics from the specified map of raw messages.
func UnmarshalMetricsStatsd ¶
func UnmarshalMetricsStatsd(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMetricsStatsd unmarshals an instance of MetricsStatsd from the specified map of raw messages.
func UnmarshalMspCryptoCa ¶
func UnmarshalMspCryptoCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMspCryptoCa unmarshals an instance of MspCryptoCa from the specified map of raw messages.
func UnmarshalMspCryptoComp ¶
func UnmarshalMspCryptoComp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMspCryptoComp unmarshals an instance of MspCryptoComp from the specified map of raw messages.
func UnmarshalMspCryptoField ¶
func UnmarshalMspCryptoField(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMspCryptoField unmarshals an instance of MspCryptoField from the specified map of raw messages.
func UnmarshalMspCryptoFieldCa ¶
func UnmarshalMspCryptoFieldCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMspCryptoFieldCa unmarshals an instance of MspCryptoFieldCa from the specified map of raw messages.
func UnmarshalMspCryptoFieldComponent ¶
func UnmarshalMspCryptoFieldComponent(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMspCryptoFieldComponent unmarshals an instance of MspCryptoFieldComponent from the specified map of raw messages.
func UnmarshalMspCryptoFieldTlsca ¶
func UnmarshalMspCryptoFieldTlsca(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMspCryptoFieldTlsca unmarshals an instance of MspCryptoFieldTlsca from the specified map of raw messages.
func UnmarshalMspPublicData ¶
func UnmarshalMspPublicData(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMspPublicData unmarshals an instance of MspPublicData from the specified map of raw messages.
func UnmarshalMspResponse ¶
func UnmarshalMspResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMspResponse unmarshals an instance of MspResponse from the specified map of raw messages.
func UnmarshalNodeOu ¶
func UnmarshalNodeOu(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalNodeOu unmarshals an instance of NodeOu from the specified map of raw messages.
func UnmarshalNodeOuGeneral ¶
func UnmarshalNodeOuGeneral(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalNodeOuGeneral unmarshals an instance of NodeOuGeneral from the specified map of raw messages.
func UnmarshalNotificationData ¶
func UnmarshalNotificationData(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalNotificationData unmarshals an instance of NotificationData from the specified map of raw messages.
func UnmarshalOrdererResponse ¶
func UnmarshalOrdererResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalOrdererResponse unmarshals an instance of OrdererResponse from the specified map of raw messages.
func UnmarshalOrdererResponseResources ¶
func UnmarshalOrdererResponseResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalOrdererResponseResources unmarshals an instance of OrdererResponseResources from the specified map of raw messages.
func UnmarshalOrdererResponseStorage ¶
func UnmarshalOrdererResponseStorage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalOrdererResponseStorage unmarshals an instance of OrdererResponseStorage from the specified map of raw messages.
func UnmarshalPeerResources ¶
func UnmarshalPeerResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPeerResources unmarshals an instance of PeerResources from the specified map of raw messages.
func UnmarshalPeerResponse ¶
func UnmarshalPeerResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPeerResponse unmarshals an instance of PeerResponse from the specified map of raw messages.
func UnmarshalPeerResponseResources ¶
func UnmarshalPeerResponseResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPeerResponseResources unmarshals an instance of PeerResponseResources from the specified map of raw messages.
func UnmarshalPeerResponseStorage ¶
func UnmarshalPeerResponseStorage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPeerResponseStorage unmarshals an instance of PeerResponseStorage from the specified map of raw messages.
func UnmarshalRemoveMultiComponentsResponse ¶
func UnmarshalRemoveMultiComponentsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRemoveMultiComponentsResponse unmarshals an instance of RemoveMultiComponentsResponse from the specified map of raw messages.
func UnmarshalResourceLimits ¶
func UnmarshalResourceLimits(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceLimits unmarshals an instance of ResourceLimits from the specified map of raw messages.
func UnmarshalResourceObject ¶
func UnmarshalResourceObject(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceObject unmarshals an instance of ResourceObject from the specified map of raw messages.
func UnmarshalResourceObjectCouchDb ¶
func UnmarshalResourceObjectCouchDb(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceObjectCouchDb unmarshals an instance of ResourceObjectCouchDb from the specified map of raw messages.
func UnmarshalResourceObjectFabV1 ¶
func UnmarshalResourceObjectFabV1(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceObjectFabV1 unmarshals an instance of ResourceObjectFabV1 from the specified map of raw messages.
func UnmarshalResourceObjectFabV2 ¶
func UnmarshalResourceObjectFabV2(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceObjectFabV2 unmarshals an instance of ResourceObjectFabV2 from the specified map of raw messages.
func UnmarshalResourceRequests ¶
func UnmarshalResourceRequests(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceRequests unmarshals an instance of ResourceRequests from the specified map of raw messages.
func UnmarshalRestartAthenaResponse ¶
func UnmarshalRestartAthenaResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRestartAthenaResponse unmarshals an instance of RestartAthenaResponse from the specified map of raw messages.
func UnmarshalSettingsTimestampData ¶
func UnmarshalSettingsTimestampData(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSettingsTimestampData unmarshals an instance of SettingsTimestampData from the specified map of raw messages.
func UnmarshalStorageObject ¶
func UnmarshalStorageObject(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalStorageObject unmarshals an instance of StorageObject from the specified map of raw messages.
func UnmarshalUpdateCaBodyConfigOverride ¶
func UnmarshalUpdateCaBodyConfigOverride(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateCaBodyConfigOverride unmarshals an instance of UpdateCaBodyConfigOverride from the specified map of raw messages.
func UnmarshalUpdateCaBodyResources ¶
func UnmarshalUpdateCaBodyResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateCaBodyResources unmarshals an instance of UpdateCaBodyResources from the specified map of raw messages.
func UnmarshalUpdateEnrollmentCryptoField ¶
func UnmarshalUpdateEnrollmentCryptoField(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateEnrollmentCryptoField unmarshals an instance of UpdateEnrollmentCryptoField from the specified map of raw messages.
func UnmarshalUpdateEnrollmentCryptoFieldCa ¶
func UnmarshalUpdateEnrollmentCryptoFieldCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateEnrollmentCryptoFieldCa unmarshals an instance of UpdateEnrollmentCryptoFieldCa from the specified map of raw messages.
func UnmarshalUpdateEnrollmentCryptoFieldTlsca ¶
func UnmarshalUpdateEnrollmentCryptoFieldTlsca(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateEnrollmentCryptoFieldTlsca unmarshals an instance of UpdateEnrollmentCryptoFieldTlsca from the specified map of raw messages.
func UnmarshalUpdateMspCryptoField ¶
func UnmarshalUpdateMspCryptoField(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateMspCryptoField unmarshals an instance of UpdateMspCryptoField from the specified map of raw messages.
func UnmarshalUpdateMspCryptoFieldCa ¶
func UnmarshalUpdateMspCryptoFieldCa(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateMspCryptoFieldCa unmarshals an instance of UpdateMspCryptoFieldCa from the specified map of raw messages.
func UnmarshalUpdateMspCryptoFieldComponent ¶
func UnmarshalUpdateMspCryptoFieldComponent(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateMspCryptoFieldComponent unmarshals an instance of UpdateMspCryptoFieldComponent from the specified map of raw messages.
func UnmarshalUpdateMspCryptoFieldTlsca ¶
func UnmarshalUpdateMspCryptoFieldTlsca(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateMspCryptoFieldTlsca unmarshals an instance of UpdateMspCryptoFieldTlsca from the specified map of raw messages.
func UnmarshalUpdateOrdererBodyCrypto ¶
func UnmarshalUpdateOrdererBodyCrypto(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateOrdererBodyCrypto unmarshals an instance of UpdateOrdererBodyCrypto from the specified map of raw messages.
func UnmarshalUpdateOrdererBodyResources ¶
func UnmarshalUpdateOrdererBodyResources(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateOrdererBodyResources unmarshals an instance of UpdateOrdererBodyResources from the specified map of raw messages.
func UnmarshalUpdatePeerBodyCrypto ¶
func UnmarshalUpdatePeerBodyCrypto(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdatePeerBodyCrypto unmarshals an instance of UpdatePeerBodyCrypto from the specified map of raw messages.
Types ¶
type ActionEnroll ¶
type ActionEnroll struct { // Set to `true` to generate a new tls cert for this component via enrollment. TlsCert *bool `json:"tls_cert,omitempty"` // Set to `true` to generate a new ecert for this component via enrollment. Ecert *bool `json:"ecert,omitempty"` }
ActionEnroll : ActionEnroll struct
type ActionReenroll ¶
type ActionReenroll struct { // Set to `true` to generate a new tls cert for this component via re-enrollment. TlsCert *bool `json:"tls_cert,omitempty"` // Set to `true` to generate a new ecert for this component via re-enrollment. Ecert *bool `json:"ecert,omitempty"` }
ActionReenroll : ActionReenroll struct
type ActionRenew ¶
type ActionRenew struct { // Set to `true` to renew the tls cert for this component. TlsCert *bool `json:"tls_cert,omitempty"` }
ActionRenew : ActionRenew struct
type ActionsResponse ¶
type ActionsResponse struct { Message *string `json:"message,omitempty"` // The id of the component. ID *string `json:"id,omitempty"` Actions []string `json:"actions,omitempty"` }
ActionsResponse : ActionsResponse struct
type ArchiveNotificationsOptions ¶
type ArchiveNotificationsOptions struct { // Array of notification IDs to archive. NotificationIds []string `json:"notification_ids" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
ArchiveNotificationsOptions : The ArchiveNotifications options.
func (*ArchiveNotificationsOptions) SetHeaders ¶
func (options *ArchiveNotificationsOptions) SetHeaders(param map[string]string) *ArchiveNotificationsOptions
SetHeaders : Allow user to set Headers
func (*ArchiveNotificationsOptions) SetNotificationIds ¶
func (options *ArchiveNotificationsOptions) SetNotificationIds(notificationIds []string) *ArchiveNotificationsOptions
SetNotificationIds : Allow user to set NotificationIds
type ArchiveResponse ¶
type ArchiveResponse struct { // Response message. "ok" indicates the api completed successfully. Message *string `json:"message,omitempty"` // Text with the number of notifications that were archived. Details *string `json:"details,omitempty"` }
ArchiveResponse : ArchiveResponse struct
type Bccsp ¶
type Bccsp struct { // The name of the crypto library implementation to use for the BlockChain Crypto Service Provider (bccsp). Defaults to // `SW`. Default *string `json:"Default,omitempty"` // Software based blockchain crypto provider. SW *BccspSW `json:"SW,omitempty"` // Hardware-based blockchain crypto provider. PKCS11 *BccspPKCS11 `json:"PKCS11,omitempty"` }
Bccsp : Configures the Blockchain Crypto Service Providers (bccsp).
type BccspPKCS11 ¶
type BccspPKCS11 struct { // Token Label. Label *string `json:"Label" validate:"required"` // The user PIN. Pin *string `json:"Pin" validate:"required"` // The hash family to use for the BlockChain Crypto Service Provider (bccsp). Hash *string `json:"Hash,omitempty"` // The length of hash to use for the BlockChain Crypto Service Provider (bccsp). Security *float64 `json:"Security,omitempty"` }
BccspPKCS11 : Hardware-based blockchain crypto provider.
type BccspSW ¶
type BccspSW struct { // The hash family to use for the BlockChain Crypto Service Provider (bccsp). Hash *string `json:"Hash" validate:"required"` // The length of hash to use for the BlockChain Crypto Service Provider (bccsp). Security *float64 `json:"Security" validate:"required"` }
BccspSW : Software based blockchain crypto provider.
type BlockchainV3 ¶
type BlockchainV3 struct {
Service *core.BaseService
}
BlockchainV3 : This doc lists APIs that you can use to interact with your IBM Blockchain Platform console (IBP console)
Version: 3.0.0 See: http://swagger.io
func NewBlockchainV3 ¶
func NewBlockchainV3(options *BlockchainV3Options) (service *BlockchainV3, err error)
NewBlockchainV3 : constructs an instance of BlockchainV3 with passed in options.
func NewBlockchainV3UsingExternalConfig ¶
func NewBlockchainV3UsingExternalConfig(options *BlockchainV3Options) (blockchain *BlockchainV3, err error)
NewBlockchainV3UsingExternalConfig : constructs an instance of BlockchainV3 with passed in options and external configuration.
func (*BlockchainV3) ArchiveNotifications ¶
func (blockchain *BlockchainV3) ArchiveNotifications(archiveNotificationsOptions *ArchiveNotificationsOptions) (result *ArchiveResponse, response *core.DetailedResponse, err error)
ArchiveNotifications : Archive notifications Archive 1 or more notifications. Archived notifications will no longer appear in the default [Get all notifications](#list-notifications) API.
func (*BlockchainV3) ArchiveNotificationsWithContext ¶
func (blockchain *BlockchainV3) ArchiveNotificationsWithContext(ctx context.Context, archiveNotificationsOptions *ArchiveNotificationsOptions) (result *ArchiveResponse, response *core.DetailedResponse, err error)
ArchiveNotificationsWithContext is an alternate form of the ArchiveNotifications method which supports a Context parameter
func (*BlockchainV3) CaAction ¶
func (blockchain *BlockchainV3) CaAction(caActionOptions *CaActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
CaAction : Submit action to a CA Submit an action to a Fabric CA component. Actions such as restarting the component or certificate operations.
func (*BlockchainV3) CaActionWithContext ¶
func (blockchain *BlockchainV3) CaActionWithContext(ctx context.Context, caActionOptions *CaActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
CaActionWithContext is an alternate form of the CaAction method which supports a Context parameter
func (*BlockchainV3) ClearCaches ¶
func (blockchain *BlockchainV3) ClearCaches(clearCachesOptions *ClearCachesOptions) (result *CacheFlushResponse, response *core.DetailedResponse, err error)
ClearCaches : Clear IBP console caches Clear the in-memory caches across all IBP console server processes. No effect on caches that are currently disabled.
func (*BlockchainV3) ClearCachesWithContext ¶
func (blockchain *BlockchainV3) ClearCachesWithContext(ctx context.Context, clearCachesOptions *ClearCachesOptions) (result *CacheFlushResponse, response *core.DetailedResponse, err error)
ClearCachesWithContext is an alternate form of the ClearCaches method which supports a Context parameter
func (*BlockchainV3) Clone ¶
func (blockchain *BlockchainV3) Clone() *BlockchainV3
Clone makes a copy of "blockchain" suitable for processing requests.
func (*BlockchainV3) CreateCa ¶
func (blockchain *BlockchainV3) CreateCa(createCaOptions *CreateCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
CreateCa : Create a CA Create a Hyperledger Fabric Certificate Authority (CA) in your Kubernetes cluster.
func (*BlockchainV3) CreateCaWithContext ¶
func (blockchain *BlockchainV3) CreateCaWithContext(ctx context.Context, createCaOptions *CreateCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
CreateCaWithContext is an alternate form of the CreateCa method which supports a Context parameter
func (*BlockchainV3) CreateOrderer ¶
func (blockchain *BlockchainV3) CreateOrderer(createOrdererOptions *CreateOrdererOptions) (result *CreateOrdererResponse, response *core.DetailedResponse, err error)
CreateOrderer : Create an ordering service Create a Hyperledger Ordering Service (OS) in your Kubernetes cluster. Currently, only raft ordering nodes are supported.
func (*BlockchainV3) CreateOrdererWithContext ¶
func (blockchain *BlockchainV3) CreateOrdererWithContext(ctx context.Context, createOrdererOptions *CreateOrdererOptions) (result *CreateOrdererResponse, response *core.DetailedResponse, err error)
CreateOrdererWithContext is an alternate form of the CreateOrderer method which supports a Context parameter
func (*BlockchainV3) CreatePeer ¶
func (blockchain *BlockchainV3) CreatePeer(createPeerOptions *CreatePeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
CreatePeer : Create a peer Create a Hyperledger Fabric peer in your Kubernetes cluster.
func (*BlockchainV3) CreatePeerWithContext ¶
func (blockchain *BlockchainV3) CreatePeerWithContext(ctx context.Context, createPeerOptions *CreatePeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
CreatePeerWithContext is an alternate form of the CreatePeer method which supports a Context parameter
func (*BlockchainV3) DeleteAllComponents ¶
func (blockchain *BlockchainV3) DeleteAllComponents(deleteAllComponentsOptions *DeleteAllComponentsOptions) (result *DeleteMultiComponentsResponse, response *core.DetailedResponse, err error)
DeleteAllComponents : Delete all components Removes all components from the IBP console **and** their Kubernetes deployments (if applicable). Works on imported and created components (peers, CAs, orderers, MSPs, and signature collection transactions). This api attempts to effectively reset the IBP console to its initial (empty) state (except for logs & notifications, those will remain).
func (*BlockchainV3) DeleteAllComponentsWithContext ¶
func (blockchain *BlockchainV3) DeleteAllComponentsWithContext(ctx context.Context, deleteAllComponentsOptions *DeleteAllComponentsOptions) (result *DeleteMultiComponentsResponse, response *core.DetailedResponse, err error)
DeleteAllComponentsWithContext is an alternate form of the DeleteAllComponents method which supports a Context parameter
func (*BlockchainV3) DeleteAllNotifications ¶
func (blockchain *BlockchainV3) DeleteAllNotifications(deleteAllNotificationsOptions *DeleteAllNotificationsOptions) (result *DeleteAllNotificationsResponse, response *core.DetailedResponse, err error)
DeleteAllNotifications : Delete all notifications Delete all notifications. This API is intended for administration.
func (*BlockchainV3) DeleteAllNotificationsWithContext ¶
func (blockchain *BlockchainV3) DeleteAllNotificationsWithContext(ctx context.Context, deleteAllNotificationsOptions *DeleteAllNotificationsOptions) (result *DeleteAllNotificationsResponse, response *core.DetailedResponse, err error)
DeleteAllNotificationsWithContext is an alternate form of the DeleteAllNotifications method which supports a Context parameter
func (*BlockchainV3) DeleteAllSessions ¶
func (blockchain *BlockchainV3) DeleteAllSessions(deleteAllSessionsOptions *DeleteAllSessionsOptions) (result *DeleteAllSessionsResponse, response *core.DetailedResponse, err error)
DeleteAllSessions : Delete all IBP console sessions Delete all client sessions in IBP console. Use this API to clear any active logins and force everyone to log in again. This API is useful for debugging purposes and when changing roles of a user. It forces any role changes to take effect immediately. Otherwise, permission or role changes will take effect during the user's next login or session expiration.
func (*BlockchainV3) DeleteAllSessionsWithContext ¶
func (blockchain *BlockchainV3) DeleteAllSessionsWithContext(ctx context.Context, deleteAllSessionsOptions *DeleteAllSessionsOptions) (result *DeleteAllSessionsResponse, response *core.DetailedResponse, err error)
DeleteAllSessionsWithContext is an alternate form of the DeleteAllSessions method which supports a Context parameter
func (*BlockchainV3) DeleteComponent ¶
func (blockchain *BlockchainV3) DeleteComponent(deleteComponentOptions *DeleteComponentOptions) (result *DeleteComponentResponse, response *core.DetailedResponse, err error)
DeleteComponent : Delete component Removes a single component from the IBP console **and** it deletes the Kubernetes deployment. - Using this api on an **imported** component will *error out* since its Kubernetes deployment is unknown and cannot be removed. Instead use the [Remove imported component](#remove-component) API to remove imported components. - Using this api on a **created** component removes it from the IBP console **and** it will delete the component from the Kubernetes cluster where it resides. The Kubernetes delete must succeed before the component will be removed from the IBP console.
func (*BlockchainV3) DeleteComponentWithContext ¶
func (blockchain *BlockchainV3) DeleteComponentWithContext(ctx context.Context, deleteComponentOptions *DeleteComponentOptions) (result *DeleteComponentResponse, response *core.DetailedResponse, err error)
DeleteComponentWithContext is an alternate form of the DeleteComponent method which supports a Context parameter
func (*BlockchainV3) DeleteComponentsByTag ¶
func (blockchain *BlockchainV3) DeleteComponentsByTag(deleteComponentsByTagOptions *DeleteComponentsByTagOptions) (result *DeleteMultiComponentsResponse, response *core.DetailedResponse, err error)
DeleteComponentsByTag : Delete components with tag Removes components with the matching tag from the IBP console **and** it deletes the Kubernetes deployment. Tags are not case-sensitive. - Using this api on **imported** components will be skipped over since their Kubernetes deployment is unknown and cannot be removed. Instead use the [Remove components with tag](#remove_components_by_tag) API to remove imported components with a tag. - Using this api on **created** components removes them from the IBP console **and** it will delete the components from the Kubernetes cluster where they reside. The Kubernetes delete must succeed before the component will be removed from the IBP console.
func (*BlockchainV3) DeleteComponentsByTagWithContext ¶
func (blockchain *BlockchainV3) DeleteComponentsByTagWithContext(ctx context.Context, deleteComponentsByTagOptions *DeleteComponentsByTagOptions) (result *DeleteMultiComponentsResponse, response *core.DetailedResponse, err error)
DeleteComponentsByTagWithContext is an alternate form of the DeleteComponentsByTag method which supports a Context parameter
func (*BlockchainV3) DeleteSigTx ¶
func (blockchain *BlockchainV3) DeleteSigTx(deleteSigTxOptions *DeleteSigTxOptions) (result *DeleteSignatureCollectionResponse, response *core.DetailedResponse, err error)
DeleteSigTx : Delete a signature collection tx Delete a signature collection transaction. These transactions involve creating or editing Fabric channels & chaincode approvals. This request is not distributed to external IBP consoles, thus the signature collection transaction is only deleted locally.
func (*BlockchainV3) DeleteSigTxWithContext ¶
func (blockchain *BlockchainV3) DeleteSigTxWithContext(ctx context.Context, deleteSigTxOptions *DeleteSigTxOptions) (result *DeleteSignatureCollectionResponse, response *core.DetailedResponse, err error)
DeleteSigTxWithContext is an alternate form of the DeleteSigTx method which supports a Context parameter
func (*BlockchainV3) DisableRetries ¶
func (blockchain *BlockchainV3) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*BlockchainV3) EditAdminCerts ¶
func (blockchain *BlockchainV3) EditAdminCerts(editAdminCertsOptions *EditAdminCertsOptions) (result *EditAdminCertsResponse, response *core.DetailedResponse, err error)
EditAdminCerts : Edit admin certs on a component This api will append or remove admin certs to the components' file system. Certificates will be parsed. If invalid they will be skipped. Duplicate certificates will also be skipped. To view existing admin certificate use the [Get component data](#get-component) API with the query parameters: `?deployment_attrs=included&cache=skip`.
**This API will not work on *imported* components.**.
func (*BlockchainV3) EditAdminCertsWithContext ¶
func (blockchain *BlockchainV3) EditAdminCertsWithContext(ctx context.Context, editAdminCertsOptions *EditAdminCertsOptions) (result *EditAdminCertsResponse, response *core.DetailedResponse, err error)
EditAdminCertsWithContext is an alternate form of the EditAdminCerts method which supports a Context parameter
func (*BlockchainV3) EditCa ¶
func (blockchain *BlockchainV3) EditCa(editCaOptions *EditCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
EditCa : Edit data about a CA Modify local metadata fields of a Certificate Authority (CA). For example, the "display_name" field. This API will **not** change any Kubernetes deployment attributes for the CA.
func (*BlockchainV3) EditCaWithContext ¶
func (blockchain *BlockchainV3) EditCaWithContext(ctx context.Context, editCaOptions *EditCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
EditCaWithContext is an alternate form of the EditCa method which supports a Context parameter
func (*BlockchainV3) EditMsp ¶
func (blockchain *BlockchainV3) EditMsp(editMspOptions *EditMspOptions) (result *MspResponse, response *core.DetailedResponse, err error)
EditMsp : Edit an MSP Modify local metadata fields of a Membership Service Provider (MSP) definition. For example, the "display_name" property.
func (*BlockchainV3) EditMspWithContext ¶
func (blockchain *BlockchainV3) EditMspWithContext(ctx context.Context, editMspOptions *EditMspOptions) (result *MspResponse, response *core.DetailedResponse, err error)
EditMspWithContext is an alternate form of the EditMsp method which supports a Context parameter
func (*BlockchainV3) EditOrderer ¶
func (blockchain *BlockchainV3) EditOrderer(editOrdererOptions *EditOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
EditOrderer : Edit data about an orderer Modify local metadata fields of a single node in an Ordering Service (OS). For example, the "display_name" field. This API will **not** change any Kubernetes deployment attributes for the node.
func (*BlockchainV3) EditOrdererWithContext ¶
func (blockchain *BlockchainV3) EditOrdererWithContext(ctx context.Context, editOrdererOptions *EditOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
EditOrdererWithContext is an alternate form of the EditOrderer method which supports a Context parameter
func (*BlockchainV3) EditPeer ¶
func (blockchain *BlockchainV3) EditPeer(editPeerOptions *EditPeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
EditPeer : Edit data about a peer Modify local metadata fields of a peer. For example, the "display_name" field. This API will **not** change any Kubernetes deployment attributes for the peer.
func (*BlockchainV3) EditPeerWithContext ¶
func (blockchain *BlockchainV3) EditPeerWithContext(ctx context.Context, editPeerOptions *EditPeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
EditPeerWithContext is an alternate form of the EditPeer method which supports a Context parameter
func (*BlockchainV3) EditSettings ¶
func (blockchain *BlockchainV3) EditSettings(editSettingsOptions *EditSettingsOptions) (result *GetPublicSettingsResponse, response *core.DetailedResponse, err error)
EditSettings : Change IBP console settings Edit a few IBP console settings (such as the rate limit and timeout settings). **Some edits will trigger an automatic server restart.**.
func (*BlockchainV3) EditSettingsWithContext ¶
func (blockchain *BlockchainV3) EditSettingsWithContext(ctx context.Context, editSettingsOptions *EditSettingsOptions) (result *GetPublicSettingsResponse, response *core.DetailedResponse, err error)
EditSettingsWithContext is an alternate form of the EditSettings method which supports a Context parameter
func (*BlockchainV3) EnableRetries ¶
func (blockchain *BlockchainV3) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.
func (*BlockchainV3) GetComponent ¶
func (blockchain *BlockchainV3) GetComponent(getComponentOptions *GetComponentOptions) (result *GenericComponentResponse, response *core.DetailedResponse, err error)
GetComponent : Get component data Get the IBP console's data on a component (peer, CA, orderer, or MSP). The component might be imported or created.
func (*BlockchainV3) GetComponentWithContext ¶
func (blockchain *BlockchainV3) GetComponentWithContext(ctx context.Context, getComponentOptions *GetComponentOptions) (result *GenericComponentResponse, response *core.DetailedResponse, err error)
GetComponentWithContext is an alternate form of the GetComponent method which supports a Context parameter
func (*BlockchainV3) GetComponentsByTag ¶
func (blockchain *BlockchainV3) GetComponentsByTag(getComponentsByTagOptions *GetComponentsByTagOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
GetComponentsByTag : Get components with tag Get the IBP console's data on components that have a specific tag. The component might be imported or created. Tags are not case-sensitive.
func (*BlockchainV3) GetComponentsByTagWithContext ¶
func (blockchain *BlockchainV3) GetComponentsByTagWithContext(ctx context.Context, getComponentsByTagOptions *GetComponentsByTagOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
GetComponentsByTagWithContext is an alternate form of the GetComponentsByTag method which supports a Context parameter
func (*BlockchainV3) GetComponentsByType ¶
func (blockchain *BlockchainV3) GetComponentsByType(getComponentsByTypeOptions *GetComponentsByTypeOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
GetComponentsByType : Get components of a type Get the IBP console's data on components that are a specific type. The component might be imported or created.
func (*BlockchainV3) GetComponentsByTypeWithContext ¶
func (blockchain *BlockchainV3) GetComponentsByTypeWithContext(ctx context.Context, getComponentsByTypeOptions *GetComponentsByTypeOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
GetComponentsByTypeWithContext is an alternate form of the GetComponentsByType method which supports a Context parameter
func (*BlockchainV3) GetEnableGzipCompression ¶
func (blockchain *BlockchainV3) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*BlockchainV3) GetFabVersions ¶
func (blockchain *BlockchainV3) GetFabVersions(getFabVersionsOptions *GetFabVersionsOptions) (result *GetFabricVersionsResponse, response *core.DetailedResponse, err error)
GetFabVersions : Get supported Fabric versions Get list of supported Fabric versions by each component type. These are the Fabric versions your IBP console can use when creating or upgrading components.
func (*BlockchainV3) GetFabVersionsWithContext ¶
func (blockchain *BlockchainV3) GetFabVersionsWithContext(ctx context.Context, getFabVersionsOptions *GetFabVersionsOptions) (result *GetFabricVersionsResponse, response *core.DetailedResponse, err error)
GetFabVersionsWithContext is an alternate form of the GetFabVersions method which supports a Context parameter
func (*BlockchainV3) GetHealth ¶
func (blockchain *BlockchainV3) GetHealth(getHealthOptions *GetHealthOptions) (result *GetAthenaHealthStatsResponse, response *core.DetailedResponse, err error)
GetHealth : Get IBP console health stats See statistics of the IBP console process such as memory usage, CPU usage, up time, cache, and operating system stats.
func (*BlockchainV3) GetHealthWithContext ¶
func (blockchain *BlockchainV3) GetHealthWithContext(ctx context.Context, getHealthOptions *GetHealthOptions) (result *GetAthenaHealthStatsResponse, response *core.DetailedResponse, err error)
GetHealthWithContext is an alternate form of the GetHealth method which supports a Context parameter
func (*BlockchainV3) GetMspCertificate ¶
func (blockchain *BlockchainV3) GetMspCertificate(getMspCertificateOptions *GetMspCertificateOptions) (result *GetMSPCertificateResponse, response *core.DetailedResponse, err error)
GetMspCertificate : Get MSP's public certificates External IBP consoles can use this API to get the public certificate for your given MSP id.
func (*BlockchainV3) GetMspCertificateWithContext ¶
func (blockchain *BlockchainV3) GetMspCertificateWithContext(ctx context.Context, getMspCertificateOptions *GetMspCertificateOptions) (result *GetMSPCertificateResponse, response *core.DetailedResponse, err error)
GetMspCertificateWithContext is an alternate form of the GetMspCertificate method which supports a Context parameter
func (*BlockchainV3) GetPostman ¶
func (blockchain *BlockchainV3) GetPostman(getPostmanOptions *GetPostmanOptions) (response *core.DetailedResponse, err error)
GetPostman : Generate Postman collection Generate and download a Postman API Collection. The JSON contains all the APIs available in the IBP console. It can be imported to the [Postman](https://www.postman.com/downloads) desktop application. **The examples in the collection will be pre-populated with authorization credentials.** The authorization credentials to use must be provided to this API. See the query parameters for available options.
Choose an auth strategy that matches your environment & concerns:
- **IAM Bearer Auth** - *[Available on IBM Cloud]* - This is the recommended auth strategy. The same bearer token used to authenticate this request will be copied into the Postman collection examples. Since the bearer token expires the auth embedded in the collection will also expire. At that point the collection might be deleted & regenerated, or manually edited to refresh the authorization header values. To use this strategy set `auth_type` to `bearer`. - **IAM Api Key Auth** - *[Available on IBM Cloud]* - The IAM api key will be copied into the Postman collection examples. This means the auth embedded in the collection will never expire. To use this strategy set `auth_type` to `api_key`. - **Basic Auth** - *[Available on OpenShift & IBM Cloud Private]* - A basic auth username and password will be copied into the Postman collection examples. This is **not** available for an IBP SaaS instance on IBM Cloud. To use this strategy set `auth_type` to `basic`.
func (*BlockchainV3) GetPostmanWithContext ¶
func (blockchain *BlockchainV3) GetPostmanWithContext(ctx context.Context, getPostmanOptions *GetPostmanOptions) (response *core.DetailedResponse, err error)
GetPostmanWithContext is an alternate form of the GetPostman method which supports a Context parameter
func (*BlockchainV3) GetServiceURL ¶
func (blockchain *BlockchainV3) GetServiceURL() string
GetServiceURL returns the service URL
func (*BlockchainV3) GetSettings ¶
func (blockchain *BlockchainV3) GetSettings(getSettingsOptions *GetSettingsOptions) (result *GetPublicSettingsResponse, response *core.DetailedResponse, err error)
GetSettings : Get public IBP console settings Retrieve all public (non-sensitive) settings for the IBP console. Use this API for debugging purposes. It shows what behavior to expect and confirms whether the desired settings are active.
func (*BlockchainV3) GetSettingsWithContext ¶
func (blockchain *BlockchainV3) GetSettingsWithContext(ctx context.Context, getSettingsOptions *GetSettingsOptions) (result *GetPublicSettingsResponse, response *core.DetailedResponse, err error)
GetSettingsWithContext is an alternate form of the GetSettings method which supports a Context parameter
func (*BlockchainV3) GetSwagger ¶
func (blockchain *BlockchainV3) GetSwagger(getSwaggerOptions *GetSwaggerOptions) (result *string, response *core.DetailedResponse, err error)
GetSwagger : Download OpenAPI file Download the [OpenAPI](https://swagger.io/specification/) specification YAML file (aka swagger file) for the IBP console. This is the same file that was used to generate the APIs on this page. This file documents APIs offered by the IBP console.
func (*BlockchainV3) GetSwaggerWithContext ¶
func (blockchain *BlockchainV3) GetSwaggerWithContext(ctx context.Context, getSwaggerOptions *GetSwaggerOptions) (result *string, response *core.DetailedResponse, err error)
GetSwaggerWithContext is an alternate form of the GetSwagger method which supports a Context parameter
func (*BlockchainV3) ImportCa ¶
func (blockchain *BlockchainV3) ImportCa(importCaOptions *ImportCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
ImportCa : Import a CA Import an existing Certificate Authority (CA) to your IBP console. It is recommended to only import components that were created by this or another IBP console.
func (*BlockchainV3) ImportCaWithContext ¶
func (blockchain *BlockchainV3) ImportCaWithContext(ctx context.Context, importCaOptions *ImportCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
ImportCaWithContext is an alternate form of the ImportCa method which supports a Context parameter
func (*BlockchainV3) ImportMsp ¶
func (blockchain *BlockchainV3) ImportMsp(importMspOptions *ImportMspOptions) (result *MspResponse, response *core.DetailedResponse, err error)
ImportMsp : Import an MSP Create or import a Membership Service Provider (MSP) definition into your IBP console. This definition represents an organization that controls a peer or OS (Ordering Service).
func (*BlockchainV3) ImportMspWithContext ¶
func (blockchain *BlockchainV3) ImportMspWithContext(ctx context.Context, importMspOptions *ImportMspOptions) (result *MspResponse, response *core.DetailedResponse, err error)
ImportMspWithContext is an alternate form of the ImportMsp method which supports a Context parameter
func (*BlockchainV3) ImportOrderer ¶
func (blockchain *BlockchainV3) ImportOrderer(importOrdererOptions *ImportOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
ImportOrderer : Import an ordering service Import an existing Ordering Service (OS) to your IBP console. It is recommended to only import components that were created by this or another IBP console.
func (*BlockchainV3) ImportOrdererWithContext ¶
func (blockchain *BlockchainV3) ImportOrdererWithContext(ctx context.Context, importOrdererOptions *ImportOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
ImportOrdererWithContext is an alternate form of the ImportOrderer method which supports a Context parameter
func (*BlockchainV3) ImportPeer ¶
func (blockchain *BlockchainV3) ImportPeer(importPeerOptions *ImportPeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
ImportPeer : Import a peer Import an existing peer into your IBP console. It is recommended to only import components that were created by this or another IBP console.
func (*BlockchainV3) ImportPeerWithContext ¶
func (blockchain *BlockchainV3) ImportPeerWithContext(ctx context.Context, importPeerOptions *ImportPeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
ImportPeerWithContext is an alternate form of the ImportPeer method which supports a Context parameter
func (*BlockchainV3) ListComponents ¶
func (blockchain *BlockchainV3) ListComponents(listComponentsOptions *ListComponentsOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
ListComponents : Get all components Get the IBP console's data on all components (peers, CAs, orderers, and MSPs). The component might be imported or created.
func (*BlockchainV3) ListComponentsWithContext ¶
func (blockchain *BlockchainV3) ListComponentsWithContext(ctx context.Context, listComponentsOptions *ListComponentsOptions) (result *GetMultiComponentsResponse, response *core.DetailedResponse, err error)
ListComponentsWithContext is an alternate form of the ListComponents method which supports a Context parameter
func (*BlockchainV3) ListNotifications ¶
func (blockchain *BlockchainV3) ListNotifications(listNotificationsOptions *ListNotificationsOptions) (result *GetNotificationsResponse, response *core.DetailedResponse, err error)
ListNotifications : Get all notifications Retrieve all notifications. This API supports pagination through the query parameters. Notifications are generated from actions such as creating a component, deleting a component, server restart, and so on.
func (*BlockchainV3) ListNotificationsWithContext ¶
func (blockchain *BlockchainV3) ListNotificationsWithContext(ctx context.Context, listNotificationsOptions *ListNotificationsOptions) (result *GetNotificationsResponse, response *core.DetailedResponse, err error)
ListNotificationsWithContext is an alternate form of the ListNotifications method which supports a Context parameter
func (*BlockchainV3) NewArchiveNotificationsOptions ¶
func (*BlockchainV3) NewArchiveNotificationsOptions(notificationIds []string) *ArchiveNotificationsOptions
NewArchiveNotificationsOptions : Instantiate ArchiveNotificationsOptions
func (*BlockchainV3) NewBccspPKCS11 ¶
func (*BlockchainV3) NewBccspPKCS11(label string, pin string) (model *BccspPKCS11, err error)
NewBccspPKCS11 : Instantiate BccspPKCS11 (Generic Model Constructor)
func (*BlockchainV3) NewBccspSW ¶
func (*BlockchainV3) NewBccspSW(hash string, security float64) (model *BccspSW, err error)
NewBccspSW : Instantiate BccspSW (Generic Model Constructor)
func (*BlockchainV3) NewCaActionOptions ¶
func (*BlockchainV3) NewCaActionOptions(id string) *CaActionOptions
NewCaActionOptions : Instantiate CaActionOptions
func (*BlockchainV3) NewClearCachesOptions ¶
func (*BlockchainV3) NewClearCachesOptions() *ClearCachesOptions
NewClearCachesOptions : Instantiate ClearCachesOptions
func (*BlockchainV3) NewConfigCACfg ¶
func (*BlockchainV3) NewConfigCACfg(identities *ConfigCACfgIdentities) (model *ConfigCACfg, err error)
NewConfigCACfg : Instantiate ConfigCACfg (Generic Model Constructor)
func (*BlockchainV3) NewConfigCACfgIdentities ¶
func (*BlockchainV3) NewConfigCACfgIdentities(passwordattempts float64) (model *ConfigCACfgIdentities, err error)
NewConfigCACfgIdentities : Instantiate ConfigCACfgIdentities (Generic Model Constructor)
func (*BlockchainV3) NewConfigCACors ¶
func (*BlockchainV3) NewConfigCACors(enabled bool, origins []string) (model *ConfigCACors, err error)
NewConfigCACors : Instantiate ConfigCACors (Generic Model Constructor)
func (*BlockchainV3) NewConfigCACreate ¶
func (*BlockchainV3) NewConfigCACreate(registry *ConfigCARegistry) (model *ConfigCACreate, err error)
NewConfigCACreate : Instantiate ConfigCACreate (Generic Model Constructor)
func (*BlockchainV3) NewConfigCACrl ¶
func (*BlockchainV3) NewConfigCACrl(expiry string) (model *ConfigCACrl, err error)
NewConfigCACrl : Instantiate ConfigCACrl (Generic Model Constructor)
func (*BlockchainV3) NewConfigCACsr ¶
func (*BlockchainV3) NewConfigCACsr(cn string, names []ConfigCACsrNamesItem, ca *ConfigCACsrCa) (model *ConfigCACsr, err error)
NewConfigCACsr : Instantiate ConfigCACsr (Generic Model Constructor)
func (*BlockchainV3) NewConfigCACsrKeyrequest ¶
func (*BlockchainV3) NewConfigCACsrKeyrequest(algo string, size float64) (model *ConfigCACsrKeyrequest, err error)
NewConfigCACsrKeyrequest : Instantiate ConfigCACsrKeyrequest (Generic Model Constructor)
func (*BlockchainV3) NewConfigCACsrNamesItem ¶
func (*BlockchainV3) NewConfigCACsrNamesItem(c string, sT string, o string) (model *ConfigCACsrNamesItem, err error)
NewConfigCACsrNamesItem : Instantiate ConfigCACsrNamesItem (Generic Model Constructor)
func (*BlockchainV3) NewConfigCADb ¶
func (*BlockchainV3) NewConfigCADb(typeVar string, datasource string) (model *ConfigCADb, err error)
NewConfigCADb : Instantiate ConfigCADb (Generic Model Constructor)
func (*BlockchainV3) NewConfigCADbTlsClient ¶
func (*BlockchainV3) NewConfigCADbTlsClient(certfile string, keyfile string) (model *ConfigCADbTlsClient, err error)
NewConfigCADbTlsClient : Instantiate ConfigCADbTlsClient (Generic Model Constructor)
func (*BlockchainV3) NewConfigCAIdemix ¶
func (*BlockchainV3) NewConfigCAIdemix(rhpoolsize float64, nonceexpiration string, noncesweepinterval string) (model *ConfigCAIdemix, err error)
NewConfigCAIdemix : Instantiate ConfigCAIdemix (Generic Model Constructor)
func (*BlockchainV3) NewConfigCAIntermediate ¶
func (*BlockchainV3) NewConfigCAIntermediate(parentserver *ConfigCAIntermediateParentserver) (model *ConfigCAIntermediate, err error)
NewConfigCAIntermediate : Instantiate ConfigCAIntermediate (Generic Model Constructor)
func (*BlockchainV3) NewConfigCAIntermediateEnrollment ¶
func (*BlockchainV3) NewConfigCAIntermediateEnrollment(hosts string, profile string, label string) (model *ConfigCAIntermediateEnrollment, err error)
NewConfigCAIntermediateEnrollment : Instantiate ConfigCAIntermediateEnrollment (Generic Model Constructor)
func (*BlockchainV3) NewConfigCAIntermediateParentserver ¶
func (*BlockchainV3) NewConfigCAIntermediateParentserver(url string, caname string) (model *ConfigCAIntermediateParentserver, err error)
NewConfigCAIntermediateParentserver : Instantiate ConfigCAIntermediateParentserver (Generic Model Constructor)
func (*BlockchainV3) NewConfigCAIntermediateTls ¶
func (*BlockchainV3) NewConfigCAIntermediateTls(certfiles []string) (model *ConfigCAIntermediateTls, err error)
NewConfigCAIntermediateTls : Instantiate ConfigCAIntermediateTls (Generic Model Constructor)
func (*BlockchainV3) NewConfigCAIntermediateTlsClient ¶
func (*BlockchainV3) NewConfigCAIntermediateTlsClient(certfile string, keyfile string) (model *ConfigCAIntermediateTlsClient, err error)
NewConfigCAIntermediateTlsClient : Instantiate ConfigCAIntermediateTlsClient (Generic Model Constructor)
func (*BlockchainV3) NewConfigCARegistry ¶
func (*BlockchainV3) NewConfigCARegistry(maxenrollments float64, identities []ConfigCARegistryIdentitiesItem) (model *ConfigCARegistry, err error)
NewConfigCARegistry : Instantiate ConfigCARegistry (Generic Model Constructor)
func (*BlockchainV3) NewConfigCARegistryIdentitiesItem ¶
func (*BlockchainV3) NewConfigCARegistryIdentitiesItem(name string, pass string, typeVar string) (model *ConfigCARegistryIdentitiesItem, err error)
NewConfigCARegistryIdentitiesItem : Instantiate ConfigCARegistryIdentitiesItem (Generic Model Constructor)
func (*BlockchainV3) NewConfigCATls ¶
func (*BlockchainV3) NewConfigCATls(keyfile string, certfile string) (model *ConfigCATls, err error)
NewConfigCATls : Instantiate ConfigCATls (Generic Model Constructor)
func (*BlockchainV3) NewConfigCATlsClientauth ¶
func (*BlockchainV3) NewConfigCATlsClientauth(typeVar string, certfiles []string) (model *ConfigCATlsClientauth, err error)
NewConfigCATlsClientauth : Instantiate ConfigCATlsClientauth (Generic Model Constructor)
func (*BlockchainV3) NewConfigPeerAdminService ¶
func (*BlockchainV3) NewConfigPeerAdminService(listenAddress string) (model *ConfigPeerAdminService, err error)
NewConfigPeerAdminService : Instantiate ConfigPeerAdminService (Generic Model Constructor)
func (*BlockchainV3) NewConfigPeerAuthentication ¶
func (*BlockchainV3) NewConfigPeerAuthentication(timewindow string) (model *ConfigPeerAuthentication, err error)
NewConfigPeerAuthentication : Instantiate ConfigPeerAuthentication (Generic Model Constructor)
func (*BlockchainV3) NewConfigPeerClient ¶
func (*BlockchainV3) NewConfigPeerClient(connTimeout string) (model *ConfigPeerClient, err error)
NewConfigPeerClient : Instantiate ConfigPeerClient (Generic Model Constructor)
func (*BlockchainV3) NewCreateCaBodyConfigOverride ¶
func (*BlockchainV3) NewCreateCaBodyConfigOverride(ca *ConfigCACreate) (model *CreateCaBodyConfigOverride, err error)
NewCreateCaBodyConfigOverride : Instantiate CreateCaBodyConfigOverride (Generic Model Constructor)
func (*BlockchainV3) NewCreateCaBodyResources ¶
func (*BlockchainV3) NewCreateCaBodyResources(ca *ResourceObject) (model *CreateCaBodyResources, err error)
NewCreateCaBodyResources : Instantiate CreateCaBodyResources (Generic Model Constructor)
func (*BlockchainV3) NewCreateCaBodyStorage ¶
func (*BlockchainV3) NewCreateCaBodyStorage(ca *StorageObject) (model *CreateCaBodyStorage, err error)
NewCreateCaBodyStorage : Instantiate CreateCaBodyStorage (Generic Model Constructor)
func (*BlockchainV3) NewCreateCaOptions ¶
func (*BlockchainV3) NewCreateCaOptions(displayName string, configOverride *CreateCaBodyConfigOverride) *CreateCaOptions
NewCreateCaOptions : Instantiate CreateCaOptions
func (*BlockchainV3) NewCreateOrdererOptions ¶
func (*BlockchainV3) NewCreateOrdererOptions(ordererType string, mspID string, displayName string, crypto []CryptoObject) *CreateOrdererOptions
NewCreateOrdererOptions : Instantiate CreateOrdererOptions
func (*BlockchainV3) NewCreateOrdererRaftBodyResources ¶
func (*BlockchainV3) NewCreateOrdererRaftBodyResources(orderer *ResourceObject) (model *CreateOrdererRaftBodyResources, err error)
NewCreateOrdererRaftBodyResources : Instantiate CreateOrdererRaftBodyResources (Generic Model Constructor)
func (*BlockchainV3) NewCreateOrdererRaftBodyStorage ¶
func (*BlockchainV3) NewCreateOrdererRaftBodyStorage(orderer *StorageObject) (model *CreateOrdererRaftBodyStorage, err error)
NewCreateOrdererRaftBodyStorage : Instantiate CreateOrdererRaftBodyStorage (Generic Model Constructor)
func (*BlockchainV3) NewCreatePeerBodyStorage ¶
func (*BlockchainV3) NewCreatePeerBodyStorage(peer *StorageObject) (model *CreatePeerBodyStorage, err error)
NewCreatePeerBodyStorage : Instantiate CreatePeerBodyStorage (Generic Model Constructor)
func (*BlockchainV3) NewCreatePeerOptions ¶
func (*BlockchainV3) NewCreatePeerOptions(mspID string, displayName string, crypto *CryptoObject) *CreatePeerOptions
NewCreatePeerOptions : Instantiate CreatePeerOptions
func (*BlockchainV3) NewCryptoObjectEnrollment ¶
func (*BlockchainV3) NewCryptoObjectEnrollment(component *CryptoEnrollmentComponent, ca *CryptoObjectEnrollmentCa, tlsca *CryptoObjectEnrollmentTlsca) (model *CryptoObjectEnrollment, err error)
NewCryptoObjectEnrollment : Instantiate CryptoObjectEnrollment (Generic Model Constructor)
func (*BlockchainV3) NewCryptoObjectEnrollmentCa ¶
func (*BlockchainV3) NewCryptoObjectEnrollmentCa(host string, port float64, name string, tlsCert string, enrollID string, enrollSecret string) (model *CryptoObjectEnrollmentCa, err error)
NewCryptoObjectEnrollmentCa : Instantiate CryptoObjectEnrollmentCa (Generic Model Constructor)
func (*BlockchainV3) NewCryptoObjectEnrollmentTlsca ¶
func (*BlockchainV3) NewCryptoObjectEnrollmentTlsca(host string, port float64, name string, tlsCert string, enrollID string, enrollSecret string) (model *CryptoObjectEnrollmentTlsca, err error)
NewCryptoObjectEnrollmentTlsca : Instantiate CryptoObjectEnrollmentTlsca (Generic Model Constructor)
func (*BlockchainV3) NewCryptoObjectMsp ¶
func (*BlockchainV3) NewCryptoObjectMsp(component *MspCryptoComp, ca *MspCryptoCa, tlsca *MspCryptoCa) (model *CryptoObjectMsp, err error)
NewCryptoObjectMsp : Instantiate CryptoObjectMsp (Generic Model Constructor)
func (*BlockchainV3) NewDeleteAllComponentsOptions ¶
func (*BlockchainV3) NewDeleteAllComponentsOptions() *DeleteAllComponentsOptions
NewDeleteAllComponentsOptions : Instantiate DeleteAllComponentsOptions
func (*BlockchainV3) NewDeleteAllNotificationsOptions ¶
func (*BlockchainV3) NewDeleteAllNotificationsOptions() *DeleteAllNotificationsOptions
NewDeleteAllNotificationsOptions : Instantiate DeleteAllNotificationsOptions
func (*BlockchainV3) NewDeleteAllSessionsOptions ¶
func (*BlockchainV3) NewDeleteAllSessionsOptions() *DeleteAllSessionsOptions
NewDeleteAllSessionsOptions : Instantiate DeleteAllSessionsOptions
func (*BlockchainV3) NewDeleteComponentOptions ¶
func (*BlockchainV3) NewDeleteComponentOptions(id string) *DeleteComponentOptions
NewDeleteComponentOptions : Instantiate DeleteComponentOptions
func (*BlockchainV3) NewDeleteComponentsByTagOptions ¶
func (*BlockchainV3) NewDeleteComponentsByTagOptions(tag string) *DeleteComponentsByTagOptions
NewDeleteComponentsByTagOptions : Instantiate DeleteComponentsByTagOptions
func (*BlockchainV3) NewDeleteSigTxOptions ¶
func (*BlockchainV3) NewDeleteSigTxOptions(id string) *DeleteSigTxOptions
NewDeleteSigTxOptions : Instantiate DeleteSigTxOptions
func (*BlockchainV3) NewEditAdminCertsOptions ¶
func (*BlockchainV3) NewEditAdminCertsOptions(id string) *EditAdminCertsOptions
NewEditAdminCertsOptions : Instantiate EditAdminCertsOptions
func (*BlockchainV3) NewEditCaOptions ¶
func (*BlockchainV3) NewEditCaOptions(id string) *EditCaOptions
NewEditCaOptions : Instantiate EditCaOptions
func (*BlockchainV3) NewEditMspOptions ¶
func (*BlockchainV3) NewEditMspOptions(id string) *EditMspOptions
NewEditMspOptions : Instantiate EditMspOptions
func (*BlockchainV3) NewEditOrdererOptions ¶
func (*BlockchainV3) NewEditOrdererOptions(id string) *EditOrdererOptions
NewEditOrdererOptions : Instantiate EditOrdererOptions
func (*BlockchainV3) NewEditPeerOptions ¶
func (*BlockchainV3) NewEditPeerOptions(id string) *EditPeerOptions
NewEditPeerOptions : Instantiate EditPeerOptions
func (*BlockchainV3) NewEditSettingsOptions ¶
func (*BlockchainV3) NewEditSettingsOptions() *EditSettingsOptions
NewEditSettingsOptions : Instantiate EditSettingsOptions
func (*BlockchainV3) NewGetComponentOptions ¶
func (*BlockchainV3) NewGetComponentOptions(id string) *GetComponentOptions
NewGetComponentOptions : Instantiate GetComponentOptions
func (*BlockchainV3) NewGetComponentsByTagOptions ¶
func (*BlockchainV3) NewGetComponentsByTagOptions(tag string) *GetComponentsByTagOptions
NewGetComponentsByTagOptions : Instantiate GetComponentsByTagOptions
func (*BlockchainV3) NewGetComponentsByTypeOptions ¶
func (*BlockchainV3) NewGetComponentsByTypeOptions(typeVar string) *GetComponentsByTypeOptions
NewGetComponentsByTypeOptions : Instantiate GetComponentsByTypeOptions
func (*BlockchainV3) NewGetFabVersionsOptions ¶
func (*BlockchainV3) NewGetFabVersionsOptions() *GetFabVersionsOptions
NewGetFabVersionsOptions : Instantiate GetFabVersionsOptions
func (*BlockchainV3) NewGetHealthOptions ¶
func (*BlockchainV3) NewGetHealthOptions() *GetHealthOptions
NewGetHealthOptions : Instantiate GetHealthOptions
func (*BlockchainV3) NewGetMspCertificateOptions ¶
func (*BlockchainV3) NewGetMspCertificateOptions(mspID string) *GetMspCertificateOptions
NewGetMspCertificateOptions : Instantiate GetMspCertificateOptions
func (*BlockchainV3) NewGetPostmanOptions ¶
func (*BlockchainV3) NewGetPostmanOptions(authType string) *GetPostmanOptions
NewGetPostmanOptions : Instantiate GetPostmanOptions
func (*BlockchainV3) NewGetSettingsOptions ¶
func (*BlockchainV3) NewGetSettingsOptions() *GetSettingsOptions
NewGetSettingsOptions : Instantiate GetSettingsOptions
func (*BlockchainV3) NewGetSwaggerOptions ¶
func (*BlockchainV3) NewGetSwaggerOptions() *GetSwaggerOptions
NewGetSwaggerOptions : Instantiate GetSwaggerOptions
func (*BlockchainV3) NewHsm ¶
func (*BlockchainV3) NewHsm(pkcs11endpoint string) (model *Hsm, err error)
NewHsm : Instantiate Hsm (Generic Model Constructor)
func (*BlockchainV3) NewImportCaBodyMsp ¶
func (*BlockchainV3) NewImportCaBodyMsp(ca *ImportCaBodyMspCa, tlsca *ImportCaBodyMspTlsca, component *ImportCaBodyMspComponent) (model *ImportCaBodyMsp, err error)
NewImportCaBodyMsp : Instantiate ImportCaBodyMsp (Generic Model Constructor)
func (*BlockchainV3) NewImportCaBodyMspCa ¶
func (*BlockchainV3) NewImportCaBodyMspCa(name string) (model *ImportCaBodyMspCa, err error)
NewImportCaBodyMspCa : Instantiate ImportCaBodyMspCa (Generic Model Constructor)
func (*BlockchainV3) NewImportCaBodyMspComponent ¶
func (*BlockchainV3) NewImportCaBodyMspComponent(tlsCert string) (model *ImportCaBodyMspComponent, err error)
NewImportCaBodyMspComponent : Instantiate ImportCaBodyMspComponent (Generic Model Constructor)
func (*BlockchainV3) NewImportCaBodyMspTlsca ¶
func (*BlockchainV3) NewImportCaBodyMspTlsca(name string) (model *ImportCaBodyMspTlsca, err error)
NewImportCaBodyMspTlsca : Instantiate ImportCaBodyMspTlsca (Generic Model Constructor)
func (*BlockchainV3) NewImportCaOptions ¶
func (*BlockchainV3) NewImportCaOptions(displayName string, apiURL string, msp *ImportCaBodyMsp) *ImportCaOptions
NewImportCaOptions : Instantiate ImportCaOptions
func (*BlockchainV3) NewImportMspOptions ¶
func (*BlockchainV3) NewImportMspOptions(mspID string, displayName string, rootCerts []string) *ImportMspOptions
NewImportMspOptions : Instantiate ImportMspOptions
func (*BlockchainV3) NewImportOrdererOptions ¶
func (*BlockchainV3) NewImportOrdererOptions(clusterName string, displayName string, grpcwpURL string, msp *MspCryptoField, mspID string) *ImportOrdererOptions
NewImportOrdererOptions : Instantiate ImportOrdererOptions
func (*BlockchainV3) NewImportPeerOptions ¶
func (*BlockchainV3) NewImportPeerOptions(displayName string, grpcwpURL string, msp *MspCryptoField, mspID string) *ImportPeerOptions
NewImportPeerOptions : Instantiate ImportPeerOptions
func (*BlockchainV3) NewListComponentsOptions ¶
func (*BlockchainV3) NewListComponentsOptions() *ListComponentsOptions
NewListComponentsOptions : Instantiate ListComponentsOptions
func (*BlockchainV3) NewListNotificationsOptions ¶
func (*BlockchainV3) NewListNotificationsOptions() *ListNotificationsOptions
NewListNotificationsOptions : Instantiate ListNotificationsOptions
func (*BlockchainV3) NewMetrics ¶
func (*BlockchainV3) NewMetrics(provider string) (model *Metrics, err error)
NewMetrics : Instantiate Metrics (Generic Model Constructor)
func (*BlockchainV3) NewMetricsStatsd ¶
func (*BlockchainV3) NewMetricsStatsd(network string, address string, writeInterval string, prefix string) (model *MetricsStatsd, err error)
NewMetricsStatsd : Instantiate MetricsStatsd (Generic Model Constructor)
func (*BlockchainV3) NewMspCryptoCa ¶
func (*BlockchainV3) NewMspCryptoCa(rootCerts []string) (model *MspCryptoCa, err error)
NewMspCryptoCa : Instantiate MspCryptoCa (Generic Model Constructor)
func (*BlockchainV3) NewMspCryptoComp ¶
func (*BlockchainV3) NewMspCryptoComp(ekey string, ecert string, tlsKey string, tlsCert string) (model *MspCryptoComp, err error)
NewMspCryptoComp : Instantiate MspCryptoComp (Generic Model Constructor)
func (*BlockchainV3) NewMspCryptoField ¶
func (*BlockchainV3) NewMspCryptoField(tlsca *MspCryptoFieldTlsca, component *MspCryptoFieldComponent) (model *MspCryptoField, err error)
NewMspCryptoField : Instantiate MspCryptoField (Generic Model Constructor)
func (*BlockchainV3) NewMspCryptoFieldComponent ¶
func (*BlockchainV3) NewMspCryptoFieldComponent(tlsCert string) (model *MspCryptoFieldComponent, err error)
NewMspCryptoFieldComponent : Instantiate MspCryptoFieldComponent (Generic Model Constructor)
func (*BlockchainV3) NewMspCryptoFieldTlsca ¶
func (*BlockchainV3) NewMspCryptoFieldTlsca(rootCerts []string) (model *MspCryptoFieldTlsca, err error)
NewMspCryptoFieldTlsca : Instantiate MspCryptoFieldTlsca (Generic Model Constructor)
func (*BlockchainV3) NewOrdererActionOptions ¶
func (*BlockchainV3) NewOrdererActionOptions(id string) *OrdererActionOptions
NewOrdererActionOptions : Instantiate OrdererActionOptions
func (*BlockchainV3) NewPeerActionOptions ¶
func (*BlockchainV3) NewPeerActionOptions(id string) *PeerActionOptions
NewPeerActionOptions : Instantiate PeerActionOptions
func (*BlockchainV3) NewRemoveComponentOptions ¶
func (*BlockchainV3) NewRemoveComponentOptions(id string) *RemoveComponentOptions
NewRemoveComponentOptions : Instantiate RemoveComponentOptions
func (*BlockchainV3) NewRemoveComponentsByTagOptions ¶
func (*BlockchainV3) NewRemoveComponentsByTagOptions(tag string) *RemoveComponentsByTagOptions
NewRemoveComponentsByTagOptions : Instantiate RemoveComponentsByTagOptions
func (*BlockchainV3) NewResourceObject ¶
func (*BlockchainV3) NewResourceObject(requests *ResourceRequests) (model *ResourceObject, err error)
NewResourceObject : Instantiate ResourceObject (Generic Model Constructor)
func (*BlockchainV3) NewResourceObjectCouchDb ¶
func (*BlockchainV3) NewResourceObjectCouchDb(requests *ResourceRequests) (model *ResourceObjectCouchDb, err error)
NewResourceObjectCouchDb : Instantiate ResourceObjectCouchDb (Generic Model Constructor)
func (*BlockchainV3) NewResourceObjectFabV1 ¶
func (*BlockchainV3) NewResourceObjectFabV1(requests *ResourceRequests) (model *ResourceObjectFabV1, err error)
NewResourceObjectFabV1 : Instantiate ResourceObjectFabV1 (Generic Model Constructor)
func (*BlockchainV3) NewResourceObjectFabV2 ¶
func (*BlockchainV3) NewResourceObjectFabV2(requests *ResourceRequests) (model *ResourceObjectFabV2, err error)
NewResourceObjectFabV2 : Instantiate ResourceObjectFabV2 (Generic Model Constructor)
func (*BlockchainV3) NewRestartOptions ¶
func (*BlockchainV3) NewRestartOptions() *RestartOptions
NewRestartOptions : Instantiate RestartOptions
func (*BlockchainV3) NewSubmitBlockOptions ¶
func (*BlockchainV3) NewSubmitBlockOptions(id string) *SubmitBlockOptions
NewSubmitBlockOptions : Instantiate SubmitBlockOptions
func (*BlockchainV3) NewUpdateCaBodyConfigOverride ¶
func (*BlockchainV3) NewUpdateCaBodyConfigOverride(ca *ConfigCAUpdate) (model *UpdateCaBodyConfigOverride, err error)
NewUpdateCaBodyConfigOverride : Instantiate UpdateCaBodyConfigOverride (Generic Model Constructor)
func (*BlockchainV3) NewUpdateCaBodyResources ¶
func (*BlockchainV3) NewUpdateCaBodyResources(ca *ResourceObject) (model *UpdateCaBodyResources, err error)
NewUpdateCaBodyResources : Instantiate UpdateCaBodyResources (Generic Model Constructor)
func (*BlockchainV3) NewUpdateCaOptions ¶
func (*BlockchainV3) NewUpdateCaOptions(id string) *UpdateCaOptions
NewUpdateCaOptions : Instantiate UpdateCaOptions
func (*BlockchainV3) NewUpdateOrdererOptions ¶
func (*BlockchainV3) NewUpdateOrdererOptions(id string) *UpdateOrdererOptions
NewUpdateOrdererOptions : Instantiate UpdateOrdererOptions
func (*BlockchainV3) NewUpdatePeerOptions ¶
func (*BlockchainV3) NewUpdatePeerOptions(id string) *UpdatePeerOptions
NewUpdatePeerOptions : Instantiate UpdatePeerOptions
func (*BlockchainV3) OrdererAction ¶
func (blockchain *BlockchainV3) OrdererAction(ordererActionOptions *OrdererActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
OrdererAction : Submit action to an orderer Submit an action to a Fabric Orderer component. Actions such as restarting the component or certificate operations.
func (*BlockchainV3) OrdererActionWithContext ¶
func (blockchain *BlockchainV3) OrdererActionWithContext(ctx context.Context, ordererActionOptions *OrdererActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
OrdererActionWithContext is an alternate form of the OrdererAction method which supports a Context parameter
func (*BlockchainV3) PeerAction ¶
func (blockchain *BlockchainV3) PeerAction(peerActionOptions *PeerActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
PeerAction : Submit action to a peer Submit an action to a Fabric Peer component. Actions such as restarting the component or certificate operations.
func (*BlockchainV3) PeerActionWithContext ¶
func (blockchain *BlockchainV3) PeerActionWithContext(ctx context.Context, peerActionOptions *PeerActionOptions) (result *ActionsResponse, response *core.DetailedResponse, err error)
PeerActionWithContext is an alternate form of the PeerAction method which supports a Context parameter
func (*BlockchainV3) RemoveComponent ¶
func (blockchain *BlockchainV3) RemoveComponent(removeComponentOptions *RemoveComponentOptions) (result *DeleteComponentResponse, response *core.DetailedResponse, err error)
RemoveComponent : Remove imported component Remove a single component from the IBP console. - Using this api on an **imported** component removes it from the IBP console. - Using this api on a **created** component removes it from the IBP console **but** it will **not** delete the component from the Kubernetes cluster where it resides. Thus it orphans the Kubernetes deployment (if it exists). Instead use the [Delete component](#delete-component) API to delete the Kubernetes deployment and the IBP console data at once.
func (*BlockchainV3) RemoveComponentWithContext ¶
func (blockchain *BlockchainV3) RemoveComponentWithContext(ctx context.Context, removeComponentOptions *RemoveComponentOptions) (result *DeleteComponentResponse, response *core.DetailedResponse, err error)
RemoveComponentWithContext is an alternate form of the RemoveComponent method which supports a Context parameter
func (*BlockchainV3) RemoveComponentsByTag ¶
func (blockchain *BlockchainV3) RemoveComponentsByTag(removeComponentsByTagOptions *RemoveComponentsByTagOptions) (result *RemoveMultiComponentsResponse, response *core.DetailedResponse, err error)
RemoveComponentsByTag : Remove components with tag Removes components with the matching tag from the IBP console. Tags are not case-sensitive. - Using this api on **imported** components removes them from the IBP console. - Using this api on **created** components removes them from the IBP console **but** it will **not** delete the components from the Kubernetes cluster where they reside. Thus it orphans the Kubernetes deployments (if it exists). Instead use the [Delete components with tag](#delete_components_by_tag) API to delete the Kubernetes deployment and the IBP console data at once.
func (*BlockchainV3) RemoveComponentsByTagWithContext ¶
func (blockchain *BlockchainV3) RemoveComponentsByTagWithContext(ctx context.Context, removeComponentsByTagOptions *RemoveComponentsByTagOptions) (result *RemoveMultiComponentsResponse, response *core.DetailedResponse, err error)
RemoveComponentsByTagWithContext is an alternate form of the RemoveComponentsByTag method which supports a Context parameter
func (*BlockchainV3) Restart ¶
func (blockchain *BlockchainV3) Restart(restartOptions *RestartOptions) (result *RestartAthenaResponse, response *core.DetailedResponse, err error)
Restart : Restart the IBP console Restart IBP console processes. This causes a small outage (10 - 30 seconds) which is possibly disruptive to active user sessions.
func (*BlockchainV3) RestartWithContext ¶
func (blockchain *BlockchainV3) RestartWithContext(ctx context.Context, restartOptions *RestartOptions) (result *RestartAthenaResponse, response *core.DetailedResponse, err error)
RestartWithContext is an alternate form of the Restart method which supports a Context parameter
func (*BlockchainV3) SetDefaultHeaders ¶
func (blockchain *BlockchainV3) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*BlockchainV3) SetEnableGzipCompression ¶
func (blockchain *BlockchainV3) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*BlockchainV3) SetServiceURL ¶
func (blockchain *BlockchainV3) SetServiceURL(url string) error
SetServiceURL sets the service URL
func (*BlockchainV3) SubmitBlock ¶
func (blockchain *BlockchainV3) SubmitBlock(submitBlockOptions *SubmitBlockOptions) (result *GenericComponentResponse, response *core.DetailedResponse, err error)
SubmitBlock : Submit config block to orderer Send a config block (or genesis block) to a pre-created raft orderer node. Use this api to finish the raft-append flow and finalize a pre-created orderer. This is the final step to append a node to a raft cluster. The orderer will restart, load this block, and connect to the other orderers listed in said block.
The full flow to append a raft node:
- Pre-create the orderer with the [Create an ordering service](#create-orderer) API (setting `cluster_id` is how
you turn the normal create-orderer api into a pre-create-orderer api).
- Retrieve the pre-created node's tls cert with the [Get component data](#get-component) API (set the
`deployment_attrs=included` parameter).
- Get the latest config block for the system-channel by using the Fabric API (use a Fabric CLI or another Fabric
tool).
- Edit the config block for the system-channel and add the pre-created orderer's tls cert and api url as a
consenter.
- Create and marshal a Fabric
[ConfigUpdate](https://github.com/hyperledger/fabric/blob/release-1.4/protos/common/configtx.proto#L78) proposal with [configtxlator](https://hyperledger-fabric.readthedocs.io/en/release-1.4/commands/configtxlator.html#configtxlator-compute-update) using the old and new block.
- Sign the `ConfigUpdate` proposal and create a
[ConfigSignature](https://github.com/hyperledger/fabric/blob/release-1.4/protos/common/configtx.proto#L111). Create a set of signatures that will satisfy the system channel's update policy.
- Build a [SignedProposal](https://github.com/hyperledger/fabric/blob/release-1.4/protos/peer/proposal.proto#L105)
out of the `ConfigUpdate` & `ConfigSignature`. Submit the `SignedProposal` to an existing ordering node (do not use the pre-created node).
- After the `SignedProposal` transaction is committed to a block, pull the latest config block (for the
system-channel) from an existing ordering node (use a Fabric CLI or another Fabric tool).
- Submit the latest config block to your pre-created node with the 'Submit config block to orderer' API (which is
this api!)
- Use the [Edit data about an orderer](#edit-orderer) API to change the pre-created node's field
`consenter_proposal_fin` to `true`. This changes the status icon on the IBP console.
func (*BlockchainV3) SubmitBlockWithContext ¶
func (blockchain *BlockchainV3) SubmitBlockWithContext(ctx context.Context, submitBlockOptions *SubmitBlockOptions) (result *GenericComponentResponse, response *core.DetailedResponse, err error)
SubmitBlockWithContext is an alternate form of the SubmitBlock method which supports a Context parameter
func (*BlockchainV3) UpdateCa ¶
func (blockchain *BlockchainV3) UpdateCa(updateCaOptions *UpdateCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
UpdateCa : Update a CA Update Kubernetes deployment attributes of a Hyperledger Fabric Certificate Authority (CA) in your cluster.
func (*BlockchainV3) UpdateCaWithContext ¶
func (blockchain *BlockchainV3) UpdateCaWithContext(ctx context.Context, updateCaOptions *UpdateCaOptions) (result *CaResponse, response *core.DetailedResponse, err error)
UpdateCaWithContext is an alternate form of the UpdateCa method which supports a Context parameter
func (*BlockchainV3) UpdateOrderer ¶
func (blockchain *BlockchainV3) UpdateOrderer(updateOrdererOptions *UpdateOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
UpdateOrderer : Update an orderer node Update Kubernetes deployment attributes of a Hyperledger Fabric Ordering node.
func (*BlockchainV3) UpdateOrdererWithContext ¶
func (blockchain *BlockchainV3) UpdateOrdererWithContext(ctx context.Context, updateOrdererOptions *UpdateOrdererOptions) (result *OrdererResponse, response *core.DetailedResponse, err error)
UpdateOrdererWithContext is an alternate form of the UpdateOrderer method which supports a Context parameter
func (*BlockchainV3) UpdatePeer ¶
func (blockchain *BlockchainV3) UpdatePeer(updatePeerOptions *UpdatePeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
UpdatePeer : Update a peer Update Kubernetes deployment attributes of a Hyperledger Fabric Peer node.
func (*BlockchainV3) UpdatePeerWithContext ¶
func (blockchain *BlockchainV3) UpdatePeerWithContext(ctx context.Context, updatePeerOptions *UpdatePeerOptions) (result *PeerResponse, response *core.DetailedResponse, err error)
UpdatePeerWithContext is an alternate form of the UpdatePeer method which supports a Context parameter
type BlockchainV3Options ¶
type BlockchainV3Options struct { ServiceName string URL string Authenticator core.Authenticator }
BlockchainV3Options : Service options
type CaActionOptions ¶
type CaActionOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // Set to `true` to restart the component. Restart *bool `json:"restart,omitempty"` Renew *ActionRenew `json:"renew,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CaActionOptions : The CaAction options.
func (*CaActionOptions) SetHeaders ¶
func (options *CaActionOptions) SetHeaders(param map[string]string) *CaActionOptions
SetHeaders : Allow user to set Headers
func (*CaActionOptions) SetID ¶
func (options *CaActionOptions) SetID(id string) *CaActionOptions
SetID : Allow user to set ID
func (*CaActionOptions) SetRenew ¶
func (options *CaActionOptions) SetRenew(renew *ActionRenew) *CaActionOptions
SetRenew : Allow user to set Renew
func (*CaActionOptions) SetRestart ¶
func (options *CaActionOptions) SetRestart(restart bool) *CaActionOptions
SetRestart : Allow user to set Restart
type CaResponse ¶
type CaResponse struct { // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // The unique id for the component in Kubernetes. Not available if component was imported. DepComponentID *string `json:"dep_component_id,omitempty"` // A descriptive name for this CA. The IBP console tile displays this name. DisplayName *string `json:"display_name,omitempty"` // The gRPC URL for the peer. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url,omitempty"` // The operations URL for the CA. Include the protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` // The **cached** configuration override that was set for the Kubernetes deployment. Field does not exist if an // override was not set of if the component was imported. ConfigOverride interface{} `json:"config_override,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` // The msp crypto data. Msp *MspCryptoField `json:"msp,omitempty"` // The **cached** Kubernetes resource attributes for this component. Not available if CA was imported. Resources *CaResponseResources `json:"resources,omitempty"` // The versioning of the IBP console format of this JSON. SchemeVersion *string `json:"scheme_version,omitempty"` // The **cached** Kubernetes storage attributes for this component. Not available if CA was imported. Storage *CaResponseStorage `json:"storage,omitempty"` Tags []string `json:"tags,omitempty"` // UTC UNIX timestamp of component onboarding to the UI. In milliseconds. Timestamp *float64 `json:"timestamp,omitempty"` // The cached Hyperledger Fabric release version. Version *string `json:"version,omitempty"` // Specify the Kubernetes zone for the deployment. The deployment will use a k8s node in this zone. Find the list of // possible zones by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // information](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Zone *string `json:"zone,omitempty"` }
CaResponse : Contains the details of a CA.
type CaResponseResources ¶
type CaResponseResources struct {
Ca *GenericResources `json:"ca,omitempty"`
}
CaResponseResources : The **cached** Kubernetes resource attributes for this component. Not available if CA was imported.
type CaResponseStorage ¶
type CaResponseStorage struct {
Ca *StorageObject `json:"ca,omitempty"`
}
CaResponseStorage : The **cached** Kubernetes storage attributes for this component. Not available if CA was imported.
type CacheData ¶
type CacheData struct { // Number of cache hits. Hits *float64 `json:"hits,omitempty"` // Number of cache misses. Misses *float64 `json:"misses,omitempty"` // Number of entries in the cache. Keys *float64 `json:"keys,omitempty"` // Approximate size of the in memory cache. CacheSize *string `json:"cache_size,omitempty"` }
CacheData : CacheData struct
type CacheFlushResponse ¶
type CacheFlushResponse struct { // Response message. "ok" indicates the api completed successfully. Message *string `json:"message,omitempty"` // The name of the caches that were cleared. Flushed []string `json:"flushed,omitempty"` }
CacheFlushResponse : CacheFlushResponse struct
type ClearCachesOptions ¶
type ClearCachesOptions struct { // Allows users to set headers on API requests Headers map[string]string }
ClearCachesOptions : The ClearCaches options.
func (*ClearCachesOptions) SetHeaders ¶
func (options *ClearCachesOptions) SetHeaders(param map[string]string) *ClearCachesOptions
SetHeaders : Allow user to set Headers
type ClientAuth ¶
type ClientAuth struct { Type *string `json:"type,omitempty"` TlsCerts []string `json:"tls_certs,omitempty"` }
ClientAuth : ClientAuth struct
type ConfigCAAffiliations ¶
type ConfigCAAffiliations struct { Org1 []string `json:"org1,omitempty"` Org2 []string `json:"org2,omitempty"` // contains filtered or unexported fields }
ConfigCAAffiliations : Set the keys to the desired affiliation parent names. The keys 'org1' and 'org2' are examples.
func (*ConfigCAAffiliations) GetProperties ¶
func (o *ConfigCAAffiliations) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of ConfigCAAffiliations
func (*ConfigCAAffiliations) GetProperty ¶
func (o *ConfigCAAffiliations) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of ConfigCAAffiliations
func (*ConfigCAAffiliations) MarshalJSON ¶
func (o *ConfigCAAffiliations) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of ConfigCAAffiliations
func (*ConfigCAAffiliations) SetProperty ¶
func (o *ConfigCAAffiliations) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of ConfigCAAffiliations
type ConfigCACa ¶
type ConfigCACa struct { // The CA's private key as base 64 encoded PEM. Keyfile *string `json:"keyfile,omitempty"` // The CA's certificate as base 64 encoded PEM. Certfile *string `json:"certfile,omitempty"` // The CA's certificate chain as base 64 encoded PEM. Chainfile *string `json:"chainfile,omitempty"` }
ConfigCACa : ConfigCACa struct
type ConfigCACfg ¶
type ConfigCACfg struct {
Identities *ConfigCACfgIdentities `json:"identities" validate:"required"`
}
ConfigCACfg : ConfigCACfg struct
type ConfigCACfgIdentities ¶
type ConfigCACfgIdentities struct { // The maximum number of incorrect password attempts allowed per identity. Passwordattempts *float64 `json:"passwordattempts" validate:"required"` // Set to `true` to allow deletion of identities. Defaults `false`. Allowremove *bool `json:"allowremove,omitempty"` }
ConfigCACfgIdentities : ConfigCACfgIdentities struct
type ConfigCACors ¶
type ConfigCACors struct { Enabled *bool `json:"enabled" validate:"required"` Origins []string `json:"origins" validate:"required"` }
ConfigCACors : ConfigCACors struct
type ConfigCACreate ¶
type ConfigCACreate struct { Cors *ConfigCACors `json:"cors,omitempty"` // Enable debug to debug the CA. Debug *bool `json:"debug,omitempty"` // Max size of an acceptable CRL in bytes. Crlsizelimit *float64 `json:"crlsizelimit,omitempty"` Tls *ConfigCATls `json:"tls,omitempty"` Ca *ConfigCACa `json:"ca,omitempty"` Crl *ConfigCACrl `json:"crl,omitempty"` Registry *ConfigCARegistry `json:"registry" validate:"required"` Db *ConfigCADb `json:"db,omitempty"` // Set the keys to the desired affiliation parent names. The keys 'org1' and 'org2' are examples. Affiliations *ConfigCAAffiliations `json:"affiliations,omitempty"` Csr *ConfigCACsr `json:"csr,omitempty"` Idemix *ConfigCAIdemix `json:"idemix,omitempty"` // Configures the Blockchain Crypto Service Providers (bccsp). BCCSP *Bccsp `json:"BCCSP,omitempty"` Intermediate *ConfigCAIntermediate `json:"intermediate,omitempty"` Cfg *ConfigCACfg `json:"cfg,omitempty"` Metrics *Metrics `json:"metrics,omitempty"` Signing *ConfigCASigning `json:"signing,omitempty"` }
ConfigCACreate : ConfigCACreate struct
type ConfigCACrl ¶
type ConfigCACrl struct { // Expiration of the CRL (Certificate Revocation List) generated by the 'gencrl' requests. Expiry *string `json:"expiry" validate:"required"` }
ConfigCACrl : ConfigCACrl struct
type ConfigCACsr ¶
type ConfigCACsr struct { // The Common Name for the CSRs. Cn *string `json:"cn" validate:"required"` Keyrequest *ConfigCACsrKeyrequest `json:"keyrequest,omitempty"` Names []ConfigCACsrNamesItem `json:"names" validate:"required"` Hosts []string `json:"hosts,omitempty"` Ca *ConfigCACsrCa `json:"ca" validate:"required"` }
ConfigCACsr : ConfigCACsr struct
type ConfigCACsrCa ¶
type ConfigCACsrCa struct { // The expiration for the root CA certificate. Expiry *string `json:"expiry,omitempty"` // The pathlength field is used to limit CA certificate hierarchy. 0 means that the CA cannot issue CA certs, only // entity certificates. 1 means that the CA can issue both. Pathlength *float64 `json:"pathlength,omitempty"` }
ConfigCACsrCa : ConfigCACsrCa struct
type ConfigCACsrKeyrequest ¶
type ConfigCACsrKeyrequest struct { // The algorithm to use for CSRs. Algo *string `json:"algo" validate:"required"` // The size of the key for CSRs. Size *float64 `json:"size" validate:"required"` }
ConfigCACsrKeyrequest : ConfigCACsrKeyrequest struct
type ConfigCACsrNamesItem ¶
type ConfigCACsrNamesItem struct { C *string `json:"C" validate:"required"` ST *string `json:"ST" validate:"required"` L *string `json:"L,omitempty"` O *string `json:"O" validate:"required"` OU *string `json:"OU,omitempty"` }
ConfigCACsrNamesItem : ConfigCACsrNamesItem struct
type ConfigCADb ¶
type ConfigCADb struct { // The type of database. Either 'sqlite3', 'postgres', 'mysql'. Defaults 'sqlite3'. Type *string `json:"type" validate:"required"` // Build this string - "host=\<hostname> port=\<port> user=\<username> password=\<password> dbname=ibmclouddb // sslmode=verify-full". Datasource *string `json:"datasource" validate:"required"` Tls *ConfigCADbTls `json:"tls,omitempty"` }
ConfigCADb : ConfigCADb struct
type ConfigCADbTls ¶
type ConfigCADbTls struct { Certfiles []string `json:"certfiles,omitempty"` Client *ConfigCADbTlsClient `json:"client,omitempty"` // Set to true if TLS is to be used between the CA and its database, else false. Enabled *bool `json:"enabled,omitempty"` }
ConfigCADbTls : ConfigCADbTls struct
type ConfigCADbTlsClient ¶
type ConfigCADbTlsClient struct { // The TLS certificate for client TLS as base 64 encoded PEM. Certfile *string `json:"certfile" validate:"required"` // The TLS private key for client TLS as base 64 encoded PEM. Keyfile *string `json:"keyfile" validate:"required"` }
ConfigCADbTlsClient : ConfigCADbTlsClient struct
type ConfigCAIdemix ¶
type ConfigCAIdemix struct { // Specifies the revocation pool size. Rhpoolsize *float64 `json:"rhpoolsize" validate:"required"` // Specifies the expiration for the nonces. Nonceexpiration *string `json:"nonceexpiration" validate:"required"` // Specifies frequency at which expired nonces are removed from data store. Noncesweepinterval *string `json:"noncesweepinterval" validate:"required"` }
ConfigCAIdemix : ConfigCAIdemix struct
type ConfigCAIntermediate ¶
type ConfigCAIntermediate struct { Parentserver *ConfigCAIntermediateParentserver `json:"parentserver" validate:"required"` Enrollment *ConfigCAIntermediateEnrollment `json:"enrollment,omitempty"` Tls *ConfigCAIntermediateTls `json:"tls,omitempty"` }
ConfigCAIntermediate : ConfigCAIntermediate struct
type ConfigCAIntermediateEnrollment ¶
type ConfigCAIntermediateEnrollment struct { // Hosts to set when issuing the certificate. Hosts *string `json:"hosts" validate:"required"` // Name of the signing profile to use when issuing the certificate. Profile *string `json:"profile" validate:"required"` // Label to use in HSM operations. Label *string `json:"label" validate:"required"` }
ConfigCAIntermediateEnrollment : ConfigCAIntermediateEnrollment struct
type ConfigCAIntermediateParentserver ¶
type ConfigCAIntermediateParentserver struct { // The url of the parent server. Include the protocol, hostname/ip and port. URL *string `json:"url" validate:"required"` // The name of the CA to enroll within the server. Caname *string `json:"caname" validate:"required"` }
ConfigCAIntermediateParentserver : ConfigCAIntermediateParentserver struct
type ConfigCAIntermediateTls ¶
type ConfigCAIntermediateTls struct { Certfiles []string `json:"certfiles" validate:"required"` Client *ConfigCAIntermediateTlsClient `json:"client,omitempty"` }
ConfigCAIntermediateTls : ConfigCAIntermediateTls struct
type ConfigCAIntermediateTlsClient ¶
type ConfigCAIntermediateTlsClient struct { // The TLS certificate for client TLS as base 64 encoded PEM. Certfile *string `json:"certfile" validate:"required"` // The TLS private key for client TLS as base 64 encoded PEM. Keyfile *string `json:"keyfile" validate:"required"` }
ConfigCAIntermediateTlsClient : ConfigCAIntermediateTlsClient struct
type ConfigCARegistry ¶
type ConfigCARegistry struct { // Default maximum number of enrollments per id. Set -1 for infinite. Maxenrollments *float64 `json:"maxenrollments" validate:"required"` Identities []ConfigCARegistryIdentitiesItem `json:"identities" validate:"required"` }
ConfigCARegistry : ConfigCARegistry struct
type ConfigCARegistryIdentitiesItem ¶
type ConfigCARegistryIdentitiesItem struct { // The ID for the identity, aka enroll id. Name *string `json:"name" validate:"required"` // The password for the identity, aka enroll secret. Pass *string `json:"pass" validate:"required"` // The type of identity. Type *string `json:"type" validate:"required"` // Maximum number of enrollments for id. Set -1 for infinite. Maxenrollments *float64 `json:"maxenrollments,omitempty"` // The affiliation data for the identity. Affiliation *string `json:"affiliation,omitempty"` Attrs *IdentityAttrs `json:"attrs,omitempty"` }
ConfigCARegistryIdentitiesItem : ConfigCARegistryIdentitiesItem struct
type ConfigCASigning ¶
type ConfigCASigning struct { Default *ConfigCASigningDefault `json:"default,omitempty"` Profiles *ConfigCASigningProfiles `json:"profiles,omitempty"` }
ConfigCASigning : ConfigCASigning struct
type ConfigCASigningDefault ¶
type ConfigCASigningDefault struct { Usage []string `json:"usage,omitempty"` // Controls the default expiration for signed certificates. Expiry *string `json:"expiry,omitempty"` }
ConfigCASigningDefault : ConfigCASigningDefault struct
type ConfigCASigningProfiles ¶
type ConfigCASigningProfiles struct { // Controls attributes of intermediate CA certificates. Ca *ConfigCASigningProfilesCa `json:"ca,omitempty"` // Controls attributes of intermediate tls CA certificates. Tls *ConfigCASigningProfilesTls `json:"tls,omitempty"` }
ConfigCASigningProfiles : ConfigCASigningProfiles struct
type ConfigCASigningProfilesCa ¶
type ConfigCASigningProfilesCa struct { Usage []string `json:"usage,omitempty"` // Controls the expiration for signed intermediate CA certificates. Expiry *string `json:"expiry,omitempty"` Caconstraint *ConfigCASigningProfilesCaCaconstraint `json:"caconstraint,omitempty"` }
ConfigCASigningProfilesCa : Controls attributes of intermediate CA certificates.
type ConfigCASigningProfilesCaCaconstraint ¶
type ConfigCASigningProfilesCaCaconstraint struct { // Indicates if this certificate is for a CA. Isca *bool `json:"isca,omitempty"` // A value of 0 indicates that this intermediate CA cannot issue other intermediate CA certificates. Maxpathlen *float64 `json:"maxpathlen,omitempty"` // To enforce a `maxpathlen` of 0, this field must be `true`. If `maxpathlen` should be ignored or if it is greater // than 0 set this to `false`. Maxpathlenzero *bool `json:"maxpathlenzero,omitempty"` }
ConfigCASigningProfilesCaCaconstraint : ConfigCASigningProfilesCaCaconstraint struct
type ConfigCASigningProfilesTls ¶
type ConfigCASigningProfilesTls struct { Usage []string `json:"usage,omitempty"` // Controls the expiration for signed tls intermediate CA certificates. Expiry *string `json:"expiry,omitempty"` }
ConfigCASigningProfilesTls : Controls attributes of intermediate tls CA certificates.
type ConfigCATls ¶
type ConfigCATls struct { // The CA's private key as base 64 encoded PEM. Keyfile *string `json:"keyfile" validate:"required"` // The CA's certificate as base 64 encoded PEM. Certfile *string `json:"certfile" validate:"required"` Clientauth *ConfigCATlsClientauth `json:"clientauth,omitempty"` }
ConfigCATls : ConfigCATls struct
type ConfigCATlsClientauth ¶
type ConfigCATlsClientauth struct { Type *string `json:"type" validate:"required"` Certfiles []string `json:"certfiles" validate:"required"` }
ConfigCATlsClientauth : ConfigCATlsClientauth struct
type ConfigCAUpdate ¶
type ConfigCAUpdate struct { Cors *ConfigCACors `json:"cors,omitempty"` // Enable debug to debug the CA. Debug *bool `json:"debug,omitempty"` // Max size of an acceptable CRL in bytes. Crlsizelimit *float64 `json:"crlsizelimit,omitempty"` Tls *ConfigCATls `json:"tls,omitempty"` Ca *ConfigCACa `json:"ca,omitempty"` Crl *ConfigCACrl `json:"crl,omitempty"` Registry *ConfigCARegistry `json:"registry,omitempty"` Db *ConfigCADb `json:"db,omitempty"` // Set the keys to the desired affiliation parent names. The keys 'org1' and 'org2' are examples. Affiliations *ConfigCAAffiliations `json:"affiliations,omitempty"` Csr *ConfigCACsr `json:"csr,omitempty"` Idemix *ConfigCAIdemix `json:"idemix,omitempty"` // Configures the Blockchain Crypto Service Providers (bccsp). BCCSP *Bccsp `json:"BCCSP,omitempty"` Intermediate *ConfigCAIntermediate `json:"intermediate,omitempty"` Cfg *ConfigCACfg `json:"cfg,omitempty"` Metrics *Metrics `json:"metrics,omitempty"` }
ConfigCAUpdate : ConfigCAUpdate struct
type ConfigOrdererAuthentication ¶
type ConfigOrdererAuthentication struct { // The maximum acceptable difference between the current server time and the client's time. TimeWindow *string `json:"TimeWindow,omitempty"` // Indicates if the orderer should ignore expired identities. Should only be used temporarily to recover from an // extreme event such as the expiration of administrators. Defaults `false`. NoExpirationChecks *bool `json:"NoExpirationChecks,omitempty"` }
ConfigOrdererAuthentication : Contains configuration parameters that are related to authenticating client messages.
type ConfigOrdererCreate ¶
type ConfigOrdererCreate struct { General *ConfigOrdererGeneral `json:"General,omitempty"` // Controls the debugging options for the orderer. Debug *ConfigOrdererDebug `json:"Debug,omitempty"` Metrics *ConfigOrdererMetrics `json:"Metrics,omitempty"` }
ConfigOrdererCreate : Override the [Fabric Orderer configuration file](https://github.com/hyperledger/fabric/blob/release-1.4/sampleconfig/orderer.yaml) if you want use custom attributes to configure the Orderer. Omit if not.
*The nested field **names** below are not case-sensitive.*.
type ConfigOrdererDebug ¶
type ConfigOrdererDebug struct { // Path to directory. If set will cause each request to the Broadcast service to be written to a file in this // directory. BroadcastTraceDir *string `json:"BroadcastTraceDir,omitempty"` // Path to directory. If set will cause each request to the Deliver service to be written to a file in this directory. DeliverTraceDir *string `json:"DeliverTraceDir,omitempty"` }
ConfigOrdererDebug : Controls the debugging options for the orderer.
type ConfigOrdererGeneral ¶
type ConfigOrdererGeneral struct { // Keep alive settings for the GRPC server. Keepalive *ConfigOrdererKeepalive `json:"Keepalive,omitempty"` // Configures the Blockchain Crypto Service Providers (bccsp). BCCSP *Bccsp `json:"BCCSP,omitempty"` // Contains configuration parameters that are related to authenticating client messages. Authentication *ConfigOrdererAuthentication `json:"Authentication,omitempty"` }
ConfigOrdererGeneral : ConfigOrdererGeneral struct
type ConfigOrdererGeneralUpdate ¶
type ConfigOrdererGeneralUpdate struct { // Keep alive settings for the GRPC server. Keepalive *ConfigOrdererKeepalive `json:"Keepalive,omitempty"` // Contains configuration parameters that are related to authenticating client messages. Authentication *ConfigOrdererAuthentication `json:"Authentication,omitempty"` }
ConfigOrdererGeneralUpdate : ConfigOrdererGeneralUpdate struct
type ConfigOrdererKeepalive ¶
type ConfigOrdererKeepalive struct { // The minimum time between client pings. If a client sends pings more frequently the server will disconnect from the // client. ServerMinInterval *string `json:"ServerMinInterval,omitempty"` // The time between pings to clients. ServerInterval *string `json:"ServerInterval,omitempty"` // The duration the server will wait for a response from a client before closing the connection. ServerTimeout *string `json:"ServerTimeout,omitempty"` }
ConfigOrdererKeepalive : Keep alive settings for the GRPC server.
type ConfigOrdererMetrics ¶
type ConfigOrdererMetrics struct { // The metrics provider to use. Provider *string `json:"Provider,omitempty"` // The statsd configuration. Statsd *ConfigOrdererMetricsStatsd `json:"Statsd,omitempty"` }
ConfigOrdererMetrics : ConfigOrdererMetrics struct
type ConfigOrdererMetricsStatsd ¶
type ConfigOrdererMetricsStatsd struct { // Network protocol to use. Network *string `json:"Network,omitempty"` // The address of the statsd server. Include hostname/ip and port. Address *string `json:"Address,omitempty"` // The frequency at which locally cached counters and gauges are pushed to statsd. WriteInterval *string `json:"WriteInterval,omitempty"` // The string that is prepended to all emitted statsd metrics. Prefix *string `json:"Prefix,omitempty"` }
ConfigOrdererMetricsStatsd : The statsd configuration.
type ConfigOrdererUpdate ¶
type ConfigOrdererUpdate struct { General *ConfigOrdererGeneralUpdate `json:"General,omitempty"` // Controls the debugging options for the orderer. Debug *ConfigOrdererDebug `json:"Debug,omitempty"` Metrics *ConfigOrdererMetrics `json:"Metrics,omitempty"` }
ConfigOrdererUpdate : Update the [Fabric Orderer configuration file](https://github.com/hyperledger/fabric/blob/release-1.4/sampleconfig/orderer.yaml) if you want use custom attributes to configure the Orderer. Omit if not.
*The nested field **names** below are not case-sensitive.* *The nested fields sent will be merged with the existing settings.*.
type ConfigPeerAdminService ¶
type ConfigPeerAdminService struct { // The interface and port on which the admin server will listen on. Defaults to the same address as the peer's listen // address and port 7051. ListenAddress *string `json:"listenAddress" validate:"required"` }
ConfigPeerAdminService : Used for administrative operations such as control over logger levels. Only peer administrators can use the service.
type ConfigPeerAuthentication ¶
type ConfigPeerAuthentication struct { // The maximum acceptable difference between the current server time and the client's time. Timewindow *string `json:"timewindow" validate:"required"` }
ConfigPeerAuthentication : ConfigPeerAuthentication struct
type ConfigPeerChaincode ¶
type ConfigPeerChaincode struct { Golang *ConfigPeerChaincodeGolang `json:"golang,omitempty"` // List of directories to treat as external builders/launches of chaincode. ExternalBuilders []ConfigPeerChaincodeExternalBuildersItem `json:"externalBuilders,omitempty"` // Maximum duration to wait for the chaincode build and install process to complete. InstallTimeout *string `json:"installTimeout,omitempty"` // Time for starting up a container and waiting for Register to come through. Startuptimeout *string `json:"startuptimeout,omitempty"` // Time for Invoke and Init calls to return. This timeout is used by all chaincodes in all the channels, including // system chaincodes. Note that if the image is not available the peer needs to build the image, which will take // additional time. Executetimeout *string `json:"executetimeout,omitempty"` // The complete whitelist for system chaincodes. To append a new chaincode add the new id to the default list. System *ConfigPeerChaincodeSystem `json:"system,omitempty"` Logging *ConfigPeerChaincodeLogging `json:"logging,omitempty"` }
ConfigPeerChaincode : ConfigPeerChaincode struct
type ConfigPeerChaincodeExternalBuildersItem ¶
type ConfigPeerChaincodeExternalBuildersItem struct { // The path to a build directory. Path *string `json:"path,omitempty"` // The name of this builder. Name *string `json:"name,omitempty"` EnvironmentWhitelist []string `json:"environmentWhitelist,omitempty"` }
ConfigPeerChaincodeExternalBuildersItem : ConfigPeerChaincodeExternalBuildersItem struct
type ConfigPeerChaincodeGolang ¶
type ConfigPeerChaincodeGolang struct { // Controls if golang chaincode should be built with dynamic linking or static linking. Defaults `false` (static). DynamicLink *bool `json:"dynamicLink,omitempty"` }
ConfigPeerChaincodeGolang : ConfigPeerChaincodeGolang struct
type ConfigPeerChaincodeLogging ¶
type ConfigPeerChaincodeLogging struct { // Default logging level for loggers within chaincode containers. Level *string `json:"level,omitempty"` // Override default level for the 'shim' logger. Shim *string `json:"shim,omitempty"` // Override the default log format for chaincode container logs. Format *string `json:"format,omitempty"` }
ConfigPeerChaincodeLogging : ConfigPeerChaincodeLogging struct
type ConfigPeerChaincodeSystem ¶
type ConfigPeerChaincodeSystem struct { // Adds the system chaincode `cscc` to the whitelist. Cscc *bool `json:"cscc,omitempty"` // Adds the system chaincode `lscc` to the whitelist. Lscc *bool `json:"lscc,omitempty"` // Adds the system chaincode `escc` to the whitelist. Escc *bool `json:"escc,omitempty"` // Adds the system chaincode `vscc` to the whitelist. Vscc *bool `json:"vscc,omitempty"` // Adds the system chaincode `qscc` to the whitelist. Qscc *bool `json:"qscc,omitempty"` }
ConfigPeerChaincodeSystem : The complete whitelist for system chaincodes. To append a new chaincode add the new id to the default list.
type ConfigPeerClient ¶
type ConfigPeerClient struct { // The timeout for a network connection. ConnTimeout *string `json:"connTimeout" validate:"required"` }
ConfigPeerClient : ConfigPeerClient struct
type ConfigPeerCreate ¶
type ConfigPeerCreate struct { Peer *ConfigPeerCreatePeer `json:"peer,omitempty"` Chaincode *ConfigPeerChaincode `json:"chaincode,omitempty"` Metrics *Metrics `json:"metrics,omitempty"` }
ConfigPeerCreate : Override the [Fabric Peer configuration file](https://github.com/hyperledger/fabric/blob/release-1.4/sampleconfig/core.yaml) if you want use custom attributes to configure the Peer. Omit if not.
*The nested field **names** below are not case-sensitive.*.
type ConfigPeerCreatePeer ¶
type ConfigPeerCreatePeer struct { // A unique id used to identify this instance. ID *string `json:"id,omitempty"` // The ID to logically separate one network from another. NetworkID *string `json:"networkId,omitempty"` // Keep alive settings between the peer server and clients. Keepalive *ConfigPeerKeepalive `json:"keepalive,omitempty"` Gossip *ConfigPeerGossip `json:"gossip,omitempty"` Authentication *ConfigPeerAuthentication `json:"authentication,omitempty"` // Configures the Blockchain Crypto Service Providers (bccsp). BCCSP *Bccsp `json:"BCCSP,omitempty"` Client *ConfigPeerClient `json:"client,omitempty"` Deliveryclient *ConfigPeerDeliveryclient `json:"deliveryclient,omitempty"` // Used for administrative operations such as control over logger levels. Only peer administrators can use the service. AdminService *ConfigPeerAdminService `json:"adminService,omitempty"` // Number of go-routines that will execute transaction validation in parallel. By default, the peer chooses the number // of CPUs on the machine. It is recommended to use the default values and not set this field. ValidatorPoolSize *float64 `json:"validatorPoolSize,omitempty"` // The discovery service is used by clients to query information about peers. Such as - which peers have joined a // channel, what is the latest channel config, and what possible sets of peers satisfy the endorsement policy (given a // smart contract and a channel). Discovery *ConfigPeerDiscovery `json:"discovery,omitempty"` Limits *ConfigPeerLimits `json:"limits,omitempty"` Gateway *ConfigPeerGateway `json:"gateway,omitempty"` }
ConfigPeerCreatePeer : ConfigPeerCreatePeer struct
type ConfigPeerDeliveryclient ¶
type ConfigPeerDeliveryclient struct { // Total time to spend retrying connections to ordering nodes before giving up and returning an error. ReconnectTotalTimeThreshold *string `json:"reconnectTotalTimeThreshold,omitempty"` // The timeout for a network connection. ConnTimeout *string `json:"connTimeout,omitempty"` // Maximum delay between consecutive connection retry attempts to ordering nodes. ReConnectBackoffThreshold *string `json:"reConnectBackoffThreshold,omitempty"` // A list of orderer endpoint addresses in channel configurations that should be overridden. Typically used when the // original orderer addresses no longer exist. AddressOverrides []ConfigPeerDeliveryclientAddressOverridesItem `json:"addressOverrides,omitempty"` }
ConfigPeerDeliveryclient : ConfigPeerDeliveryclient struct
type ConfigPeerDeliveryclientAddressOverridesItem ¶
type ConfigPeerDeliveryclientAddressOverridesItem struct { // The address in the channel configuration that will be overridden. From *string `json:"from,omitempty"` // The address to use. To *string `json:"to,omitempty"` // The path to the CA's cert file. CaCertsFile *string `json:"caCertsFile,omitempty"` }
ConfigPeerDeliveryclientAddressOverridesItem : ConfigPeerDeliveryclientAddressOverridesItem struct
type ConfigPeerDiscovery ¶
type ConfigPeerDiscovery struct { // Determines whether the discover service is available or not. Enabled *bool `json:"enabled,omitempty"` // Determines whether the authentication cache is enabled or not. AuthCacheEnabled *bool `json:"authCacheEnabled,omitempty"` // Maximum size of the cache. If exceeded a purge takes place. AuthCacheMaxSize *float64 `json:"authCacheMaxSize,omitempty"` // The proportion (0 - 1) of entries that remain in the cache after the cache is purged due to overpopulation. AuthCachePurgeRetentionRatio *float64 `json:"authCachePurgeRetentionRatio,omitempty"` // Whether to allow non-admins to perform non-channel scoped queries. When `false`, it means that only peer admins can // perform non-channel scoped queries. OrgMembersAllowedAccess *bool `json:"orgMembersAllowedAccess,omitempty"` }
ConfigPeerDiscovery : The discovery service is used by clients to query information about peers. Such as - which peers have joined a channel, what is the latest channel config, and what possible sets of peers satisfy the endorsement policy (given a smart contract and a channel).
type ConfigPeerGateway ¶
type ConfigPeerGateway struct { // Enable or disable the 'Fabric Gateway' on the peer. Enabled *bool `json:"enabled,omitempty"` }
ConfigPeerGateway : ConfigPeerGateway struct
type ConfigPeerGossip ¶
type ConfigPeerGossip struct { // Decides whether a peer will use a dynamic algorithm for "leader" selection (instead of a static leader). The leader // is the peer that establishes a connection with the ordering service (OS). The leader pulls ledger blocks from the // OS. It is recommended to use leader election for large networks of peers. UseLeaderElection *bool `json:"useLeaderElection,omitempty"` // Decides whether this peer should be an organization "leader". It maintains a connection with the ordering service // and disseminate blocks to peers in its own organization. OrgLeader *bool `json:"orgLeader,omitempty"` // The frequency to poll on membershipTracker. MembershipTrackerInterval *string `json:"membershipTrackerInterval,omitempty"` // Maximum number of blocks that can be stored in memory. MaxBlockCountToStore *float64 `json:"maxBlockCountToStore,omitempty"` // Maximum time between consecutive message pushes. MaxPropagationBurstLatency *string `json:"maxPropagationBurstLatency,omitempty"` // Maximum number of messages that are stored until a push to remote peers is triggered. MaxPropagationBurstSize *float64 `json:"maxPropagationBurstSize,omitempty"` // Number of times a message is pushed to remote peers. PropagateIterations *float64 `json:"propagateIterations,omitempty"` // Determines the frequency of pull phases. PullInterval *string `json:"pullInterval,omitempty"` // Number of peers to pull from. PullPeerNum *float64 `json:"pullPeerNum,omitempty"` // Determines the frequency of pulling stateInfo messages from peers. RequestStateInfoInterval *string `json:"requestStateInfoInterval,omitempty"` // Determines the frequency of pushing stateInfo messages to peers. PublishStateInfoInterval *string `json:"publishStateInfoInterval,omitempty"` // Maximum time a stateInfo message is kept. StateInfoRetentionInterval *string `json:"stateInfoRetentionInterval,omitempty"` // Time after startup to start including certificates in Alive messages. PublishCertPeriod *string `json:"publishCertPeriod,omitempty"` // Decides whether the peer should skip the verification of block messages. SkipBlockVerification *bool `json:"skipBlockVerification,omitempty"` // The timeout for dialing a network request. DialTimeout *string `json:"dialTimeout,omitempty"` // The timeout for a network connection. ConnTimeout *string `json:"connTimeout,omitempty"` // Number of received messages to hold in buffer. RecvBuffSize *float64 `json:"recvBuffSize,omitempty"` // Number of sent messages to hold in buffer. SendBuffSize *float64 `json:"sendBuffSize,omitempty"` // Time to wait before the pull-engine processes incoming digests. Should be slightly smaller than requestWaitTime. DigestWaitTime *string `json:"digestWaitTime,omitempty"` // Time to wait before pull-engine removes the incoming nonce. Should be slightly bigger than digestWaitTime. RequestWaitTime *string `json:"requestWaitTime,omitempty"` // Time to wait before the pull-engine ends. ResponseWaitTime *string `json:"responseWaitTime,omitempty"` // Alive check frequency. AliveTimeInterval *string `json:"aliveTimeInterval,omitempty"` // Alive expiration timeout. AliveExpirationTimeout *string `json:"aliveExpirationTimeout,omitempty"` // Reconnect frequency. ReconnectInterval *string `json:"reconnectInterval,omitempty"` // Leader election service configuration. Election *ConfigPeerGossipElection `json:"election,omitempty"` PvtData *ConfigPeerGossipPvtData `json:"pvtData,omitempty"` // Gossip state transfer related configuration. State *ConfigPeerGossipState `json:"state,omitempty"` }
ConfigPeerGossip : ConfigPeerGossip struct
type ConfigPeerGossipElection ¶
type ConfigPeerGossipElection struct { // Longest time the peer will wait for stable membership during leader election startup. StartupGracePeriod *string `json:"startupGracePeriod,omitempty"` // Frequency that gossip membership samples to check its stability. MembershipSampleInterval *string `json:"membershipSampleInterval,omitempty"` // Amount of time after the last declaration message for the peer to perform another leader election. LeaderAliveThreshold *string `json:"leaderAliveThreshold,omitempty"` // Amount of time between the peer sending a propose message and it declaring itself as a leader. LeaderElectionDuration *string `json:"leaderElectionDuration,omitempty"` }
ConfigPeerGossipElection : Leader election service configuration.
type ConfigPeerGossipPvtData ¶
type ConfigPeerGossipPvtData struct { // Determines the maximum time to attempt to pull private data for a block before that block is committed without the // private data. PullRetryThreshold *string `json:"pullRetryThreshold,omitempty"` // As private data enters the transient store, it is associated with the peer's current ledger's height. This field // defines the maximum difference between the current ledger's height on commit, and the private data residing inside // the transient store. Private data outside this range is not guaranteed to exist and will be purged periodically. TransientstoreMaxBlockRetention *float64 `json:"transientstoreMaxBlockRetention,omitempty"` // Maximum time to wait for an acknowledgment from each peer's private data push. PushAckTimeout *string `json:"pushAckTimeout,omitempty"` // Block to live pulling margin. Used as a buffer to prevent peers from trying to pull private data from others peers // that are soon to be purged. "Soon" defined as blocks that will be purged in the next N blocks. This helps a newly // joined peer catch up quicker. BtlPullMargin *float64 `json:"btlPullMargin,omitempty"` // Determines the maximum batch size of missing private data that will be reconciled in a single iteration. The process // of reconciliation is done in an endless loop. The "reconciler" in each iteration tries to pull from the other peers // with the most recent missing blocks and this maximum batch size limitation. ReconcileBatchSize *float64 `json:"reconcileBatchSize,omitempty"` // Determines the time "reconciler" sleeps from the end of an iteration until the beginning of the next iteration. ReconcileSleepInterval *string `json:"reconcileSleepInterval,omitempty"` // Determines whether private data reconciliation is enabled or not. ReconciliationEnabled *bool `json:"reconciliationEnabled,omitempty"` // Controls whether pulling invalid transaction's private data from other peers need to be skipped during the commit // time. If `true` it will be pulled through "reconciler". SkipPullingInvalidTransactionsDuringCommit *bool `json:"skipPullingInvalidTransactionsDuringCommit,omitempty"` ImplicitCollectionDisseminationPolicy *ConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy `json:"implicitCollectionDisseminationPolicy,omitempty"` }
ConfigPeerGossipPvtData : ConfigPeerGossipPvtData struct
type ConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy ¶
type ConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy struct { // Defines the minimum number of peers to successfully disseminate private data during endorsement. RequiredPeerCount *float64 `json:"requiredPeerCount,omitempty"` // Defines the maximum number of peers to attempt to disseminate private data during endorsement. MaxPeerCount *float64 `json:"maxPeerCount,omitempty"` }
ConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy : ConfigPeerGossipPvtDataImplicitCollectionDisseminationPolicy struct
type ConfigPeerGossipState ¶
type ConfigPeerGossipState struct { // Controls if the state transfer is enabled or not. If state transfer is active, it syncs up missing blocks and allows // lagging peers to catch up with the rest of the network. Enabled *bool `json:"enabled,omitempty"` // The frequency to check whether a peer is lagging behind enough to request blocks by using state transfer from // another peer. CheckInterval *string `json:"checkInterval,omitempty"` // Amount of time to wait for state transfer responses from other peers. ResponseTimeout *string `json:"responseTimeout,omitempty"` // Number of blocks to request by using state transfer from another peer. BatchSize *float64 `json:"batchSize,omitempty"` // Maximum difference between the lowest and highest block sequence number. In order to ensure that there are no holes // the actual buffer size is twice this distance. BlockBufferSize *float64 `json:"blockBufferSize,omitempty"` // Maximum number of retries of a single state transfer request. MaxRetries *float64 `json:"maxRetries,omitempty"` }
ConfigPeerGossipState : Gossip state transfer related configuration.
type ConfigPeerKeepalive ¶
type ConfigPeerKeepalive struct { // The minimum time between client pings. If a client sends pings more frequently the server disconnects from the // client. MinInterval *string `json:"minInterval,omitempty"` Client *ConfigPeerKeepaliveClient `json:"client,omitempty"` DeliveryClient *ConfigPeerKeepaliveDeliveryClient `json:"deliveryClient,omitempty"` }
ConfigPeerKeepalive : Keep alive settings between the peer server and clients.
type ConfigPeerKeepaliveClient ¶
type ConfigPeerKeepaliveClient struct { // The time between pings to other peer nodes. Must greater than or equal to the minInterval. Interval *string `json:"interval,omitempty"` // The duration a client waits for a peer's response before it closes the connection. Timeout *string `json:"timeout,omitempty"` }
ConfigPeerKeepaliveClient : ConfigPeerKeepaliveClient struct
type ConfigPeerKeepaliveDeliveryClient ¶
type ConfigPeerKeepaliveDeliveryClient struct { // The time between pings to ordering nodes. Must greater than or equal to the minInterval. Interval *string `json:"interval,omitempty"` // The duration a client waits for an orderer's response before it closes the connection. Timeout *string `json:"timeout,omitempty"` }
ConfigPeerKeepaliveDeliveryClient : ConfigPeerKeepaliveDeliveryClient struct
type ConfigPeerLimits ¶
type ConfigPeerLimits struct {
Concurrency *ConfigPeerLimitsConcurrency `json:"concurrency,omitempty"`
}
ConfigPeerLimits : ConfigPeerLimits struct
type ConfigPeerLimitsConcurrency ¶
type ConfigPeerLimitsConcurrency struct { // Limits the number of concurrent requests to the endorser service. The endorser service handles application and // system chaincode deployment and invocations (including queries). EndorserService *float64 `json:"endorserService,omitempty"` // Limits the number of concurrent requests to the deliver service. The deliver service handles block and transaction // events. DeliverService *float64 `json:"deliverService,omitempty"` }
ConfigPeerLimitsConcurrency : ConfigPeerLimitsConcurrency struct
type ConfigPeerUpdate ¶
type ConfigPeerUpdate struct { Peer *ConfigPeerUpdatePeer `json:"peer,omitempty"` Chaincode *ConfigPeerChaincode `json:"chaincode,omitempty"` Metrics *Metrics `json:"metrics,omitempty"` }
ConfigPeerUpdate : Update the [Fabric Peer configuration file](https://github.com/hyperledger/fabric/blob/release-1.4/sampleconfig/core.yaml) if you want use custom attributes to configure the Peer. Omit if not.
*The nested field **names** below are not case-sensitive.* *The nested fields sent will be merged with the existing settings.*.
type ConfigPeerUpdatePeer ¶
type ConfigPeerUpdatePeer struct { // A unique id used to identify this instance. ID *string `json:"id,omitempty"` // The ID to logically separate one network from another. NetworkID *string `json:"networkId,omitempty"` // Keep alive settings between the peer server and clients. Keepalive *ConfigPeerKeepalive `json:"keepalive,omitempty"` Gossip *ConfigPeerGossip `json:"gossip,omitempty"` Authentication *ConfigPeerAuthentication `json:"authentication,omitempty"` Client *ConfigPeerClient `json:"client,omitempty"` Deliveryclient *ConfigPeerDeliveryclient `json:"deliveryclient,omitempty"` // Used for administrative operations such as control over logger levels. Only peer administrators can use the service. AdminService *ConfigPeerAdminService `json:"adminService,omitempty"` // Number of go-routines that will execute transaction validation in parallel. By default, the peer chooses the number // of CPUs on the machine. It is recommended to use the default values and not set this field. ValidatorPoolSize *float64 `json:"validatorPoolSize,omitempty"` // The discovery service is used by clients to query information about peers. Such as - which peers have joined a // channel, what is the latest channel config, and what possible sets of peers satisfy the endorsement policy (given a // smart contract and a channel). Discovery *ConfigPeerDiscovery `json:"discovery,omitempty"` Limits *ConfigPeerLimits `json:"limits,omitempty"` Gateway *ConfigPeerGateway `json:"gateway,omitempty"` }
ConfigPeerUpdatePeer : ConfigPeerUpdatePeer struct
type CpuHealthStats ¶
type CpuHealthStats struct { // Model of CPU core. Model *string `json:"model,omitempty"` // Speed of core in MHz. Speed *float64 `json:"speed,omitempty"` Times *CpuHealthStatsTimes `json:"times,omitempty"` }
CpuHealthStats : CpuHealthStats struct
type CpuHealthStatsTimes ¶
type CpuHealthStatsTimes struct { // ms CPU is in idle. Idle *float64 `json:"idle,omitempty"` // ms CPU is in irq. Irq *float64 `json:"irq,omitempty"` // ms CPU is in nice. Nice *float64 `json:"nice,omitempty"` // ms CPU is in sys. Sys *float64 `json:"sys,omitempty"` // ms CPU is in user. User *float64 `json:"user,omitempty"` }
CpuHealthStatsTimes : CpuHealthStatsTimes struct
type CreateCaBodyConfigOverride ¶
type CreateCaBodyConfigOverride struct { Ca *ConfigCACreate `json:"ca" validate:"required"` Tlsca *ConfigCACreate `json:"tlsca,omitempty"` }
CreateCaBodyConfigOverride : Set `config_override` to create the root/initial enroll id and enroll secret as well as enabling custom CA configurations (such as using postgres). See the [Fabric CA configuration file](https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/serverconfig.html) for more information about each parameter.
The field `tlsca` is optional. The IBP console will copy the value of `config_override.ca` into `config_override.tlsca` if `config_override.tlsca` is omitted (which is recommended).
*The nested field **names** below are not case-sensitive.*.
type CreateCaBodyResources ¶
type CreateCaBodyResources struct { // This field requires the use of Fabric v1.4.* and higher. Ca *ResourceObject `json:"ca" validate:"required"` }
CreateCaBodyResources : CPU and memory properties. This feature is not available if using a free Kubernetes cluster.
type CreateCaBodyStorage ¶
type CreateCaBodyStorage struct {
Ca *StorageObject `json:"ca" validate:"required"`
}
CreateCaBodyStorage : Disk space properties. This feature is not available if using a free Kubernetes cluster.
type CreateCaOptions ¶
type CreateCaOptions struct { // A descriptive name for this CA. The IBP console tile displays this name. DisplayName *string `json:"display_name" validate:"required"` // Set `config_override` to create the root/initial enroll id and enroll secret as well as enabling custom CA // configurations (such as using postgres). See the [Fabric CA configuration // file](https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/serverconfig.html) for more information about each // parameter. // // The field `tlsca` is optional. The IBP console will copy the value of `config_override.ca` into // `config_override.tlsca` if `config_override.tlsca` is omitted (which is recommended). // // *The nested field **names** below are not case-sensitive.*. ConfigOverride *CreateCaBodyConfigOverride `json:"config_override" validate:"required"` // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // CPU and memory properties. This feature is not available if using a free Kubernetes cluster. Resources *CreateCaBodyResources `json:"resources,omitempty"` // Disk space properties. This feature is not available if using a free Kubernetes cluster. Storage *CreateCaBodyStorage `json:"storage,omitempty"` // Specify the Kubernetes zone for the deployment. The deployment will use a k8s node in this zone. Find the list of // possible zones by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // information](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Zone *string `json:"zone,omitempty"` // The number of replica pods running at any given time. Replicas *float64 `json:"replicas,omitempty"` Tags []string `json:"tags,omitempty"` // The connection details of the HSM (Hardware Security Module). Hsm *Hsm `json:"hsm,omitempty"` // Specify the Kubernetes region for the deployment. The deployment will use a k8s node in this region. Find the list // of possible regions by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // info](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Region *string `json:"region,omitempty"` // The Hyperledger Fabric release version to use. Version *string `json:"version,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateCaOptions : The CreateCa options.
func (*CreateCaOptions) SetConfigOverride ¶
func (options *CreateCaOptions) SetConfigOverride(configOverride *CreateCaBodyConfigOverride) *CreateCaOptions
SetConfigOverride : Allow user to set ConfigOverride
func (*CreateCaOptions) SetDisplayName ¶
func (options *CreateCaOptions) SetDisplayName(displayName string) *CreateCaOptions
SetDisplayName : Allow user to set DisplayName
func (*CreateCaOptions) SetHeaders ¶
func (options *CreateCaOptions) SetHeaders(param map[string]string) *CreateCaOptions
SetHeaders : Allow user to set Headers
func (*CreateCaOptions) SetHsm ¶
func (options *CreateCaOptions) SetHsm(hsm *Hsm) *CreateCaOptions
SetHsm : Allow user to set Hsm
func (*CreateCaOptions) SetID ¶
func (options *CreateCaOptions) SetID(id string) *CreateCaOptions
SetID : Allow user to set ID
func (*CreateCaOptions) SetRegion ¶
func (options *CreateCaOptions) SetRegion(region string) *CreateCaOptions
SetRegion : Allow user to set Region
func (*CreateCaOptions) SetReplicas ¶
func (options *CreateCaOptions) SetReplicas(replicas float64) *CreateCaOptions
SetReplicas : Allow user to set Replicas
func (*CreateCaOptions) SetResources ¶
func (options *CreateCaOptions) SetResources(resources *CreateCaBodyResources) *CreateCaOptions
SetResources : Allow user to set Resources
func (*CreateCaOptions) SetStorage ¶
func (options *CreateCaOptions) SetStorage(storage *CreateCaBodyStorage) *CreateCaOptions
SetStorage : Allow user to set Storage
func (*CreateCaOptions) SetTags ¶
func (options *CreateCaOptions) SetTags(tags []string) *CreateCaOptions
SetTags : Allow user to set Tags
func (*CreateCaOptions) SetVersion ¶
func (options *CreateCaOptions) SetVersion(version string) *CreateCaOptions
SetVersion : Allow user to set Version
func (*CreateCaOptions) SetZone ¶
func (options *CreateCaOptions) SetZone(zone string) *CreateCaOptions
SetZone : Allow user to set Zone
type CreateOrdererOptions ¶
type CreateOrdererOptions struct { // The type of Fabric orderer. Currently, only the type `"raft"` is supported. // [etcd/raft](/docs/blockchain?topic=blockchain-ibp-console-build-network#ibp-console-build-network-ordering-console). OrdererType *string `json:"orderer_type" validate:"required"` // The MSP id that is related to this component. MspID *string `json:"msp_id" validate:"required"` // A descriptive base name for each ordering node. One or more child IBP console tiles display this name. DisplayName *string `json:"display_name" validate:"required"` // An array of config objects. When creating a new OS (Ordering Service) the array must have one object per desired // raft node. 1 or 5 nodes are recommended. // // **When appending to an existing OS only an array of size 1 is supported.** // // See this [topic](/docs/blockchain?topic=blockchain-ibp-v2-apis#ibp-v2-apis-config) for instructions on how to build // a config object. Crypto []CryptoObject `json:"crypto" validate:"required"` // A descriptive name for an ordering service. The parent IBP console tile displays this name. // // This field should only be set if you are creating a new OS cluster or when appending to an unknown (external) OS // cluster. An unknown/external cluster is one that this IBP console has not imported or created. ClusterName *string `json:"cluster_name,omitempty"` // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // This field should only be set if you are appending a new raft node to an **existing** raft cluster. When appending // to a known (internal) OS cluster set `cluster_id` to the same value used by the OS cluster. When appending to an // unknown (external) OS cluster set `cluster_id` to a unique string. // // Setting this field means the `config` array should be of length 1, since it is not possible to add multiple raft // nodes at the same time in Fabric. // // If this field is set the orderer will be "pre-created" and start without a genesis block. It is effectively dead // until it is configured. This is the first step to **append** a node to a raft cluster. The next step is to add this // node as a consenter to the system-channel by using Fabric-APIs. Then, init this node by sending the updated // system-channel config-block with the [Submit config block to orderer](#submit-block) API. The node will not be // usable until these steps are completed. ClusterID *string `json:"cluster_id,omitempty"` // Set to `true` only if you are appending to an unknown (external) OS cluster. Else set it to `false` or omit the // field. An unknown/external cluster is one that this IBP console has not imported or created. ExternalAppend *bool `json:"external_append,omitempty"` // An array of configuration override objects. 1 object per component. Must be the same size as the `config` array. ConfigOverride []ConfigOrdererCreate `json:"config_override,omitempty"` // CPU and memory properties. This feature is not available if using a free Kubernetes cluster. Resources *CreateOrdererRaftBodyResources `json:"resources,omitempty"` // Disk space properties. This feature is not available if using a free Kubernetes cluster. Storage *CreateOrdererRaftBodyStorage `json:"storage,omitempty"` // The name of the system channel. Defaults to `testchainid`. SystemChannelID *string `json:"system_channel_id,omitempty"` // An array of Kubernetes zones for the deployment. 1 zone per component. Must be the same size as the `config` array. Zone []string `json:"zone,omitempty"` Tags []string `json:"tags,omitempty"` // An array of Kubernetes regions for the deployment. One region per component. Must be the same size as the `config` // array. Region []string `json:"region,omitempty"` // The connection details of the HSM (Hardware Security Module). Hsm *Hsm `json:"hsm,omitempty"` // The Hyperledger Fabric release version to use. Version *string `json:"version,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateOrdererOptions : The CreateOrderer options.
func (*CreateOrdererOptions) SetClusterID ¶
func (options *CreateOrdererOptions) SetClusterID(clusterID string) *CreateOrdererOptions
SetClusterID : Allow user to set ClusterID
func (*CreateOrdererOptions) SetClusterName ¶
func (options *CreateOrdererOptions) SetClusterName(clusterName string) *CreateOrdererOptions
SetClusterName : Allow user to set ClusterName
func (*CreateOrdererOptions) SetConfigOverride ¶
func (options *CreateOrdererOptions) SetConfigOverride(configOverride []ConfigOrdererCreate) *CreateOrdererOptions
SetConfigOverride : Allow user to set ConfigOverride
func (*CreateOrdererOptions) SetCrypto ¶
func (options *CreateOrdererOptions) SetCrypto(crypto []CryptoObject) *CreateOrdererOptions
SetCrypto : Allow user to set Crypto
func (*CreateOrdererOptions) SetDisplayName ¶
func (options *CreateOrdererOptions) SetDisplayName(displayName string) *CreateOrdererOptions
SetDisplayName : Allow user to set DisplayName
func (*CreateOrdererOptions) SetExternalAppend ¶
func (options *CreateOrdererOptions) SetExternalAppend(externalAppend bool) *CreateOrdererOptions
SetExternalAppend : Allow user to set ExternalAppend
func (*CreateOrdererOptions) SetHeaders ¶
func (options *CreateOrdererOptions) SetHeaders(param map[string]string) *CreateOrdererOptions
SetHeaders : Allow user to set Headers
func (*CreateOrdererOptions) SetHsm ¶
func (options *CreateOrdererOptions) SetHsm(hsm *Hsm) *CreateOrdererOptions
SetHsm : Allow user to set Hsm
func (*CreateOrdererOptions) SetID ¶
func (options *CreateOrdererOptions) SetID(id string) *CreateOrdererOptions
SetID : Allow user to set ID
func (*CreateOrdererOptions) SetMspID ¶
func (options *CreateOrdererOptions) SetMspID(mspID string) *CreateOrdererOptions
SetMspID : Allow user to set MspID
func (*CreateOrdererOptions) SetOrdererType ¶
func (options *CreateOrdererOptions) SetOrdererType(ordererType string) *CreateOrdererOptions
SetOrdererType : Allow user to set OrdererType
func (*CreateOrdererOptions) SetRegion ¶
func (options *CreateOrdererOptions) SetRegion(region []string) *CreateOrdererOptions
SetRegion : Allow user to set Region
func (*CreateOrdererOptions) SetResources ¶
func (options *CreateOrdererOptions) SetResources(resources *CreateOrdererRaftBodyResources) *CreateOrdererOptions
SetResources : Allow user to set Resources
func (*CreateOrdererOptions) SetStorage ¶
func (options *CreateOrdererOptions) SetStorage(storage *CreateOrdererRaftBodyStorage) *CreateOrdererOptions
SetStorage : Allow user to set Storage
func (*CreateOrdererOptions) SetSystemChannelID ¶
func (options *CreateOrdererOptions) SetSystemChannelID(systemChannelID string) *CreateOrdererOptions
SetSystemChannelID : Allow user to set SystemChannelID
func (*CreateOrdererOptions) SetTags ¶
func (options *CreateOrdererOptions) SetTags(tags []string) *CreateOrdererOptions
SetTags : Allow user to set Tags
func (*CreateOrdererOptions) SetVersion ¶
func (options *CreateOrdererOptions) SetVersion(version string) *CreateOrdererOptions
SetVersion : Allow user to set Version
func (*CreateOrdererOptions) SetZone ¶
func (options *CreateOrdererOptions) SetZone(zone []string) *CreateOrdererOptions
SetZone : Allow user to set Zone
type CreateOrdererRaftBodyResources ¶
type CreateOrdererRaftBodyResources struct { // This field requires the use of Fabric v1.4.* and higher. Orderer *ResourceObject `json:"orderer" validate:"required"` // This field requires the use of Fabric v1.4.* and higher. Proxy *ResourceObject `json:"proxy,omitempty"` }
CreateOrdererRaftBodyResources : CPU and memory properties. This feature is not available if using a free Kubernetes cluster.
type CreateOrdererRaftBodyStorage ¶
type CreateOrdererRaftBodyStorage struct {
Orderer *StorageObject `json:"orderer" validate:"required"`
}
CreateOrdererRaftBodyStorage : Disk space properties. This feature is not available if using a free Kubernetes cluster.
type CreateOrdererResponse ¶
type CreateOrdererResponse struct { // Contains array of ordering nodes. Created []OrdererResponse `json:"created,omitempty"` }
CreateOrdererResponse : CreateOrdererResponse struct
type CreatePeerBodyStorage ¶
type CreatePeerBodyStorage struct { Peer *StorageObject `json:"peer" validate:"required"` Statedb *StorageObject `json:"statedb,omitempty"` }
CreatePeerBodyStorage : Disk space properties. This feature is not available if using a free Kubernetes cluster.
type CreatePeerOptions ¶
type CreatePeerOptions struct { // The MSP id that is related to this component. MspID *string `json:"msp_id" validate:"required"` // A descriptive name for this peer. The IBP console tile displays this name. DisplayName *string `json:"display_name" validate:"required"` // See this [topic](/docs/blockchain?topic=blockchain-ibp-v2-apis#ibp-v2-apis-config) for instructions on how to build // a crypto object. Crypto *CryptoObject `json:"crypto" validate:"required"` // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // Override the [Fabric Peer configuration // file](https://github.com/hyperledger/fabric/blob/release-1.4/sampleconfig/core.yaml) if you want use custom // attributes to configure the Peer. Omit if not. // // *The nested field **names** below are not case-sensitive.*. ConfigOverride *ConfigPeerCreate `json:"config_override,omitempty"` // CPU and memory properties. This feature is not available if using a free Kubernetes cluster. Resources *PeerResources `json:"resources,omitempty"` // Disk space properties. This feature is not available if using a free Kubernetes cluster. Storage *CreatePeerBodyStorage `json:"storage,omitempty"` // Specify the Kubernetes zone for the deployment. The deployment will use a k8s node in this zone. Find the list of // possible zones by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // information](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Zone *string `json:"zone,omitempty"` // Select the state database for the peer. Can be either "couchdb" or "leveldb". The default is "couchdb". StateDb *string `json:"state_db,omitempty"` Tags []string `json:"tags,omitempty"` // The connection details of the HSM (Hardware Security Module). Hsm *Hsm `json:"hsm,omitempty"` // Specify the Kubernetes region for the deployment. The deployment will use a k8s node in this region. Find the list // of possible regions by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // info](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Region *string `json:"region,omitempty"` // The Hyperledger Fabric release version to use. Version *string `json:"version,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreatePeerOptions : The CreatePeer options.
func (*CreatePeerOptions) SetConfigOverride ¶
func (options *CreatePeerOptions) SetConfigOverride(configOverride *ConfigPeerCreate) *CreatePeerOptions
SetConfigOverride : Allow user to set ConfigOverride
func (*CreatePeerOptions) SetCrypto ¶
func (options *CreatePeerOptions) SetCrypto(crypto *CryptoObject) *CreatePeerOptions
SetCrypto : Allow user to set Crypto
func (*CreatePeerOptions) SetDisplayName ¶
func (options *CreatePeerOptions) SetDisplayName(displayName string) *CreatePeerOptions
SetDisplayName : Allow user to set DisplayName
func (*CreatePeerOptions) SetHeaders ¶
func (options *CreatePeerOptions) SetHeaders(param map[string]string) *CreatePeerOptions
SetHeaders : Allow user to set Headers
func (*CreatePeerOptions) SetHsm ¶
func (options *CreatePeerOptions) SetHsm(hsm *Hsm) *CreatePeerOptions
SetHsm : Allow user to set Hsm
func (*CreatePeerOptions) SetID ¶
func (options *CreatePeerOptions) SetID(id string) *CreatePeerOptions
SetID : Allow user to set ID
func (*CreatePeerOptions) SetMspID ¶
func (options *CreatePeerOptions) SetMspID(mspID string) *CreatePeerOptions
SetMspID : Allow user to set MspID
func (*CreatePeerOptions) SetRegion ¶
func (options *CreatePeerOptions) SetRegion(region string) *CreatePeerOptions
SetRegion : Allow user to set Region
func (*CreatePeerOptions) SetResources ¶
func (options *CreatePeerOptions) SetResources(resources *PeerResources) *CreatePeerOptions
SetResources : Allow user to set Resources
func (*CreatePeerOptions) SetStateDb ¶
func (options *CreatePeerOptions) SetStateDb(stateDb string) *CreatePeerOptions
SetStateDb : Allow user to set StateDb
func (*CreatePeerOptions) SetStorage ¶
func (options *CreatePeerOptions) SetStorage(storage *CreatePeerBodyStorage) *CreatePeerOptions
SetStorage : Allow user to set Storage
func (*CreatePeerOptions) SetTags ¶
func (options *CreatePeerOptions) SetTags(tags []string) *CreatePeerOptions
SetTags : Allow user to set Tags
func (*CreatePeerOptions) SetVersion ¶
func (options *CreatePeerOptions) SetVersion(version string) *CreatePeerOptions
SetVersion : Allow user to set Version
func (*CreatePeerOptions) SetZone ¶
func (options *CreatePeerOptions) SetZone(zone string) *CreatePeerOptions
SetZone : Allow user to set Zone
type CryptoEnrollmentComponent ¶
type CryptoEnrollmentComponent struct { // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. Admincerts []string `json:"admincerts,omitempty"` }
CryptoEnrollmentComponent : CryptoEnrollmentComponent struct
type CryptoObject ¶
type CryptoObject struct { // This `enrollment` field contains data that allows a component to enroll an identity for itself. Use `enrollment` or // `msp`, not both. Enrollment *CryptoObjectEnrollment `json:"enrollment,omitempty"` // The `msp` field contains data to allow a component to configure its MSP with an already enrolled identity. Use `msp` // or `enrollment`, not both. Msp *CryptoObjectMsp `json:"msp,omitempty"` }
CryptoObject : See this [topic](/docs/blockchain?topic=blockchain-ibp-v2-apis#ibp-v2-apis-config) for instructions on how to build a crypto object.
type CryptoObjectEnrollment ¶
type CryptoObjectEnrollment struct { Component *CryptoEnrollmentComponent `json:"component" validate:"required"` Ca *CryptoObjectEnrollmentCa `json:"ca" validate:"required"` Tlsca *CryptoObjectEnrollmentTlsca `json:"tlsca" validate:"required"` }
CryptoObjectEnrollment : This `enrollment` field contains data that allows a component to enroll an identity for itself. Use `enrollment` or `msp`, not both.
type CryptoObjectEnrollmentCa ¶
type CryptoObjectEnrollmentCa struct { // The CA's hostname. Do not include protocol or port. Host *string `json:"host" validate:"required"` // The CA's port. Port *float64 `json:"port" validate:"required"` // The CA's "CAName" attribute. This name is used to distinguish this CA from the TLS CA. Name *string `json:"name" validate:"required"` // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert" validate:"required"` // The username of the enroll id. EnrollID *string `json:"enroll_id" validate:"required"` // The password of the enroll id. EnrollSecret *string `json:"enroll_secret" validate:"required"` }
CryptoObjectEnrollmentCa : CryptoObjectEnrollmentCa struct
type CryptoObjectEnrollmentTlsca ¶
type CryptoObjectEnrollmentTlsca struct { // The CA's hostname. Do not include protocol or port. Host *string `json:"host" validate:"required"` // The CA's port. Port *float64 `json:"port" validate:"required"` // The TLS CA's "CAName" attribute. This name is used to distinguish this TLS CA from the other CA. Name *string `json:"name" validate:"required"` // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert" validate:"required"` // The username of the enroll id. EnrollID *string `json:"enroll_id" validate:"required"` // The password of the enroll id. EnrollSecret *string `json:"enroll_secret" validate:"required"` CsrHosts []string `json:"csr_hosts,omitempty"` }
CryptoObjectEnrollmentTlsca : CryptoObjectEnrollmentTlsca struct
type CryptoObjectMsp ¶
type CryptoObjectMsp struct { Component *MspCryptoComp `json:"component" validate:"required"` Ca *MspCryptoCa `json:"ca" validate:"required"` Tlsca *MspCryptoCa `json:"tlsca" validate:"required"` }
CryptoObjectMsp : The `msp` field contains data to allow a component to configure its MSP with an already enrolled identity. Use `msp` or `enrollment`, not both.
type DeleteAllComponentsOptions ¶
type DeleteAllComponentsOptions struct { // Allows users to set headers on API requests Headers map[string]string }
DeleteAllComponentsOptions : The DeleteAllComponents options.
func (*DeleteAllComponentsOptions) SetHeaders ¶
func (options *DeleteAllComponentsOptions) SetHeaders(param map[string]string) *DeleteAllComponentsOptions
SetHeaders : Allow user to set Headers
type DeleteAllNotificationsOptions ¶
type DeleteAllNotificationsOptions struct { // Allows users to set headers on API requests Headers map[string]string }
DeleteAllNotificationsOptions : The DeleteAllNotifications options.
func (*DeleteAllNotificationsOptions) SetHeaders ¶
func (options *DeleteAllNotificationsOptions) SetHeaders(param map[string]string) *DeleteAllNotificationsOptions
SetHeaders : Allow user to set Headers
type DeleteAllNotificationsResponse ¶
type DeleteAllNotificationsResponse struct { // Response message. "ok" indicates the api completed successfully. Message *string `json:"message,omitempty"` // Text showing what was deleted. Details *string `json:"details,omitempty"` }
DeleteAllNotificationsResponse : DeleteAllNotificationsResponse struct
type DeleteAllSessionsOptions ¶
type DeleteAllSessionsOptions struct { // Allows users to set headers on API requests Headers map[string]string }
DeleteAllSessionsOptions : The DeleteAllSessions options.
func (*DeleteAllSessionsOptions) SetHeaders ¶
func (options *DeleteAllSessionsOptions) SetHeaders(param map[string]string) *DeleteAllSessionsOptions
SetHeaders : Allow user to set Headers
type DeleteAllSessionsResponse ¶
type DeleteAllSessionsResponse struct { // Response message. Indicates the api completed successfully. Message *string `json:"message,omitempty"` }
DeleteAllSessionsResponse : DeleteAllSessionsResponse struct
type DeleteComponentOptions ¶
type DeleteComponentOptions struct { // The `id` of the component to delete. Use the [Get all components](#list_components) API to determine the id of the // component to be deleted. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteComponentOptions : The DeleteComponent options.
func (*DeleteComponentOptions) SetHeaders ¶
func (options *DeleteComponentOptions) SetHeaders(param map[string]string) *DeleteComponentOptions
SetHeaders : Allow user to set Headers
func (*DeleteComponentOptions) SetID ¶
func (options *DeleteComponentOptions) SetID(id string) *DeleteComponentOptions
SetID : Allow user to set ID
type DeleteComponentResponse ¶
type DeleteComponentResponse struct { Message *string `json:"message,omitempty"` // The type of this component. Such as: "fabric-peer", "fabric-ca", "fabric-orderer", etc. Type *string `json:"type,omitempty"` // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // A descriptive name for this peer. The IBP console tile displays this name. DisplayName *string `json:"display_name,omitempty"` }
DeleteComponentResponse : DeleteComponentResponse struct
type DeleteComponentsByTagOptions ¶
type DeleteComponentsByTagOptions struct { // The tag to filter components on. Not case-sensitive. Tag *string `json:"tag" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteComponentsByTagOptions : The DeleteComponentsByTag options.
func (*DeleteComponentsByTagOptions) SetHeaders ¶
func (options *DeleteComponentsByTagOptions) SetHeaders(param map[string]string) *DeleteComponentsByTagOptions
SetHeaders : Allow user to set Headers
func (*DeleteComponentsByTagOptions) SetTag ¶
func (options *DeleteComponentsByTagOptions) SetTag(tag string) *DeleteComponentsByTagOptions
SetTag : Allow user to set Tag
type DeleteMultiComponentsResponse ¶
type DeleteMultiComponentsResponse struct {
Deleted []DeleteComponentResponse `json:"deleted,omitempty"`
}
DeleteMultiComponentsResponse : DeleteMultiComponentsResponse struct
type DeleteSigTxOptions ¶
type DeleteSigTxOptions struct { // The unique transaction ID of this signature collection. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteSigTxOptions : The DeleteSigTx options.
func (*DeleteSigTxOptions) SetHeaders ¶
func (options *DeleteSigTxOptions) SetHeaders(param map[string]string) *DeleteSigTxOptions
SetHeaders : Allow user to set Headers
func (*DeleteSigTxOptions) SetID ¶
func (options *DeleteSigTxOptions) SetID(id string) *DeleteSigTxOptions
SetID : Allow user to set ID
type DeleteSignatureCollectionResponse ¶
type DeleteSignatureCollectionResponse struct { // Response message. "ok" indicates the api completed successfully. Message *string `json:"message,omitempty"` // The unique transaction ID of this signature collection. Must start with a letter. TxID *string `json:"tx_id,omitempty"` }
DeleteSignatureCollectionResponse : DeleteSignatureCollectionResponse struct
type EditAdminCertsOptions ¶
type EditAdminCertsOptions struct { // The `id` of the component to edit. Use the [Get all components](#list_components) API to determine the id of the // component. ID *string `json:"id" validate:"required,ne="` // The admin certificates to add to the file system. AppendAdminCerts []string `json:"append_admin_certs,omitempty"` // The admin certificates to remove from the file system. To see the current list run the [Get a // component](#get-component) API with the `deployment_attrs=included` parameter. RemoveAdminCerts []string `json:"remove_admin_certs,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
EditAdminCertsOptions : The EditAdminCerts options.
func (*EditAdminCertsOptions) SetAppendAdminCerts ¶
func (options *EditAdminCertsOptions) SetAppendAdminCerts(appendAdminCerts []string) *EditAdminCertsOptions
SetAppendAdminCerts : Allow user to set AppendAdminCerts
func (*EditAdminCertsOptions) SetHeaders ¶
func (options *EditAdminCertsOptions) SetHeaders(param map[string]string) *EditAdminCertsOptions
SetHeaders : Allow user to set Headers
func (*EditAdminCertsOptions) SetID ¶
func (options *EditAdminCertsOptions) SetID(id string) *EditAdminCertsOptions
SetID : Allow user to set ID
func (*EditAdminCertsOptions) SetRemoveAdminCerts ¶
func (options *EditAdminCertsOptions) SetRemoveAdminCerts(removeAdminCerts []string) *EditAdminCertsOptions
SetRemoveAdminCerts : Allow user to set RemoveAdminCerts
type EditAdminCertsResponse ¶
type EditAdminCertsResponse struct { // The total number of admin certificate additions and deletions. ChangesMade *float64 `json:"changes_made,omitempty"` // Array of certs there were set. SetAdminCerts []EditAdminCertsResponseSetAdminCertsItem `json:"set_admin_certs,omitempty"` }
EditAdminCertsResponse : EditAdminCertsResponse struct
type EditAdminCertsResponseSetAdminCertsItem ¶
type EditAdminCertsResponseSetAdminCertsItem struct { // A certificate as base 64 encoded PEM. Also known as the signing certificate of an organization admin. Base64Pem *string `json:"base_64_pem,omitempty"` // The issuer string in the certificate. Issuer *string `json:"issuer,omitempty"` // UTC timestamp of the last ms the certificate is valid. NotAfterTs *float64 `json:"not_after_ts,omitempty"` // UTC timestamp of the earliest ms the certificate is valid. NotBeforeTs *float64 `json:"not_before_ts,omitempty"` // The "unique" id of the certificates. SerialNumberHex *string `json:"serial_number_hex,omitempty"` // The crypto algorithm that signed the public key in the certificate. SignatureAlgorithm *string `json:"signature_algorithm,omitempty"` // The subject string in the certificate. Subject *string `json:"subject,omitempty"` // The X.509 version/format. X509Version *float64 `json:"X509_version,omitempty"` // A friendly (human readable) duration until certificate expiration. TimeLeft *string `json:"time_left,omitempty"` }
EditAdminCertsResponseSetAdminCertsItem : EditAdminCertsResponseSetAdminCertsItem struct
type EditCaOptions ¶
type EditCaOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // A descriptive name for this CA. The IBP console tile displays this name. DisplayName *string `json:"display_name,omitempty"` // The URL for the CA. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url,omitempty"` // The operations URL for the CA. Include the protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` // The CA's "CAName" attribute. This name is used to distinguish this CA from the TLS CA. CaName *string `json:"ca_name,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` Tags []string `json:"tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
EditCaOptions : The EditCa options.
func (*EditCaOptions) SetApiURL ¶
func (options *EditCaOptions) SetApiURL(apiURL string) *EditCaOptions
SetApiURL : Allow user to set ApiURL
func (*EditCaOptions) SetCaName ¶
func (options *EditCaOptions) SetCaName(caName string) *EditCaOptions
SetCaName : Allow user to set CaName
func (*EditCaOptions) SetDisplayName ¶
func (options *EditCaOptions) SetDisplayName(displayName string) *EditCaOptions
SetDisplayName : Allow user to set DisplayName
func (*EditCaOptions) SetHeaders ¶
func (options *EditCaOptions) SetHeaders(param map[string]string) *EditCaOptions
SetHeaders : Allow user to set Headers
func (*EditCaOptions) SetID ¶
func (options *EditCaOptions) SetID(id string) *EditCaOptions
SetID : Allow user to set ID
func (*EditCaOptions) SetLocation ¶
func (options *EditCaOptions) SetLocation(location string) *EditCaOptions
SetLocation : Allow user to set Location
func (*EditCaOptions) SetOperationsURL ¶
func (options *EditCaOptions) SetOperationsURL(operationsURL string) *EditCaOptions
SetOperationsURL : Allow user to set OperationsURL
func (*EditCaOptions) SetTags ¶
func (options *EditCaOptions) SetTags(tags []string) *EditCaOptions
SetTags : Allow user to set Tags
type EditLogSettingsBody ¶
type EditLogSettingsBody struct { // The client side (browser) logging settings. _Changes to this field will restart the IBP console server(s)_. Client *LoggingSettingsClient `json:"client,omitempty"` // The server side logging settings. _Changes to this field will restart the IBP console server(s)_. Server *LoggingSettingsServer `json:"server,omitempty"` }
EditLogSettingsBody : File system logging settings. All body fields are optional (only send the fields that you want to change). _Changes to this field will restart the IBP console server(s)_.
type EditMspOptions ¶
type EditMspOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // The MSP id that is related to this component. MspID *string `json:"msp_id,omitempty"` // A descriptive name for this MSP. The IBP console tile displays this name. DisplayName *string `json:"display_name,omitempty"` // An array that contains one or more base 64 encoded PEM root certificates for the MSP. RootCerts []string `json:"root_certs,omitempty"` // An array that contains base 64 encoded PEM intermediate certificates. IntermediateCerts []string `json:"intermediate_certs,omitempty"` // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. Admins []string `json:"admins,omitempty"` // An array that contains one or more base 64 encoded PEM TLS root certificates. TlsRootCerts []string `json:"tls_root_certs,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
EditMspOptions : The EditMsp options.
func (*EditMspOptions) SetAdmins ¶
func (options *EditMspOptions) SetAdmins(admins []string) *EditMspOptions
SetAdmins : Allow user to set Admins
func (*EditMspOptions) SetDisplayName ¶
func (options *EditMspOptions) SetDisplayName(displayName string) *EditMspOptions
SetDisplayName : Allow user to set DisplayName
func (*EditMspOptions) SetHeaders ¶
func (options *EditMspOptions) SetHeaders(param map[string]string) *EditMspOptions
SetHeaders : Allow user to set Headers
func (*EditMspOptions) SetID ¶
func (options *EditMspOptions) SetID(id string) *EditMspOptions
SetID : Allow user to set ID
func (*EditMspOptions) SetIntermediateCerts ¶
func (options *EditMspOptions) SetIntermediateCerts(intermediateCerts []string) *EditMspOptions
SetIntermediateCerts : Allow user to set IntermediateCerts
func (*EditMspOptions) SetMspID ¶
func (options *EditMspOptions) SetMspID(mspID string) *EditMspOptions
SetMspID : Allow user to set MspID
func (*EditMspOptions) SetRootCerts ¶
func (options *EditMspOptions) SetRootCerts(rootCerts []string) *EditMspOptions
SetRootCerts : Allow user to set RootCerts
func (*EditMspOptions) SetTlsRootCerts ¶
func (options *EditMspOptions) SetTlsRootCerts(tlsRootCerts []string) *EditMspOptions
SetTlsRootCerts : Allow user to set TlsRootCerts
type EditOrdererOptions ¶
type EditOrdererOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // A descriptive name for the ordering service. The parent IBP console orderer tile displays this name. ClusterName *string `json:"cluster_name,omitempty"` // A descriptive base name for each ordering node. One or more child IBP console tiles display this name. DisplayName *string `json:"display_name,omitempty"` // The gRPC URL for the orderer. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url,omitempty"` // Used by Fabric health checker to monitor the health status of this orderer node. For more information, see [Fabric // documentation](https://hyperledger-fabric.readthedocs.io/en/release-1.4/operations_service.html). Include the // protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` // The gRPC web proxy URL in front of the orderer. Include the protocol, hostname/ip and port. GrpcwpURL *string `json:"grpcwp_url,omitempty"` // The MSP id that is related to this component. MspID *string `json:"msp_id,omitempty"` // The state of a pre-created orderer node. A value of `true` means that the orderer node was added as a system channel // consenter. This is a manual field. Set it yourself after finishing the raft append flow to indicate that this node // is ready for use. See the [Submit config block to orderer](#submit-block) API description for more details about // appending raft nodes. ConsenterProposalFin *bool `json:"consenter_proposal_fin,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` // The name of the system channel. Defaults to `testchainid`. SystemChannelID *string `json:"system_channel_id,omitempty"` Tags []string `json:"tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
EditOrdererOptions : The EditOrderer options.
func (*EditOrdererOptions) SetApiURL ¶
func (options *EditOrdererOptions) SetApiURL(apiURL string) *EditOrdererOptions
SetApiURL : Allow user to set ApiURL
func (*EditOrdererOptions) SetClusterName ¶
func (options *EditOrdererOptions) SetClusterName(clusterName string) *EditOrdererOptions
SetClusterName : Allow user to set ClusterName
func (*EditOrdererOptions) SetConsenterProposalFin ¶
func (options *EditOrdererOptions) SetConsenterProposalFin(consenterProposalFin bool) *EditOrdererOptions
SetConsenterProposalFin : Allow user to set ConsenterProposalFin
func (*EditOrdererOptions) SetDisplayName ¶
func (options *EditOrdererOptions) SetDisplayName(displayName string) *EditOrdererOptions
SetDisplayName : Allow user to set DisplayName
func (*EditOrdererOptions) SetGrpcwpURL ¶
func (options *EditOrdererOptions) SetGrpcwpURL(grpcwpURL string) *EditOrdererOptions
SetGrpcwpURL : Allow user to set GrpcwpURL
func (*EditOrdererOptions) SetHeaders ¶
func (options *EditOrdererOptions) SetHeaders(param map[string]string) *EditOrdererOptions
SetHeaders : Allow user to set Headers
func (*EditOrdererOptions) SetID ¶
func (options *EditOrdererOptions) SetID(id string) *EditOrdererOptions
SetID : Allow user to set ID
func (*EditOrdererOptions) SetLocation ¶
func (options *EditOrdererOptions) SetLocation(location string) *EditOrdererOptions
SetLocation : Allow user to set Location
func (*EditOrdererOptions) SetMspID ¶
func (options *EditOrdererOptions) SetMspID(mspID string) *EditOrdererOptions
SetMspID : Allow user to set MspID
func (*EditOrdererOptions) SetOperationsURL ¶
func (options *EditOrdererOptions) SetOperationsURL(operationsURL string) *EditOrdererOptions
SetOperationsURL : Allow user to set OperationsURL
func (*EditOrdererOptions) SetSystemChannelID ¶
func (options *EditOrdererOptions) SetSystemChannelID(systemChannelID string) *EditOrdererOptions
SetSystemChannelID : Allow user to set SystemChannelID
func (*EditOrdererOptions) SetTags ¶
func (options *EditOrdererOptions) SetTags(tags []string) *EditOrdererOptions
SetTags : Allow user to set Tags
type EditPeerOptions ¶
type EditPeerOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // A descriptive name for this peer. The IBP console tile displays this name. DisplayName *string `json:"display_name,omitempty"` // The gRPC URL for the peer. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url,omitempty"` // Used by Fabric health checker to monitor the health status of this peer. For more information, see [Fabric // documentation](https://hyperledger-fabric.readthedocs.io/en/release-1.4/operations_service.html). Include the // protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` // The gRPC web proxy URL in front of the peer. Include the protocol, hostname/ip and port. GrpcwpURL *string `json:"grpcwp_url,omitempty"` // The MSP id that is related to this component. MspID *string `json:"msp_id,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` Tags []string `json:"tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
EditPeerOptions : The EditPeer options.
func (*EditPeerOptions) SetApiURL ¶
func (options *EditPeerOptions) SetApiURL(apiURL string) *EditPeerOptions
SetApiURL : Allow user to set ApiURL
func (*EditPeerOptions) SetDisplayName ¶
func (options *EditPeerOptions) SetDisplayName(displayName string) *EditPeerOptions
SetDisplayName : Allow user to set DisplayName
func (*EditPeerOptions) SetGrpcwpURL ¶
func (options *EditPeerOptions) SetGrpcwpURL(grpcwpURL string) *EditPeerOptions
SetGrpcwpURL : Allow user to set GrpcwpURL
func (*EditPeerOptions) SetHeaders ¶
func (options *EditPeerOptions) SetHeaders(param map[string]string) *EditPeerOptions
SetHeaders : Allow user to set Headers
func (*EditPeerOptions) SetID ¶
func (options *EditPeerOptions) SetID(id string) *EditPeerOptions
SetID : Allow user to set ID
func (*EditPeerOptions) SetLocation ¶
func (options *EditPeerOptions) SetLocation(location string) *EditPeerOptions
SetLocation : Allow user to set Location
func (*EditPeerOptions) SetMspID ¶
func (options *EditPeerOptions) SetMspID(mspID string) *EditPeerOptions
SetMspID : Allow user to set MspID
func (*EditPeerOptions) SetOperationsURL ¶
func (options *EditPeerOptions) SetOperationsURL(operationsURL string) *EditPeerOptions
SetOperationsURL : Allow user to set OperationsURL
func (*EditPeerOptions) SetTags ¶
func (options *EditPeerOptions) SetTags(tags []string) *EditPeerOptions
SetTags : Allow user to set Tags
type EditSettingsBodyInactivityTimeouts ¶
type EditSettingsBodyInactivityTimeouts struct { // Indicates if the auto log out logic is enabled or disabled. Defaults `false`. _Refresh browser after changes_. Enabled *bool `json:"enabled,omitempty"` // Maximum time in milliseconds for a browser client to be idle. Once exceeded the user is logged out. Defaults to // `90000` ms (1.5 minutes). _Refresh browser after changes_. MaxIdleTime *float64 `json:"max_idle_time,omitempty"` }
EditSettingsBodyInactivityTimeouts : EditSettingsBodyInactivityTimeouts struct
type EditSettingsOptions ¶
type EditSettingsOptions struct { InactivityTimeouts *EditSettingsBodyInactivityTimeouts `json:"inactivity_timeouts,omitempty"` // File system logging settings. All body fields are optional (only send the fields that you want to change). _Changes // to this field will restart the IBP console server(s)_. FileLogging *EditLogSettingsBody `json:"file_logging,omitempty"` // The base limit for the maximum number of `/api/_*` API requests (aka UI requests) in 1 minute. Defaults `25`. [Rate // Limits](#rate-limits). _Changes to this field will restart the IBP console server(s)_. MaxReqPerMin *float64 `json:"max_req_per_min,omitempty"` // The base limit for the maximum number of `/ak/api/_*` API requests (aka external api key requests) in 1 minute. // Defaults `25`. [Rate Limits](#rate-limits). _Changes to this field will restart the IBP console server(s)_. MaxReqPerMinAk *float64 `json:"max_req_per_min_ak,omitempty"` // Maximum time in milliseconds to wait for a get-block transaction. Defaults to `10000` ms (10 seconds). _Refresh // browser after changes_. FabricGetBlockTimeoutMs *float64 `json:"fabric_get_block_timeout_ms,omitempty"` // Maximum time in milliseconds to wait for a instantiate chaincode transaction. Defaults to `300000` ms (5 minutes). // _Refresh browser after changes_. FabricInstantiateTimeoutMs *float64 `json:"fabric_instantiate_timeout_ms,omitempty"` // Maximum time in milliseconds to wait for a join-channel transaction. Defaults to `25000` ms (25 seconds). _Refresh // browser after changes_. FabricJoinChannelTimeoutMs *float64 `json:"fabric_join_channel_timeout_ms,omitempty"` // Maximum time in milliseconds to wait for a install chaincode transaction (Fabric v1.x). Defaults to `300000` ms (5 // minutes). _Refresh browser after changes_. FabricInstallCcTimeoutMs *float64 `json:"fabric_install_cc_timeout_ms,omitempty"` // Maximum time in milliseconds to wait for a install chaincode transaction (Fabric v2.x). Defaults to `300000` ms (5 // minutes). _Refresh browser after changes_. FabricLcInstallCcTimeoutMs *float64 `json:"fabric_lc_install_cc_timeout_ms,omitempty"` // Maximum time in milliseconds to wait for a get-chaincode transaction (Fabric v2.x). Defaults to `180000` ms (3 // minutes). _Refresh browser after changes_. FabricLcGetCcTimeoutMs *float64 `json:"fabric_lc_get_cc_timeout_ms,omitempty"` // Default maximum time in milliseconds to wait for a Fabric transaction. Defaults to `10000` ms (10 seconds). _Refresh // browser after changes_. FabricGeneralTimeoutMs *float64 `json:"fabric_general_timeout_ms,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
EditSettingsOptions : The EditSettings options.
func (*EditSettingsOptions) SetFabricGeneralTimeoutMs ¶
func (options *EditSettingsOptions) SetFabricGeneralTimeoutMs(fabricGeneralTimeoutMs float64) *EditSettingsOptions
SetFabricGeneralTimeoutMs : Allow user to set FabricGeneralTimeoutMs
func (*EditSettingsOptions) SetFabricGetBlockTimeoutMs ¶
func (options *EditSettingsOptions) SetFabricGetBlockTimeoutMs(fabricGetBlockTimeoutMs float64) *EditSettingsOptions
SetFabricGetBlockTimeoutMs : Allow user to set FabricGetBlockTimeoutMs
func (*EditSettingsOptions) SetFabricInstallCcTimeoutMs ¶
func (options *EditSettingsOptions) SetFabricInstallCcTimeoutMs(fabricInstallCcTimeoutMs float64) *EditSettingsOptions
SetFabricInstallCcTimeoutMs : Allow user to set FabricInstallCcTimeoutMs
func (*EditSettingsOptions) SetFabricInstantiateTimeoutMs ¶
func (options *EditSettingsOptions) SetFabricInstantiateTimeoutMs(fabricInstantiateTimeoutMs float64) *EditSettingsOptions
SetFabricInstantiateTimeoutMs : Allow user to set FabricInstantiateTimeoutMs
func (*EditSettingsOptions) SetFabricJoinChannelTimeoutMs ¶
func (options *EditSettingsOptions) SetFabricJoinChannelTimeoutMs(fabricJoinChannelTimeoutMs float64) *EditSettingsOptions
SetFabricJoinChannelTimeoutMs : Allow user to set FabricJoinChannelTimeoutMs
func (*EditSettingsOptions) SetFabricLcGetCcTimeoutMs ¶
func (options *EditSettingsOptions) SetFabricLcGetCcTimeoutMs(fabricLcGetCcTimeoutMs float64) *EditSettingsOptions
SetFabricLcGetCcTimeoutMs : Allow user to set FabricLcGetCcTimeoutMs
func (*EditSettingsOptions) SetFabricLcInstallCcTimeoutMs ¶
func (options *EditSettingsOptions) SetFabricLcInstallCcTimeoutMs(fabricLcInstallCcTimeoutMs float64) *EditSettingsOptions
SetFabricLcInstallCcTimeoutMs : Allow user to set FabricLcInstallCcTimeoutMs
func (*EditSettingsOptions) SetFileLogging ¶
func (options *EditSettingsOptions) SetFileLogging(fileLogging *EditLogSettingsBody) *EditSettingsOptions
SetFileLogging : Allow user to set FileLogging
func (*EditSettingsOptions) SetHeaders ¶
func (options *EditSettingsOptions) SetHeaders(param map[string]string) *EditSettingsOptions
SetHeaders : Allow user to set Headers
func (*EditSettingsOptions) SetInactivityTimeouts ¶
func (options *EditSettingsOptions) SetInactivityTimeouts(inactivityTimeouts *EditSettingsBodyInactivityTimeouts) *EditSettingsOptions
SetInactivityTimeouts : Allow user to set InactivityTimeouts
func (*EditSettingsOptions) SetMaxReqPerMin ¶
func (options *EditSettingsOptions) SetMaxReqPerMin(maxReqPerMin float64) *EditSettingsOptions
SetMaxReqPerMin : Allow user to set MaxReqPerMin
func (*EditSettingsOptions) SetMaxReqPerMinAk ¶
func (options *EditSettingsOptions) SetMaxReqPerMinAk(maxReqPerMinAk float64) *EditSettingsOptions
SetMaxReqPerMinAk : Allow user to set MaxReqPerMinAk
type FabVersionObject ¶
type FabVersionObject struct { // Indicates if this is the Fabric version that will be used if none is selected. Default *bool `json:"default,omitempty"` // The Fabric version. Version *string `json:"version,omitempty"` // Detailed image information for this Fabric release. Image interface{} `json:"image,omitempty"` }
FabVersionObject : FabVersionObject struct
type FabricVersionDictionary ¶
type FabricVersionDictionary struct { X1462 *FabVersionObject `json:"1.4.6-2,omitempty"` X2100 *FabVersionObject `json:"2.1.0-0,omitempty"` // contains filtered or unexported fields }
FabricVersionDictionary : A supported release of Fabric for this component type.
func (*FabricVersionDictionary) GetProperties ¶
func (o *FabricVersionDictionary) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of FabricVersionDictionary
func (*FabricVersionDictionary) GetProperty ¶
func (o *FabricVersionDictionary) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of FabricVersionDictionary
func (*FabricVersionDictionary) MarshalJSON ¶
func (o *FabricVersionDictionary) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of FabricVersionDictionary
func (*FabricVersionDictionary) SetProperty ¶
func (o *FabricVersionDictionary) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of FabricVersionDictionary
type GenericComponentResponse ¶
type GenericComponentResponse struct { // The unique identifier of this component. [Available on all component types]. ID *string `json:"id,omitempty"` // The type of this component [Available on all component types]. Type *string `json:"type,omitempty"` // The displayed name of this component. [Available on all component types]. DisplayName *string `json:"display_name,omitempty"` // A unique id to identify this ordering service cluster. [Available on orderer components]. ClusterID *string `json:"cluster_id,omitempty"` // A descriptive name for the ordering service. The parent IBP console orderer tile displays this name. [Available on // orderer components]. ClusterName *string `json:"cluster_name,omitempty"` // The URL for the grpc web proxy for this component. [Available on peer/orderer components]. GrpcwpURL *string `json:"grpcwp_url,omitempty"` // The gRPC URL for the component. Typically, client applications would send requests to this URL. [Available on // ca/peer/orderer components]. ApiURL *string `json:"api_url,omitempty"` // Used by Fabric health checker to monitor health status of the node. For more information, see [Fabric // documentation](https://hyperledger-fabric.readthedocs.io/en/release-1.4/operations_service.html). [Available on // ca/peer/orderer components]. OperationsURL *string `json:"operations_url,omitempty"` Msp *GenericComponentResponseMsp `json:"msp,omitempty"` // The MSP id that is related to this component. [Available on all components]. MspID *string `json:"msp_id,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` NodeOu *NodeOuGeneral `json:"node_ou,omitempty"` // The **cached** Kubernetes resource attributes for this component. [Available on ca/peer/orderer components w/query // parameter 'deployment_attrs']. Resources *GenericComponentResponseResources `json:"resources,omitempty"` // The versioning of the IBP console format of this JSON. SchemeVersion *string `json:"scheme_version,omitempty"` // The type of ledger database for a peer. [Available on peer components w/query parameter 'deployment_attrs']. StateDb *string `json:"state_db,omitempty"` // The **cached** Kubernetes storage attributes for this component. [Available on ca/peer/orderer components w/query // parameter 'deployment_attrs']. Storage *GenericComponentResponseStorage `json:"storage,omitempty"` // UNIX timestamp of component creation, UTC, ms. [Available on all components]. Timestamp *float64 `json:"timestamp,omitempty"` Tags []string `json:"tags,omitempty"` // The cached Hyperledger Fabric version for this component. [Available on ca/peer/orderer components w/query parameter // 'deployment_attrs']. Version *string `json:"version,omitempty"` // The Kubernetes zone of this component's deployment. [Available on ca/peer/orderer components w/query parameter // 'deployment_attrs']. Zone *string `json:"zone,omitempty"` }
GenericComponentResponse : Contains the details of a component. Not all components have the same fields, see description of each field for details.
type GenericComponentResponseMsp ¶
type GenericComponentResponseMsp struct { Ca *GenericComponentResponseMspCa `json:"ca,omitempty"` Tlsca *GenericComponentResponseMspTlsca `json:"tlsca,omitempty"` Component *GenericComponentResponseMspComponent `json:"component,omitempty"` }
GenericComponentResponseMsp : GenericComponentResponseMsp struct
type GenericComponentResponseMspCa ¶
type GenericComponentResponseMspCa struct { // The "name" to distinguish this CA from the TLS CA. [Available on ca components]. Name *string `json:"name,omitempty"` // An array that contains one or more base 64 encoded PEM root certificates for the CA. [Available on ca/peer/orderer // components]. RootCerts []string `json:"root_certs,omitempty"` }
GenericComponentResponseMspCa : GenericComponentResponseMspCa struct
type GenericComponentResponseMspComponent ¶
type GenericComponentResponseMspComponent struct { // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert,omitempty"` // An identity certificate (base 64 encoded PEM) for this component that was signed by the CA (aka enrollment // certificate). [Available on peer/orderer components w/query parameter 'deployment_attrs']. Ecert *string `json:"ecert,omitempty"` // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. [Available on peer/orderer components w/query parameter // 'deployment_attrs']. AdminCerts []string `json:"admin_certs,omitempty"` }
GenericComponentResponseMspComponent : GenericComponentResponseMspComponent struct
type GenericComponentResponseMspTlsca ¶
type GenericComponentResponseMspTlsca struct { // The "name" to distinguish this CA from the other CA. [Available on ca components]. Name *string `json:"name,omitempty"` // An array that contains one or more base 64 encoded PEM root certificates for the TLS CA. [Available on // ca/peer/orderer components]. RootCerts []string `json:"root_certs,omitempty"` }
GenericComponentResponseMspTlsca : GenericComponentResponseMspTlsca struct
type GenericComponentResponseResources ¶
type GenericComponentResponseResources struct { Ca *GenericResources `json:"ca,omitempty"` Peer *GenericResources `json:"peer,omitempty"` Orderer *GenericResources `json:"orderer,omitempty"` Proxy *GenericResources `json:"proxy,omitempty"` Statedb *GenericResources `json:"statedb,omitempty"` }
GenericComponentResponseResources : The **cached** Kubernetes resource attributes for this component. [Available on ca/peer/orderer components w/query parameter 'deployment_attrs'].
type GenericComponentResponseStorage ¶
type GenericComponentResponseStorage struct { Ca *StorageObject `json:"ca,omitempty"` Peer *StorageObject `json:"peer,omitempty"` Orderer *StorageObject `json:"orderer,omitempty"` Statedb *StorageObject `json:"statedb,omitempty"` }
GenericComponentResponseStorage : The **cached** Kubernetes storage attributes for this component. [Available on ca/peer/orderer components w/query parameter 'deployment_attrs'].
type GenericResourceLimits ¶
type GenericResourceLimits struct { Cpu *string `json:"cpu,omitempty"` Memory *string `json:"memory,omitempty"` }
GenericResourceLimits : GenericResourceLimits struct
type GenericResources ¶
type GenericResources struct { Requests *GenericResourcesRequests `json:"requests,omitempty"` Limits *GenericResourceLimits `json:"limits,omitempty"` }
GenericResources : GenericResources struct
type GenericResourcesRequests ¶
type GenericResourcesRequests struct { Cpu *string `json:"cpu,omitempty"` Memory *string `json:"memory,omitempty"` }
GenericResourcesRequests : GenericResourcesRequests struct
type GetAthenaHealthStatsResponse ¶
type GetAthenaHealthStatsResponse struct { OPTOOLS *GetAthenaHealthStatsResponseOPTOOLS `json:"OPTOOLS,omitempty"` OS *GetAthenaHealthStatsResponseOS `json:"OS,omitempty"` }
GetAthenaHealthStatsResponse : Contains various health statistics like up time and cache sizes.
type GetAthenaHealthStatsResponseOPTOOLS ¶
type GetAthenaHealthStatsResponseOPTOOLS struct { // Random/unique id for a process running IBP console. InstanceID *string `json:"instance_id,omitempty"` // UTC UNIX timestamp of the current time according to the server. In milliseconds. Now *float64 `json:"now,omitempty"` // UTC UNIX timestamp of when the server started. In milliseconds. Born *float64 `json:"born,omitempty"` // Total time the IBP console server has been running. UpTime *string `json:"up_time,omitempty"` MemoryUsage *GetAthenaHealthStatsResponseOPTOOLSMemoryUsage `json:"memory_usage,omitempty"` SessionCacheStats *CacheData `json:"session_cache_stats,omitempty"` CouchCacheStats *CacheData `json:"couch_cache_stats,omitempty"` IamCacheStats *CacheData `json:"iam_cache_stats,omitempty"` ProxyCache *CacheData `json:"proxy_cache,omitempty"` }
GetAthenaHealthStatsResponseOPTOOLS : GetAthenaHealthStatsResponseOPTOOLS struct
type GetAthenaHealthStatsResponseOPTOOLSMemoryUsage ¶
type GetAthenaHealthStatsResponseOPTOOLSMemoryUsage struct { // Resident set size - total memory allocated for the process. Rss *string `json:"rss,omitempty"` // Memory allocated for the heap of V8. HeapTotal *string `json:"heapTotal,omitempty"` // Current heap used by V8. HeapUsed *string `json:"heapUsed,omitempty"` // Memory used by bound C++ objects. External *string `json:"external,omitempty"` }
GetAthenaHealthStatsResponseOPTOOLSMemoryUsage : GetAthenaHealthStatsResponseOPTOOLSMemoryUsage struct
type GetAthenaHealthStatsResponseOS ¶
type GetAthenaHealthStatsResponseOS struct { // CPU architecture. Arch *string `json:"arch,omitempty"` // Operating system name. Type *string `json:"type,omitempty"` // Endianness of the CPU. LE = Little Endian, BE = Big Endian. Endian *string `json:"endian,omitempty"` // CPU load in 1, 5, & 15 minute averages. n/a on windows. Loadavg []float64 `json:"loadavg,omitempty"` Cpus []CpuHealthStats `json:"cpus,omitempty"` // Total memory known to the operating system. TotalMemory *string `json:"total_memory,omitempty"` // Free memory on the operating system. FreeMemory *string `json:"free_memory,omitempty"` // Time operating system has been running. UpTime *string `json:"up_time,omitempty"` }
GetAthenaHealthStatsResponseOS : GetAthenaHealthStatsResponseOS struct
type GetComponentOptions ¶
type GetComponentOptions struct { // The `id` of the component to retrieve. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // Set to 'included' if the response should include Kubernetes deployment attributes such as 'resources', 'storage', // 'zone', 'region', 'admin_certs', etc. Default responses will not include these fields. // // **This parameter will not work on *imported* components.** // // It's recommended to use `cache=skip` as well if up-to-date deployment data is needed. DeploymentAttrs *string `json:"deployment_attrs,omitempty"` // Set to 'included' if the response should include parsed PEM data along with base 64 encoded PEM string. Parsed // certificate data will include fields such as the serial number, issuer, expiration, subject, subject alt names, etc. // Default responses will not include these fields. ParsedCerts *string `json:"parsed_certs,omitempty"` // Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response // times if the cache is skipped. Default responses will use the cache. Cache *string `json:"cache,omitempty"` // Set to 'included' if the response should fetch CA attributes, inspect certificates, and append extra fields to CA // and MSP component responses. // - CA components will have fields appended/updated with data fetched from the `/cainfo?ca=ca` endpoint of a CA, such // as: `ca_name`, `root_cert`, `fabric_version`, `issuer_public_key` and `issued_known_msps`. The field // `issued_known_msps` indicates imported IBP MSPs that this CA has issued. Meaning the MSP's root cert contains a // signature that is derived from this CA's root cert. Only imported MSPs are checked. Default responses will not // include these fields. // - MSP components will have the field `issued_by_ca_id` appended. This field indicates the id of an IBP console CA // that issued this MSP. Meaning the MSP's root cert contains a signature that is derived from this CA's root cert. // Only imported/created CAs are checked. Default responses will not include these fields. CaAttrs *string `json:"ca_attrs,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetComponentOptions : The GetComponent options.
func (*GetComponentOptions) SetCaAttrs ¶
func (options *GetComponentOptions) SetCaAttrs(caAttrs string) *GetComponentOptions
SetCaAttrs : Allow user to set CaAttrs
func (*GetComponentOptions) SetCache ¶
func (options *GetComponentOptions) SetCache(cache string) *GetComponentOptions
SetCache : Allow user to set Cache
func (*GetComponentOptions) SetDeploymentAttrs ¶
func (options *GetComponentOptions) SetDeploymentAttrs(deploymentAttrs string) *GetComponentOptions
SetDeploymentAttrs : Allow user to set DeploymentAttrs
func (*GetComponentOptions) SetHeaders ¶
func (options *GetComponentOptions) SetHeaders(param map[string]string) *GetComponentOptions
SetHeaders : Allow user to set Headers
func (*GetComponentOptions) SetID ¶
func (options *GetComponentOptions) SetID(id string) *GetComponentOptions
SetID : Allow user to set ID
func (*GetComponentOptions) SetParsedCerts ¶
func (options *GetComponentOptions) SetParsedCerts(parsedCerts string) *GetComponentOptions
SetParsedCerts : Allow user to set ParsedCerts
type GetComponentsByTagOptions ¶
type GetComponentsByTagOptions struct { // The tag to filter components on. Not case-sensitive. Tag *string `json:"tag" validate:"required,ne="` // Set to 'included' if the response should include Kubernetes deployment attributes such as 'resources', 'storage', // 'zone', 'region', 'admin_certs', etc. Default responses will not include these fields. // // **This parameter will not work on *imported* components.** // // It's recommended to use `cache=skip` as well if up-to-date deployment data is needed. DeploymentAttrs *string `json:"deployment_attrs,omitempty"` // Set to 'included' if the response should include parsed PEM data along with base 64 encoded PEM string. Parsed // certificate data will include fields such as the serial number, issuer, expiration, subject, subject alt names, etc. // Default responses will not include these fields. ParsedCerts *string `json:"parsed_certs,omitempty"` // Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response // times if the cache is skipped. Default responses will use the cache. Cache *string `json:"cache,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetComponentsByTagOptions : The GetComponentsByTag options.
func (*GetComponentsByTagOptions) SetCache ¶
func (options *GetComponentsByTagOptions) SetCache(cache string) *GetComponentsByTagOptions
SetCache : Allow user to set Cache
func (*GetComponentsByTagOptions) SetDeploymentAttrs ¶
func (options *GetComponentsByTagOptions) SetDeploymentAttrs(deploymentAttrs string) *GetComponentsByTagOptions
SetDeploymentAttrs : Allow user to set DeploymentAttrs
func (*GetComponentsByTagOptions) SetHeaders ¶
func (options *GetComponentsByTagOptions) SetHeaders(param map[string]string) *GetComponentsByTagOptions
SetHeaders : Allow user to set Headers
func (*GetComponentsByTagOptions) SetParsedCerts ¶
func (options *GetComponentsByTagOptions) SetParsedCerts(parsedCerts string) *GetComponentsByTagOptions
SetParsedCerts : Allow user to set ParsedCerts
func (*GetComponentsByTagOptions) SetTag ¶
func (options *GetComponentsByTagOptions) SetTag(tag string) *GetComponentsByTagOptions
SetTag : Allow user to set Tag
type GetComponentsByTypeOptions ¶
type GetComponentsByTypeOptions struct { // The type of component to filter components on. Type *string `json:"type" validate:"required,ne="` // Set to 'included' if the response should include Kubernetes deployment attributes such as 'resources', 'storage', // 'zone', 'region', 'admin_certs', etc. Default responses will not include these fields. // // **This parameter will not work on *imported* components.** // // It's recommended to use `cache=skip` as well if up-to-date deployment data is needed. DeploymentAttrs *string `json:"deployment_attrs,omitempty"` // Set to 'included' if the response should include parsed PEM data along with base 64 encoded PEM string. Parsed // certificate data will include fields such as the serial number, issuer, expiration, subject, subject alt names, etc. // Default responses will not include these fields. ParsedCerts *string `json:"parsed_certs,omitempty"` // Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response // times if the cache is skipped. Default responses will use the cache. Cache *string `json:"cache,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetComponentsByTypeOptions : The GetComponentsByType options.
func (*GetComponentsByTypeOptions) SetCache ¶
func (options *GetComponentsByTypeOptions) SetCache(cache string) *GetComponentsByTypeOptions
SetCache : Allow user to set Cache
func (*GetComponentsByTypeOptions) SetDeploymentAttrs ¶
func (options *GetComponentsByTypeOptions) SetDeploymentAttrs(deploymentAttrs string) *GetComponentsByTypeOptions
SetDeploymentAttrs : Allow user to set DeploymentAttrs
func (*GetComponentsByTypeOptions) SetHeaders ¶
func (options *GetComponentsByTypeOptions) SetHeaders(param map[string]string) *GetComponentsByTypeOptions
SetHeaders : Allow user to set Headers
func (*GetComponentsByTypeOptions) SetParsedCerts ¶
func (options *GetComponentsByTypeOptions) SetParsedCerts(parsedCerts string) *GetComponentsByTypeOptions
SetParsedCerts : Allow user to set ParsedCerts
func (*GetComponentsByTypeOptions) SetType ¶
func (options *GetComponentsByTypeOptions) SetType(typeVar string) *GetComponentsByTypeOptions
SetType : Allow user to set Type
type GetFabVersionsOptions ¶
type GetFabVersionsOptions struct { // Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response // times if the cache is skipped. Default responses will use the cache. Cache *string `json:"cache,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetFabVersionsOptions : The GetFabVersions options.
func (*GetFabVersionsOptions) SetCache ¶
func (options *GetFabVersionsOptions) SetCache(cache string) *GetFabVersionsOptions
SetCache : Allow user to set Cache
func (*GetFabVersionsOptions) SetHeaders ¶
func (options *GetFabVersionsOptions) SetHeaders(param map[string]string) *GetFabVersionsOptions
SetHeaders : Allow user to set Headers
type GetFabricVersionsResponse ¶
type GetFabricVersionsResponse struct {
Versions *GetFabricVersionsResponseVersions `json:"versions,omitempty"`
}
GetFabricVersionsResponse : GetFabricVersionsResponse struct
type GetFabricVersionsResponseVersions ¶
type GetFabricVersionsResponseVersions struct { // A supported release of Fabric for this component type. Ca *FabricVersionDictionary `json:"ca,omitempty"` // A supported release of Fabric for this component type. Peer *FabricVersionDictionary `json:"peer,omitempty"` // A supported release of Fabric for this component type. Orderer *FabricVersionDictionary `json:"orderer,omitempty"` }
GetFabricVersionsResponseVersions : GetFabricVersionsResponseVersions struct
type GetHealthOptions ¶
type GetHealthOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetHealthOptions : The GetHealth options.
func (*GetHealthOptions) SetHeaders ¶
func (options *GetHealthOptions) SetHeaders(param map[string]string) *GetHealthOptions
SetHeaders : Allow user to set Headers
type GetMSPCertificateResponse ¶
type GetMSPCertificateResponse struct {
Msps []MspPublicData `json:"msps,omitempty"`
}
GetMSPCertificateResponse : GetMSPCertificateResponse struct
type GetMspCertificateOptions ¶
type GetMspCertificateOptions struct { // The `msp_id` to fetch. MspID *string `json:"msp_id" validate:"required,ne="` // Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response // times if the cache is skipped. Default responses will use the cache. Cache *string `json:"cache,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetMspCertificateOptions : The GetMspCertificate options.
func (*GetMspCertificateOptions) SetCache ¶
func (options *GetMspCertificateOptions) SetCache(cache string) *GetMspCertificateOptions
SetCache : Allow user to set Cache
func (*GetMspCertificateOptions) SetHeaders ¶
func (options *GetMspCertificateOptions) SetHeaders(param map[string]string) *GetMspCertificateOptions
SetHeaders : Allow user to set Headers
func (*GetMspCertificateOptions) SetMspID ¶
func (options *GetMspCertificateOptions) SetMspID(mspID string) *GetMspCertificateOptions
SetMspID : Allow user to set MspID
type GetMultiComponentsResponse ¶
type GetMultiComponentsResponse struct { // Array of components the UI has onboarded. Components []GenericComponentResponse `json:"components,omitempty"` }
GetMultiComponentsResponse : Contains the details of multiple components the UI has onboarded.
type GetNotificationsResponse ¶
type GetNotificationsResponse struct { // Number of notifications in database. Total *float64 `json:"total,omitempty"` // Number of notifications returned. Returning *float64 `json:"returning,omitempty"` // This array is ordered by creation date. Notifications []NotificationData `json:"notifications,omitempty"` }
GetNotificationsResponse : GetNotificationsResponse struct
type GetPostmanOptions ¶
type GetPostmanOptions struct { // - **bearer** - IAM Bearer Auth - *[Available on IBM Cloud]* - The same bearer token used to authenticate this // request will be copied into the Postman collection examples. The query parameter `token` must also be set with your // IAM bearer/access token value. // - **api_key** - IAM Api Key Auth - *[Available on IBM Cloud]* - The IAM api key will be copied into the Postman // collection examples. The query parameter `api_key` must also be set with your IAM API Key value. // - **basic** - Basic Auth - *[Available on OpenShift & IBM Cloud Private]* - A basic auth username and password will // be copied into the Postman collection examples. The query parameters `username` & `password` must also be set with // your IBP api key credentials. The IBP api key is the username and the api secret is the password. AuthType *string `json:"auth_type" validate:"required"` // The IAM access/bearer token to use for auth in the collection. Token *string `json:"token,omitempty"` // The IAM api key to use for auth in the collection. ApiKey *string `json:"api_key,omitempty"` // The basic auth username to use for auth in the collection. Username *string `json:"username,omitempty"` // The basic auth password to use for auth in the collection. Password *string `json:"password,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetPostmanOptions : The GetPostman options.
func (*GetPostmanOptions) SetApiKey ¶
func (options *GetPostmanOptions) SetApiKey(apiKey string) *GetPostmanOptions
SetApiKey : Allow user to set ApiKey
func (*GetPostmanOptions) SetAuthType ¶
func (options *GetPostmanOptions) SetAuthType(authType string) *GetPostmanOptions
SetAuthType : Allow user to set AuthType
func (*GetPostmanOptions) SetHeaders ¶
func (options *GetPostmanOptions) SetHeaders(param map[string]string) *GetPostmanOptions
SetHeaders : Allow user to set Headers
func (*GetPostmanOptions) SetPassword ¶
func (options *GetPostmanOptions) SetPassword(password string) *GetPostmanOptions
SetPassword : Allow user to set Password
func (*GetPostmanOptions) SetToken ¶
func (options *GetPostmanOptions) SetToken(token string) *GetPostmanOptions
SetToken : Allow user to set Token
func (*GetPostmanOptions) SetUsername ¶
func (options *GetPostmanOptions) SetUsername(username string) *GetPostmanOptions
SetUsername : Allow user to set Username
type GetPublicSettingsResponse ¶
type GetPublicSettingsResponse struct { // The path to the activity tracker file. This file holds details of all activity. Defaults to '?' (disabled). ACTIVITYTRACKERPATH *string `json:"ACTIVITY_TRACKER_PATH,omitempty"` // Random/unique id for the process running the IBP console server. ATHENAID *string `json:"ATHENA_ID,omitempty"` // The type of auth protecting the UI. AUTHSCHEME *string `json:"AUTH_SCHEME,omitempty"` // Route used for an SSO callback uri. Only used if AUTH_SCHEME is "iam". CALLBACKURI *string `json:"CALLBACK_URI,omitempty"` CLUSTERDATA *GetPublicSettingsResponseCLUSTERDATA `json:"CLUSTER_DATA,omitempty"` // URL used for a configtxlator rest server. CONFIGTXLATORURL *string `json:"CONFIGTXLATOR_URL,omitempty"` // metadata about the IBM Cloud service instance. [Only populated if using IBM Cloud]. CRN *GetPublicSettingsResponseCRN `json:"CRN,omitempty"` CRNSTRING *string `json:"CRN_STRING,omitempty"` // array of strings that define the Content Security Policy headers for the IBP console. CSPHEADERVALUES []string `json:"CSP_HEADER_VALUES,omitempty"` // The id of the database for internal documents. DBSYSTEM *string `json:"DB_SYSTEM,omitempty"` // URL of the companion application for the IBP console. DEPLOYERURL *string `json:"DEPLOYER_URL,omitempty"` // Browser cookies will use this value for their domain property. Thus it should match the URL's domain in the browser. // `null` is valid if serving over http. DOMAIN *string `json:"DOMAIN,omitempty"` // Either "dev" "staging" or "prod". Controls different security settings and minor things such as the amount of time // to cache content. ENVIRONMENT *string `json:"ENVIRONMENT,omitempty"` // Contains the Hyperledger Fabric capabilities flags that should be used. FABRICCAPABILITIES *GetPublicSettingsResponseFABRICCAPABILITIES `json:"FABRIC_CAPABILITIES,omitempty"` // Configures th IBP console to enable/disable features. FEATUREFLAGS interface{} `json:"FEATURE_FLAGS,omitempty"` // File logging settings. FILELOGGING *GetPublicSettingsResponseFILELOGGING `json:"FILE_LOGGING,omitempty"` // The external URL to reach the IBP console. HOSTURL *string `json:"HOST_URL,omitempty"` // If true an in memory cache will be used to interface with the IBM IAM (an authorization) service. [Only applies if // IBP is running in IBM Cloud]. IAMCACHEENABLED *bool `json:"IAM_CACHE_ENABLED,omitempty"` // The URL to reach the IBM IAM service. [Only applies if IBP is running in IBM Cloud]. IAMURL *string `json:"IAM_URL,omitempty"` // The URL to use during SSO login with the IBM IAM service. [Only applies if IBP is running in IBM Cloud]. IBMIDCALLBACKURL *string `json:"IBM_ID_CALLBACK_URL,omitempty"` // If true the config file will not be loaded during startup. Thus settings in the config file will not take effect. IGNORECONFIGFILE *bool `json:"IGNORE_CONFIG_FILE,omitempty"` INACTIVITYTIMEOUTS *GetPublicSettingsResponseINACTIVITYTIMEOUTS `json:"INACTIVITY_TIMEOUTS,omitempty"` // What type of infrastructure is being used to run the IBP console. "ibmcloud", "azure", "other". INFRASTRUCTURE *string `json:"INFRASTRUCTURE,omitempty"` LANDINGURL *string `json:"LANDING_URL,omitempty"` // path for user login. LOGINURI *string `json:"LOGIN_URI,omitempty"` // path for user logout. LOGOUTURI *string `json:"LOGOUT_URI,omitempty"` // The number of `/api/_*` requests per minute to allow. Exceeding this limit results in 429 error responses. MAXREQPERMIN *float64 `json:"MAX_REQ_PER_MIN,omitempty"` // The number of `/ak/api/_*` requests per minute to allow. Exceeding this limit results in 429 error responses. MAXREQPERMINAK *float64 `json:"MAX_REQ_PER_MIN_AK,omitempty"` // If true an in memory cache will be used against couchdb requests. MEMORYCACHEENABLED *bool `json:"MEMORY_CACHE_ENABLED,omitempty"` // Internal port that IBP console is running on. PORT *float64 `json:"PORT,omitempty"` // If true an in memory cache will be used for internal proxy requests. PROXYCACHEENABLED *bool `json:"PROXY_CACHE_ENABLED,omitempty"` // If `"always"` requests to Fabric components will go through the IBP console server. If `true` requests to Fabric // components with IP based URLs will go through the IBP console server, while Fabric components with hostname based // URLs will go directly from the browser to the component. If `false` all requests to Fabric components will go // directly from the browser to the component. PROXYTLSFABRICREQS *string `json:"PROXY_TLS_FABRIC_REQS,omitempty"` // The URL to use to proxy an http request to a Fabric component. PROXYTLSHTTPURL *string `json:"PROXY_TLS_HTTP_URL,omitempty"` // The URL to use to proxy WebSocket request to a Fabric component. PROXYTLSWSURL *string `json:"PROXY_TLS_WS_URL,omitempty"` // If it's "local", things like https are disabled. REGION *string `json:"REGION,omitempty"` // If true an in memory cache will be used for browser session data. SESSIONCACHEENABLED *bool `json:"SESSION_CACHE_ENABLED,omitempty"` // Various timeouts for different Fabric operations. TIMEOUTS interface{} `json:"TIMEOUTS,omitempty"` TIMESTAMPS *SettingsTimestampData `json:"TIMESTAMPS,omitempty"` // Controls if Fabric transaction details are visible on the UI. TRANSACTIONVISIBILITY interface{} `json:"TRANSACTION_VISIBILITY,omitempty"` // Controls if proxy headers such as `X-Forwarded-*` should be parsed to gather data such as the client's IP. TRUSTPROXY *string `json:"TRUST_PROXY,omitempty"` // Controls if signatures in a signature collection APIs should skip verification or not. TRUSTUNKNOWNCERTS *bool `json:"TRUST_UNKNOWN_CERTS,omitempty"` // The various commit hashes of components powering this IBP console. VERSIONS *GetPublicSettingsResponseVERSIONS `json:"VERSIONS,omitempty"` }
GetPublicSettingsResponse : Contains the details of all public settings for the UI.
type GetPublicSettingsResponseCLUSTERDATA ¶
type GetPublicSettingsResponseCLUSTERDATA struct { // Indicates whether this is a paid or free IBP console. Type *string `json:"type,omitempty"` }
GetPublicSettingsResponseCLUSTERDATA : GetPublicSettingsResponseCLUSTERDATA struct
type GetPublicSettingsResponseCRN ¶
type GetPublicSettingsResponseCRN struct { AccountID *string `json:"account_id,omitempty"` CName *string `json:"c_name,omitempty"` CType *string `json:"c_type,omitempty"` InstanceID *string `json:"instance_id,omitempty"` Location *string `json:"location,omitempty"` ResourceID *string `json:"resource_id,omitempty"` ResourceType *string `json:"resource_type,omitempty"` ServiceName *string `json:"service_name,omitempty"` Version *string `json:"version,omitempty"` }
GetPublicSettingsResponseCRN : metadata about the IBM Cloud service instance. [Only populated if using IBM Cloud].
type GetPublicSettingsResponseFABRICCAPABILITIES ¶
type GetPublicSettingsResponseFABRICCAPABILITIES struct { Application []string `json:"application,omitempty"` Channel []string `json:"channel,omitempty"` Orderer []string `json:"orderer,omitempty"` }
GetPublicSettingsResponseFABRICCAPABILITIES : Contains the Hyperledger Fabric capabilities flags that should be used.
type GetPublicSettingsResponseFILELOGGING ¶
type GetPublicSettingsResponseFILELOGGING struct { // The logging settings for the client and server. Server *LogSettingsResponse `json:"server,omitempty"` // The logging settings for the client and server. Client *LogSettingsResponse `json:"client,omitempty"` }
GetPublicSettingsResponseFILELOGGING : File logging settings.
type GetPublicSettingsResponseINACTIVITYTIMEOUTS ¶
type GetPublicSettingsResponseINACTIVITYTIMEOUTS struct { Enabled *bool `json:"enabled,omitempty"` // How long to wait before auto-logging out a user. In milliseconds. MaxIdleTime *float64 `json:"max_idle_time,omitempty"` }
GetPublicSettingsResponseINACTIVITYTIMEOUTS : GetPublicSettingsResponseINACTIVITYTIMEOUTS struct
type GetPublicSettingsResponseVERSIONS ¶
type GetPublicSettingsResponseVERSIONS struct { // The commit hash of Apollo code (front-end). Apollo *string `json:"apollo,omitempty"` // The commit hash of Athena code (back-end). Athena *string `json:"athena,omitempty"` // The commit hash of Stitch code (fabric-sdk). Stitch *string `json:"stitch,omitempty"` // The tag of the build powering this IBP console. Tag *string `json:"tag,omitempty"` }
GetPublicSettingsResponseVERSIONS : The various commit hashes of components powering this IBP console.
type GetSettingsOptions ¶
type GetSettingsOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetSettingsOptions : The GetSettings options.
func (*GetSettingsOptions) SetHeaders ¶
func (options *GetSettingsOptions) SetHeaders(param map[string]string) *GetSettingsOptions
SetHeaders : Allow user to set Headers
type GetSwaggerOptions ¶
type GetSwaggerOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetSwaggerOptions : The GetSwagger options.
func (*GetSwaggerOptions) SetHeaders ¶
func (options *GetSwaggerOptions) SetHeaders(param map[string]string) *GetSwaggerOptions
SetHeaders : Allow user to set Headers
type Hsm ¶
type Hsm struct { // The url to the HSM. Include the protocol, hostname, and port. Pkcs11endpoint *string `json:"pkcs11endpoint" validate:"required"` }
Hsm : The connection details of the HSM (Hardware Security Module).
type IdentityAttrs ¶
type IdentityAttrs struct { HfRegistrarRoles *string `json:"hf.Registrar.Roles,omitempty"` HfRegistrarDelegateRoles *string `json:"hf.Registrar.DelegateRoles,omitempty"` HfRevoker *bool `json:"hf.Revoker,omitempty"` // If `true` the CA **can** be an intermediate CA. HfIntermediateCA *bool `json:"hf.IntermediateCA,omitempty"` HfGenCRL *bool `json:"hf.GenCRL,omitempty"` HfRegistrarAttributes *string `json:"hf.Registrar.Attributes,omitempty"` HfAffiliationMgr *bool `json:"hf.AffiliationMgr,omitempty"` }
IdentityAttrs : IdentityAttrs struct
type ImportCaBodyMsp ¶
type ImportCaBodyMsp struct { Ca *ImportCaBodyMspCa `json:"ca" validate:"required"` Tlsca *ImportCaBodyMspTlsca `json:"tlsca" validate:"required"` Component *ImportCaBodyMspComponent `json:"component" validate:"required"` }
ImportCaBodyMsp : ImportCaBodyMsp struct
type ImportCaBodyMspCa ¶
type ImportCaBodyMspCa struct { // The "name" to distinguish this CA from the TLS CA. Name *string `json:"name" validate:"required"` // An array that contains one or more base 64 encoded PEM root certificates for the CA. RootCerts []string `json:"root_certs,omitempty"` }
ImportCaBodyMspCa : ImportCaBodyMspCa struct
type ImportCaBodyMspComponent ¶
type ImportCaBodyMspComponent struct { // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert" validate:"required"` }
ImportCaBodyMspComponent : ImportCaBodyMspComponent struct
type ImportCaBodyMspTlsca ¶
type ImportCaBodyMspTlsca struct { // The "name" to distinguish this CA from the other CA. Name *string `json:"name" validate:"required"` // An array that contains one or more base 64 encoded PEM root certificates for the TLS CA. RootCerts []string `json:"root_certs,omitempty"` }
ImportCaBodyMspTlsca : ImportCaBodyMspTlsca struct
type ImportCaOptions ¶
type ImportCaOptions struct { // A descriptive name for this component. DisplayName *string `json:"display_name" validate:"required"` // The URL for the CA. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url" validate:"required"` Msp *ImportCaBodyMsp `json:"msp" validate:"required"` // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` // The operations URL for the CA. Include the protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` Tags []string `json:"tags,omitempty"` // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ImportCaOptions : The ImportCa options.
func (*ImportCaOptions) SetApiURL ¶
func (options *ImportCaOptions) SetApiURL(apiURL string) *ImportCaOptions
SetApiURL : Allow user to set ApiURL
func (*ImportCaOptions) SetDisplayName ¶
func (options *ImportCaOptions) SetDisplayName(displayName string) *ImportCaOptions
SetDisplayName : Allow user to set DisplayName
func (*ImportCaOptions) SetHeaders ¶
func (options *ImportCaOptions) SetHeaders(param map[string]string) *ImportCaOptions
SetHeaders : Allow user to set Headers
func (*ImportCaOptions) SetID ¶
func (options *ImportCaOptions) SetID(id string) *ImportCaOptions
SetID : Allow user to set ID
func (*ImportCaOptions) SetLocation ¶
func (options *ImportCaOptions) SetLocation(location string) *ImportCaOptions
SetLocation : Allow user to set Location
func (*ImportCaOptions) SetMsp ¶
func (options *ImportCaOptions) SetMsp(msp *ImportCaBodyMsp) *ImportCaOptions
SetMsp : Allow user to set Msp
func (*ImportCaOptions) SetOperationsURL ¶
func (options *ImportCaOptions) SetOperationsURL(operationsURL string) *ImportCaOptions
SetOperationsURL : Allow user to set OperationsURL
func (*ImportCaOptions) SetTags ¶
func (options *ImportCaOptions) SetTags(tags []string) *ImportCaOptions
SetTags : Allow user to set Tags
func (*ImportCaOptions) SetTlsCert ¶
func (options *ImportCaOptions) SetTlsCert(tlsCert string) *ImportCaOptions
SetTlsCert : Allow user to set TlsCert
type ImportMspOptions ¶
type ImportMspOptions struct { // The MSP id that is related to this component. MspID *string `json:"msp_id" validate:"required"` // A descriptive name for this MSP. The IBP console tile displays this name. DisplayName *string `json:"display_name" validate:"required"` // An array that contains one or more base 64 encoded PEM root certificates for the MSP. RootCerts []string `json:"root_certs" validate:"required"` // An array that contains base 64 encoded PEM intermediate certificates. IntermediateCerts []string `json:"intermediate_certs,omitempty"` // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. Admins []string `json:"admins,omitempty"` // An array that contains one or more base 64 encoded PEM TLS root certificates. TlsRootCerts []string `json:"tls_root_certs,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ImportMspOptions : The ImportMsp options.
func (*ImportMspOptions) SetAdmins ¶
func (options *ImportMspOptions) SetAdmins(admins []string) *ImportMspOptions
SetAdmins : Allow user to set Admins
func (*ImportMspOptions) SetDisplayName ¶
func (options *ImportMspOptions) SetDisplayName(displayName string) *ImportMspOptions
SetDisplayName : Allow user to set DisplayName
func (*ImportMspOptions) SetHeaders ¶
func (options *ImportMspOptions) SetHeaders(param map[string]string) *ImportMspOptions
SetHeaders : Allow user to set Headers
func (*ImportMspOptions) SetIntermediateCerts ¶
func (options *ImportMspOptions) SetIntermediateCerts(intermediateCerts []string) *ImportMspOptions
SetIntermediateCerts : Allow user to set IntermediateCerts
func (*ImportMspOptions) SetMspID ¶
func (options *ImportMspOptions) SetMspID(mspID string) *ImportMspOptions
SetMspID : Allow user to set MspID
func (*ImportMspOptions) SetRootCerts ¶
func (options *ImportMspOptions) SetRootCerts(rootCerts []string) *ImportMspOptions
SetRootCerts : Allow user to set RootCerts
func (*ImportMspOptions) SetTlsRootCerts ¶
func (options *ImportMspOptions) SetTlsRootCerts(tlsRootCerts []string) *ImportMspOptions
SetTlsRootCerts : Allow user to set TlsRootCerts
type ImportOrdererOptions ¶
type ImportOrdererOptions struct { // A descriptive name for the ordering service. The parent IBP console orderer tile displays this name. ClusterName *string `json:"cluster_name" validate:"required"` // A descriptive base name for each ordering node. One or more child IBP console tiles display this name. DisplayName *string `json:"display_name" validate:"required"` // The gRPC web proxy URL in front of the orderer. Include the protocol, hostname/ip and port. GrpcwpURL *string `json:"grpcwp_url" validate:"required"` // The msp crypto data. Msp *MspCryptoField `json:"msp" validate:"required"` // The MSP id that is related to this component. MspID *string `json:"msp_id" validate:"required"` // The gRPC URL for the orderer. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url,omitempty"` // A unique id to identify this ordering service cluster. ClusterID *string `json:"cluster_id,omitempty"` // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` // Used by Fabric health checker to monitor the health status of this orderer node. For more information, see [Fabric // documentation](https://hyperledger-fabric.readthedocs.io/en/release-1.4/operations_service.html). Include the // protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` // The name of the system channel. Defaults to `testchainid`. SystemChannelID *string `json:"system_channel_id,omitempty"` Tags []string `json:"tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ImportOrdererOptions : The ImportOrderer options.
func (*ImportOrdererOptions) SetApiURL ¶
func (options *ImportOrdererOptions) SetApiURL(apiURL string) *ImportOrdererOptions
SetApiURL : Allow user to set ApiURL
func (*ImportOrdererOptions) SetClusterID ¶
func (options *ImportOrdererOptions) SetClusterID(clusterID string) *ImportOrdererOptions
SetClusterID : Allow user to set ClusterID
func (*ImportOrdererOptions) SetClusterName ¶
func (options *ImportOrdererOptions) SetClusterName(clusterName string) *ImportOrdererOptions
SetClusterName : Allow user to set ClusterName
func (*ImportOrdererOptions) SetDisplayName ¶
func (options *ImportOrdererOptions) SetDisplayName(displayName string) *ImportOrdererOptions
SetDisplayName : Allow user to set DisplayName
func (*ImportOrdererOptions) SetGrpcwpURL ¶
func (options *ImportOrdererOptions) SetGrpcwpURL(grpcwpURL string) *ImportOrdererOptions
SetGrpcwpURL : Allow user to set GrpcwpURL
func (*ImportOrdererOptions) SetHeaders ¶
func (options *ImportOrdererOptions) SetHeaders(param map[string]string) *ImportOrdererOptions
SetHeaders : Allow user to set Headers
func (*ImportOrdererOptions) SetID ¶
func (options *ImportOrdererOptions) SetID(id string) *ImportOrdererOptions
SetID : Allow user to set ID
func (*ImportOrdererOptions) SetLocation ¶
func (options *ImportOrdererOptions) SetLocation(location string) *ImportOrdererOptions
SetLocation : Allow user to set Location
func (*ImportOrdererOptions) SetMsp ¶
func (options *ImportOrdererOptions) SetMsp(msp *MspCryptoField) *ImportOrdererOptions
SetMsp : Allow user to set Msp
func (*ImportOrdererOptions) SetMspID ¶
func (options *ImportOrdererOptions) SetMspID(mspID string) *ImportOrdererOptions
SetMspID : Allow user to set MspID
func (*ImportOrdererOptions) SetOperationsURL ¶
func (options *ImportOrdererOptions) SetOperationsURL(operationsURL string) *ImportOrdererOptions
SetOperationsURL : Allow user to set OperationsURL
func (*ImportOrdererOptions) SetSystemChannelID ¶
func (options *ImportOrdererOptions) SetSystemChannelID(systemChannelID string) *ImportOrdererOptions
SetSystemChannelID : Allow user to set SystemChannelID
func (*ImportOrdererOptions) SetTags ¶
func (options *ImportOrdererOptions) SetTags(tags []string) *ImportOrdererOptions
SetTags : Allow user to set Tags
type ImportPeerOptions ¶
type ImportPeerOptions struct { // A descriptive name for this peer. The IBP console tile displays this name. DisplayName *string `json:"display_name" validate:"required"` // The gRPC web proxy URL in front of the peer. Include the protocol, hostname/ip and port. GrpcwpURL *string `json:"grpcwp_url" validate:"required"` // The msp crypto data. Msp *MspCryptoField `json:"msp" validate:"required"` // The MSP id that is related to this component. MspID *string `json:"msp_id" validate:"required"` // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // The gRPC URL for the peer. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` // Used by Fabric health checker to monitor the health status of this peer. For more information, see [Fabric // documentation](https://hyperledger-fabric.readthedocs.io/en/release-1.4/operations_service.html). Include the // protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` Tags []string `json:"tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ImportPeerOptions : The ImportPeer options.
func (*ImportPeerOptions) SetApiURL ¶
func (options *ImportPeerOptions) SetApiURL(apiURL string) *ImportPeerOptions
SetApiURL : Allow user to set ApiURL
func (*ImportPeerOptions) SetDisplayName ¶
func (options *ImportPeerOptions) SetDisplayName(displayName string) *ImportPeerOptions
SetDisplayName : Allow user to set DisplayName
func (*ImportPeerOptions) SetGrpcwpURL ¶
func (options *ImportPeerOptions) SetGrpcwpURL(grpcwpURL string) *ImportPeerOptions
SetGrpcwpURL : Allow user to set GrpcwpURL
func (*ImportPeerOptions) SetHeaders ¶
func (options *ImportPeerOptions) SetHeaders(param map[string]string) *ImportPeerOptions
SetHeaders : Allow user to set Headers
func (*ImportPeerOptions) SetID ¶
func (options *ImportPeerOptions) SetID(id string) *ImportPeerOptions
SetID : Allow user to set ID
func (*ImportPeerOptions) SetLocation ¶
func (options *ImportPeerOptions) SetLocation(location string) *ImportPeerOptions
SetLocation : Allow user to set Location
func (*ImportPeerOptions) SetMsp ¶
func (options *ImportPeerOptions) SetMsp(msp *MspCryptoField) *ImportPeerOptions
SetMsp : Allow user to set Msp
func (*ImportPeerOptions) SetMspID ¶
func (options *ImportPeerOptions) SetMspID(mspID string) *ImportPeerOptions
SetMspID : Allow user to set MspID
func (*ImportPeerOptions) SetOperationsURL ¶
func (options *ImportPeerOptions) SetOperationsURL(operationsURL string) *ImportPeerOptions
SetOperationsURL : Allow user to set OperationsURL
func (*ImportPeerOptions) SetTags ¶
func (options *ImportPeerOptions) SetTags(tags []string) *ImportPeerOptions
SetTags : Allow user to set Tags
type ListComponentsOptions ¶
type ListComponentsOptions struct { // Set to 'included' if the response should include Kubernetes deployment attributes such as 'resources', 'storage', // 'zone', 'region', 'admin_certs', etc. Default responses will not include these fields. // // **This parameter will not work on *imported* components.** // // It's recommended to use `cache=skip` as well if up-to-date deployment data is needed. DeploymentAttrs *string `json:"deployment_attrs,omitempty"` // Set to 'included' if the response should include parsed PEM data along with base 64 encoded PEM string. Parsed // certificate data will include fields such as the serial number, issuer, expiration, subject, subject alt names, etc. // Default responses will not include these fields. ParsedCerts *string `json:"parsed_certs,omitempty"` // Set to 'skip' if the response should skip local data and fetch live data wherever possible. Expect longer response // times if the cache is skipped. Default responses will use the cache. Cache *string `json:"cache,omitempty"` // Set to 'included' if the response should fetch CA attributes, inspect certificates, and append extra fields to CA // and MSP component responses. // - CA components will have fields appended/updated with data fetched from the `/cainfo?ca=ca` endpoint of a CA, such // as: `ca_name`, `root_cert`, `fabric_version`, `issuer_public_key` and `issued_known_msps`. The field // `issued_known_msps` indicates imported IBP MSPs that this CA has issued. Meaning the MSP's root cert contains a // signature that is derived from this CA's root cert. Only imported MSPs are checked. Default responses will not // include these fields. // - MSP components will have the field `issued_by_ca_id` appended. This field indicates the id of an IBP console CA // that issued this MSP. Meaning the MSP's root cert contains a signature that is derived from this CA's root cert. // Only imported/created CAs are checked. Default responses will not include these fields. CaAttrs *string `json:"ca_attrs,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListComponentsOptions : The ListComponents options.
func (*ListComponentsOptions) SetCaAttrs ¶
func (options *ListComponentsOptions) SetCaAttrs(caAttrs string) *ListComponentsOptions
SetCaAttrs : Allow user to set CaAttrs
func (*ListComponentsOptions) SetCache ¶
func (options *ListComponentsOptions) SetCache(cache string) *ListComponentsOptions
SetCache : Allow user to set Cache
func (*ListComponentsOptions) SetDeploymentAttrs ¶
func (options *ListComponentsOptions) SetDeploymentAttrs(deploymentAttrs string) *ListComponentsOptions
SetDeploymentAttrs : Allow user to set DeploymentAttrs
func (*ListComponentsOptions) SetHeaders ¶
func (options *ListComponentsOptions) SetHeaders(param map[string]string) *ListComponentsOptions
SetHeaders : Allow user to set Headers
func (*ListComponentsOptions) SetParsedCerts ¶
func (options *ListComponentsOptions) SetParsedCerts(parsedCerts string) *ListComponentsOptions
SetParsedCerts : Allow user to set ParsedCerts
type ListNotificationsOptions ¶
type ListNotificationsOptions struct { // The number of notifications to return. The default value is 100. Limit *float64 `json:"limit,omitempty"` // `skip` is used to paginate through a long list of sorted entries. For example, if there are 100 notifications, you // can issue the API with limit=10 and skip=0 to get the first 1-10. To get the next 10, you can set limit=10 and // skip=10 so that the values of entries 11-20 are returned. Skip *float64 `json:"skip,omitempty"` // Filter response to only contain notifications for a particular component id. The default response will include all // notifications. ComponentID *string `json:"component_id,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListNotificationsOptions : The ListNotifications options.
func (*ListNotificationsOptions) SetComponentID ¶
func (options *ListNotificationsOptions) SetComponentID(componentID string) *ListNotificationsOptions
SetComponentID : Allow user to set ComponentID
func (*ListNotificationsOptions) SetHeaders ¶
func (options *ListNotificationsOptions) SetHeaders(param map[string]string) *ListNotificationsOptions
SetHeaders : Allow user to set Headers
func (*ListNotificationsOptions) SetLimit ¶
func (options *ListNotificationsOptions) SetLimit(limit float64) *ListNotificationsOptions
SetLimit : Allow user to set Limit
func (*ListNotificationsOptions) SetSkip ¶
func (options *ListNotificationsOptions) SetSkip(skip float64) *ListNotificationsOptions
SetSkip : Allow user to set Skip
type LogSettingsResponse ¶
type LogSettingsResponse struct { // The client side (browser) logging settings. _Changes to this field will restart the IBP console server(s)_. Client *LoggingSettingsClient `json:"client,omitempty"` // The server side logging settings. _Changes to this field will restart the IBP console server(s)_. Server *LoggingSettingsServer `json:"server,omitempty"` }
LogSettingsResponse : The logging settings for the client and server.
type LoggingSettingsClient ¶
type LoggingSettingsClient struct { // If `true` logging will be stored to a file on the file system. Enabled *bool `json:"enabled,omitempty"` // Valid log levels: "error", "warn", "info", "verbose", "debug", or "silly". Level *string `json:"level,omitempty"` // If `true` log file names will have a random suffix. UniqueName *bool `json:"unique_name,omitempty"` }
LoggingSettingsClient : The client side (browser) logging settings. _Changes to this field will restart the IBP console server(s)_.
type LoggingSettingsServer ¶
type LoggingSettingsServer struct { // If `true` logging will be stored to a file on the file system. Enabled *bool `json:"enabled,omitempty"` // Valid log levels: "error", "warn", "info", "verbose", "debug", or "silly". Level *string `json:"level,omitempty"` // If `true` log file names will have a random suffix. UniqueName *bool `json:"unique_name,omitempty"` }
LoggingSettingsServer : The server side logging settings. _Changes to this field will restart the IBP console server(s)_.
type Metrics ¶
type Metrics struct { // Metrics provider to use. Can be either 'statsd', 'prometheus', or 'disabled'. Provider *string `json:"provider" validate:"required"` Statsd *MetricsStatsd `json:"statsd,omitempty"` }
Metrics : Metrics struct
type MetricsStatsd ¶
type MetricsStatsd struct { // Either UDP or TCP. Network *string `json:"network" validate:"required"` // The address of the statsd server. Include hostname/ip and port. Address *string `json:"address" validate:"required"` // The frequency at which locally cached counters and gauges are pushed to statsd. WriteInterval *string `json:"writeInterval" validate:"required"` // The string that is prepended to all emitted statsd metrics. Prefix *string `json:"prefix" validate:"required"` }
MetricsStatsd : MetricsStatsd struct
type MspCryptoCa ¶
type MspCryptoCa struct { // An array that contains one or more base 64 encoded PEM CA root certificates. RootCerts []string `json:"root_certs" validate:"required"` // An array that contains base 64 encoded PEM intermediate CA certificates. CaIntermediateCerts []string `json:"ca_intermediate_certs,omitempty"` }
MspCryptoCa : MspCryptoCa struct
type MspCryptoComp ¶
type MspCryptoComp struct { // An identity private key (base 64 encoded PEM) for this component (aka enrollment private key). Ekey *string `json:"ekey" validate:"required"` // An identity certificate (base 64 encoded PEM) for this component that was signed by the CA (aka enrollment // certificate). Ecert *string `json:"ecert" validate:"required"` // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. AdminCerts []string `json:"admin_certs,omitempty"` // A private key (base 64 encoded PEM) for this component's TLS. TlsKey *string `json:"tls_key" validate:"required"` // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert" validate:"required"` ClientAuth *ClientAuth `json:"client_auth,omitempty"` }
MspCryptoComp : MspCryptoComp struct
type MspCryptoField ¶
type MspCryptoField struct { Ca *MspCryptoFieldCa `json:"ca,omitempty"` Tlsca *MspCryptoFieldTlsca `json:"tlsca" validate:"required"` Component *MspCryptoFieldComponent `json:"component" validate:"required"` }
MspCryptoField : The msp crypto data.
type MspCryptoFieldCa ¶
type MspCryptoFieldCa struct { // The CA's "CAName" attribute. This name is used to distinguish this CA from the TLS CA. Name *string `json:"name,omitempty"` // An array that contains one or more base 64 encoded PEM CA root certificates. RootCerts []string `json:"root_certs,omitempty"` }
MspCryptoFieldCa : MspCryptoFieldCa struct
type MspCryptoFieldComponent ¶
type MspCryptoFieldComponent struct { // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert" validate:"required"` // An identity certificate (base 64 encoded PEM) for this component that was signed by the CA (aka enrollment // certificate). Ecert *string `json:"ecert,omitempty"` // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. AdminCerts []string `json:"admin_certs,omitempty"` }
MspCryptoFieldComponent : MspCryptoFieldComponent struct
type MspCryptoFieldTlsca ¶
type MspCryptoFieldTlsca struct { // The TLS CA's "CAName" attribute. This name is used to distinguish this TLS CA from the other CA. Name *string `json:"name,omitempty"` // An array that contains one or more base 64 encoded PEM root certificates for the TLS CA. RootCerts []string `json:"root_certs" validate:"required"` }
MspCryptoFieldTlsca : MspCryptoFieldTlsca struct
type MspPublicData ¶
type MspPublicData struct { // The MSP id that is related to this component. MspID *string `json:"msp_id,omitempty"` // An array that contains one or more base 64 encoded PEM root certificates for the MSP. RootCerts []string `json:"root_certs,omitempty"` // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. Admins []string `json:"admins,omitempty"` // An array that contains one or more base 64 encoded PEM TLS root certificates. TlsRootCerts []string `json:"tls_root_certs,omitempty"` }
MspPublicData : MspPublicData struct
type MspResponse ¶
type MspResponse struct { // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // The type of this component. Such as: "fabric-peer", "fabric-ca", "fabric-orderer", etc. Type *string `json:"type,omitempty"` // A descriptive name for this MSP. The IBP console tile displays this name. DisplayName *string `json:"display_name,omitempty"` // The MSP id that is related to this component. MspID *string `json:"msp_id,omitempty"` // UTC UNIX timestamp of component onboarding to the UI. In milliseconds. Timestamp *float64 `json:"timestamp,omitempty"` Tags []string `json:"tags,omitempty"` // An array that contains one or more base 64 encoded PEM root certificates for the MSP. RootCerts []string `json:"root_certs,omitempty"` // An array that contains base 64 encoded PEM intermediate certificates. IntermediateCerts []string `json:"intermediate_certs,omitempty"` // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. Admins []string `json:"admins,omitempty"` // The versioning of the IBP console format of this JSON. SchemeVersion *string `json:"scheme_version,omitempty"` // An array that contains one or more base 64 encoded PEM TLS root certificates. TlsRootCerts []string `json:"tls_root_certs,omitempty"` }
MspResponse : Contains the details of an MSP (Membership Service Provider).
type NodeOu ¶
type NodeOu struct { // Indicates if node OUs are enabled or not. Enabled *bool `json:"enabled,omitempty"` }
NodeOu : NodeOu struct
type NodeOuGeneral ¶
type NodeOuGeneral struct { // Indicates if node OUs are enabled or not. [Available on peer/orderer components w/query parameter // 'deployment_attrs']. Enabled *bool `json:"enabled,omitempty"` }
NodeOuGeneral : NodeOuGeneral struct
type NotificationData ¶
type NotificationData struct { // Unique id for the notification. ID *string `json:"id,omitempty"` // Values can be "notification", "webhook_tx" or "other". Type *string `json:"type,omitempty"` // Values can be "pending", "error", or "success". Status *string `json:"status,omitempty"` // The end user who initiated the action for the notification. By *string `json:"by,omitempty"` // Text describing the outcome of the transaction. Message *string `json:"message,omitempty"` // UTC UNIX timestamp of the notification's creation. In milliseconds. TsDisplay *float64 `json:"ts_display,omitempty"` }
NotificationData : NotificationData struct
type OrdererActionOptions ¶
type OrdererActionOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // Set to `true` to restart the component. Restart *bool `json:"restart,omitempty"` Reenroll *ActionReenroll `json:"reenroll,omitempty"` Enroll *ActionEnroll `json:"enroll,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
OrdererActionOptions : The OrdererAction options.
func (*OrdererActionOptions) SetEnroll ¶
func (options *OrdererActionOptions) SetEnroll(enroll *ActionEnroll) *OrdererActionOptions
SetEnroll : Allow user to set Enroll
func (*OrdererActionOptions) SetHeaders ¶
func (options *OrdererActionOptions) SetHeaders(param map[string]string) *OrdererActionOptions
SetHeaders : Allow user to set Headers
func (*OrdererActionOptions) SetID ¶
func (options *OrdererActionOptions) SetID(id string) *OrdererActionOptions
SetID : Allow user to set ID
func (*OrdererActionOptions) SetReenroll ¶
func (options *OrdererActionOptions) SetReenroll(reenroll *ActionReenroll) *OrdererActionOptions
SetReenroll : Allow user to set Reenroll
func (*OrdererActionOptions) SetRestart ¶
func (options *OrdererActionOptions) SetRestart(restart bool) *OrdererActionOptions
SetRestart : Allow user to set Restart
type OrdererResponse ¶
type OrdererResponse struct { // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // The unique id for the component in Kubernetes. Not available if component was imported. DepComponentID *string `json:"dep_component_id,omitempty"` // The gRPC URL for the orderer. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url,omitempty"` // A descriptive base name for each ordering node. One or more child IBP console tiles display this name. DisplayName *string `json:"display_name,omitempty"` // A unique id to identify this ordering service cluster. ClusterID *string `json:"cluster_id,omitempty"` // A descriptive name for the ordering service. The parent IBP console orderer tile displays this name. ClusterName *string `json:"cluster_name,omitempty"` // The gRPC web proxy URL in front of the orderer. Include the protocol, hostname/ip and port. GrpcwpURL *string `json:"grpcwp_url,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` // Used by Fabric health checker to monitor the health status of this orderer node. For more information, see [Fabric // documentation](https://hyperledger-fabric.readthedocs.io/en/release-1.4/operations_service.html). Include the // protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` // The type of Fabric orderer. Currently, only the type `"raft"` is supported. // [etcd/raft](/docs/blockchain?topic=blockchain-ibp-console-build-network#ibp-console-build-network-ordering-console). OrdererType *string `json:"orderer_type,omitempty"` // The **cached** configuration override that was set for the Kubernetes deployment. Field does not exist if an // override was not set of if the component was imported. ConfigOverride interface{} `json:"config_override,omitempty"` // The state of a pre-created orderer node. A value of `true` means that the orderer node was added as a system channel // consenter. This is a manual field. Set it yourself after finishing the raft append flow to indicate that this node // is ready for use. See the [Submit config block to orderer](#submit-block) API description for more details about // appending raft nodes. ConsenterProposalFin *bool `json:"consenter_proposal_fin,omitempty"` NodeOu *NodeOu `json:"node_ou,omitempty"` // The msp crypto data. Msp *MspCryptoField `json:"msp,omitempty"` // The MSP id that is related to this component. MspID *string `json:"msp_id,omitempty"` // The **cached** Kubernetes resource attributes for this component. Not available if orderer was imported. Resources *OrdererResponseResources `json:"resources,omitempty"` // The versioning of the IBP console format of this JSON. SchemeVersion *string `json:"scheme_version,omitempty"` // The **cached** Kubernetes storage attributes for this component. Not available if orderer was imported. Storage *OrdererResponseStorage `json:"storage,omitempty"` // The name of the system channel. Defaults to `testchainid`. SystemChannelID *string `json:"system_channel_id,omitempty"` Tags []string `json:"tags,omitempty"` // UTC UNIX timestamp of component onboarding to the UI. In milliseconds. Timestamp *float64 `json:"timestamp,omitempty"` // The type of this component. Such as: "fabric-peer", "fabric-ca", "fabric-orderer", etc. Type *string `json:"type,omitempty"` // The cached Hyperledger Fabric release version. Version *string `json:"version,omitempty"` // Specify the Kubernetes zone for the deployment. The deployment will use a k8s node in this zone. Find the list of // possible zones by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // information](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Zone *string `json:"zone,omitempty"` }
OrdererResponse : Contains the details of an ordering node.
type OrdererResponseResources ¶
type OrdererResponseResources struct { Orderer *GenericResources `json:"orderer,omitempty"` Proxy *GenericResources `json:"proxy,omitempty"` }
OrdererResponseResources : The **cached** Kubernetes resource attributes for this component. Not available if orderer was imported.
type OrdererResponseStorage ¶
type OrdererResponseStorage struct {
Orderer *StorageObject `json:"orderer,omitempty"`
}
OrdererResponseStorage : The **cached** Kubernetes storage attributes for this component. Not available if orderer was imported.
type PeerActionOptions ¶
type PeerActionOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // Set to `true` to restart the component. Restart *bool `json:"restart,omitempty"` Reenroll *ActionReenroll `json:"reenroll,omitempty"` Enroll *ActionEnroll `json:"enroll,omitempty"` // Set to `true` to start the peer's db migration. UpgradeDbs *bool `json:"upgrade_dbs,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
PeerActionOptions : The PeerAction options.
func (*PeerActionOptions) SetEnroll ¶
func (options *PeerActionOptions) SetEnroll(enroll *ActionEnroll) *PeerActionOptions
SetEnroll : Allow user to set Enroll
func (*PeerActionOptions) SetHeaders ¶
func (options *PeerActionOptions) SetHeaders(param map[string]string) *PeerActionOptions
SetHeaders : Allow user to set Headers
func (*PeerActionOptions) SetID ¶
func (options *PeerActionOptions) SetID(id string) *PeerActionOptions
SetID : Allow user to set ID
func (*PeerActionOptions) SetReenroll ¶
func (options *PeerActionOptions) SetReenroll(reenroll *ActionReenroll) *PeerActionOptions
SetReenroll : Allow user to set Reenroll
func (*PeerActionOptions) SetRestart ¶
func (options *PeerActionOptions) SetRestart(restart bool) *PeerActionOptions
SetRestart : Allow user to set Restart
func (*PeerActionOptions) SetUpgradeDbs ¶
func (options *PeerActionOptions) SetUpgradeDbs(upgradeDbs bool) *PeerActionOptions
SetUpgradeDbs : Allow user to set UpgradeDbs
type PeerResources ¶
type PeerResources struct { // This field requires the use of Fabric v2.1.* and higher. Chaincodelauncher *ResourceObjectFabV2 `json:"chaincodelauncher,omitempty"` // *Legacy field name* Use the field `statedb` instead. This field requires the use of Fabric v1.4.* and higher. Couchdb *ResourceObjectCouchDb `json:"couchdb,omitempty"` // This field requires the use of Fabric v1.4.* and higher. Statedb *ResourceObject `json:"statedb,omitempty"` // This field requires the use of Fabric v1.4.* and **lower**. Dind *ResourceObjectFabV1 `json:"dind,omitempty"` // This field requires the use of Fabric v1.4.* and **lower**. Fluentd *ResourceObjectFabV1 `json:"fluentd,omitempty"` // This field requires the use of Fabric v1.4.* and higher. Peer *ResourceObject `json:"peer,omitempty"` // This field requires the use of Fabric v1.4.* and higher. Proxy *ResourceObject `json:"proxy,omitempty"` }
PeerResources : CPU and memory properties. This feature is not available if using a free Kubernetes cluster.
type PeerResponse ¶
type PeerResponse struct { // The unique identifier of this component. Must start with a letter, be lowercase and only contain letters and // numbers. If `id` is not provide a component id will be generated using the field `display_name` as the base. ID *string `json:"id,omitempty"` // The unique id for the component in Kubernetes. Not available if component was imported. DepComponentID *string `json:"dep_component_id,omitempty"` // The gRPC URL for the peer. Typically, client applications would send requests to this URL. Include the protocol, // hostname/ip and port. ApiURL *string `json:"api_url,omitempty"` // A descriptive name for this peer. The IBP console tile displays this name. DisplayName *string `json:"display_name,omitempty"` // The gRPC web proxy URL in front of the peer. Include the protocol, hostname/ip and port. GrpcwpURL *string `json:"grpcwp_url,omitempty"` // Indicates where the component is running. Location *string `json:"location,omitempty"` // Used by Fabric health checker to monitor the health status of this peer. For more information, see [Fabric // documentation](https://hyperledger-fabric.readthedocs.io/en/release-1.4/operations_service.html). Include the // protocol, hostname/ip and port. OperationsURL *string `json:"operations_url,omitempty"` // The **cached** configuration override that was set for the Kubernetes deployment. Field does not exist if an // override was not set of if the component was imported. ConfigOverride interface{} `json:"config_override,omitempty"` NodeOu *NodeOu `json:"node_ou,omitempty"` // The msp crypto data. Msp *MspCryptoField `json:"msp,omitempty"` // The MSP id that is related to this component. MspID *string `json:"msp_id,omitempty"` // The **cached** Kubernetes resource attributes for this component. Not available if peer was imported. Resources *PeerResponseResources `json:"resources,omitempty"` // The versioning of the IBP console format of this JSON. SchemeVersion *string `json:"scheme_version,omitempty"` // Select the state database for the peer. Can be either "couchdb" or "leveldb". The default is "couchdb". StateDb *string `json:"state_db,omitempty"` // The **cached** Kubernetes storage attributes for this component. Not available if peer was imported. Storage *PeerResponseStorage `json:"storage,omitempty"` Tags []string `json:"tags,omitempty"` // UTC UNIX timestamp of component onboarding to the UI. In milliseconds. Timestamp *float64 `json:"timestamp,omitempty"` // The type of this component. Such as: "fabric-peer", "fabric-ca", "fabric-orderer", etc. Type *string `json:"type,omitempty"` // The cached Hyperledger Fabric release version. Version *string `json:"version,omitempty"` // Specify the Kubernetes zone for the deployment. The deployment will use a k8s node in this zone. Find the list of // possible zones by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // information](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Zone *string `json:"zone,omitempty"` }
PeerResponse : Contains the details of a peer.
type PeerResponseResources ¶
type PeerResponseResources struct { Peer *GenericResources `json:"peer,omitempty"` Proxy *GenericResources `json:"proxy,omitempty"` Statedb *GenericResources `json:"statedb,omitempty"` }
PeerResponseResources : The **cached** Kubernetes resource attributes for this component. Not available if peer was imported.
type PeerResponseStorage ¶
type PeerResponseStorage struct { Peer *StorageObject `json:"peer,omitempty"` Statedb *StorageObject `json:"statedb,omitempty"` }
PeerResponseStorage : The **cached** Kubernetes storage attributes for this component. Not available if peer was imported.
type RemoveComponentOptions ¶
type RemoveComponentOptions struct { // The `id` of the imported component to remove. Use the [Get all components](#list-components) API to determine the // component id. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
RemoveComponentOptions : The RemoveComponent options.
func (*RemoveComponentOptions) SetHeaders ¶
func (options *RemoveComponentOptions) SetHeaders(param map[string]string) *RemoveComponentOptions
SetHeaders : Allow user to set Headers
func (*RemoveComponentOptions) SetID ¶
func (options *RemoveComponentOptions) SetID(id string) *RemoveComponentOptions
SetID : Allow user to set ID
type RemoveComponentsByTagOptions ¶
type RemoveComponentsByTagOptions struct { // The tag to filter components on. Not case-sensitive. Tag *string `json:"tag" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
RemoveComponentsByTagOptions : The RemoveComponentsByTag options.
func (*RemoveComponentsByTagOptions) SetHeaders ¶
func (options *RemoveComponentsByTagOptions) SetHeaders(param map[string]string) *RemoveComponentsByTagOptions
SetHeaders : Allow user to set Headers
func (*RemoveComponentsByTagOptions) SetTag ¶
func (options *RemoveComponentsByTagOptions) SetTag(tag string) *RemoveComponentsByTagOptions
SetTag : Allow user to set Tag
type RemoveMultiComponentsResponse ¶
type RemoveMultiComponentsResponse struct {
Removed []DeleteComponentResponse `json:"removed,omitempty"`
}
RemoveMultiComponentsResponse : RemoveMultiComponentsResponse struct
type ResourceLimits ¶
type ResourceLimits struct { // Maximum CPU for subcomponent. Must be >= "requests.cpu". Defaults to the same value in "requests.cpu". [Resource // details](/docs/blockchain?topic=blockchain-ibp-console-govern-components#ibp-console-govern-components-allocate-resources). Cpu *string `json:"cpu,omitempty"` // Maximum memory for subcomponent. Must be >= "requests.memory". Defaults to the same value in "requests.memory". // [Resource // details](/docs/blockchain?topic=blockchain-ibp-console-govern-components#ibp-console-govern-components-allocate-resources). Memory *string `json:"memory,omitempty"` }
ResourceLimits : ResourceLimits struct
type ResourceObject ¶
type ResourceObject struct { Requests *ResourceRequests `json:"requests" validate:"required"` Limits *ResourceLimits `json:"limits,omitempty"` }
ResourceObject : This field requires the use of Fabric v1.4.* and higher.
type ResourceObjectCouchDb ¶
type ResourceObjectCouchDb struct { Requests *ResourceRequests `json:"requests" validate:"required"` Limits *ResourceLimits `json:"limits,omitempty"` }
ResourceObjectCouchDb : *Legacy field name* Use the field `statedb` instead. This field requires the use of Fabric v1.4.* and higher.
type ResourceObjectFabV1 ¶
type ResourceObjectFabV1 struct { Requests *ResourceRequests `json:"requests" validate:"required"` Limits *ResourceLimits `json:"limits,omitempty"` }
ResourceObjectFabV1 : This field requires the use of Fabric v1.4.* and **lower**.
type ResourceObjectFabV2 ¶
type ResourceObjectFabV2 struct { Requests *ResourceRequests `json:"requests" validate:"required"` Limits *ResourceLimits `json:"limits,omitempty"` }
ResourceObjectFabV2 : This field requires the use of Fabric v2.1.* and higher.
type ResourceRequests ¶
type ResourceRequests struct { // Desired CPU for subcomponent. [Resource // details](/docs/blockchain?topic=blockchain-ibp-console-govern-components#ibp-console-govern-components-allocate-resources). Cpu *string `json:"cpu,omitempty"` // Desired memory for subcomponent. [Resource // details](/docs/blockchain?topic=blockchain-ibp-console-govern-components#ibp-console-govern-components-allocate-resources). Memory *string `json:"memory,omitempty"` }
ResourceRequests : ResourceRequests struct
type RestartAthenaResponse ¶
type RestartAthenaResponse struct { // Text describing the outcome of the api. Message *string `json:"message,omitempty"` }
RestartAthenaResponse : RestartAthenaResponse struct
type RestartOptions ¶
type RestartOptions struct { // Allows users to set headers on API requests Headers map[string]string }
RestartOptions : The Restart options.
func (*RestartOptions) SetHeaders ¶
func (options *RestartOptions) SetHeaders(param map[string]string) *RestartOptions
SetHeaders : Allow user to set Headers
type SettingsTimestampData ¶
type SettingsTimestampData struct { // UTC UNIX timestamp of the current time according to the server. In milliseconds. Now *float64 `json:"now,omitempty"` // UTC UNIX timestamp of when the server started. In milliseconds. Born *float64 `json:"born,omitempty"` // Time remaining until the server performs a hard-refresh of its settings. NextSettingsUpdate *string `json:"next_settings_update,omitempty"` // Total time the IBP console server has been running. UpTime *string `json:"up_time,omitempty"` }
SettingsTimestampData : SettingsTimestampData struct
type StorageObject ¶
type StorageObject struct { // Maximum disk space for subcomponent. [Resource // details](/docs/blockchain?topic=blockchain-ibp-console-govern-components#ibp-console-govern-components-allocate-resources). Size *string `json:"size,omitempty"` // Kubernetes storage class for subcomponent's disk space. Class *string `json:"class,omitempty"` }
StorageObject : StorageObject struct
type SubmitBlockOptions ¶
type SubmitBlockOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // The latest config block of the system channel. Base 64 encoded. To obtain this block, you must use a **Fabric API**. // This config block should list this ordering node as a valid consenter on the system-channel. B64Block *string `json:"b64_block,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
SubmitBlockOptions : The SubmitBlock options.
func (*SubmitBlockOptions) SetB64Block ¶
func (options *SubmitBlockOptions) SetB64Block(b64Block string) *SubmitBlockOptions
SetB64Block : Allow user to set B64Block
func (*SubmitBlockOptions) SetHeaders ¶
func (options *SubmitBlockOptions) SetHeaders(param map[string]string) *SubmitBlockOptions
SetHeaders : Allow user to set Headers
func (*SubmitBlockOptions) SetID ¶
func (options *SubmitBlockOptions) SetID(id string) *SubmitBlockOptions
SetID : Allow user to set ID
type UpdateCaBodyConfigOverride ¶
type UpdateCaBodyConfigOverride struct {
Ca *ConfigCAUpdate `json:"ca" validate:"required"`
}
UpdateCaBodyConfigOverride : Update the [Fabric CA configuration file](https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/serverconfig.html) if you want use custom attributes to configure advanced CA features. Omit if not.
*The nested field **names** below are not case-sensitive.* *The nested fields sent will be merged with the existing settings.*.
type UpdateCaBodyResources ¶
type UpdateCaBodyResources struct { // This field requires the use of Fabric v1.4.* and higher. Ca *ResourceObject `json:"ca" validate:"required"` }
UpdateCaBodyResources : CPU and memory properties. This feature is not available if using a free Kubernetes cluster.
type UpdateCaOptions ¶
type UpdateCaOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // Update the [Fabric CA configuration // file](https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/serverconfig.html) if you want use custom // attributes to configure advanced CA features. Omit if not. // // *The nested field **names** below are not case-sensitive.* // *The nested fields sent will be merged with the existing settings.*. ConfigOverride *UpdateCaBodyConfigOverride `json:"config_override,omitempty"` // The number of replica pods running at any given time. Replicas *float64 `json:"replicas,omitempty"` // CPU and memory properties. This feature is not available if using a free Kubernetes cluster. Resources *UpdateCaBodyResources `json:"resources,omitempty"` // The Hyperledger Fabric release version to update to. Version *string `json:"version,omitempty"` // Specify the Kubernetes zone for the deployment. The deployment will use a k8s node in this zone. Find the list of // possible zones by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // information](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Zone *string `json:"zone,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateCaOptions : The UpdateCa options.
func (*UpdateCaOptions) SetConfigOverride ¶
func (options *UpdateCaOptions) SetConfigOverride(configOverride *UpdateCaBodyConfigOverride) *UpdateCaOptions
SetConfigOverride : Allow user to set ConfigOverride
func (*UpdateCaOptions) SetHeaders ¶
func (options *UpdateCaOptions) SetHeaders(param map[string]string) *UpdateCaOptions
SetHeaders : Allow user to set Headers
func (*UpdateCaOptions) SetID ¶
func (options *UpdateCaOptions) SetID(id string) *UpdateCaOptions
SetID : Allow user to set ID
func (*UpdateCaOptions) SetReplicas ¶
func (options *UpdateCaOptions) SetReplicas(replicas float64) *UpdateCaOptions
SetReplicas : Allow user to set Replicas
func (*UpdateCaOptions) SetResources ¶
func (options *UpdateCaOptions) SetResources(resources *UpdateCaBodyResources) *UpdateCaOptions
SetResources : Allow user to set Resources
func (*UpdateCaOptions) SetVersion ¶
func (options *UpdateCaOptions) SetVersion(version string) *UpdateCaOptions
SetVersion : Allow user to set Version
func (*UpdateCaOptions) SetZone ¶
func (options *UpdateCaOptions) SetZone(zone string) *UpdateCaOptions
SetZone : Allow user to set Zone
type UpdateEnrollmentCryptoField ¶
type UpdateEnrollmentCryptoField struct { Component *CryptoEnrollmentComponent `json:"component,omitempty"` Ca *UpdateEnrollmentCryptoFieldCa `json:"ca,omitempty"` Tlsca *UpdateEnrollmentCryptoFieldTlsca `json:"tlsca,omitempty"` }
UpdateEnrollmentCryptoField : Edit the `enrollment` crypto data of this component. Editing the `enrollment` field is only possible if this component was created using the `crypto.enrollment` field, else see the `crypto.msp` field.
type UpdateEnrollmentCryptoFieldCa ¶
type UpdateEnrollmentCryptoFieldCa struct { // The CA's hostname. Do not include protocol or port. Host *string `json:"host,omitempty"` // The CA's port. Port *float64 `json:"port,omitempty"` // The CA's "CAName" attribute. This name is used to distinguish this CA from the TLS CA. Name *string `json:"name,omitempty"` // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert,omitempty"` // The username of the enroll id. EnrollID *string `json:"enroll_id,omitempty"` // The password of the enroll id. EnrollSecret *string `json:"enroll_secret,omitempty"` }
UpdateEnrollmentCryptoFieldCa : UpdateEnrollmentCryptoFieldCa struct
type UpdateEnrollmentCryptoFieldTlsca ¶
type UpdateEnrollmentCryptoFieldTlsca struct { // The CA's hostname. Do not include protocol or port. Host *string `json:"host,omitempty"` // The CA's port. Port *float64 `json:"port,omitempty"` // The TLS CA's "CAName" attribute. This name is used to distinguish this TLS CA from the other CA. Name *string `json:"name,omitempty"` // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert,omitempty"` // The username of the enroll id. EnrollID *string `json:"enroll_id,omitempty"` // The password of the enroll id. EnrollSecret *string `json:"enroll_secret,omitempty"` CsrHosts []string `json:"csr_hosts,omitempty"` }
UpdateEnrollmentCryptoFieldTlsca : UpdateEnrollmentCryptoFieldTlsca struct
type UpdateMspCryptoField ¶
type UpdateMspCryptoField struct { Ca *UpdateMspCryptoFieldCa `json:"ca,omitempty"` Tlsca *UpdateMspCryptoFieldTlsca `json:"tlsca,omitempty"` Component *UpdateMspCryptoFieldComponent `json:"component,omitempty"` }
UpdateMspCryptoField : Edit the `msp` crypto data of this component. Editing the `msp` field is only possible if this component was created using the `crypto.msp` field, else see the `crypto.enrollment` field.
type UpdateMspCryptoFieldCa ¶
type UpdateMspCryptoFieldCa struct { // An array that contains one or more base 64 encoded PEM CA root certificates. RootCerts []string `json:"root_certs,omitempty"` // An array that contains base 64 encoded PEM intermediate CA certificates. CaIntermediateCerts []string `json:"ca_intermediate_certs,omitempty"` }
UpdateMspCryptoFieldCa : UpdateMspCryptoFieldCa struct
type UpdateMspCryptoFieldComponent ¶
type UpdateMspCryptoFieldComponent struct { // An identity private key (base 64 encoded PEM) for this component (aka enrollment private key). Ekey *string `json:"ekey,omitempty"` // An identity certificate (base 64 encoded PEM) for this component that was signed by the CA (aka enrollment // certificate). Ecert *string `json:"ecert,omitempty"` // An array that contains base 64 encoded PEM identity certificates for administrators. Also known as signing // certificates of an organization administrator. AdminCerts []string `json:"admin_certs,omitempty"` // A private key (base 64 encoded PEM) for this component's TLS. TlsKey *string `json:"tls_key,omitempty"` // The TLS certificate as base 64 encoded PEM. Certificate is used to secure/validate a TLS connection with this // component. TlsCert *string `json:"tls_cert,omitempty"` ClientAuth *ClientAuth `json:"client_auth,omitempty"` }
UpdateMspCryptoFieldComponent : UpdateMspCryptoFieldComponent struct
type UpdateMspCryptoFieldTlsca ¶
type UpdateMspCryptoFieldTlsca struct { // An array that contains one or more base 64 encoded PEM CA root certificates. RootCerts []string `json:"root_certs,omitempty"` // An array that contains base 64 encoded PEM intermediate CA certificates. CaIntermediateCerts []string `json:"ca_intermediate_certs,omitempty"` }
UpdateMspCryptoFieldTlsca : UpdateMspCryptoFieldTlsca struct
type UpdateOrdererBodyCrypto ¶
type UpdateOrdererBodyCrypto struct { // Edit the `enrollment` crypto data of this component. Editing the `enrollment` field is only possible if this // component was created using the `crypto.enrollment` field, else see the `crypto.msp` field. Enrollment *UpdateEnrollmentCryptoField `json:"enrollment,omitempty"` // Edit the `msp` crypto data of this component. Editing the `msp` field is only possible if this component was created // using the `crypto.msp` field, else see the `crypto.enrollment` field. Msp *UpdateMspCryptoField `json:"msp,omitempty"` }
UpdateOrdererBodyCrypto : UpdateOrdererBodyCrypto struct
type UpdateOrdererBodyResources ¶
type UpdateOrdererBodyResources struct { // This field requires the use of Fabric v1.4.* and higher. Orderer *ResourceObject `json:"orderer,omitempty"` // This field requires the use of Fabric v1.4.* and higher. Proxy *ResourceObject `json:"proxy,omitempty"` }
UpdateOrdererBodyResources : CPU and memory properties. This feature is not available if using a free Kubernetes cluster.
type UpdateOrdererOptions ¶
type UpdateOrdererOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // An array that contains *all* the base 64 encoded PEM identity certificates for administrators of this component. // Also known as signing certificates of an organization administrator. AdminCerts []string `json:"admin_certs,omitempty"` // Update the [Fabric Orderer configuration // file](https://github.com/hyperledger/fabric/blob/release-1.4/sampleconfig/orderer.yaml) if you want use custom // attributes to configure the Orderer. Omit if not. // // *The nested field **names** below are not case-sensitive.* // *The nested fields sent will be merged with the existing settings.*. ConfigOverride *ConfigOrdererUpdate `json:"config_override,omitempty"` Crypto *UpdateOrdererBodyCrypto `json:"crypto,omitempty"` NodeOu *NodeOu `json:"node_ou,omitempty"` // The number of replica pods running at any given time. Replicas *float64 `json:"replicas,omitempty"` // CPU and memory properties. This feature is not available if using a free Kubernetes cluster. Resources *UpdateOrdererBodyResources `json:"resources,omitempty"` // The Hyperledger Fabric release version to update to. Version *string `json:"version,omitempty"` // Specify the Kubernetes zone for the deployment. The deployment will use a k8s node in this zone. Find the list of // possible zones by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // information](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Zone *string `json:"zone,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateOrdererOptions : The UpdateOrderer options.
func (*UpdateOrdererOptions) SetAdminCerts ¶
func (options *UpdateOrdererOptions) SetAdminCerts(adminCerts []string) *UpdateOrdererOptions
SetAdminCerts : Allow user to set AdminCerts
func (*UpdateOrdererOptions) SetConfigOverride ¶
func (options *UpdateOrdererOptions) SetConfigOverride(configOverride *ConfigOrdererUpdate) *UpdateOrdererOptions
SetConfigOverride : Allow user to set ConfigOverride
func (*UpdateOrdererOptions) SetCrypto ¶
func (options *UpdateOrdererOptions) SetCrypto(crypto *UpdateOrdererBodyCrypto) *UpdateOrdererOptions
SetCrypto : Allow user to set Crypto
func (*UpdateOrdererOptions) SetHeaders ¶
func (options *UpdateOrdererOptions) SetHeaders(param map[string]string) *UpdateOrdererOptions
SetHeaders : Allow user to set Headers
func (*UpdateOrdererOptions) SetID ¶
func (options *UpdateOrdererOptions) SetID(id string) *UpdateOrdererOptions
SetID : Allow user to set ID
func (*UpdateOrdererOptions) SetNodeOu ¶
func (options *UpdateOrdererOptions) SetNodeOu(nodeOu *NodeOu) *UpdateOrdererOptions
SetNodeOu : Allow user to set NodeOu
func (*UpdateOrdererOptions) SetReplicas ¶
func (options *UpdateOrdererOptions) SetReplicas(replicas float64) *UpdateOrdererOptions
SetReplicas : Allow user to set Replicas
func (*UpdateOrdererOptions) SetResources ¶
func (options *UpdateOrdererOptions) SetResources(resources *UpdateOrdererBodyResources) *UpdateOrdererOptions
SetResources : Allow user to set Resources
func (*UpdateOrdererOptions) SetVersion ¶
func (options *UpdateOrdererOptions) SetVersion(version string) *UpdateOrdererOptions
SetVersion : Allow user to set Version
func (*UpdateOrdererOptions) SetZone ¶
func (options *UpdateOrdererOptions) SetZone(zone string) *UpdateOrdererOptions
SetZone : Allow user to set Zone
type UpdatePeerBodyCrypto ¶
type UpdatePeerBodyCrypto struct { // Edit the `enrollment` crypto data of this component. Editing the `enrollment` field is only possible if this // component was created using the `crypto.enrollment` field, else see the `crypto.msp` field. Enrollment *UpdateEnrollmentCryptoField `json:"enrollment,omitempty"` // Edit the `msp` crypto data of this component. Editing the `msp` field is only possible if this component was created // using the `crypto.msp` field, else see the `crypto.enrollment` field. Msp *UpdateMspCryptoField `json:"msp,omitempty"` }
UpdatePeerBodyCrypto : UpdatePeerBodyCrypto struct
type UpdatePeerOptions ¶
type UpdatePeerOptions struct { // The `id` of the component to modify. Use the [Get all components](#list_components) API to determine the component // id. ID *string `json:"id" validate:"required,ne="` // An array that contains *all* the base 64 encoded PEM identity certificates for administrators of this component. // Also known as signing certificates of an organization administrator. AdminCerts []string `json:"admin_certs,omitempty"` // Update the [Fabric Peer configuration // file](https://github.com/hyperledger/fabric/blob/release-1.4/sampleconfig/core.yaml) if you want use custom // attributes to configure the Peer. Omit if not. // // *The nested field **names** below are not case-sensitive.* // *The nested fields sent will be merged with the existing settings.*. ConfigOverride *ConfigPeerUpdate `json:"config_override,omitempty"` Crypto *UpdatePeerBodyCrypto `json:"crypto,omitempty"` NodeOu *NodeOu `json:"node_ou,omitempty"` // The number of replica pods running at any given time. Replicas *float64 `json:"replicas,omitempty"` // CPU and memory properties. This feature is not available if using a free Kubernetes cluster. Resources *PeerResources `json:"resources,omitempty"` // The Hyperledger Fabric release version to update to. Version *string `json:"version,omitempty"` // Specify the Kubernetes zone for the deployment. The deployment will use a k8s node in this zone. Find the list of // possible zones by retrieving your Kubernetes node labels: `kubectl get nodes --show-labels`. [More // information](https://kubernetes.io/docs/setup/best-practices/multiple-zones). Zone *string `json:"zone,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdatePeerOptions : The UpdatePeer options.
func (*UpdatePeerOptions) SetAdminCerts ¶
func (options *UpdatePeerOptions) SetAdminCerts(adminCerts []string) *UpdatePeerOptions
SetAdminCerts : Allow user to set AdminCerts
func (*UpdatePeerOptions) SetConfigOverride ¶
func (options *UpdatePeerOptions) SetConfigOverride(configOverride *ConfigPeerUpdate) *UpdatePeerOptions
SetConfigOverride : Allow user to set ConfigOverride
func (*UpdatePeerOptions) SetCrypto ¶
func (options *UpdatePeerOptions) SetCrypto(crypto *UpdatePeerBodyCrypto) *UpdatePeerOptions
SetCrypto : Allow user to set Crypto
func (*UpdatePeerOptions) SetHeaders ¶
func (options *UpdatePeerOptions) SetHeaders(param map[string]string) *UpdatePeerOptions
SetHeaders : Allow user to set Headers
func (*UpdatePeerOptions) SetID ¶
func (options *UpdatePeerOptions) SetID(id string) *UpdatePeerOptions
SetID : Allow user to set ID
func (*UpdatePeerOptions) SetNodeOu ¶
func (options *UpdatePeerOptions) SetNodeOu(nodeOu *NodeOu) *UpdatePeerOptions
SetNodeOu : Allow user to set NodeOu
func (*UpdatePeerOptions) SetReplicas ¶
func (options *UpdatePeerOptions) SetReplicas(replicas float64) *UpdatePeerOptions
SetReplicas : Allow user to set Replicas
func (*UpdatePeerOptions) SetResources ¶
func (options *UpdatePeerOptions) SetResources(resources *PeerResources) *UpdatePeerOptions
SetResources : Allow user to set Resources
func (*UpdatePeerOptions) SetVersion ¶
func (options *UpdatePeerOptions) SetVersion(version string) *UpdatePeerOptions
SetVersion : Allow user to set Version
func (*UpdatePeerOptions) SetZone ¶
func (options *UpdatePeerOptions) SetZone(zone string) *UpdatePeerOptions
SetZone : Allow user to set Zone