Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InteractiveForm ¶
type InteractiveForm struct {
Inputs []InteractiveInput `yaml:"inputs"`
}
type InteractiveInput ¶
type InteractiveInput struct { Placeholder string `yaml:"placeholder"` Label string `yaml:"label"` RegExp string `yaml:"regexp,omitempty"` MinLength int `yaml:"minLength,omitempty"` MaxLength int `yaml:"maxLength,omitempty"` Default string `yaml:"default,omitempty"` Help string `yaml:"help,omitempty"` Value string }
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewModelFromInteractiveForm ¶
func NewModelFromInteractiveForm(iForm InteractiveForm, header string) *Model
func (*Model) GetVariablesForInteractiveForm ¶
func (m *Model) GetVariablesForInteractiveForm(iForm InteractiveForm) map[string]string
type SkaInteractiveService ¶
type SkaInteractiveService struct {
// contains filtered or unexported fields
}
func NewSkaInteractiveService ¶
func NewSkaInteractiveService(formTitle string, inputs []configuration.UpstreamConfigInput) *SkaInteractiveService
func (*SkaInteractiveService) Run ¶
func (s *SkaInteractiveService) Run() error
func (*SkaInteractiveService) SetDefaults ¶
func (s *SkaInteractiveService) SetDefaults(variables map[string]string)
func (*SkaInteractiveService) ShouldRun ¶
func (s *SkaInteractiveService) ShouldRun() bool
func (*SkaInteractiveService) Variables ¶
func (s *SkaInteractiveService) Variables() map[string]string
Click to show internal directories.
Click to hide internal directories.