core

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 10, 2025 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginMetadata

type PluginMetadata struct {
	Name       string                 `yaml:"name"`
	VendorName string                 `yaml:"vendorName"`
	Version    string                 `yaml:"version"`
	Type       PluginType             `yaml:"type"`
	WorkDir    string                 `yaml:"workDir"`
	SourcePath string                 `yaml:"sourcePath"`
	BuildPath  string                 `yaml:"buildPath"`
	Config     map[string]interface{} `yaml:"config"`
}

type PluginType

type PluginType string
const (
	Open     PluginType = "open"
	Closed   PluginType = "closed"
	External PluginType = "external"
)

type PluginsMetadata

type PluginsMetadata struct {
	Name    string           `yaml:"name"`
	Version string           `yaml:"version"`
	Type    PluginType       `yaml:"type"`
	Plugins []PluginMetadata `yaml:"plugins"`
}

插件描述文件结构

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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