context

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestContext

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

func New

func New(cfg *config.Config) *TestContext

func (*TestContext) AddCleanup

func (t *TestContext) AddCleanup(fn func() error)

func (*TestContext) Cleanup

func (t *TestContext) Cleanup() error

func (*TestContext) Config

func (t *TestContext) Config() *config.Config

func (*TestContext) GetAsserter

func (t *TestContext) GetAsserter(provider string) (assertions.Asserter, error)

func (*TestContext) GetIacProvisionerOptions

func (t *TestContext) GetIacProvisionerOptions() *iacprovisioner.Options

func (*TestContext) GetScenarioUri

func (t *TestContext) GetScenarioUri() string

func (*TestContext) GetStoredValues

func (t *TestContext) GetStoredValues() map[string]string

func (*TestContext) GetValue

func (t *TestContext) GetValue(key string) (string, bool)

func (*TestContext) SetIacProvisionerOptions

func (t *TestContext) SetIacProvisionerOptions(opts *iacprovisioner.Options)

func (*TestContext) SetScenarioUri

func (t *TestContext) SetScenarioUri(uri string)

func (*TestContext) StoreValue

func (t *TestContext) StoreValue(key, value string)

Jump to

Keyboard shortcuts

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