vpc

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfAtLeast2Subnets

func CheckIfAtLeast2Subnets(checkConfig commons.CheckConfig, vpcToSubnets []VPCToSubnet, testName string)

func CheckIfSubnetInDifferentZone

func CheckIfSubnetInDifferentZone(checkConfig commons.CheckConfig, vpcToSubnets []VPCToSubnet, testName string)

func GetListVPC

func GetListVPC(s aws.Config) []types.Vpc

func RunChecks

func RunChecks(wa *sync.WaitGroup, s aws.Config, c *commons.Config, queue chan []commons.Check)

Types

type VPCToSubnet

type VPCToSubnet struct {
	VpcID   string
	Subnets []types.Subnet
}

func GetSubnetForVPCS

func GetSubnetForVPCS(s aws.Config, vpcs []types.Vpc) []VPCToSubnet

type VpcToFlowLogs

type VpcToFlowLogs struct {
	VpcID    string
	FlowLogs []types.FlowLog
}

func GetFlowLogsForVpc

func GetFlowLogsForVpc(s aws.Config, vpcs []types.Vpc) []VpcToFlowLogs

type VpcToInternetGateway

type VpcToInternetGateway struct {
	VpcID            string
	InternetGateways []types.InternetGateway
}

func GetInternetGatewaysForVpc

func GetInternetGatewaysForVpc(s aws.Config, vpcs []types.Vpc) []VpcToInternetGateway

Jump to

Keyboard shortcuts

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