pluginhdlr

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Elem

func Elem(e interface{}) plugin.Plugin

func Lookup

func Lookup(prefix string, cache plugins.Set) []output.Object

func NewTypeHandler

func NewTypeHandler(octx clictx.OCM) utils.TypeHandler

Types

type Manifest

type Manifest struct {
	Element *plugin.Descriptor `json:"element"`
}

type Object

type Object struct {
	Plugin plugin.Plugin
}

func (*Object) AsManifest

func (o *Object) AsManifest() interface{}

type TypeHandler

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

func (*TypeHandler) All

func (h *TypeHandler) All() ([]output.Object, error)

func (*TypeHandler) Close

func (h *TypeHandler) Close() error

func (*TypeHandler) Get

func (h *TypeHandler) Get(elemspec utils.ElemSpec) ([]output.Object, error)

Jump to

Keyboard shortcuts

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