config

package
v2.5.16 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package config implements configuration parsing for CredHub

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"`
	CACert            string `mapstructure:"ca_cert"`
}

func (*CredStoreConfig) HasCredHubConfig

func (c *CredStoreConfig) HasCredHubConfig() bool

Jump to

Keyboard shortcuts

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