config

package
v0.0.0-...-7a4ada6 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CacheName = ".headless-sso"
View Source
const ProcessTimeout = 60

Variables

This section is empty.

Functions

func GetCachePath

func GetCachePath() string

func GetHomeDir

func GetHomeDir() string

Types

type AwsConfig

type AwsConfig struct {
	Name         string
	SSOStartUrl  string
	SsoRegion    string
	SsoAccountId string
	SsoRoleName  string
	Region       string
	Output       string
}

func GetConfigs

func GetConfigs() []AwsConfig

func GetDefaultConfig

func GetDefaultConfig() *AwsConfig

type SSOAuth

type SSOAuth struct {
	Login, Pass, TOTP string
}

func GetAuth

func GetAuth() SSOAuth

Jump to

Keyboard shortcuts

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