CFEnv v0.1.0 CFEnv.Service View Source

Grabs values from the parsed VCAP_SERVICES. currently only user-provided services are provided.

Link to this section Summary

Functions

Gets the credentials property for a service

Get the entire service, as a map

Gets the value of a proprty for a service

Gets the label property for a service

Gets the name property for a service. (Given that tne name is requires, this is only useful when using an alias.)

Gets the plan property for a service

Gets the tags property for a service

Link to this section Functions

Link to this function credentials(name) View Source
credentials(String.t()) :: map()

Gets the credentials property for a service.

Get the entire service, as a map.

Link to this function get_property(name, property) View Source
get_property(String.t(), String.t()) :: term()

Gets the value of a proprty for a service.

Gets the label property for a service.

Gets the name property for a service. (Given that tne name is requires, this is only useful when using an alias.)

Gets the plan property for a service.

Gets the tags property for a service.