headless

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

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) Close

func (e *Engine) Close() error

func (*Engine) ExecuteCompare

func (e *Engine) ExecuteCompare(
	doc *restfile.Document,
	req *restfile.Request,
	spec *restfile.CompareSpec,
	env string,
) (*engine.CompareResult, error)

func (*Engine) ExecuteCompareContext

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

func (*Engine) ExecuteProfile

func (e *Engine) ExecuteProfile(
	doc *restfile.Document,
	req *restfile.Request,
	env string,
) (*engine.ProfileResult, error)

func (*Engine) ExecuteProfileContext

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

func (*Engine) ExecuteRequest

func (e *Engine) ExecuteRequest(
	doc *restfile.Document,
	req *restfile.Request,
	env string,
) (engine.RequestResult, error)

func (*Engine) ExecuteRequestContext

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

func (*Engine) ExecuteWorkflow

func (e *Engine) ExecuteWorkflow(
	doc *restfile.Document,
	wf *restfile.Workflow,
	env string,
) (*engine.WorkflowResult, error)

func (*Engine) ExecuteWorkflowContext

func (e *Engine) ExecuteWorkflowContext(
	ctx context.Context,
	doc *restfile.Document,
	wf *restfile.Workflow,
	env string,
) (*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