Documentation ¶
Index ¶
- Variables
- func ParseUsername(input *sts.GetCallerIdentityOutput) (string, error)
- func PrintAwsConfig(filePath string)
- func PrintConfigWithoutClusterConfig()
- func PrintError(message string, args ...interface{})
- func PrintFile(filePath string)
- func PrintSuccess(message string, args ...interface{})
- func PrintWarn(message string, args ...interface{})
- func UpdateSessionCredentials()
- type ArnParseException
- type AwsVersionParseException
- type ClusterConfig
- type Clusters
- type CredUpdater
- type KubeConfigUpdater
- type State
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DisableColors bool
)
Functions ¶
func ParseUsername ¶ added in v0.1.0
func ParseUsername(input *sts.GetCallerIdentityOutput) (string, error)
func PrintAwsConfig ¶ added in v0.1.0
func PrintAwsConfig(filePath string)
func PrintConfigWithoutClusterConfig ¶ added in v0.1.0
func PrintConfigWithoutClusterConfig()
func PrintError ¶ added in v0.1.5
func PrintError(message string, args ...interface{})
func PrintSuccess ¶ added in v0.1.5
func PrintSuccess(message string, args ...interface{})
func UpdateSessionCredentials ¶
func UpdateSessionCredentials()
Types ¶
type ArnParseException ¶ added in v0.1.0
type ArnParseException struct {
// contains filtered or unexported fields
}
func (*ArnParseException) Error ¶ added in v0.1.0
func (err *ArnParseException) Error() string
type AwsVersionParseException ¶ added in v0.1.0
type AwsVersionParseException struct {
// contains filtered or unexported fields
}
func (*AwsVersionParseException) Error ¶ added in v0.1.0
func (err *AwsVersionParseException) Error() string
type ClusterConfig ¶ added in v0.1.0
type ClusterConfig struct { Name string `yaml:"name"` Alias string `yaml:"alias"` AccountID string `yaml:"accountId"` Role string `yaml:"role"` Region string `yaml:"region"` }
func (*ClusterConfig) List ¶ added in v0.1.5
func (c *ClusterConfig) List(stsClient *sts.Client)
type Clusters ¶ added in v0.1.0
type Clusters struct { ClusterConfigs []ClusterConfig // contains filtered or unexported fields }
func (*Clusters) InitConfig ¶ added in v0.1.0
func (clusters *Clusters) InitConfig()
func (*Clusters) PrintConfig ¶ added in v0.1.0
func (clusters *Clusters) PrintConfig()
type CredUpdater ¶
type CredUpdater struct {
// contains filtered or unexported fields
}
type KubeConfigUpdater ¶ added in v0.1.5
type KubeConfigUpdater struct { Profile string Clusters *Clusters // contains filtered or unexported fields }
func (*KubeConfigUpdater) Init ¶ added in v0.1.5
func (updater *KubeConfigUpdater) Init()
func (*KubeConfigUpdater) ListClusters ¶ added in v0.1.5
func (updater *KubeConfigUpdater) ListClusters()
func (*KubeConfigUpdater) SetupClusters ¶ added in v0.1.5
func (updater *KubeConfigUpdater) SetupClusters()
Click to show internal directories.
Click to hide internal directories.