Documentation ¶
Index ¶
- func CallVerifyMethod(cfgI interface{}) error
- func DumpTemplate(tmplstr string, cfg interface{}) error
- func EditStructWithVerifier(fe Frontend, tmplstr string, cfg interface{}, ...) error
- func IsNoDefaultSpecifiedInYaml(bs []byte) bool
- func PrependYamlCommentLiteral(s string) string
- func StripErrorText(s string) string
- func YamlEscapeString(s string) string
- type ConfigItem
- type Frontend
- type NonInteractive
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallVerifyMethod ¶
func CallVerifyMethod(cfgI interface{}) error
func DumpTemplate ¶
func EditStructWithVerifier ¶
func IsNoDefaultSpecifiedInYaml ¶ added in v0.1.0
FIXME[P3]: move this to some other pkg?
func StripErrorText ¶
func YamlEscapeString ¶ added in v0.2.2
Types ¶
type NonInteractive ¶
func (*NonInteractive) Configure ¶
func (fe *NonInteractive) Configure(items []ConfigItem) error
func (*NonInteractive) Confirm ¶
func (fe *NonInteractive) Confirm(q string) error
func (*NonInteractive) IsInteractive ¶ added in v0.1.0
func (fe *NonInteractive) IsInteractive() bool
Click to show internal directories.
Click to hide internal directories.