plan

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plan

type Plan struct {
	Type         string   `json:"type"`
	Name         string   `json:"name"`
	AuthType     string   `json:"authType"`
	AuthUser     string   `json:"authUser"`
	AuthPass     string   `json:"authPass"`
	AuthEndpoint string   `json:"authEndpoint"`
	URL          string   `json:"url"`
	Path         string   `json:"path"`
	Insecure     bool     `json:"insecure"`
	Timeout      string   `json:"timeout"`
	StepsNames   []string `json:"steps"`
	Steps        []*step.Step
}

func Read

func Read(filePath string, steps map[string]*step.Step) (*Plan, error)

func (*Plan) Execute

func (p *Plan) Execute(ctx context.Context, w io.Writer, onResult func(report.RequestResult)) (*report.PlanResult, error)

Jump to

Keyboard shortcuts

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