plugin

package
v0.13.0-nightly.20250123 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginTypeBuiltin    = "builtin"
	PluginTypeStandalone = "standalone"
	PluginTypeAny        = "any"

	PluginVersionLatest = "latest"
)

Variables

View Source
var (
	ErrPluginNotFound          = cerrors.New("plugin not found")
	ErrPluginNotRunning        = cerrors.New("plugin is not running")
	ErrUnimplemented           = cerrors.New("method not implemented")
	ErrPluginAlreadyRegistered = cerrors.New("plugin with the same name and version already registered")
)

Functions

This section is empty.

Types

type FullName added in v0.3.0

type FullName string

func NewFullName added in v0.3.0

func NewFullName(pluginType, pluginName, pluginVersion string) FullName

func (FullName) PluginName added in v0.3.0

func (fn FullName) PluginName() string

func (FullName) PluginType added in v0.3.0

func (fn FullName) PluginType() string

func (FullName) PluginVersion added in v0.3.0

func (fn FullName) PluginVersion() string

func (FullName) PluginVersionGreaterThan added in v0.3.0

func (fn FullName) PluginVersionGreaterThan(right FullName) bool

func (FullName) String added in v0.6.0

func (fn FullName) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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