Documentation
¶
Index ¶
- func GetFeaturePlugin(cfg *settings.Settings, name string) (*client.Feature, error)
- func GetFeaturesUINames(cfg *settings.Settings) ([]string, error)
- func GetNewServiceKinds(cfg *settings.Settings) ([]string, error)
- func GetServicePlugin(cfg *settings.Settings, kind string) (*client.Service, error)
- type Encoder
- func (e *Encoder) Output() error
- func (e *Encoder) SetAnswers(answers map[string]interface{})
- func (e *Encoder) SetError(err error)
- func (e *Encoder) SetKind(kind string)
- func (e *Encoder) SetName(name string)
- func (e *Encoder) SetSurvey(s *survey.Survey)
- func (e *Encoder) SetTemplate(template *template.Template)
- func (e *Encoder) SetUIName(uiName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFeaturePlugin ¶
Types ¶
type Encoder ¶
type Encoder struct {
*data.PluginData
}
func NewEncoder ¶
func NewEncoder() *Encoder
func (*Encoder) SetAnswers ¶
func (*Encoder) SetTemplate ¶
Click to show internal directories.
Click to hide internal directories.