config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize()

Types

type Config

type Config struct {
	Debug    bool
	LogLevel string

	Portals []*PortalDef
}

func GetConfig

func GetConfig() (*Config, error)

type PortalAwsConfig

type PortalAwsConfig struct {
	InstanceId *string `mapstructure:"instance-id"`
	Region     *string
}

type PortalDef

type PortalDef struct {
	Name    *string
	Command *string
	Hint    *string

	Aws *PortalAwsConfig
}

Jump to

Keyboard shortcuts

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