config

package
v0.0.0-...-9592e8f Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ClientID           string `yaml:"client_id"`
	ClientSecret       string `yaml:"client_secret"`
	IdentityPoolID     string `yaml:"identity_pool_id"`
	IdentityProviderID string `yaml:"identity_provider_id"`
	AuthURL            string `yaml:"auth_url"`
	TokenURL           string `yaml:"token_url"`
	ConsoleDestination string `yaml:"console_destination"`
	ConsoleIssuer      string `yaml:"console_issuer"`
	CredsStore         string `yaml:"creds_store,omitempty"`
	CredsOAuthKey      string `yaml:"creds_oauth_key,omitempty"`
	CredsAwsKey        string `yaml:"creds_aws_key,omitempty"`
	ListenPort         int    `yaml:"listen_port,omitempty"`
}

Config type

func Load

func Load(file string) (Config, error)

Load load awscreds credentials from a file.

func (*Config) Validate

func (c *Config) Validate() error

Validate the awscreds credentials.

Jump to

Keyboard shortcuts

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