lwaws

package
v0.0.0-...-b86c84d Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EC2                         = "EC2 VM"
	RDS                         = "RDS Instance"
	REDSHIFT                    = "Redshift"
	NATGATEWAY                  = "NAT Gateway"
	ELBv1                       = "ELBv1"
	ELBv2                       = "ELBv2"
	ECS                         = "ECS EC2 VM"
	ECS_TASKS                   = "ECS Task"
	FARGATE_RUNNING_TASKS       = "Fargate Running Task"
	FARGATE_RUNNING_CONTAINERS  = "Fargate Running Containers"
	FARGATE_TOTAL_CONTAINERS    = "Fargate Total Containers"
	FARGATE_ACTIVE_SERVICES     = "Fargate Active Services"
	EKS_FARGATE_ACTIVE_PROFILES = "EKS Fargate Active Profiles"
	ENTERPRISE_AGENT            = "Enterprise Agent"
	STANDARD_AGENT              = "Standard Agent"
)

Variables

This section is empty.

Functions

func ParseProfiles

func ParseProfiles(cmd *cobra.Command) []string

func ParseRegions

func ParseRegions(cmd *cobra.Command) []string

func ParseTags

func ParseTags(cmd *cobra.Command) []string

func Run

func Run(profiles []string, regions []string, debug bool, k8sTags []string)

Types

type AgentContainerCount

type AgentContainerCount struct {
	Region        string
	ContainerType string
	Count         int
}

type AgentlessServiceCount

type AgentlessServiceCount struct {
	Region  string
	Service string
	Count   int
}

type OSCounts

type OSCounts struct {
	Windows int
	Linux   int
}

type VMInfo

type VMInfo struct {
	Region    string
	AMI       string
	AccountId string
	AgentType string
	OS        string
}

Jump to

Keyboard shortcuts

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