Documentation
¶
Overview ¶
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0 Modifications Copyright National Payments Corporation of India
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapBasedMapper ¶
type MapBasedMapper map[string]validation.PluginFactory
MapBasedMapper maps plugin names to their corresponding factories
func (MapBasedMapper) FactoryByName ¶
func (m MapBasedMapper) FactoryByName(name Name) validation.PluginFactory
FactoryByName returns a plugin factory for the given plugin name, or nil if not found
type MapBasedMapperAdapter ¶
type MapBasedMapperAdapter map[string]validation.PluginFactoryAdapter
MapBasedMapper maps plugin names to their corresponding factories
func (MapBasedMapperAdapter) FactoryByName ¶
func (m MapBasedMapperAdapter) FactoryByName(name Name) validation.PluginFactoryAdapter
FactoryByName returns a plugin factory for the given plugin name, or nil if not found
type Mapper ¶
type Mapper interface {
FactoryByName(name Name) validation.PluginFactory
}
Mapper maps plugin names to their corresponding factory instance. Returns nil if the name isn't associated to any plugin.
type MapperAdapter ¶
type MapperAdapter interface {
FactoryByName(name Name) validation.PluginFactoryAdapter
}
Mapper maps plugin names to their corresponding factory instance. Returns nil if the name isn't associated to any plugin.
type SerializedPolicy ¶
type SerializedPolicy []byte
SerializedPolicy defines a marshaled policy
func (SerializedPolicy) Bytes ¶
func (sp SerializedPolicy) Bytes() []byte
Bytes returns te bytes of the SerializedPolicy