mgmt

package
v0.30.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OSDStaging2RootID = "r-rs3h"
	OSDStaging2OuID   = "ou-rs3h-ry0hn2l9"
	OSDStaging1RootID = "r-0wd6"
	OSDStaging1OuID   = "ou-0wd6-z6tzkjek"
)

Global variables

View Source
var (
	ErrAwsAccountLimitExceeded = fmt.Errorf("ErrAwsAccountLimitExceeded")
	ErrEmailAlreadyExist       = fmt.Errorf("ErrEmailAlreadyExist")
	ErrAwsInternalFailure      = fmt.Errorf("ErrAwsInternalFailure")
	ErrAwsTooManyRequests      = fmt.Errorf("ErrAwsTooManyRequests")
	ErrAwsFailedCreateAccount  = fmt.Errorf("ErrAwsFailedCreateAccount")
)
View Source
var ErrAccountPartiallyTagged = fmt.Errorf("account is only partially tagged")
View Source
var ErrAccountsWithNoOwner = fmt.Errorf("aws accounts available but no owner tags present")
View Source
var ErrHiveNameProvided = fmt.Errorf("hive-managed account provided, only developers account accepted")
View Source
var ErrNoAccountsForParent = fmt.Errorf("no accounts for OU")
View Source
var ErrNoAccountsForUser = fmt.Errorf("user has no aws accounts")
View Source
var ErrNoOwnerTag = fmt.Errorf("No owner tag on aws account")
View Source
var ErrNoResources = fmt.Errorf("No resources for AWS tag")
View Source
var ErrNoTagsOnAccount = fmt.Errorf("No tags on aws account")
View Source
var ErrNoUntaggedAccounts = fmt.Errorf("no untagged accounts available")

Functions

func NewCmdMgmt

func NewCmdMgmt(streams genericclioptions.IOStreams, globalOpts *globalflags.GlobalOptions) *cobra.Command

NewCmdMgmt implements the mgmt command to get AWS Account resources

func RandomString

func RandomString(r *rand.Rand, length int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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