CFEnv v0.1.1 CFEnv.App View Source

Gets values from the parsed VCAP_APPLICATION environment variable.

For a list of what these properties are, see: VCAP_APPLICATION Details in the cloudfoundry docs.

Currently supports values available to CloudFoundry diego, but older properties can be fetched with the CFEnv.App.get_property function.

Link to this section Summary

Functions

Gets the value of the cf_api property for the current application

Gets the entire application

Gets the value for a property from the current VCAP_APPLICATION by key. You can grab legacy and depreciated properties with this

Gets the value of the application_id property for the current application

Gets the value of the limits property for the current application

Gets the value of the application_name property for the current application

Gets the value of the space_id property for the current application

Gets the value of the space_name property for the current application

Returns the value of the start property for the current application

Gets the value of the application_uris property for the current application

Gets the value of the application_version property for the current application

Link to this section Functions

Gets the value of the cf_api property for the current application.

Gets the entire application.

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

Gets the value for a property from the current VCAP_APPLICATION by key. You can grab legacy and depreciated properties with this.

Gets the value of the application_id property for the current application.

Link to this function limits() View Source
limits() :: term()

Gets the value of the limits property for the current application.

Gets the value of the application_name property for the current application.

Link to this function space_id() View Source
space_id() :: term()

Gets the value of the space_id property for the current application.

Link to this function space_name() View Source
space_name() :: term()

Gets the value of the space_name property for the current application.

Link to this function start() View Source
start() :: term()

Returns the value of the start property for the current application.

Gets the value of the application_uris property for the current application.

Link to this function version() View Source
version() :: String.t() | nil

Gets the value of the application_version property for the current application.