plugins

package module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: BSD-3-Clause Imports: 3 Imported by: 15

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 added in v0.3.1

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

func (AllowedKind) MustValidate added in v0.3.1

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