priorrun

package
v1.9.7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PriorRunDataKey = "priorrun"

Variables

This section is empty.

Functions

This section is empty.

Types

type Defaults

type Defaults struct{}

func (*Defaults) UnmarshalYAML

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

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
	State string `yaml:"state"`
	Prior string `yaml:"prior"`
}

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