Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const ( PeerPoliciesGroupKey = "PeerPolicies" APIsGroupKey = "APIs" )
      View Source
      
  
const RootGroupKey = "Resources"
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct {
	// contains filtered or unexported fields
}
    func New ¶
func New(envConfig *cb.Envelope, mspManager msp.MSPManager, channelPolicyManager policies.Manager) (*Bundle, error)
New creates a new resources config bundle TODO, change interface to take config and not an envelope TODO, add an atomic BundleSource
func (*Bundle) APIPolicyMapper ¶
func (b *Bundle) APIPolicyMapper() PolicyMapper
func (*Bundle) ConfigtxManager ¶
func (b *Bundle) ConfigtxManager() configtxapi.Manager
func (*Bundle) PolicyManager ¶
func (*Bundle) RootGroupKey ¶
type PolicyMapper ¶
type PolicyMapper interface {
	// PolicyRefForAPI takes the name of an API, and returns the policy name
	// or the empty string if the API is not found
	PolicyRefForAPI(apiName string) string
}
    PolicyMapper is an interface for
 Click to show internal directories. 
   Click to hide internal directories.