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 ¶
func (SwitchRoleParameters) Valid ¶
func (p SwitchRoleParameters) Valid() bool
Click to show internal directories.
Click to hide internal directories.