config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 1 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 {
	CredStoreConfig CredStoreConfig `mapstructure:"credhub"`
}

func Parse

func Parse() (*Config, error)

type CredStoreConfig

type CredStoreConfig struct {
	CredHubURL           string `mapstructure:"url"`
	UaaURL               string `mapstructure:"uaa_url"`
	UaaClientName        string `mapstructure:"uaa_client_name"`
	UaaClientSecret      string `mapstructure:"uaa_client_secret"`
	SkipSSLValidation    bool   `mapstructure:"skip_ssl_validation"`
	CaCertFile           string `mapstructure:"ca_cert_file"`
	StoreBindCredentials bool   `mapstructure:"store_bind_credentials"`
}

func (*CredStoreConfig) HasCredHubConfig

func (c *CredStoreConfig) HasCredHubConfig() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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