Documentation ¶
Index ¶
Constants ¶
View Source
const BasicAuthRealm = "PCSB Panzer Credhub Service Broker"
Variables ¶
View Source
var ( Debug = false HttpTimeout int HttpTimeoutDefault = 10 ClientId = os.Getenv("CSB_CLIENT_ID") ClientSecret string // will be resolved from config in credhub path CredhubCredsPath CredhubURL = os.Getenv("CSB_CREDHUB_URL") Catalog model.Catalog ListenPort int BrokerUser = os.Getenv("CSB_BROKER_USER") BrokerPassword string // will be resolved from config in credhub path CredhubCredsPath CatalogDir = os.Getenv("CSB_CATALOG_DIR") ListenPortStr = os.Getenv("CSB_LISTEN_PORT") CfApiURL = os.Getenv("CSB_CFAPI_URL") UaaApiURL = os.Getenv("CSB_UAA_URL") SkipSslValidationStr = os.Getenv("CSB_SKIP_SSL_VALIDATION") SkipSslValidation bool CredhubCredsPath = os.Getenv("CREDHUB_CREDS_PATH") // something like /credhub-service-broker/config )
View Source
var COMMIT = "dev"
View Source
var VERSION = "0.0.0"
Functions ¶
func EnvironmentComplete ¶
func EnvironmentComplete()
EnvironmentComplete - Check for required environment variables and exit if not all are there.
func GetFormattedVersion ¶
func GetFormattedVersion() string
func GetVersion ¶
func GetVersion() string
Types ¶
type VersionCommand ¶
type VersionCommand struct { }
func (*VersionCommand) Execute ¶
func (c *VersionCommand) Execute([]string) error
Execute - returns the version
Click to show internal directories.
Click to hide internal directories.