types

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedTestFlags added in v1.0.0

type AllowedTestFlags []string

type GenericTFModuleConfig

type GenericTFModuleConfig struct {
	//the framework standard subset of attributes
	Naming_prefix      string            `json:"naming_prefix"`
	Environment        string            `json:"environment"`
	Environment_number string            `json:"environment_number"`
	Resource_number    string            `json:"resource_number"`
	Tags               map[string]string `json:"tags"`
}

type SecurityGroupT

type SecurityGroupT struct {
	EgressWithCidrBlocks []struct {
		CidrBlocksCommaSeparated string `json:"cidr_blocks"`
		CidrBlocks               []string
		FromPort                 int    `json:"from_port"`
		Protocol                 string `json:"protocol"`
		ToPort                   int    `json:"to_port"`
	} `json:"egress_with_cidr_blocks"`
	IngressCidrBlocks []string `json:"ingress_cidr_blocks"`
	IngressRules      []string `json:"ingress_rules"`
}

type TestContext

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

func NewTestContext added in v1.0.0

func NewTestContext() *TestContext

func (*TestContext) AllowedTestFlags added in v1.0.0

func (ctx *TestContext) AllowedTestFlags() AllowedTestFlags

func (*TestContext) CurrentTestName

func (ctx *TestContext) CurrentTestName() string

func (*TestContext) EnabledOnlyForTests

func (ctx *TestContext) EnabledOnlyForTests(t *testing.T, testName ...string)

func (*TestContext) IsCurrentTest

func (ctx *TestContext) IsCurrentTest(testName string) bool

func (*TestContext) SetCurrentTestName added in v1.0.0

func (ctx *TestContext) SetCurrentTestName(testName string)

func (*TestContext) SetTerratestTerraformOptions added in v1.0.0

func (ctx *TestContext) SetTerratestTerraformOptions(options *terraform.Options)

func (*TestContext) SetTestConfig added in v1.0.0

func (ctx *TestContext) SetTestConfig(config any)

func (*TestContext) TerratestTerraformOptions

func (ctx *TestContext) TerratestTerraformOptions() *terraform.Options

func (*TestContext) TestConfig

func (ctx *TestContext) TestConfig() any

func (*TestContext) TestConfigFileName

func (ctx *TestContext) TestConfigFileName() string

func (*TestContext) TestConfigFolderName added in v1.0.0

func (ctx *TestContext) TestConfigFolderName() string

func (*TestContext) TestSpecificFlags added in v1.0.0

func (ctx *TestContext) TestSpecificFlags() map[string]TestFlags

type TestContextBuilder added in v1.0.0

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

func CreateTestContextBuilder added in v1.0.0

func CreateTestContextBuilder() *TestContextBuilder

func (TestContextBuilder) Build added in v1.0.0

func (b TestContextBuilder) Build() *TestContext

func (TestContextBuilder) SetCurrentTestName added in v1.0.0

func (b TestContextBuilder) SetCurrentTestName(testName string) *TestContextBuilder

func (TestContextBuilder) SetTerraformOptions added in v1.0.0

func (b TestContextBuilder) SetTerraformOptions(options *terraform.Options) *TestContextBuilder

func (TestContextBuilder) SetTestConfig added in v1.0.0

func (b TestContextBuilder) SetTestConfig(config interface{}) *TestContextBuilder

func (TestContextBuilder) SetTestConfigFileName added in v1.0.0

func (b TestContextBuilder) SetTestConfigFileName(fileName string) *TestContextBuilder

func (TestContextBuilder) SetTestConfigFolderName added in v1.0.0

func (b TestContextBuilder) SetTestConfigFolderName(folderName string) *TestContextBuilder

func (TestContextBuilder) SetTestSpecificFlags added in v1.0.0

func (b TestContextBuilder) SetTestSpecificFlags(flags map[string]TestFlags) *TestContextBuilder

type TestFlags added in v1.0.0

type TestFlags map[string]bool

Jump to

Keyboard shortcuts

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