plugin

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFeaturePlugin

func GetFeaturePlugin(cfg *settings.Settings, name string) (*client.Feature, error)

func GetFeaturesUINames

func GetFeaturesUINames(cfg *settings.Settings) ([]string, error)

func GetNewServiceKinds

func GetNewServiceKinds(cfg *settings.Settings) ([]string, error)

func GetServicePlugin

func GetServicePlugin(cfg *settings.Settings, kind string) (*client.Service, error)

Types

type Encoder

type Encoder struct {
	*data.PluginData
}

func NewEncoder

func NewEncoder() *Encoder

func (*Encoder) Output

func (e *Encoder) Output() error

func (*Encoder) SetAnswers

func (e *Encoder) SetAnswers(answers map[string]interface{})

func (*Encoder) SetError

func (e *Encoder) SetError(err error)

func (*Encoder) SetKind

func (e *Encoder) SetKind(kind string)

func (*Encoder) SetName

func (e *Encoder) SetName(name string)

func (*Encoder) SetSurvey

func (e *Encoder) SetSurvey(s *survey.Survey)

func (*Encoder) SetTemplate

func (e *Encoder) SetTemplate(template *template.Template)

func (*Encoder) SetUIName

func (e *Encoder) SetUIName(uiName string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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