Class: Services

Services

new Services(endPoint)

Manages Services on Cloud Foundry
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source:

Methods

getService(token_type, access_token, service_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
service_guid String [servicePlan guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getServicePlans(token_type, access_token, service_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
service_guid String [service guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getServices(token_type, access_token, filter) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
filter String [query string]
Source:
Returns:
[return a JSON response]
Type
JSON

remove(token_type, access_token, service_guid)

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
service_guid String [service_guid]
Source:

setEndPoint(endPoint)

Set endpoint
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source: