Documentation ¶
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 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 SerializedPolicy ¶
type SerializedPolicy []byte
SerializedPolicy defines a marshaled policy
func (SerializedPolicy) Bytes ¶
func (sp SerializedPolicy) Bytes() []byte
Bytes returns te bytes of the SerializedPolicy
Click to show internal directories.
Click to hide internal directories.