internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AwsSamlEndpoint = "https://signin.aws.amazon.com/saml"
)

Variables

This section is empty.

Functions

func ConfigAll

func ConfigAll() error

func ConfigExport

func ConfigExport(exportPath string) error

func ConfigImport

func ConfigImport(importPath string) error

func ConfigProfile

func ConfigProfile(profile string) error

func ConfigRemove

func ConfigRemove(profile string) error

func Login

func Login(configuration types.Configuration) error

func LoginAll

func LoginAll() error

Types

type Prompt

type Prompt interface {
	Select(label string, toSelect []string, searcher func(input string, index int) bool) (index int, value string)
	Prompt(label string, dfault string) string
}

type Prompter

type Prompter struct {
}

func (*Prompter) Prompt

func (receiver *Prompter) Prompt(label string, defaultValue string) (string, error)

func (*Prompter) Select

func (receiver *Prompter) Select(label string, toSelect []string, searcher func(input string, index int) bool) (int, string, error)

func (*Prompter) SensitivePrompt

func (receiver *Prompter) SensitivePrompt(label string) (string, error)

Jump to

Keyboard shortcuts

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