handler

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = decisionlogs.PluginName

PluginName is the name to register with the OPA plugin manager

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct{}

Factory defines the interface OPA uses to instantiate a plugin.

func (Factory) New

func (Factory) New(m *plugins.Manager, config interface{}) plugins.Plugin

New returns the object initialized with a valid plugin configuration.

func (Factory) Validate

func (Factory) Validate(m *plugins.Manager, config []byte) (interface{}, error)

Validate returns a valid configuration to instantiate the plugin.

Jump to

Keyboard shortcuts

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