testing

package
v2.0.28 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0, Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigSection = config.MustRegisterSubSection(echoTaskType, &defaultConfig)
)

Functions

This section is empty.

Types

type Config

type Config struct {
	// SleepDuration indicates the amount of time before transitioning to success
	SleepDuration flytestdconfig.Duration `json:"sleep-duration" pflag:",Indicates the amount of time before transitioning to success"`
}

func (Config) GetPFlagSet

func (cfg Config) GetPFlagSet(prefix string) *pflag.FlagSet

GetPFlagSet will return strongly types pflags for all fields in Config and its nested types. The format of the flags is json-name.json-sub-name... etc.

type EchoPlugin

type EchoPlugin struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*EchoPlugin) Abort

func (*EchoPlugin) Finalize

func (e *EchoPlugin) Finalize(ctx context.Context, tCtx core.TaskExecutionContext) error

func (*EchoPlugin) GetID

func (e *EchoPlugin) GetID() string

func (*EchoPlugin) GetProperties

func (e *EchoPlugin) GetProperties() core.PluginProperties

func (*EchoPlugin) Handle

Jump to

Keyboard shortcuts

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