config

package
v0.53.0-beta.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultConfigFile = "perses_plugin_config.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginConfig

type PluginConfig struct {
	// DistPath is the path to the folder containing the files built by npm
	DistPath string `json:"dist_path" yaml:"dist_path"`
	// FrontendPath is the path to the folder containing the package.json file
	FrontendPath string `json:"frontend_path" yaml:"frontend_path"`
	// SchemasPath is the path to the folder containing the cuelang schema
	SchemasPath string `json:"schemas_path" yaml:"schemas_path"`
}

func Resolve

func Resolve(pluginPath string, configFile string) (PluginConfig, error)

func (*PluginConfig) Verify

func (c *PluginConfig) Verify() error

Jump to

Keyboard shortcuts

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