pkg

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadedProfile

type LoadedProfile struct {
	Name       string
	Parameters SwitchRoleParameters
}

type Loader

type Loader interface {
	Load(config *LoaderConfig) []LoadedProfile
}

type LoaderConfig

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

func NewLoaderConfig

func NewLoaderConfig(name string, loader string, options map[string]interface{}, ttl int) *LoaderConfig

func (LoaderConfig) GetLoader

func (c LoaderConfig) GetLoader() string

func (LoaderConfig) GetName

func (c LoaderConfig) GetName() string

func (LoaderConfig) GetOptions

func (c LoaderConfig) GetOptions() map[string]interface{}

func (LoaderConfig) GetTtl

func (c LoaderConfig) GetTtl() int

type SwitchRoleParameters

type SwitchRoleParameters struct {
	FromProfile string
	AccountID   string
	Role        string
	TTL         string
}

func (SwitchRoleParameters) Valid

func (p SwitchRoleParameters) Valid() bool

Jump to

Keyboard shortcuts

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