úÎ4Ö0Š,      !"#$%&'()*+Safe†,-./0123None6×.Exceptions which are raised from this package.kThrown when a JSON decode failed for either the VCAP_APPLICATION or VCAP_SERIVCES environment variables.hThrown when an environment variable which is meant to contain an integer contains invalid characters.A collection of  instances. withTag, withName and  withLabel< can be used to find the specific services that you want.$Description of a bound service. Use credentialString& to extract the connection details. Disk limitFile descriptors limit Memory limit[Holds information about the current app running on Cloud Foundry. This is returned from current.ID of the applicationApplication URI of the app&URL for the Cloud Foundry API endpoint Root folder for the deployed appHost of the appID of the instanceIndex of the appLimits imposed on this processJMaximum amount of memory that each instance of the application can consumeName of the appQPresent working directory, where the buildpack that processed the application ran4Port which the app must listen on to receive trafficServices bound to the app ID of the space!Name of the space"?Directory location where temporary and staging files are stored#.User account under which the app instance runs$Version of the app%  "! $#   !"#$None„%-Get all services which have the provided tag.&Get the service by name.'Get the services by label.%The tag to search for%All services bound to the applicationA list of matching services&#The name of the service to be found%All services bound to the applicationThe service if it is found'The label to search for%All services bound to the applicationA list of matching services%&'None!š('Get a credential string from a service.(.The key to each for in the credentials section!The service to get the value from2The value of that credential string if it is found(None"#!ç 456789:;<=>4 5789:;6<=None"#6"•?@ABCDEFGHIJKL? @CDEFGAHIJKBNone#;MNone/$)DDetect if the application is running as a Cloud Foundry application. êimport System.CloudFoundry.Environment CfEnv main :: IO () main = do isRunningOnCf <- CfEnv.isRunningOnCf if isRunningOnCf then putStrLn "Running on Cloud Foundry" else putStrLn "Not running on Cloud Foundry"**Get the current Cloud Foundry environment.Example using scotty: ÿimport Data.String (fromString) import Data.Monoid (mconcat) import Web.Scotty import qualified System.CloudFoundry.Environment as CfEnv main = do app <- CfEnv.current scotty (CfEnv.port app) $ get "/" $ do html $ mconcat ["<pre>", (fromString (show app)), "</pre>"]+SGet the current Cloud Foundry environment and return the result in a Maybe. See *., #$ !"%&'()*+,*)+('&% !"#$  N        !"#$%&'()*+,-./0)123456788( "#'9:;<<)!%&==>$cfenv-0.1.0.0-J5pip5JUPwB2saLZYKBhuPSystem.CloudFoundry.Environment Paths_cfenv.System.CloudFoundry.Environment.Internal.Types1System.CloudFoundry.Environment.Internal.Services0System.CloudFoundry.Environment.Internal.Service0System.CloudFoundry.Environment.Internal.EnvVars?System.CloudFoundry.Environment.Internal.VcapApplicationDecoder