config

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 10 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 {
	APIKey            string        `envconfig:"bluemix_api_key"`
	AccountID         string        `envconfig:"bluemix_account_id"`
	Org               string        `envconfig:"bluemix_org"`
	Region            string        `envconfig:"bluemix_region"`
	ResourceGroupName string        `envconfig:"bluemix_resource_group"`
	Space             string        `envconfig:"bluemix_space"`
	SyncPeriod        time.Duration `envconfig:"sync_period"`
}

func Get

func Get() Config

type IBMCloud

type IBMCloud struct {
	Config
	ResourceGroupID string
	UAAAccessToken  string
	UAARefreshToken string
	UserDisplayName string
}

func GetIBMCloud

func GetIBMCloud() IBMCloud

Jump to

Keyboard shortcuts

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