search

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package search provides the entry point for the search command.

It implements a search command that searches for resources in AWS. The searches are done in parallel and the results are printed in the specified format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSortField added in v0.7.0

func CheckSortField(cmd, f string) error

CheckSortField checks if the given sort field is valid for the given command.

It returns an error if the sort field is not valid.

func Execute added in v0.7.0

func Execute(cmd string, profiles, regions []string, filters map[string][]string, sortField, output string, showEmpty, showTags bool) error

Execute executes the search command.

It searches for the given command in the given profiles and regions. The filters are used to filter the results. The output is the format of the output. The showEmpty flag indicates if empty results should be shown.

Types

This section is empty.

Directories

Path Synopsis
Package ec2 contains the EC2 search functions.
Package ec2 contains the EC2 search functions.
Package eni contains the search for ENIs.
Package eni contains the search for ENIs.

Jump to

Keyboard shortcuts

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