Versions in this module Expand all Collapse all v1 v1.4.9 Sep 30, 2020 Changes in this version + const ApplicationPrefix + const BlockValidation + const ChannelApplicationAdmins + const ChannelApplicationReaders + const ChannelApplicationWriters + const ChannelOrdererAdmins + const ChannelOrdererReaders + const ChannelOrdererWriters + const ChannelPrefix + const ChannelReaders + const ChannelWriters + const OrdererPrefix + const PathSeparator + func ImplicitMetaFromString(input string) (*cb.ImplicitMetaPolicy, error) + func ImplicitMetaPolicyWithSubPolicy(subPolicyName string, rule cb.ImplicitMetaPolicy_Rule) *cb.ConfigPolicy + func TemplateImplicitMetaAllPolicy(path []string, policyName string) *cb.ConfigGroup + func TemplateImplicitMetaAnyPolicy(path []string, policyName string) *cb.ConfigGroup + func TemplateImplicitMetaMajorityPolicy(path []string, policyName string) *cb.ConfigGroup + func TemplateImplicitMetaPolicy(path []string, policyName string, rule cb.ImplicitMetaPolicy_Rule) *cb.ConfigGroup + func TemplateImplicitMetaPolicyWithSubPolicy(path []string, policyName string, subPolicyName string, ...) *cb.ConfigGroup + type ChannelPolicyManagerGetter interface + Manager func(channelID string) (Manager, bool) + type ConfigPolicy interface + Key func() string + Value func() *cb.Policy + type InquireablePolicy interface + SatisfiedBy func() []PrincipalSet + type Manager interface + GetPolicy func(id string) (Policy, bool) + Manager func(path []string) (Manager, bool) + type ManagerImpl struct + func NewManagerImpl(path string, providers map[int32]Provider, root *cb.ConfigGroup) (*ManagerImpl, error) + func (pm *ManagerImpl) GetPolicy(id string) (Policy, bool) + func (pm *ManagerImpl) Manager(path []string) (Manager, bool) + type Policy interface + Evaluate func(signatureSet []*cb.SignedData) error + type PrincipalSet []*msp.MSPPrincipal + func (ps PrincipalSet) ContainingOnly(f func(*msp.MSPPrincipal) bool) bool + func (ps PrincipalSet) UniqueSet() map[*msp.MSPPrincipal]int + type PrincipalSets []PrincipalSet + func (psSets PrincipalSets) ContainingOnly(f func(*msp.MSPPrincipal) bool) PrincipalSets + type Provider interface + NewPolicy func(data []byte) (Policy, proto.Message, error) + type StandardConfigPolicy struct + func ImplicitMetaAllPolicy(policyName string) *StandardConfigPolicy + func ImplicitMetaAnyPolicy(policyName string) *StandardConfigPolicy + func ImplicitMetaMajorityPolicy(policyName string) *StandardConfigPolicy + func SignaturePolicy(policyName string, sigPolicy *cb.SignaturePolicyEnvelope) *StandardConfigPolicy + func (scv *StandardConfigPolicy) Key() string + func (scv *StandardConfigPolicy) Value() *cb.Policy Incompatible versions in this module v2.1.1+incompatible Jun 1, 2020