plugin

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

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

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 Name

type Name string

Name defines the name of the plugin as it appears in the configuration

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL