config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 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"`
	ControllerNamespace     string        `envconfig:"controller_namespace"`
	MaxConcurrentReconciles int           `envconfig:"max_concurrent_reconciles"`
	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 MustGetIBMCloud added in v0.2.3

func MustGetIBMCloud() IBMCloud

Jump to

Keyboard shortcuts

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