types

package
v0.0.0-...-870b6ac Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 {
	TestConfig                any // pointer to a TF module specific inheritance of GenericTFModuleConfig
	TestConfigFldrName        string
	TestConfigFileName        string
	TerratestTerraformOptions *terraform.Options
	CurrentTestName           string
}

func (*TestContext) EnabledOnlyForTests

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

func (*TestContext) IsCurrentTest

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

Jump to

Keyboard shortcuts

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