cmd

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "0.0.13"

Variables

This section is empty.

Functions

func Execute

func Execute() error

func Login added in v0.0.7

func Login(provider *LoginProvider) error

Types

type Config added in v0.0.7

type Config struct{}

func (*Config) ConfigureSSO added in v0.0.7

func (c *Config) ConfigureSSO() error

func (*Config) GetSSOSessionCredentials added in v0.0.7

func (c *Config) GetSSOSessionCredentials(cfg aws.Config) (aws.Credentials, error)

func (*Config) SSOLogin added in v0.0.7

func (c *Config) SSOLogin() error

func (*Config) SyncSessionCredentials added in v0.0.8

func (c *Config) SyncSessionCredentials(creds aws.Credentials, vConfig *viper.Viper, options *SyncSessionCredentialsInput) error

func (*Config) WriteSessionCredentials added in v0.0.7

func (c *Config) WriteSessionCredentials(filename string, vConfig *viper.Viper) error

type Configurator added in v0.0.7

type Configurator interface {
	SSOLogin() error
	ConfigureSSO() error
	GetSSOSessionCredentials(cfg aws.Config) (aws.Credentials, error)
	WriteSessionCredentials(filename string, vConfig *viper.Viper) error
	SyncSessionCredentials(creds aws.Credentials, vConfig *viper.Viper, options *SyncSessionCredentialsInput) error
}

type LoginProvider added in v0.0.7

type LoginProvider struct {
	// contains filtered or unexported fields
}

type SyncSessionCredentialsInput added in v0.0.8

type SyncSessionCredentialsInput struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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