apigateway

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfStagesCloudwatchLogsExist

func CheckIfStagesCloudwatchLogsExist(checkConfig commons.CheckConfig, stages map[string][]types.Stage, testName string)

func CheckIfStagesProtectedByAcl

func CheckIfStagesProtectedByAcl(checkConfig commons.CheckConfig, stages map[string][]types.Stage, testName string)

func CheckIfTracingEnabled

func CheckIfTracingEnabled(checkConfig commons.CheckConfig, stages map[string][]types.Stage, testName string)

func GetAllResourcesApiGateway

func GetAllResourcesApiGateway(svc APIGatewayGetObjectAPI, apiId string) []types.Resource

func GetAllStagesApiGateway

func GetAllStagesApiGateway(svc APIGatewayGetObjectAPI, apis []types.RestApi) map[string][]types.Stage

func GetApiGateways

func GetApiGateways(svc APIGatewayGetObjectAPI) []types.RestApi

func RunChecks

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

Types

type APIGatewayGetObjectAPI

type APIGatewayGetObjectAPI interface {
	GetRestApis(ctx context.Context, params *apigateway.GetRestApisInput, optFns ...func(*apigateway.Options)) (*apigateway.GetRestApisOutput, error)
	GetResources(ctx context.Context, params *apigateway.GetResourcesInput, optFns ...func(*apigateway.Options)) (*apigateway.GetResourcesOutput, error)
	GetStages(ctx context.Context, params *apigateway.GetStagesInput, optFns ...func(*apigateway.Options)) (*apigateway.GetStagesOutput, error)
}

Jump to

Keyboard shortcuts

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