Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomIdentifierProvider ¶
type CustomIdentifierProvider struct {
// contains filtered or unexported fields
}
CustomIdentifierProvider implements `module.IdentifierProvider` which provides results from the given function.
func NewCustomIdentifierProvider ¶
func NewCustomIdentifierProvider(identifiers func() flow.IdentifierList) *CustomIdentifierProvider
func (*CustomIdentifierProvider) Identifiers ¶
func (p *CustomIdentifierProvider) Identifiers() flow.IdentifierList
type FixedIdentifierProvider ¶
type FixedIdentifierProvider struct {
// contains filtered or unexported fields
}
FixedIdentifierProvider implements an IdentifierProvider which provides a fixed list of identifiers.
func NewFixedIdentifierProvider ¶
func NewFixedIdentifierProvider(identifiers flow.IdentifierList) *FixedIdentifierProvider
func (*FixedIdentifierProvider) Identifiers ¶
func (p *FixedIdentifierProvider) Identifiers() flow.IdentifierList
type FixedIdentityProvider ¶
type FixedIdentityProvider struct {
// contains filtered or unexported fields
}
FixedIdentityProvider implements an IdentityProvider which provides a fixed list of identities.
func NewFixedIdentityProvider ¶
func NewFixedIdentityProvider(identities flow.IdentityList) *FixedIdentityProvider
func (*FixedIdentityProvider) ByNodeID ¶
func (p *FixedIdentityProvider) ByNodeID(flowID flow.Identifier) (*flow.Identity, bool)
func (*FixedIdentityProvider) Identities ¶
func (p *FixedIdentityProvider) Identities(filter flow.IdentityFilter) flow.IdentityList
type IdentityFilterIdentifierProvider ¶
type IdentityFilterIdentifierProvider struct {
// contains filtered or unexported fields
}
IdentityFilterIdentifierProvider implements an IdentifierProvider which provides the identifiers resulting from applying a filter to an IdentityProvider.
func NewIdentityFilterIdentifierProvider ¶
func NewIdentityFilterIdentifierProvider(filter flow.IdentityFilter, identityProvider module.IdentityProvider) *IdentityFilterIdentifierProvider
func (*IdentityFilterIdentifierProvider) Identifiers ¶
func (p *IdentityFilterIdentifierProvider) Identifiers() flow.IdentifierList
Click to show internal directories.
Click to hide internal directories.