Documentation ¶
Index ¶
- func CheckIfAtLeast2Subnets(checkConfig commons.CheckConfig, vpcToSubnets []VPCToSubnet, testName string)
- func CheckIfPrivateAndPublicSubnets(checkConfig commons.CheckConfig, ...)
- func CheckIfSubnetInDifferentZone(checkConfig commons.CheckConfig, vpcToSubnets []VPCToSubnet, testName string)
- func GetListVPC(s aws.Config) []types.Vpc
- func GetRouteTableForSubnet(s aws.Config, subnetsforvpcs []VPCToSubnet) map[string][]SubnetWithRouteTables
- func RunChecks(wa *sync.WaitGroup, s aws.Config, c *commons.Config, ...)
- type SubnetWithRouteTables
- type VPCToSubnet
- type VpcToFlowLogs
- type VpcToInternetGateway
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfAtLeast2Subnets ¶
func CheckIfAtLeast2Subnets(checkConfig commons.CheckConfig, vpcToSubnets []VPCToSubnet, testName string)
func CheckIfPrivateAndPublicSubnets ¶ added in v1.9.0
func CheckIfPrivateAndPublicSubnets(checkConfig commons.CheckConfig, vpcToSubnetWithRouteTables map[string][]SubnetWithRouteTables, testName string)
func CheckIfSubnetInDifferentZone ¶
func CheckIfSubnetInDifferentZone(checkConfig commons.CheckConfig, vpcToSubnets []VPCToSubnet, testName string)
func GetRouteTableForSubnet ¶ added in v1.9.0
func GetRouteTableForSubnet(s aws.Config, subnetsforvpcs []VPCToSubnet) map[string][]SubnetWithRouteTables
Types ¶
type SubnetWithRouteTables ¶ added in v1.9.0
type SubnetWithRouteTables struct { SubnetId string RouteTables []types.RouteTable }
type VPCToSubnet ¶
func GetSubnetForVPCS ¶
func GetSubnetForVPCS(s aws.Config, vpcs []types.Vpc) []VPCToSubnet
type VpcToFlowLogs ¶
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
Click to show internal directories.
Click to hide internal directories.