inv

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: CC0-1.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SheetRoles          = "Roles"
	SheetAccounts       = "Accounts"
	SheetGroups         = "Groups"
	SheetPolicies       = "Policies"
	SheetUsers          = "Users"
	SheetBuckets        = "Buckets"
	SheetInstances      = "Instances"
	SheetImages         = "Images"
	SheetVolumes        = "Volumes"
	SheetSnapshots      = "Snapshots"
	SheetVpcs           = "VPCs"
	SheetSubnets        = "Subnets"
	SheetSecurityGroups = "SecurityGroups"
	SheetAddresses      = "Addresses"
	SheetKeyPairs       = "KeyPairs"
	SheetStacks         = "Stacks"
	SheetAlarms         = "Alarms"
	SheetConfigRules    = "ConfigRules"
	SheetLoadBalancers  = "LoadBlancers"
	SheetVaults         = "Vaults"
	SheetKeys           = "Keys"
	SheetDBInstances    = "DBInstances"
	SheetDBSnapshots    = "DBSnapshots"
	SheetSecrets        = "Secrets"
	SheetSubscriptions  = "Subscriptions"
	SheetTopics         = "Topics"
	SheetParameters     = "Parameters"
)

Sheet name constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Inv

type Inv struct {
	// contains filtered or unexported fields
}

Inv ... is used to manage the spreadsheet and sessions required to generate the AWS report

func New

func New() (*Inv, error)

New ... returns an *Inv, after storing all known queryFunc and creating the *SessionMgr

func (*Inv) Run

func (inv *Inv) Run(s *spreadsheet.Spreadsheet) error

Run ... starts the report process, the corresponding queryFunc for each sheet in the spreadsheet will be ran and the results added to that sheet. Run is a blocking function and will hold the cursor until all queries have been ran and the spreadsheet has been saved to the bucket

Jump to

Keyboard shortcuts

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