foo

package
v1.9.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// this is just for testing purposes...
	PluginRef = &Plugin{}
)

Functions

This section is empty.

Types

type Defaults

type Defaults struct {
	InnerDefaults `yaml:",inline"`
}

func (*Defaults) UnmarshalYAML

func (d *Defaults) UnmarshalYAML(node *yaml.Node) error

type InnerDefaults

type InnerDefaults struct {
	Bar string `yaml:"bar,omitempty"`
}

type Plugin

type Plugin struct{}

func (*Plugin) Defaults

func (p *Plugin) Defaults() yaml.Unmarshaler

func (*Plugin) Info

func (p *Plugin) Info() api.PluginInfo

func (*Plugin) Specs

func (p *Plugin) Specs() []api.Evaluable

type Spec

type Spec struct {
	api.Spec
	Foo string `yaml:"foo"`
}

func (*Spec) Base

func (s *Spec) Base() *api.Spec

func (*Spec) Eval

func (s *Spec) Eval(ctx context.Context) (*api.Result, error)

func (*Spec) Retry

func (s *Spec) Retry() *api.Retry

func (*Spec) SetBase

func (s *Spec) SetBase(b api.Spec)

func (*Spec) Timeout

func (s *Spec) Timeout() *api.Timeout

func (*Spec) UnmarshalYAML

func (s *Spec) UnmarshalYAML(node *yaml.Node) error

Jump to

Keyboard shortcuts

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