failer

package
v1.9.6 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Defaults

type Defaults struct {
	InnerDefaults
}

func (*Defaults) UnmarshalYAML

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

type InnerDefaults

type InnerDefaults struct {
	Fail bool `yaml:"fail,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
	Fail bool `yaml:"fail"`
}

func (*Spec) Base

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

func (*Spec) Eval

func (s *Spec) Eval(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