client

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

This section is empty.

Types

type Feature

type Feature struct {
	// contains filtered or unexported fields
}

func NewFeature

func NewFeature(path, name string) *Feature

func (*Feature) GetName

func (f *Feature) GetName() (string, error)

func (*Feature) GetSurvey

func (f *Feature) GetSurvey() (*survey.Survey, error)

func (*Feature) GetUIName

func (f *Feature) GetUIName() (string, error)

func (*Feature) ValidateAnswers

func (f *Feature) ValidateAnswers(answers map[string]interface{}) (map[string]interface{}, error)

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(path, name string) *Service

func (*Service) GetKind

func (s *Service) GetKind() (string, error)

func (*Service) GetSurvey

func (s *Service) GetSurvey() (*survey.Survey, error)

func (*Service) GetTemplates

func (s *Service) GetTemplates(answers map[string]interface{}) (*template.Template, error)

func (*Service) ValidateAnswers

func (s *Service) ValidateAnswers(answers map[string]interface{}) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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