data

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginData

type PluginData struct {
	Name     string                 `json:"name,omitempty"`
	UIName   string                 `json:"ui_name,omitempty"`
	Kind     string                 `json:"kind,omitempty"`
	Survey   *survey.Survey         `json:"survey,omitempty"`
	Answers  map[string]interface{} `json:"answers,omitempty"`
	Template *template.Template     `json:"template,omitempty"`
	Error    string                 `json:"error,omitempty"`
}

func DecodePluginData

func DecodePluginData(in string) (*PluginData, error)

func (*PluginData) Output

func (p *PluginData) Output() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳