headless

package
v1.17.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 23 Imported by: 0 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

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func New

func New(cfg engine.Config) *Engine

func (*Engine) AuthState

func (e *Engine) AuthState() engine.AuthState

func (*Engine) CheckCompare added in v1.11.0

func (e *Engine) CheckCompare(req *restfile.Request, sel vars.Selection) error

CheckCompare resolves the compare targets req would run with, so a run can reject an unknown environment before it sends anything.

func (*Engine) Close

func (e *Engine) Close() error

func (*Engine) ExecuteCompare

func (e *Engine) ExecuteCompare(
	doc *restfile.Document,
	req *restfile.Request,
	spec *restfile.CompareSpec,
	sel vars.Selection,
) (*engine.CompareResult, error)

func (*Engine) ExecuteCompareContext

func (e *Engine) ExecuteCompareContext(
	ctx context.Context,
	doc *restfile.Document,
	req *restfile.Request,
	spec *restfile.CompareSpec,
	sel vars.Selection,
) (*engine.CompareResult, error)

func (*Engine) ExecuteProfile

func (e *Engine) ExecuteProfile(
	doc *restfile.Document,
	req *restfile.Request,
	sel vars.Selection,
) (*engine.ProfileResult, error)

func (*Engine) ExecuteProfileContext

func (e *Engine) ExecuteProfileContext(
	ctx context.Context,
	doc *restfile.Document,
	req *restfile.Request,
	sel vars.Selection,
) (*engine.ProfileResult, error)

func (*Engine) ExecuteRequest

func (e *Engine) ExecuteRequest(
	doc *restfile.Document,
	req *restfile.Request,
	sel vars.Selection,
) (engine.RequestResult, error)

func (*Engine) ExecuteRequestContext

func (e *Engine) ExecuteRequestContext(
	ctx context.Context,
	doc *restfile.Document,
	req *restfile.Request,
	sel vars.Selection,
) (engine.RequestResult, error)

func (*Engine) ExecuteWorkflow

func (e *Engine) ExecuteWorkflow(
	doc *restfile.Document,
	wf *restfile.Workflow,
	sel vars.Selection,
) (*engine.WorkflowResult, error)

func (*Engine) ExecuteWorkflowContext

func (e *Engine) ExecuteWorkflowContext(
	ctx context.Context,
	doc *restfile.Document,
	wf *restfile.Workflow,
	sel vars.Selection,
) (*engine.WorkflowResult, error)

func (*Engine) LoadAuthState

func (e *Engine) LoadAuthState(st engine.AuthState)

func (*Engine) LoadRuntimeState

func (e *Engine) LoadRuntimeState(st engine.RuntimeState)

func (*Engine) RuntimeState

func (e *Engine) RuntimeState() engine.RuntimeState

Jump to

Keyboard shortcuts

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