Help us shape the future of Go! Take the 2026 Go Developer Survey

python

package
v1.5.56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

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

func (*PythonTestRenderer) Process

func (sp *PythonTestRenderer) Process(cxt context.Context, input *pipeline.Data[*testscript.Test], index int32, total int32) (outputs []*pipeline.Data[string], extras []*pipeline.Data[*testscript.Test], err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL