outputs

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package outputs provides types for implementing instance type output functions as well as prebuilt output functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OneLineOutput added in v2.0.2

func OneLineOutput(instanceTypeInfoSlice []*instancetypes.Details) []string

OneLineOutput is an output function which prints the instance type names on a single line separated by commas

func SimpleInstanceTypeOutput

func SimpleInstanceTypeOutput(instanceTypeInfoSlice []*instancetypes.Details) []string

SimpleInstanceTypeOutput is an OutputFn which outputs a slice of instance type names

func TableOutputShort

func TableOutputShort(instanceTypeInfoSlice []*instancetypes.Details) []string

TableOutputShort is an OutputFn which returns a CLI table for easy reading

func TableOutputWide

func TableOutputWide(instanceTypeInfoSlice []*instancetypes.Details) []string

TableOutputWide is an OutputFn which returns a detailed CLI table for easy reading

func VerboseInstanceTypeOutput

func VerboseInstanceTypeOutput(instanceTypeInfoSlice []*instancetypes.Details) []string

VerboseInstanceTypeOutput is an OutputFn which outputs a slice of instance type names

Types

This section is empty.

Jump to

Keyboard shortcuts

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