volumes

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfAllSnapshotsEncrypted

func CheckIfAllSnapshotsEncrypted(checkConfig commons.CheckConfig, snapshots []types.Snapshot, testName string)

func CheckIfAllVolumesHaveSnapshots

func CheckIfAllVolumesHaveSnapshots(checkConfig commons.CheckConfig, snapshot2Volumes couple, testName string)

func CheckIfSnapshotYoungerthan24h

func CheckIfSnapshotYoungerthan24h(checkConfig commons.CheckConfig, vs couple, testName string)

func CheckIfVolumeIsUsed

func CheckIfVolumeIsUsed(checkConfig commons.CheckConfig, volumes []types.Volume, testName string)

func CheckIfVolumesTypeGP3

func CheckIfVolumesTypeGP3(checkConfig commons.CheckConfig, volumes []types.Volume, testName string)

func GetSnapshots

func GetSnapshots(s aws.Config) []types.Snapshot

GetSnapshots returns all snapshots for an aws config

func GetVolumes

func GetVolumes(s aws.Config) []types.Volume

GetVolumesAndSnapshots returns all volumes for an aws config

func RunChecks

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

Main function that runs all the tests and returns the results

Types

This section is empty.

Jump to

Keyboard shortcuts

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