flags

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRegionFlag

func AddRegionFlag(c *cobra.Command)

AddRegionFlag will add a region flag to the cli.

func CredentialWarning

func CredentialWarning(c *cobra.Command)

CredentialWarning will output a credential warning.

func GetRegion

func GetRegion(c *cobra.Command) (string, error)

GetRegion will return the region of the resource.

func GetRegionWithError added in v0.6.5

func GetRegionWithError(c *cobra.Command) (string, error)

GetRegionWithError will return the region of the resource along with an error message if it could not be resolved.

func MarkAlphaDeprecated

func MarkAlphaDeprecated(c *cobra.Command)

MarkAlphaDeprecated will mark a command as deprecated.

func ResolveAWSError

func ResolveAWSError(err error) error

ResolveAWSError will attempt to resolve an AWS error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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