Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Overwrite ¶
func Overwrite(overwrite bool) func(*PythonTestRenderer)
func TemplateRoot ¶
func TemplateRoot(templateRoot string) func(*PythonTestRenderer)
Types ¶
type GeneratorOption ¶
type GeneratorOption func(g *PythonTestRenderer)
type GeneratorOptions ¶
type GeneratorOptions struct {
TemplateRoot string `` /* 149-byte string literal not displayed */
Overwrite bool `default:"false" help:"overwrite existing test scripts" group:"Test Script Options:"`
}
func (GeneratorOptions) ToOptions ¶
func (g GeneratorOptions) ToOptions() []GeneratorOption
type PythonTestRenderer ¶
type PythonTestRenderer struct {
// contains filtered or unexported fields
}
func NewPythonTestRenderer ¶
func NewPythonTestRenderer(spec *spec.Specification, sdkRoot string, picsLabels map[string]string, options ...GeneratorOption) *PythonTestRenderer
func (PythonTestRenderer) Name ¶
func (sp PythonTestRenderer) Name() string
Click to show internal directories.
Click to hide internal directories.