context

package
v0.0.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureContext

type FeatureContext interface {
	StartScenario()
	FailScenario()
	StopScenario()
	EvalContext() *hcl.EvalContext
	Variables() Variables
}

FeatureContext context used during the feature execution.

func NewFeatureContext

func NewFeatureContext(variables map[string]cty.Value) FeatureContext

NewFeatureContext returns a initialization of interface FeatureContext.

type Variables

type Variables interface {
	SetIndex(int)
	SetToContext(ctx *hcl.EvalContext)
}

Variables interface definition.

Jump to

Keyboard shortcuts

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