Documentation ¶
Overview ¶
Copyright © 2023 Louis Lefebvre <louislefebvre1999@gmail.com>
Copyright © 2023 Louis Lefebvre <louislefebvre1999@gmail.com>
Copyright © 2023 Louis Lefebvre <louislefebvre1999@gmail.com>
Copyright © 2022 Louis Lefebvre <louislefebvre1999@gmail.com>
Copyright © 2023 Louis Lefebvre <louislefebvre1999@gmail.com>
Copyright © 2023 Louis Lefebvre <louislefebvre1999@gmail.com>
Copyright © 2023 Louis Lefebvre <louislefebvre1999@gmail.com>
Copyright © 2022 Louis Lefebvre <louislefebvre1999@gmail.com>
Copyright © 2023 Louis Lefebvre <louislefebvre1999@gmail.com>
Index ¶
Constants ¶
View Source
const ( ACCOUNT_GROUP = "account" ROLE_ARN_KEY = "role_arn" )
View Source
const ( ACTIVE_TOKEN_ID = "active" INACTIVE_TOKEN_ID = "inactive" )
Variables ¶
View Source
var ( ErrKeyDoesNotExist = errors.New("the provided key doesn't exist") ErrClusterDoesNotExist = errors.New("the provided cluster does not exist in this environment") ErrClustersDoNotExist = errors.New("no clusters in this environment") )
View Source
var (
ErrNoAccountFound = errors.New("no account found")
)
Functions ¶
func BindConfigValue ¶
BindConfigValue will bind the Viper config value to the provided pflag
Types ¶
type ConfigValue ¶
func (*ConfigValue) String ¶
func (c *ConfigValue) String() string
Click to show internal directories.
Click to hide internal directories.