plugins

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllowedKindConfig = AllowedKind{
						// contains filtered or unexported fields
	}
	AllowedKindInject = AllowedKind{
						// contains filtered or unexported fields
	}
	AllowedKindResolve = AllowedKind{
						// contains filtered or unexported fields
	}
)

Functions

This section is empty.

Types

type AllowedKind

type AllowedKind struct {
	// contains filtered or unexported fields
}

func (AllowedKind) MustValidate

func (v AllowedKind) MustValidate(in interface{})

type Defaulter

type Defaulter interface {
	Default()
}

Defaulter interface for setting default values for a structure

type Plugin

type Plugin struct {
	Config  interface{}
	Inject  interface{}
	Resolve interface{}
}

Plugin plugin structure

type Plugins

type Plugins []Plugin

func Inject

func Inject(list ...interface{}) Plugins

func (Plugins) Inject

func (p Plugins) Inject(list ...interface{}) Plugins

type Validator

type Validator interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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