plugins

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Manager = ReduceHandlers{}

Functions

func Load

func Load()

Types

type PluginLoad

type PluginLoad func() ReduceHandler

type ReduceHandler

type ReduceHandler struct {
	Names   []string
	Demo    string
	Handler func(version, prefix string, item *config.Directive) (obj metav1.Object)
}

func (*ReduceHandler) Has

func (m *ReduceHandler) Has(name string) bool

type ReduceHandlers

type ReduceHandlers []ReduceHandler

func (*ReduceHandlers) Handler

func (m *ReduceHandlers) Handler(version, prefix string, item *config.Directive) (metav1.Object, bool)

Jump to

Keyboard shortcuts

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