utils

package
v0.0.0-...-70640bf Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListInstances

func ListInstances(hostname string) []sawsh.Instance

ListInstances queries the AWS API for instances matching the hostname.

func PrintCSV

func PrintCSV(instances []sawsh.Instance)

PrintCSV prints a list of instances in csv format.

func PrintPlain

func PrintPlain(instances []sawsh.Instance)

PrintPlain prints a list of instances al a list of ip's.

func PrintTable

func PrintTable(instances []sawsh.Instance)

PrintTable prints a list of instances in table format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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