Documentation
¶
Index ¶
- type TestContext
- func (t *TestContext) AddCleanup(fn func() error)
- func (t *TestContext) Cleanup() error
- func (t *TestContext) Config() *config.Config
- func (t *TestContext) GetAsserter(provider string) (assertions.Asserter, error)
- func (t *TestContext) GetIacProvisionerOptions() *iacprovisioner.Options
- func (t *TestContext) GetScenarioUri() string
- func (t *TestContext) GetStoredValues() map[string]string
- func (t *TestContext) GetValue(key string) (string, bool)
- func (t *TestContext) SetIacProvisionerOptions(opts *iacprovisioner.Options)
- func (t *TestContext) SetScenarioUri(uri string)
- func (t *TestContext) StoreValue(key, value string)
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) 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)
Click to show internal directories.
Click to hide internal directories.